‎2007 Feb 06 4:54 PM
Hi
I got some requirements to create the interface and breif idea is to use BAPI's.
I would like to know some information can BAPI function modules replace the call transaction or session which we use for interfaces.
an we avoid that lengthy code?
Where do we start when we are using BAPI'S,?do we need to upload flat files and where we avoid?
Where we can find BAPI fm?
Thanks in advance
‎2007 Feb 06 4:55 PM
Hi,
GO to the transaction BAPI..Where you can find the BAPIs..
THanks,
Naren
‎2007 Feb 06 4:55 PM
Hi,
GO to the transaction BAPI..Where you can find the BAPIs..
THanks,
Naren
‎2007 Feb 06 4:59 PM
Hi,
You can upload the data from the Flat files and fill the BAPI structures and call the BAPI function module. You can find all the bapi's in transaction code BAPI, and also there you will get good Documentaion for each and every BAPI
Regards
Sudheer
‎2007 Feb 06 5:06 PM
Hi Sudheer,
Thanks for that.
Upload the data fro flat files to where?you mean do we need to create the structures aain?
Assume iam using standard BAPI functon module.
If i upload the data to internal table from flat files and i can call the BAPI fm??
any inputs please.
Thanks
‎2007 Feb 06 5:12 PM
Hi,
Upload the data in internal tables & fill the different structures & pass all the structures to BAPI.
And also call BAPI_TRANSACTION_COMMIT function module after the main bapi.
Append the data of RETURN table into an internal table. It will give you the details of error as well as success records.
Ashven
‎2007 Feb 06 5:04 PM
Hi,
you can use transaction code BAPI to display all the business objects & BAPI names & details.
If you want u can search a particular BAPI form Transaction Code SE37. Here Serach like BAPI*. & it will display all the available bapi.
Go in display mode for a particular BAPI & find out which are mandatory parameters.
After calling particular bapi you need to call BAPI commit function module otherwise changes will not take place in database.
e.g. suppose you have used the following bapi:
BAPI_ACC_DOCUMENT_POST'.
After calling above bapi you need to use the following:
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
For more details check out the following link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5e114a4a1611d1894c0000e829fbbd/frameset.htm
Ashvender