on 03-23-2007 4:36 AM
Hi
I imported a RFC (Function Module) in XI that has a table as parameter.
But when the BAPI is called from XI, tha table data is not passed.
Whitin the ABAP code I save the data outside a loop to verifiy the RFC is called from XI, and it is true, but within the loop for table it not work, the table parameter passed from XI is empty... but in the message monitoring I see the payload?
PS: The Function module was executed from R/3 with table parameters filled and it work fine.
Thanks
Rakesh
Have you changed the RFC at any time? Then you have to force the XI to load the RFC meta data again.
I think de-activating and activating the RFC channel should help.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check both structre of XI payload and our structre where your takingthe dat from xi and putting in a table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rakesh,
Check your request mapping. Check the contexts of the source and target nodes in the hierarchical order. Test your mapping in the IR.
regards,
Ansar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rakesh,
Check the output of your mapping. The request messge that hits the RFC. Is the table parameter filled up with the corect values.
Even if you do no want to give values make sure that the TABLE tag is atleast created in the request mesage.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bhavesh...
As you mentioned, I do not see the TABLE tag created.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ZBAPI_COMPANY_GETDETAIL1 xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<COMPANYID_LIST>
<item>
<ZCOMPANYCODE>0001</ZCOMPANYCODE>
</item>
<item>
<ZCOMPANYCODE>0002</ZCOMPANYCODE>
</item>
</COMPANYID_LIST>
</ns0:ZBAPI_COMPANY_GETDETAIL1>
The above is the request xml (which is going to hit RFC) that is created after mapping in XI.
In my RFC enabled function module.
COMPANYID_LIST -- Is the Table parameter field Name
ZCOMPANYCODE -- is the data type.
Is the above correct, correct me if I am wrong.
Thanks
Rakesh Teki
Rakesh,
Dont remember exactly. But just check in the RFC request XML in your IR. Does the XML contain the TABLE tag? If no, then the request XML is correct. If yes, then make sure that the tag is generated in the mapping.
Also, try to test the RFC from Se37 by giving the same data and in this message and see what the issue is.
Also, can you let us know the error you are getting? Check ST 22 on the R3 system for any dumps when the RFC is called from XI
Regards
Bhavesh
Hi,
is the table contains the Primary key and table is existed in structure?
see the belowlink
http://help.sap.com/saphelp_nw2004s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
Regrads
Chilla
HI,
RFC is sending the table name , check.What are all the Return values in terms of structure and also check the struture of the return /response message,
http://help.sap.com/saphelp_erp2005vp/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
Rgards
Chilla
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.