cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI-Message Mapping question

Former Member
0 Kudos

Dear,

Can you help me with this simple requirement.

input: Idoc with fields:

LABEL1     content L1

LABEL2     content L2

NUMBER   content 5

receiving message type has 2 item substructures which were duplicated with fields:

RECORDTYPE (constant)

LAB       content should come from LABEL1/LABEL2 if populated

NBR      content should come from NUMBER

Requirement:

When field LABEL1, LABEL2 is filled then the substructure should be filled, else it should not be created at all.

I attached a doc with a screenshot for clarification

Regards,

Luc Schouterden

<REMOVED EMAIL ADDRESS - READ RULES OF ENGAGEMENT>

<MOVED TO PI SPACE>

Message was edited by: Prateek Raj Srivastava

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

try below mappig logic, you can replicate same mapping logic using simple UDF also