cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on the udf .

former_member452321
Participant
0 Kudos

E1EDK18   0..3                                                 TERMSOFCONDITIOS

QUALF  0.1

TAG        0.1                                                       CONDITIONS

PRZNT 0.1

case qual =001 then prznt + tag  -- i

case  qual =002 then prxnt+tag  ---ii

case qual =003 then prznt + tag -iii

I need to add above i + ii + iii to conditons

Thanks for your help

expecting data

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member452321
Participant
0 Kudos

Thank you Manoj

E1EDK18

     QUALF 001

    TAG 10

    PERC  1.00

E1EDK18

  QUALF  002

   TAG  20

    PERC  2.00

E1EDK18

  QUALF 003

  TAG 30

Expecting - 1 pct/10 2 pct /20 Net 30

JaySchwendemann
Active Contributor
0 Kudos

I saw your previous now deleted post.

1. You will rise more interest, if you mark thread as questions

2. I assume that you are actually with an ORDERS IDoc (deduced from the node names). If so, see here for graphical mapping. Please note that context of QUALF TAGE and PRZNT is set to IDOC

If you need to got UDF way, this will probably not so difficult, also.

former_member452321
Participant
0 Kudos

Thank you . This works only when all of the E1EDk18 (3 segmetns with qual 001,002 003) exists with concatenation. other wise getting blank in target if only one or two segments exists. Could u help with

udf .Some times we may get only one qual =001 . some times we may get two qual 001 and 002

Thanks

manoj_khavatkopp
Active Contributor
0 Kudos

Mahesh,

in you case name_qual=QUAL country_m =tag text =partnz and name_mal = conditions.

Br,

Manoj

former_member182412
Active Contributor
0 Kudos

Hi Mahesh,

You can use below mapping. In the below screen shot target field TAXAMOUNT = CONDITIONS.

Regards,

Praveen.

former_member452321
Participant
0 Kudos

Thank you Manoj

manoj_khavatkopp
Active Contributor
0 Kudos

MAHESH,

Happy that ur issue is resolved.

Please close the thread by marking answer as correct/helpful,  if the udf met your requirement.

Br,

Manoj