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: 

Adding new fields to existing BAPI's.

Former Member
0 Kudos

Hi,

How do I add new fields to a existing BAPI, the new fields to be added are already existing in the SAP table. I have to use these fields which are not yet included in the BAPI structure.

Pseudo code , would be really helpful.

Gautam

3 REPLIES 3

Former Member
0 Kudos

hi,

for your requirement, the solution is to make a copy of exixting BAPI and add the required fields to the respective structure.

regards,

alson.

Former Member
0 Kudos

Copy your std. BAPI to ZBAPI.

and in Import parameters add the code like

eg: - MATNR LIKE MARA-MATNR

0 Kudos

If your BAPI contains EXTENSIONIN or EXTENSIONOUT structures then u can enhanace ur BAPI to update fields of SAP TABLEs