Skip to Content
author's profile photo
Former Member

Mapping question

Hi all,

We've created a java extension that makes an RFC call (via JCo API) to a remote SAP R/3 system. Typically, our java method receives an input parameter (String) from a specific field in the input xml file and passes that parameter to the remote function. The mapping was designed using the mapping tool.

Our problem:

Since our mapping function (our java extension) didn't work properly, I've added some "System.out.println(...)" in our java method and realized that the input parameter was empty?!? If I hard code the value before making the RFC call, everything works fine.

My question:

My knowledge of XI and its mapping tool is quite limited... Aside from connecting all those objects together: source input field --> java extension --> target output field (again, using the mapping tool), what do we need to do to make this kind of mapping work?

Thanks a lot!

Nathalie

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Nov 20, 2003 at 11:52 AM

    Hi Nathalie,

    could you check if the input parameter is passed correctly to your function? Since it works with a hard coded value, the parameter probably never enters your function. Just try if you can make a 1:1 mapping (output value = input value).

    Best regards

    Joachim

    Add comment
    10|10000 characters needed characters exceeded