Badi's Help....
Hi All,
I am working on BADI's for Dispute Management module. I am facing a problem, that values from transaction(SCASE) to import parameters of
BADI are not tranfering.
BADI is : "SCMG_CASE_FCODE_S" which'll triggers when user clicks
on particular pushbutton. And the screen field values of that
transaction has to be transfer to BADI. Based on that values i've to write
code in BADI. But, few of the field values are not transfering to BADI
parameters. i checked it thru debugging.
navigation of the BADI:
SCMG_CASE_FCODE_S(badi) ----> EXECUTE(method)
----> IM_CASE(parameter ref to another class interface)---->
CL_SCMG_CASE_VISUALIZATION_WIN (class interface) ---->
G_ATTRIBUTES (
Attributes of previous class interface) ---->
SRM_LIST_EDIT_ATTRIBUTE_VALUE(strucure reference of
G_ATTRIBUTES)
and this is interface structure i.e. further it has few more
interfaces(
IF_SRM_EDIT_ATTRIBUTE_VALUE).
guide me, how to get get those values into BADI
Thanks
Jithu
If this BADI is just transfering data structures like in Funciton-exits, then you cannnot access other than what is given.
If it sends you abap objects like in newly developed modules, then you may.
_________________
thanks,
Venu
Let's say ZPROGA calls ZPROGB and in ZPROGB, you need to access FIELDA of ZPROGA. In ZPROGB, FIELDA is available as
(ZPROGA)FIELDA. Play with the following pseudo-code snippet to get at fields of programs that are in lower in the call stack.
DATA: FLD(30).
FIELD-SYMBOLS: <FS> TYPE ANY
FLD = '(ZPROGA)FIELD'.
ASSIGN (FLD) TO <FS>.
WRITE:/ <FS>.
MOVE <FS> TO FIELDB.