‎2007 Feb 08 7:08 AM
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
‎2007 Feb 10 11:12 AM
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.
‎2007 Feb 12 8:45 AM
Copy your std. BAPI to ZBAPI.
and in Import parameters add the code like
eg: - MATNR LIKE MARA-MATNR
‎2007 Feb 12 11:22 AM
If your BAPI contains EXTENSIONIN or EXTENSIONOUT structures then u can enhanace ur BAPI to update fields of SAP TABLEs