Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.