2009 May 21 5:37 AM
Hi,
My requirement is to update the field EPROFILE in the table EBAN while running the transaction ME54N.
I have used the method "POST" of badi ME_PROCESS_REQ_CUST but it does not seems to update the table.
Following is my code used to update EBAN:-
DATA:
l_t_reitems TYPE mmpur_requisition_items,
l_s_reitems TYPE mmpur_requisition_item,
l_tempx TYPE mereq_item,
FIELD-SYMBOLS: <fs_reqitem> TYPE mmpur_requisition_item.
im_header->get_items( RECEIVING re_items = l_t_reitems ).
LOOP AT l_t_reitems ASSIGNING <fs_reqitem>.
IF sy-subrc EQ 0.
l_tempx = <fs_reqitem>-item->get_data( ).
l_tempx-eprofile = space.
<fs_reqitem>-item->set_data( EXPORTING im_data = l_tempx ).
ENDIF.
ENDLOOP.Please let me know if anything is wrong.
Thanks,
Bhumika
Hi,
My requirement is to update the field EPROFILE in the table EBAN while running the transaction ME54N.
I have used the method "POST" of badi ME_PROCESS_REQ_CUST but it does not seems to update the table.
Following is my code used to update EBAN:-
DATA:
l_t_reitems TYPE mmpur_requisition_items,
l_s_reitems TYPE mmpur_requisition_item,
l_tempx TYPE mereq_item,
FIELD-SYMBOLS: <fs_reqitem> TYPE mmpur_requisition_item.
im_header->get_items( RECEIVING re_items = l_t_reitems ).
LOOP AT l_t_reitems ASSIGNING <fs_reqitem>.
IF sy-subrc EQ 0.
l_tempx = <fs_reqitem>-item->get_data( ).
l_tempx-eprofile = space.
<fs_reqitem>-item->set_data( EXPORTING im_data = l_tempx ).
ENDIF.
ENDLOOP.Please let me know if anything is wrong.
Thanks,
Bhumika
2009 May 21 5:55 AM
Hi,
This badi wont effect for ME54N it effects only for ME51N, ME52N, ME53N,ME59N...
Thanks,
Shailaja Ainala.
2009 May 21 6:47 AM
Please give me some other alternative badi.
-Bhumika
2009 May 21 7:19 AM
Hi,
Try to use the badi MD_PURREQ_CHANGE....
Thanks,
Shailaja Ainala.
2009 May 22 2:30 PM
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |