cancel
Showing results for 
Search instead for 
Did you mean: 

User function message mapping - IF without else

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

About XI Mapping I suggest you to see the following links:

// Message Mapping Simplified (good examples of mapping function)

/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

// Introduction to Context Handling in Message Mapping

/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

// New functions in the Graphical Mapping Tool SP13

/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13

//Customizing ID Mapping Framework (Value mapping)

http://help.sap.com/saphelp_nw04/helpdata/en/cd/9ad4dfdb9ef04cba985a566422569c/frameset.htm

Mapping functionality in XI

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a...

SAP Exchange Infrastructure - Graphical_Mapping

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6658bd90-0201-0010-fbb6-afe25fb3...

SAP Exchange Infrastructure - Graphical Mapping Exercise

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fd5ebd90-0201-0010-d697-91374d5b...

SAP Exchange Infrastructure - Graphical Mapping - Advanced

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e55f95...

SAP Exchange Infrastructure: Mapping Patterns - Understand Context Handling in Message Mapping - Webinar Powerpoint

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f...

SAP NetWeaver Exchange Infrastructure Mapping Troubleshooting - Webinar Powerpoint

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e01e9400-9e81-2910-20a5-a862945a...

Mapping Lookups a RFC API

XI 3.0 New Mapping Features

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1...

I hope this will be helpfull.

Regards,

Salvatore

Former Member
0 Kudos

Barbara

What version are you on?

This is a known issue with certain versions... I am lloking up the OSS note....

Former Member
0 Kudos

Which version do you exactly mean?

SAP ABA 7.00

SAP BAIS7.00

SAP APPL6.0

SAP SRM SERVER 5.5

XI should be 7.0 but I'm not sure about that - where can I find this out?

Kind regards,

Barbara

Former Member
0 Kudos

Hi Barbara

As you are on PI7.0. I would check these OSS Notes

https://service.sap.com/sap/support/notes/1085331

https://service.sap.com/sap/support/notes/1061202

They do relate to SP10.

Former Member
0 Kudos

Hi Barry,

We have now deployed following sca in SDM:

SAPXITOOL11P_5-10003483.SCA

But nothing has changed - did I forget something to do???

Could it be a problem of the format?

... anything else?

Kind regards,

Barbara

Former Member
0 Kudos

Barbara.

We were using SP10, and had to go upto the 7th version of this note... It did work for us in the end but we had gone to version 4 of the note then to version 7.

It may be worth opening an OSS note with SAP... They recommended to us to go to SP13, but as we were too far gone in the project to regression test.. we had to wait three months for the fix!

I am sorry I cannot tell you what you want to hear...