cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in the mapping

Former Member
0 Kudos

Hello ,

While working with the blog...."

create the message mappings. In order to use the enhanced receiver determination, create a message mapping which has the target message as u201CReceiver Determinationu201D in the SAP BASIS --> http://sap.com/xi/XI/System.

I defined the mapping between the sender outbound and Receivers of SAP BASIS....

In Receivers Message type there is a receiver to which we need to map..Could any one give step by step details for this ...The blog is not clear....

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi satya,

In ENHANCED RECEIVER DETERMINATION we can determine the receiver at run time with respect to the payload

suppose u have sender as followes

Node

|_Salary

|_Rent

and the requirement is that, if the Salary + Rent > 100, the file will go to Folder at Receiver1 , else if Salary + Rent <100 , the file will go to Folder at Receiver2.

In IR

create the Source and Target Data Type/Message Type/Message Interface .

the extra step to be done in IR

1)mapping-map the sender with the receiver message type of SWC SAP_BASIS , SWCV SAP BASIS 6.40, Name Space http://sap.com/xi/XI/System

you need to create a UDF which will determine the receiver bussiness service/system at run time

and the UDF is as followes

your udf will take two input fields as salery and rent and code is

if ((salary+rent)>100))

result.addvalue("receiver1")

else

result.addvalue("receiver2")

2)the next step to do is defining a Interface Mapping with the Source Interface as the Interface Related to the Source Payload. The Target Interface should be the Abstract Interface u201CReceiverDeterminationu201D under the SWC SAP_BASIS , SWCV SAP BASIS 6.40, Name Space http://sap.com/xi/XI/System,

in ID

in Receiver Determination Screen,u have to select the radio button Extended instead of the radio button Standard.,and need not be giving the conditions explicitly .Only we have to assign the Interface mapping created above under the text box Mapping Name.

rest are same but create 2 Interface determination and 2 receiver agreement for both the receiver receiver1 and receiver2.

regards,

navneet

reward point if useful.............

Former Member
0 Kudos

Hello is receiver1 is busniess service

Former Member
0 Kudos

Hi,

Look below description for Receiver Determination

We have the option of specifying the Conditions that to be applied when forwarding a Message to the Receiver(s) in a Receiver Determination.

Generally, a Condition relates to the contents of a Message; if a specified condition is fulfilled for a particular Payload element (the corresponding element has a certain value, for example), then the Message is forwarded to the specified Receiver(s).

1 ) If you want to specify a new condition for forwarding the Message to a Receiver, in the table in the

Display/Edit Receiver Determination editor in the Configured Receivers frame, choose Insert New

Condition () and call the Condition Editor by using the input help ().

2) If you want to specify a new condition for forwarding the Message to multiple Receivers, in the table in

the Display/Edit Receiver Determination editor in the Configured Receivers frame, choose Insert Line

After Selection ( ) and call the Condition Editor by using the input help ().

In the Condition Editor, you can select an element from the message payload and specify a value with which the value of this element is to be compared at runtime.

Thanks,

RamuV

Former Member
0 Kudos