Application Development and Automation 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: 
Read only

Adding new fields to existing BAPI's.

Former Member
0 Likes
904

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
Read only

Former Member
0 Likes
691

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.

Read only

Former Member
0 Likes
691

Copy your std. BAPI to ZBAPI.

and in Import parameters add the code like

eg: - MATNR LIKE MARA-MATNR

Read only

0 Likes
691

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