cancel
Showing results for 
Search instead for 
Did you mean: 

How to map field to attribute

JariYlitolonen
Explorer
0 Kudos

Hi all,

I have a problem with graphical mapping. Source is idoc segment E1EDP19 (0...5) target attribute field (0...3). I need to map IDTNR field from segment to target if field QUALF has value 001

E1EDP01 (0...unbounded) ...... line (0...unbounded)

E1EDP19 (0...5)

qualf = 001

IDTNR (0,1) -


> aatrinutetag @value (0...3)

How to map this ? Now it's not working if there is multiple lines in IDoc. There is also E1EDP19 segments with other QUALFs.

Thanks

Jari

Accepted Solutions (0)

Answers (4)

Answers (4)

JariYlitolonen
Explorer
0 Kudos

This worked:

if qualf (Context E1EDP01) = 001

Then IDTNR (0,1) (Context E1EDP01)----


> aatrinutetag @value (0...3)

JariYlitolonen
Explorer
0 Kudos

Thanks !

Actually context needs to be E1EDP01 in both QUALF nand IDTNR.

Former Member
0 Kudos

ok..do let us know about the method which worked for you.

Former Member
0 Kudos

have you tried boolean function "If without else" here..

IF: qualf = 001(just change the context to Idoc)

Then: IDTNR (just change the context to Idoc)

Other way is use the function "formatByExample"..

In the first input give the IDTNR (w/o changing the context)

2 input: pass qualf (change the context to Idoc) then check for 001

Harish
Active Contributor
0 Kudos

Hi Jeri,

you can map the @value like

if qualf (Context E1EDP19) = 001

Then IDTNR (0,1) (Context E1EDP19)----


> aatrinutetag @value (0...3)