on 12-18-2006 7:58 AM
hi all,
I have created a scenario ,in which sender side an flat file is used and in the receiver side RFC is used .
A data is read from a flat file and has to be stored in a Databasee table , the pb is data is read by file dapter and is not stored in the table .
Receiver side a BAPI is used , which will store the data to the table .
when we ececute the transaction sxmb_moni a message get generated .....but no updation in the table.
Can u explain the pb.
what is the status of the msg in SXMB_MONI? Error or Success?
Make sure you have the <b>commit work</b> in the RFC code.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Can you send any useful link regarding this scenario.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok
i will check the scenario.
so if we give COMMIT there and execute what will happen .....
will the control goes to the bapi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please read through the help link i have given,
<i>If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.</i>
RFC adapter will COMMIT the data internally by calling the BAPI "BAPI_TRANSACTION_COMMIT "
Regards
Bhavesh
Hi,
BAPI is working fine when executed seperately.....
how to check COMMIT WORK in the RFC Adapter side
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jude,
In your receiver RFC adapter --> Select Adavenced Mode and then the check Box --> Commit Control for Individual BAPI Calls.
This will commit the BAPI call from XI.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
Regards
Bhavesh
i
have set a breakpoint in the BAPI , but no response .
the sxmb_moni transaction show the same message...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Success message in the Sxmb_moni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Take a look at the receiver RFC adapter for errors if any on RWB.
Also, like pointed by Jai Shankar, check if COMMIT is handled in your BAPI and if no, make sure that the COMMIT has been turned on in the receiver RFC adapter.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.