on 07-23-2008 1:49 PM
Hi All,
I would like to update Oracle Data Base with my custom BAPI using the Business Logic Transaction.
Could any one please give me some logic how to do it?.
Thanks
R M
RM,
Let me try to understand what you are trying to do.
Execute a transaction which runs a BAPI to retrieve information from SAP which you will then use to update fields/tables in an external (to SAP/NetWeaver) database. Is this correct?
Regards,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
RM,
Please follow the steps below:
1) Create and Configure the Data Server for the database you want to access/update (basically
you are creating a database connection here).
2) Save and test the connection by clicking the 'Status' button
3) Create new query template with template type as 'SQL Query' and select the server you have
configured in step#1
4) Select the mode as 'Command' and type-in your Insert/Update statements in the 'Fixed Query'
tab. For example: insert into yourtable values ('[Param.1]','[Param.2]')
5) Test the query by passing parameters from the 'Parameters' tab. You are supposed to get a
'Command Execution Successful' message if the data is successfully posted to the database.
6) Create a 'SQL Query' action block in your Business logic transaction to access the above query
and map your Param.1, Param.2 etc. to your BAPI result (on the Link Editor).
Hope this helps.
John
RM,
I guess you are trying to use a BAPI to update the ERP transactions / DB.
First you must configure the SAP ERP Connection.
In the BLS use SAP JCo action block.
Refer MII help.
Good luck,
Ajay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.