on 09-14-2012 7:15 PM
Hi All,
I have a query on Idoc to Idoc scenario based on the input field values from sender idoc i need to access SAP R/3 table and send the corresponding value to target side (IDOC).
Can you please suggest what is the best way of accessing the SAP tables either by creating the RFC Function Module which can be used in the UDF to access the table or any chance of writing UDF to access directly the SAP R/3 table.
Please help me on this.
Thanks in advance
Prathi
>Can you please suggest what is the best way of accessing the SAP tables either by creating the RFC Function Module which can be used in the UDF to access the table or any chance of writing UDF to access directly the SAP R/3 table.
Create function module and do the lookup in the mapping to access the table. what PI version do you use? If your PI version is 7.1 and above, you can use RFC lookup readily available as graphical lookup function. If your version is below 7.1., then you need to use UDF in the mapping.
RFC lookup link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then you can write udf for the RFC lookup. You might want to see this code snippet for doing this.,,
http://wiki.sdn.sap.com/wiki/display/Snippets/User-defined+Mapping+Function+for+RFC+Lookup
User | Count |
---|---|
87 | |
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.