2007 Jul 12 4:49 PM
I can debug abap objects but I'm not good at programming it.
Can anyone show me how to change the contents of
REFERENCE(IM_REQ_ITEM) TYPE REF TO IF_PURCHASE_REQUISITION_ITEM
in this user exit? I need to be able to change the item and itemx data.
Thanks in advance!
I can debug abap objects but I'm not good at programming it.
Can anyone show me how to change the contents of
REFERENCE(IM_REQ_ITEM) TYPE REF TO IF_PURCHASE_REQUISITION_ITEM
in this user exit? I need to be able to change the item and itemx data.
Thanks in advance!
2007 Jul 12 4:56 PM
Hi,
Please try something like this.
DATA: LS_ITEM TYPE MEREQ_ITEM,
LS_ITEMX TYPE MEREQ_ITEMX.
CALL METHOD IM_REQ_ITEM->GET_DATA
RECEIVING
RE_DATA = LS_ITEM.
CALL METHOD IM_REQ_ITEM->GET_DATAX
RECEIVING
RE_DATAX = LS_ITEMX.
* Do your modification to LS_ITEM and LS_ITEMX information.
...
CALL METHOD IM_REQ_ITEM->SET_DATA
EXPORTING
IM_DATA = LS_ITEM.
CALL METHOD IM_REQ_ITEM->SET_DATAX
EXPORTING
IM_DATAX = LS_ITEMX.
Regards,
Ferry Lianto
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |