cancel
Showing results for 
Search instead for 
Did you mean: 

Read XI table value from Graphical Mapping

former_member185846
Active Participant
0 Kudos

Hi,

I need to read a value maintained in a Z-Table wtihin XI from graphical mapping. Can any of you suggest how to achieve this in PI 7.0?

Thanks in advance.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Since your version is not 7.1, you cannot use Graphical RFC lookup. One solution is create UDF in the message mapping and do some RFC lookup. This is the possible solution.

Please refer this link

http://wiki.sdn.sap.com/wiki/display/Snippets/User-definedMappingFunctionforRFC+Lookup

former_member185846
Active Participant
0 Kudos

Thanks for the prompt respose, Bhaskar.. but do I need to create RFC channel for XI and mention those details?? there's no other way to read data from table directly since it's in the same server?

Former Member
0 Kudos

Hi joe,

in PI 7.0, another solution is to use two mappings in your Interface mapping:

- Soure_2_Intermediate: an abap mapping, to be configurated (see sap help and blog) in order to be able to select "abap mapping" in mapping type of Interface Mapping . Then in your abap mapping, you can easily do your SQL request to your Ztable stored in PI.

- Intermediate_2_Target: a Message Mapping, if the rest of your mapping is complex... (like an Idoc structure)

if your mapping is not so complex, maybe to acheive it completly within only one abap mapping,

Anyway, try the solution providen by Baskar, before to do that.

Regards

Mickael