cancel
Showing results for 
Search instead for 
Did you mean: 

Value used multiple times

Former Member
0 Kudos


Hi

Mine is an Idoc to File scenario on PI 7.1. I have a particular field ORGID used many times in the target for different fields.

The mapping logic is like this

Target            Source

Start Date  -  E1EDK03 segment field DATUM with qualifier 10

End date  - E1EDK03 segment field DATUM with qualifier 15

I have imported the IDoc to mapping. Howeve when I do field mapping, I am not able to incorporate this logic. How do I go about this?

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Radhika

Please ignore my earlier replies if they have confused you.

Please refer to the following logic that uses the actual E1EDK03 segment.

Rgds

Eng Swee

Answers (1)

Answers (1)

engswee
Active Contributor
0 Kudos

Hi Radhika

Below is a mapping logic I use frequently. Just replace the fields

NTANF -> E1EDK03-DATUM

E1EDT13 -> E1EDK03

Set context of QUALF to parent of E1EDK03

Change constant 007 to the qualifier value for the particular field (10 or 15)

Change DATUM to your target field (start or end)

Rgds

Eng Swee

Former Member
0 Kudos

Where do we het the function QUALF from? Why do we have to set context of QUALF to parent of E1EDK03?

engswee
Active Contributor
0 Kudos

Hi Radhika

Sorry, I didn't check what is the qualifier for segment E1EDK03. Just realized the field is IDDAT. QUALF is not a function. The screenshot above was just a sample from a logic I have using segment E1EDT13.

Just replace QUALF with E1EDK03-IDDAT.

The reason for changing the context is to align the queues for both input to the IF function. This is important if it is possible for your E1EDK03-DATUM to be empty.

If it is always populated, then you can simplify the mapping:-

Top input to IF - don't need to change context of IDDAT. Just map output of equalS to input of IF

Bottom input of IF - just map DATUM directly to input of IF

Rgds

Eng Swee

Former Member
0 Kudos

Hi Radhika

The field QUALF should be present in the IDOC under segment E1EDK03.

You have to set the context to E1EDK03 because the context of another field which is DATUM

will be E1EDK03.

Former Member
0 Kudos


I don't have QUALF under EIEDK03. I have only IDDAT, DATUM and UZEIT under that segment.

So I think I cannot use this in this requirement