on 07-16-2007 8:18 AM
Hi all..
We have a Table structure as one of the input parameter to RFC. Can XI directly update the Table once it sends the input .. or a code should be writen in the RFC to load the data into the Table.
Thanx in advance..
As such an RFC just provides an interface. Without code or calling other RFCs the update wouldnt be possible
If u want to do any database updates, the corresponding code must be written in the source code of RFC.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
Question isn't that clear. CaN you specify the specific about the BAPI that you are going to use to update ?
In addition to that database only gets updated when the commit is done. With some BAPIs Commit has to be called explicitly.Check the documentation of the bapi.
In the advance mode of the RFC ADAPTER you have the following parameter
Commit Control for Single BAPI Calls:
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.
The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values , S, I, and W are displayed. All other values are regarded as errors.
For further reference follow the url <a href="http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm">RECEIVER RFC ADAPTER</a>
Answered ur query ?
Cheers,
<b>*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can directly pass the data in table structure from XI, there is no need for extra code. Just define a structured datatype as same of the table parameter in rfc FM and map the field in message mapping.
However if you are talking about the database table then offcourse you need to write the code in RFC FM to update the data in database table
Regards
Sumit Bhutani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.