Skip to Content
0
Former Member
Nov 20, 2007 at 10:12 AM

User function message mapping - IF without else

27 Views

Hi guys,

I have following problem and need help:

I want to use the function if without else.

The segment ist E1CUVAL...

If CHARC = "MA_FARBE" then write VALUE_TXT in my user defined field YYDOKUMENT.

The queues look like following:

CHARC:

/ORDERS02/IDOC/E1CUCFG/E1CUVAL/CHARC

SUPPRESS

[MA_BEZEICHNG1]

[MA_BEZEICHNG1]

[MA_BEZEICHNG2]

[MA_BEZEICHNG2]

[MA_FARBE]

[MA_FARBE]

[MA_ZEICHNUNGSNR]

[MA_ZEICHNUNGSNR]

=

SUPPRESS [MA_FARBE] SUPPRESS

[MA_BEZEICHNG1] [MA_FARBE] [false]

[MA_BEZEICHNG1] [false]

[MA_BEZEICHNG2] [false]

[MA_BEZEICHNG2] [false]

[MA_FARBE] [true]

[MA_FARBE] [true]

[MA_ZEICHNUNGSNR] [false]

[MA_ZEICHNUNGSNR] [false]

IFWithoutElse

SUPPRESS SUPPRESS SUPPRESS

[false] [LASCHE] SUPPRESS

[false] [LASCHE] SUPPRESS

[false] [GELENK] SUPPRESS

[false] [GELENK] SUPPRESS

[true] [RAL3025] [RAL3025]

[true] [RAL3025] [RAL3025]

[false] [110724] SUPPRESS

[false] [110724] SUPPRESS

/ns0:PurchaseOrderRequest/PurchaseOrder/Intem/ns:YYDOKUMENT

SUPPRESS

SUPPRESS

SUPPRESS

SUPPRESS

SUPPRESS

[RAL3025]

[RAL3025]

SUPPRESS

SUPPRESS

and I don't get any value in my YYDOKUMENT field.

Which funktion is missing?

If I test the whole thing YYDOKUEMENT doesn't even appear.

If i insert an additional funktion like concatLine it appears with no value.

Do I have to think about formats or anything like that?!?

Please help me!

Thanks a lot,

Barbara