Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UDF for excluding a segment depending on a field value

Hi all,

I'm doing idoc to file...I need to exclude a segment depending on a filed value..for ex:

E1EDP01 (0...unbounded)

F1

F2

F3

If F2 has a value "0" don't create E1EDP01 segment else create...

any sample UDF..

Thanks,

Srini

Edited by: Srinivas Davuluri on Apr 29, 2009 10:37 PM

Former Member
Former Member replied

Hi

E1EDP01 (0...unbounded)
F1
F2
F3

If F2 has a value "0" don't create E1EDP01 segment else create...
any sample UDF..

No need to write UDF

Just put an condition to node as follows

F2 equals 0 --> not --> removecontext --> IfwithoutElse --> if (Map this removecontext from Not)

else (Map Constant (Value : Tab) -- RemoveContext)

it will work

Srini

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question