2010 Sep 22 2:14 PM
Hi gurus,
i need to park/hold a PO and i implemented the badi ME_PROCESS_PO_CUST.
I worked in methodPROCESS_HEADER, putting this piece of code
DATA ls_mepoheader TYPE mepoheader.
ls_mepoheader = im_header->get_data( ).
ls_mepoheader-memory = 'X'.
im_header->set_data( im_data = ls_mepoheader ).
I followed in debug the BADI and i see that the it should works, but in my EKKO table, memory field is blank.
I debugged the SET_DATA method too and discovered this
CALL METHOD me->get_data( IMPORTING ex_data = l_data_old ).
CALL METHOD me->get_datax( IMPORTING ex_data = l_datax_old ).
MOVE-CORRESPONDING l_data_old TO l_mepotech.
MOVE im_data TO l_data_new.
MOVE-CORRESPONDING l_mepotech TO l_data_new.
But in this way the program does not overwrite l_data_new with l_data_old information?
Hi gurus,
i need to park/hold a PO and i implemented the badi ME_PROCESS_PO_CUST.
I worked in methodPROCESS_HEADER, putting this piece of code
DATA ls_mepoheader TYPE mepoheader.
ls_mepoheader = im_header->get_data( ).
ls_mepoheader-memory = 'X'.
im_header->set_data( im_data = ls_mepoheader ).
I followed in debug the BADI and i see that the it should works, but in my EKKO table, memory field is blank.
I debugged the SET_DATA method too and discovered this
CALL METHOD me->get_data( IMPORTING ex_data = l_data_old ).
CALL METHOD me->get_datax( IMPORTING ex_data = l_datax_old ).
MOVE-CORRESPONDING l_data_old TO l_mepotech.
MOVE im_data TO l_data_new.
MOVE-CORRESPONDING l_mepotech TO l_data_new.
But in this way the program does not overwrite l_data_new with l_data_old information?
2010 Sep 22 2:43 PM
2010 Sep 22 3:03 PM
Hi! I give a look at your threads, but there's nothing that help me.
I notice that ERNAM field, instead, it's changed.
There isn't an option to force the system to hold the PO via BADI?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |