06-21-2007 8:48 PM
Hi
Can u pls tell me How to create a ZBAPI from a STD BAPI with example?
Ur answer will be rewarded.
Regards
chand
06-21-2007 8:51 PM
Hi Chandri,
Go to SE37>Go to>Function Groups-->Create Group.
Again SE37-->Give the name of the BAPI that you want to copy and press COPY(CTRL+F5). Give the names as required there.
Regards
Aneesh.
P.S : Y do u want to copy a standard BAPI. I mean what can be the requirement??
06-21-2007 9:11 PM
Aneesh,
Thanks for the fast reply.
I would like to know when do we create zbapi and need an example as how to create?
Regards
chandri
06-21-2007 9:15 PM
Hi Chandri,
Look at this link,
http://www.erpgenie.com/abap/bapi/example.htm
Reward if useful.
Thanks
Aneesh.
06-21-2007 9:22 PM
Let me say one example :
In my system sales order ( VA01,VA02,VA03) ,we have custom fields and it is available in Additional data B Screen.
We created append structure to VBAK,
So we want to update custom fields regularly using batch job from other syste.
as we have Standard FM for Sales order - BAPI_SALESORDER_CREATEFROMDAT and when we use this FM ,this will not update custom fields.
we created new function module -> this fm calls BAPI_SALESORDER_CREATEFROMDAT and here we written logic to update custom fields using EXTENSIONIN structure
Thanks
Seshu
06-24-2007 9:20 PM
Hi Seshu,
Thanks for ur reply.
Can u pls explain me in detail that how we write logic to update custom fields using EXTENSIONIN structure with code?
Regards
chand