Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PO Business Add Ins

Former Member
0 Kudos

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

2 REPLIES 2

christian_wohlfahrt
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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