2008 Feb 13 12:02 PM
hello all,
I am using a BADI WORKORDER_UPDATE in which In_update method is there with certain import parameters.
I want some of those parameters in another method named at_release of same BADI .
Those import parameters are not there in at_release. They are only in Import of in_update.
I have actually created an Implementation of the BADI.
I dont know how to do that please let me know.
Thanks in advance.
hello all,
I am using a BADI WORKORDER_UPDATE in which In_update method is there with certain import parameters.
I want some of those parameters in another method named at_release of same BADI .
Those import parameters are not there in at_release. They are only in Import of in_update.
I have actually created an Implementation of the BADI.
I dont know how to do that please let me know.
Thanks in advance.
2008 Aug 18 6:21 AM
Hi Sonal,
IS this issue you were able to solve...i am facing the same situation,
if u got some solution,do let me know.
Thanks,
SA
2008 Aug 18 6:47 AM
Hello Sonal
The solution for your problem is quite simple:
Define all required IMPORTING parameters of IN_UPDATE as instance attributes of your class, e.g.:
MT_HEADER TYPE cobai_t_header.Within method IN_UPDATE store the required IMPORTING parameters, e.g.:
METHOD IF_EX_WORKORDER_UPDATE~IN_UPDATE.
me->mt_header = it_header.
...
ENDMETHOD.Within method AT_RELEASE you can access the header data like this:
LOOP AT me->mt_header INTO ...
...
ENDLOOP.Regards
Uwe