01-18-2006 12:55 PM
Hi ,
We are using Business Add ins for Purchase Order Header
ME_PROCESS_PO_CUST and using method PROCESS_HEADER .
Our requirement is to put date in RE_DATE-KDATE .
i.e. the date should come on Purchase Order screen
Can anybody help.
Regards,
Alpa
01-18-2006 1:03 PM
Hi Alpa!
These BADIs only have importing parameters. So for a change you have to go for a modification. But you don't need an object key. Have a look at the documentation of 'ASSIGN', the part of dynamical assign (or search this forum).
Then you also have a changing access to global data.
Regards,
Christian
01-18-2006 2:34 PM
Hi Alpa,
Please review the sample code provided by SAP for method proceess header in BAdi : ME_PROCEE_PO_CUST this will help you.
Try this :
First implement the BADI and then add your code in method process_header.
Example Code :
DATA : LS_MEPOHEADER TYPE MEPOHEADER.
----
read header data
----
LS_MEPOHEADER = IM_HEADER->GET_DATA( ).
Change header data and use method IM_header-> SET_DATA.
Lanka