cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical Mapping

Former Member
0 Kudos

Hi experts

In My Graphical mapping i am using two lookups.

In the 1st look up :

Z_XXX_SAP_lookup has to be called with 2 parameters(

sold-to party,Sales_org) and it return the field sold-to party or Sales_org

Input = XXXX and the value "ALL"

Output = sold-to party

Input = XXXX and the value "ALL"

Output = Sales_org

The result from the first RFC call (Z_XXX_SAP_Lookup) should also be

used as input fields to the next RFC call (Z_YYY_SAP_Lookup)

The 2nd RFC looks like this (Z_YYY_SAP_Lookup) has to be called with 2 parameters(

Kunnr,VKORG) and it return the field 'SUBRC'.

Input = Kunnr and

Now My requirement is I need to send 1st RFClook up value to target element.

And also i need to send 2nd RFC lookup up value to the target element

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I think you need to make two UDF. One for caching the value of the rfc output, and the

other one to retrive it(use the java section).

When you make the first RFC, you should cache the value. So with the other UDF you

will get the value and put into the target field, and at the same time you can put

the value to the input of the 2nd RFc.

Regards,

Emiliano

Former Member
0 Kudos

Do you have two diff. fields in the target structure and first one map with first element and second one map with second field. If so then its simple.

You can do it like

Source field --> 1st RFC --> 2nd RFC call --> Target Field

Source Field --> 2nd RFC --> Target Field.

If you like to call 2nd RFC only once then you can call for the first time and then store its value in Global container and use it afterwards.

Gaurav Jain

Points if answer is useful

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>The result from the first RFC call (Z_XXX_SAP_Lookup) should also be

>used as input fields to the next RFC call (Z_YYY_SAP_Lookup)

Hence need to go for 2nd RFC lookup up value to the target element. ( I think there might be way to fix this in a single call )

let us check other experts answers,

Regards

Agasthuri Doss