Skip to Content
0
Former Member
Apr 13, 2010 at 02:03 AM

multiple idoc segment values to field fixed length FCC

58 Views

Friends,

I need help to resolve a mapping issue. here is the brief about the scenario.

Scenario: IDoc to Flat file Fixed length fields

Issue: Idocs has values in multiple segments. i need to check condition for each segment occurrence if value exists then pass value if not then pass constant (i have to pass constant so that i can get the actual column width after FCC)

Iam using the following logic.

If condition then value1 -> remove contexts -> split by value -> target

My scenario works fine for the above mapping however when i try introduction a constant in "if then else" then all my contexts in the target structure messes up.

Thanks for your help.

Regards,

Pavan