How to copy system BAPI

Question: Hi ALL,
I copied BAPI_PO_CREATE to ZBapi,but the copied bapi is giving me syntax error.i believe it hasn't copied the incude files.how to do that.any idea please.

Thanks,
Guest

Answer:
Any idea in this please,or how to copy system function module zfm.

Thanks,
Guest

Answer:
Instead of copying the source code;
In your ZBapi declare the same import, export, table parameters as the system bapi. Now call the bapi as any regular function mudule/bapi using
pattern.
Now pass all the import, export, table parameters to the bapi.
this should solve your problem

Cheers

Answer:
Hi,


When you copy a function module, only the include related to the function module is copied and system will not copy the refereneced includes.

So you either need to copy the whole function group or make changes to the main program of your copied function module.

Regards,
Sumant.
Copyright ?2007 - 2008 www.jt77.com