cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue: Two different IDOC P19 segment to one flat file line

Former Member
0 Kudos

Hello,

Scenario: For each P01 segment (without uepos) in an order idoc I want to create one line in a plain text file.

Problem: One P01 segment has two P19 segement with different qualifiers. I want to map both P19.IDNTR (with different qualifiers) fields to the same record in my plain text file.

How can I do this?

My "if statement" does noet work. I check the qualifier in the P19 segment. But when one field in the record of the plain text is filled with an P19.IDTNR the second P19.IDTNR field is empty.

Please advice.

Best Regards,

Erik van Lisdonk

Accepted Solutions (1)

Accepted Solutions (1)

S0003485845
Contributor
0 Kudos

Erik,

you should get both values if you change the Context of your INPUT-Fields one level higher (for the IDTNR and for the Qualifier that is checked in the IF-statement).

The Context needs to be set to P01 for all fields and I assume it is set to P19.

Greetings

Stefan Hilpp

Answers (1)

Answers (1)

claus_wallacher
Active Participant
0 Kudos

Hi Erik,

check out this . Your problem looks very similar.

Regards,

Claus