Message Mapping Question

Hello,
I need some help for a message mapping.
In the source message is one element named options.
The value of this field is semicolon and bracket/comma separated value. e.g. skip;ignore;retry(1,2,3).
Each one of the semicolon separated values should be a own element in the target message. If one option has values in the brackets, this options should get some child's. For example:
<options>skip;ignore;retry(1,2,3)</options>
should be
<options>
<option value='skip'/>
<option value='ignore'/>
<option value='retry'>
   <choices>
     <choice>1</choice>
     <choice>2</choice>
     <choice>3</choice>
   <choices>
</option>
</options>
Is it possible, to produce such message with the message editor?
Thanks and regards,
Daniel

Hi Daniel,
Yes, its possible to produce such a message.But Have you defined message interface for the target structure described in your post?
You may need to write some user-defined functions / use susbstring operation to achieve what you need.
Regards,
Sridhar

Similar Messages

  • Http- XI- rfc message mapping question

    Hi!
    I want to map the 3 fields (type: xsd:string) of xml message to the 3 fields of the table parameter (type: xsd:anyType)of the remote function.
    But I can't see the fields of the table parameter just only the name of it, and that is why I can't match 3 fields with this one in the graphical mapping editor.
    Can you help how to solve this problem?
    I import the metadata of the function modul from the R/3 backend system properly.
    Thanks.

    Gerg,
    I have imported this RFC into XI.  When you open it there is the <b>RESULT_TAB</b> and the <b>SELOPT_TAB</b>
    Both of these have the subelement named <b>item</b>
    Expand item to see the available elements, each of which you can map to
    I do not know what your initial three fields represent but lets say that you want to map them to the SELOPT_TAB component
    Your XI design will then pass this information via RFC to an R3 system to retrieve Customer data
    You could also simulate your mapping and send steps by testing BAPI_CUSTOMER_FIND in your R3 system
    Enter your initial three fields and then execute
    You will see the results in the table RESULT_TAB
    I hope this helps,
    Mike

  • Challenging Message Mapping Question

    Hi,
    I have a source XML:
    <root>
       <record>
          <itemA>
             <id>1</id>
          </itemA>
          <itemB>
          </itemB>
          <itemA>
             <id>2</id>
          </itemA>
          <itemA>
             <id>3</id>
          </itemA>
          <itemB>
          </itemB>
       </record>
    </root>
    And, the target needs to look like:
    <root>
       <record>
          <itemA>
             <id>1</id>
          </itemA>
          <itemB>
             <id>1</id>
          </itemB>
          <itemA>
             <id>2</id>
          </itemA>
          <itemA>
             <id>3</id>
          </itemA>
          <itemB>
             <id>3</id>
          </itemB>
    </root>
    In summary:
    1.  (easy) an element "itemB/id" needs to be created only when "itemB" exists.  In the target XSD, "itemB/id" is optional.
    2.  (hard or impossible) the value of "itemB/id" is equal to the "itemA/id" right before it in the source XML.
    Is this possible?
    Thanks in advance for any help,
    Bill

    Hi William ,
    Please confirm your data types .
    If you have data types like this-
    Source Data type
    =================
    <recordSet>1..1
    <record> 1..unbounded
      <itemA> 0..1
        <id> 0..1
      <itemB>0..1
         <id> 0..1
    Target Data type
    ==================
    <recordSet>1..1
    <record> 1..unbounded
      <itemA> 0..1
        <id> 0..1
      <itemB>0..1
         <id> 0..1
    Then you can attain the target structure mapping you expected ..
    Sample test data with source and target message types..
    Please confirm this ..
    Source Structure -
    =================
    <root>
    <recordSet>
    <record>
    <itemA>
    <id>1</id>
    </itemA>
    <itemB>
    </itemB>
    </record>
    <record>
    <itemA>
    <id>2</id>
    </itemA>
    </record>
    <record>
    <itemA>
    <id>3</id>
    </itemA>
    <itemB>
    </itemB>
    </record>
    </recordSet>
    </root>
    Target Structure -
    =================
    <root>
    <recordSet>
    <record>
    <itemA>
    <id>1</id>
    </itemA>
    <itemB>
    <id>1</id>
    </itemB>
    </record>
    <record>
    <itemA>
    <id>2</id>
    </itemA>
    </record>
    <record>
    <itemA>
    <id>3</id>
    </itemA>
    <itemB>
    <id>3</id>
    </itemB>
    </record>
    </recordSet>
    </root>
    Please let me know if you need any further information
    Nanda

  • XI Configuration Design questions with multi-mapping message mapping object

    Hello,
    I'm having trouble designing a particular scenario for multi-mapping.  Currently i'm working with a Vendor create and change.  BPM is not being used.
    This is what i need:
    I need a CREMDM04 to turn into one or multiple ADRMAS/CREMAS IDocs and potentially a CLFMAS IDoc based on the values in the inbound CREMDM04 IDoc.
    This is what i currently have:
    A CREMDM04 inbound idoc is multi-mapped to a CREMDM03 (1...9999), another CREMDM03 (0...9999), and a CLFMAS01 (0...9999).  At a minimum only the first CREMDM03 IDoc will be created and at a maximum all three will be created.  The parameters on creating the second CREMDM03 IDoc and the CLFMAS01 IDoc are based on the values in the inbound CREMDM04 IDoc, whereas the first CREMDM03 IDoc will always be created and the values will just be converted/mapped from the inbound CREMDM04 IDoc.  This multi-mapping is currently set-up via a graphical message map and works successfully in the test-tab of the mapping object.  It has a main message and has sub-messages which are the IDocs.  I’m mapping the CREMDM04 to a CREMDM03 to then map it through an ABAP-Class and then to an XSL where the CREMDM03 inbound structure is expected to split into ADRMAS and CREMAS Outbound IDocs for Vendor Create/Change in the remote R/3 systems.
    After the graphical map we have a necessary ABAP Class call that calls a BAPI to the remote system.  This ABAP Class must come after the graphical map since the parameter for the BAPI is based on a converted value from the graphical multi-map.
    After the ABAP Class call there is finally an XSL message split the CREMDM IDoc into an ADRMAS and CREMAS IDoc.  There need to be two interface mappings (one per ADRMAS and CREMAS) since the ABAP classes and XSLs are specific to the ADRMAS and CREMAS.
    The CLFMAS IDoc can go directly to the remote system, but since it’s within this one multi-map, I’m not sure if is possible?  I’m not sure if it will fail once it tries entering the XSL mapping (this is the standard CREMDM message split offered from SAP).
    There are three interface mapping scenarios I can think of, but cannot get to work:
    CREMDM04 to ADRMAS02
    CREMDM04 to CREMAS03
    CREMDM04 to CLFMAS01
    Currently I have the Interface Mapping structured as follows:  (I cannot get this to activate as it appears it does not work)
    Multi-Mapping ==> ABAP Class Call ==> Standard XSL Message Split
    How should i design the interface mapping objects and the configuration objects for this scenario?
    Any help is appreciated and I definitely will reward points (no need to include it in your response).

    Hi,
    I suggest you may use multiple steps interface mapping. It's composited with 3 message mappings as step by step.
    Mapping 1: One to one mapping. For the output schema, use a composition schema which includes those 3 IDOCs you want.
    Mappign 2: ABAP Mapping. I am not sure the ABAP class you mentioned is an ABAP mapping or not. If it does, That's ok. If not,
    call that ABAP class in your ABAP mapping and do corresponding change for your message. Return back the same structure as output.
    Mapping 3: One to multiple mapping to split the message.
    So basically as interface mapping, it's one to multiple mapping. And internally, you have 3 steps to realize the mapping.
    And as my experience, for both one to multiple message mapping & multiple steps interface mapping, it works well in my project. And
    in ID, you have to configure it via "advance" function in receiver determination or interface determination.
    Let me know if any confusion.
    Thanks
    Nick

  • Message Mapping Design Question

    I have to parse from a source field (x) and map to this structure:
    <Line>
      <Number\>
      <Descr\>
      <Code\>
    </Line>
    The source field is a string that contains newline characters (just a blob of text).  Example:
    ABC\nLine 1,widget, 123A\nXYZ\nLine 2,gadget,123B
    I need to get at the line number, description, and code mapping values by parsing at newlines and then parse into the "Line" records.  I want my result to look like this:
    <Line>
      <Number>1</Number>
      <Descr>widget</Descr>
      <Code>123A</Code>
    </Line>
    <Line>
      <Number>2</Number>
      <Descr>gadget</Descr>
      <Code>123B</Code>
    </Line>
    Is there a way to chain message mapping functions and/or UDFs and do something like this?  In addition, I don't see how I can specify multiple target fields in one mapping.  Any suggestions would be appreciated.  Thanks!

    Raj,
    Unfortunately, the source structure is not well structured.  It contains lines of data, of which some begin with "Line", and then a line number and other fields separated by commas.  It also contains unused lines.
    Production example of source data (with breaks at each newline character):
    APPROVED
    Tracking Reference: 20070629063604.1
    Process Date: 06-29-2007 07:38:59
    Listed below are the following items listed for review:
    Contract: ABC Delivery Order Number: HTCH
    Items reviewed:
    Line 1, 10 EA, 000000000099784711, S01-004, 20070629063604.1_1
    Line 2, 10 EA, 000000000088078625, 03356.63.04, 20070629063604.1_2
    ..where "1" maps to <Number>, "S01-004" maps to <Descr> and "20070629063604.1_1" maps to <Code>.

  • Message mapping to a process-  question

    Hi,
    I am trying to do a small scenario with the following steps. ( FILE - BPM -FILE)
    1) File adapter sends the message to the integration process.
    Both the integration process and file adapter use the same massage type.
    So should I  create any message mapping and interface mapping for the receiver process to accept the message into the container type from the file adapter.
    Regards,
    Meher

    Hi,
    In the same FILE-BPM-FILE scenario.
    Should we have to create a sender agreement for the send step in the integration process??
    I configured the following scenario.
    1) FIle --> Bpm
    2) Bpm Receive
    3) Bpm Transformation
    4) Bpm send
    Configuration has
    1) 2 receiver determinations
      a) Sender (Business service) to BPm
      b) Bpm  to the receiver (Business service)
    2) 2 interface determination
    3) 1 sender agreement (from Sender to the Bpm)
    4) 1 receiver agreement (from bpm to receiver)
    5) 2 communication channels (2 file adapters)
    Source file adapter picks the file but target adapter shows no file processed.
    Monitor shows that process executed successfully.
    My receiver did not receive any file
    Adapter engine shows no file received till now.
    Please help.
    Regards,
    Meher

  • How do I resolve error message "mapi was unable to load aplzod.dll"? Outlook2010 on Win7

    Attempts to open Outlook calendar files (apparently located) on iCloud result in the error message "MAPI was unable to load the information service C:\PROGRA~2\COMMON~1\Apple\Internet Services\APLZOD.dll". Be sure the service is correctly installed and configured."
    I am running Outlook 2010 on Windows 7. I have uninstalled and reinstalled iTunes with no apparent effect. Is this a problem with iTunes or Outlook, how do I resolve it?

    That's part of my problem - I was getting the error message when I tried to click on iCloud in the Calendar portion of Outlook 2010. I don't know where it was generated (iCloud, iTunes, or as an add-in to Outlook).
    After my original post I tried restoring my computer to a date when I knew this worked, the restoration worked, and I can access my calendar. So that problem resolved itself.
    I do have another question, but I'll post it separately. Thanks for your response.

  • Graphical Message mapping complexity in SAP PI 7.31 single stack

    Hi All,
    I have a source structure 1..unbounded
    <Material>
    <row>    1....unbounded
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>EA</uom>
    <plant>AB</plant>
    <org>XY</org>
    </row>
    <row>
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>ST</uom>
    <plant>CD</plant>
    <org>FG</org>
    </row>
    <row>
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>XY</uom>
    <plant>DE</plant>
    <org>ZX</org>
    </row>
    </Material>
    Target Structure
    <Material>
    <row>  --->  1....unbounded
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uomdata> ---> 0 ----unbounded
    <uom>EA</uom>
    <uomdata>
    <uomdata>
    <uom>ST</uom>
    </uomdata>
    <uomdata>
    <uom>XY</uom>
    </uomdata>
    <plantdata> ----> 0 ----unbounded
    <plant>AB</plant>
    </plantdata>
    <plantdata>
    <plant>CD</plant>
    </plantdata>
    <plant>DE</plant>
    </plantdata>
    <orgdata> ---->  0 ----unbounded
    <org>XY</org>
    </orgdata>
    <orgdata>
    <org>FG</org>
    </orgdata>
    <orgdata>
    <org>ZX</org>
    </orgdata>
    </row>
    </Material>
    How do I do message mapping (preferably graphical mapping) to achieve the target structure. The values of each elements are manipulated for easiness. There are more than one fields under each node in real scenario. Please let me know
    thx
    mike

    Beautiful..Thx...
    I will try out and let you know Amit
    One more request.
    I have to do this mapping first and use it in receiver interfaces of ICO using an operation mapping and inbound interface as usual.
    Now, I have to add 2 more inbound interfaces in the receiver interfaces and maintain order at Runtime to execute the above mapping first always and then execute the 2 additional inbound interfaces based on some condition.
    The condition has to be something like this (source structure <flag> field value dependent condition)
    /Material/row/flag  = 'N'       call the second inbound interface to execute a operation mapping
    /Material/row/flag  = 'N'       call the third interface to execute another operation mapping
    Now the complexity here is:
    If the source structure is like this below
    <Material>
    <row>    1....unbounded
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>EA</uom>
    <plant>AB</plant>
    <org>XY</org>
    <flag>N</flag>  -- this is the flag field for the first material
    </row>
    <row>
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <flag>N</flag> -- this is the flag field for the first material again
    <uom>ST</uom>
    <plant>CD</plant>
    <org>FG</org>
    </row>
    <row>
    <Mat_ID>345<Mat_ID>
    <Desc><text</Desc>
    <flag>N</flag> --this is the flag field for the second material
    <uom>XY</uom>
    <plant>DE</plant>
    <org>ZX</org>
    </row>
    and so on
    </Material>
    The target structure for the additional 2 inbound interface are shown below
    2nd inbound interface target structure
    <Material>
    <Mat_ID>123</Mat_ID> 
    <flag>N</flag>  - constant value 'N'
    <Mat_ID>345</Mat_ID>
    <flag>N</flag> - constant value 'N'
    </Material>
    3rd inbound interface target structure
    <Material>
    <Mat_ID>123</Mat_ID> 
    <flag>Y</flag>  - constant value 'Y'
    <Mat_ID>345</Mat_ID>
    <flag>Y</flag>  - constant value 'Y'
    </Material>
    first question: how do I write a condition for checking the source structure <flag> field value for every unique material ?
    second question: what would be the message mapping and operation mapping for the 2nd and 3rd inbound interfaces?
    thx
    mike

  • Message Mapping ...  ABAP ,XSLT and JAVA

    HI Friends
    I have a general question ... but it will confuse me a lot ....
    my question is we have four types of message mappings
    1) GUI ( and UDFs)
    2) ABAP
    3)XSLT
    4) JAVA
    when we have plenty of options in GUI (and User defined functions also)  to define sender 2 receiver message mapping
    then what is need of JAVA,ABAP and XSLT Message Mapping and when we use these message mappings( exactly in which situation) and difference b/w them
    Thanks in Advance
    Mahesh

    Green = recommended
    Yellow = Acceptable
    Red = not recommended
    In my experience.
    XSLT mapping: is confotable to convert to another format different to xml(when we do not have a complex logic)
    Java Mapping: is to implement complex logics(but the maintainbilityis not good...you need a external tool)
    ABAP mapping: I think is the best option when the you have the skills on that technology but take account that is not portable neither good for usability.
    Regards
    Ivan

  • Message mapping in PI 7

    Dear Experts,
    In XI 3.0, we have created some interfaces that now have to be migrated to PI 7. I know XI but I have no experience with PI 7. Now I have some problems during this migration:
    1) From the IR, I exported a TPZ file from the software component we created, but how can I import this in PI? I used "import design objects" but then I get an error when I try to edit the object: "Original language Dutch for current object collides with permitted display or editing language EN"...
    Then I can only display the object, not edit or even copy it...
    2) in PI, how can I create a message mapping between 2 messagetypes? Basic question but I just can not find it.
    Hope you can help me out. Thanks in advance,
    William.

    >
    > In XI 3.0, we have created some interfaces that now have to be migrated to PI 7. I know XI but I have no experience with PI 7. Now I have some problems during this migration:
    >
    > 1) From the IR, I exported a TPZ file from the software component we created, but how can I import this in PI? I used "import design objects" but then I get an error when I try to edit the object: "Original language Dutch for current object collides with permitted display or editing language EN"...
    > Then I can only display the object, not edit or even copy it...
    >
    The interfaces in XI 3.0 used default language Dutch, but in PI7.1 you have selected it as EN, this may be cause error.
    > 2) in PI, how can I create a message mapping between 2 messagetypes? Basic question but I just can not find it.
    >
    it is simple, right click on name space-->select new-->then select Mapping Objects--> select message mapping new,then add your two message types
    before that you have to create data type and message type.
    Regards,
    Raj.

  • Send Alerts(e-mail) for errors in SXMB_MONI(message mapping exceptions)

    Good afternoon !
            I´m configuring SAP Netweaver PI 7.0(SP13) to use Alert Framework to send Alerts when errors occurs in the interfaces processing.
            I just achieved configure to send alerts when errors ocurrs in the Adapter Framework but, I can´t configure correctly to send alerts when errors ocurred only in SXMB_MONI(for example, message mapping exception in asyncronous interface).
            I just followed the instructions at Michal Krawczyk
    weblog(/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step) and, initially, this was not sufficient to start to send alert when errors occurs only on SXMB_MONI, so, I researched and found some configurations to do in CCMS(started from here: http://help.sap.com/saphelp_nw70/helpdata/en/e3/bf3b7a8ccb8040b638ff732c551aeb/content.htm), jobs to start events collectors, etc, and after this, I could see a mail for an message mapping exception. BUT, this message, sent from CCMS to ALM, doesn´t carry out all the message parameters, like message Id, sender(service, interface), receiver(service, interface), that is very important to help to find the message with errors to be solved.
            There is somebody here that already done the Alert configuration to send messages for errors found only in SXMB_MONI(Monitor for processed XML Messages) ?
            There is a better way to achieve this ?
            Thank you for your attention,
            Wilson Rodrigo dos Santos
            SAP Netweaver XI/PI Consultant

    Hi
    Go through these links and follow it.
    ALERTS CONFIG AND STUFF
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    XI: Alerts - Step by step
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
    Triggering by Calling a Function Module Directly.
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Alerts with variables from the messages payload (XI) u2013 UPDATED
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Simple Steps to Get Descriptive Alerts from BPM in XI
    /people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
    Triggering XI Alerts from a User Defined Function
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Throwing Smart Exceptions in XI Graphical Mapping
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/sravya.talanki2/blog/2006/11/22/error-handling-framework-xiout-of-the-box-episode-1
    /people/ginger.gatling/blog/2005/06/16/integrating-alerts-into-uwl--its-no-problem
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.ht
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/abb2e7ff6311d194c000a0c93033f7/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    check this links.
    https://www.sdn.sap.com/irj/sdn/forums
    Trouble shooting Alert configuration:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    /people/matt.kangas/blog/2006/06/27/personalized-alert-delivery
    Thanks
    Saiyog

  • How to implement validations in message mapping?

    Hi experts,
    I have a simple requirement:
    I have a simple synchronous scenario:
    SOAP -> XI -> RFC
    In a message mapping, one of the fields in the source message is of type String.
    However, the target application (RFC) does not expect a non-numeric characters in this string.
    My question is how can I perform the validation in XI and tell the sender that this field contains Non-numeric characters?
    Please help.
    Thanks.
    Ron

    > Ron,
    >
    > >>With a RunTime Exception thrown, how can I tell
    >  the sender an error has occured?
    >
    > Sure. You can do this with out a BPM. You need to
    > configure alerts for this. If you configure ALERTS
    > and SCOTT, this will send an email of the errors
    > occuring in your scenario.
    >
    > For configuring and trouble shooting alerts check
    > these
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2327
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2328
    >
    > Regards,
    > Jai Shankar
    Hi Jai
    I already have alerts configured.
    But what I had in mind is to send a response to the sender (The sender is waiting for a reply since this is synchronous), instead of telling the sender through an alternative means such as email, sms, etc.
    Is this possible?

  • Message mapping changes

    Hi All.
    I created a message mapping from a custom message type towards MATMAS_BAPI01.
    I disabled the EDI_DC40 field and in the idoc communication channel I disabled "Apply control record values from payload".
    When I check the final idoc message created, I noticed that some EDI_DC40 parameters were wrong.
    <SAP:TABNAM>EDI_DC40</SAP:TABNAM>
      <SAP:MANDT>200</SAP:MANDT>
      <SAP:DOCREL>640</SAP:DOCREL>
      <SAP:DOCNUM>0000000000037246</SAP:DOCNUM>
      <SAP:DIRECT>2</SAP:DIRECT>
      <SAP:IDOCTYP>MATMAS_BAPI01</SAP:IDOCTYP>
      <SAP:CIMTYP />
      <SAP:MESTYP>MATMAS_BAPI</SAP:MESTYP>
      <SAP:MESCOD />
      <SAP:MESFCT />
      <SAP:SNDPOR>SAPCX1</SAP:SNDPOR>
      <SAP:SNDPRN>host01</SAP:SNDPRN>
      <SAP:SNDPRT>LS</SAP:SNDPRT>
      <SAP:SNDPFC />
      <SAP:RCVPOR>CFDCLNT200</SAP:RCVPOR>
      <SAP:RCVPRN>CFDCLNT200</SAP:RCVPRN>
      <SAP:RCVPRT>LS</SAP:RCVPRT>
      <SAP:RCVPFC />
      <SAP:TEST />
      <SAP:SERIAL />
      <SAP:EXPRSS />
      <SAP:STD />
      <SAP:STDVRS />
      <SAP:STATUS>03</SAP:STATUS>
      <SAP:OUTMOD />
      <SAP:SNDSAD />
      <SAP:SNDLAD />
      <SAP:RCVSAD />
      <SAP:RCVLAD />
      <SAP:STDMES />
      <SAP:REFINT />
      <SAP:REFGRP />
      <SAP:REFMES />
      <SAP:CREDAT>2005-09-12</SAP:CREDAT>
      <SAP:CRETIM>23:21:31</SAP:CRETIM>
       <SAP:ARCKEY>2FE85D8023D311DA9BDB000D56B9D8A6</SAP:ARCKEY>   </SAP:IDocOutbound>
    In concrete
    <SAP:SNDPRN>host01</SAP:SNDPRN> had to be changed into <SAP:SNDPRN>hostXX</SAP:SNDPRN>. I thought the value host01 came from the sld (logical system name of the technical system attached to the business system), so I changed that towards hostXX.
    <SAP:RCVPOR>CFDCLNT200</SAP:RCVPOR> had to be changed into <SAP:RCVPOR>SAPCDD</SAP:RCVPOR>. I thought this value came from the rfc destination in the xi sytem, so I created a new one called SAPCDD and configured it into the idoc adapter.
    However, this change in the sld/XI system  did not affect the generated idoc (no, I did not forget to activate ).
    I decided to do some more drastic changes:
      - enable EDI_DC40 field in the message mapping
      - enable "Apply control record values from payload" in the idoc communication channel
    I now hardcode the wanted values.
    After activating the changes, still the same idoc is send towards the R/3 system.
    Can anyone tell me what I am doing wrong.
    Is it a caching problem or am I doing something wrong.
    Kind regards

    hi Geert,
    take a look at my weblog:
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    it may answer some of your questions:)
    Regards,
    michal

  • Message Mapping, get rid of ns1: prefix

    Dear Experts,
    do you know how to get rid of the "ns1:" prefixes in the target structures, after a (graphical) message mapping was made?
    Should I use an additional XSLT/JAVA/... mapping step or is there any "more elegant" way to do this?
    Any comments are welcome!
    Thank you, best regards,
    Andras

    Hi Guys,
    you're very fast with the replies!
    I have an XSD for the target format, which was imported as external definition.
    It has its own namespace and we should keep it in the message.
    In the mapping I use the external definition structure directly, so no message type can be used. That's why I can't use the "trick" from the weblog nr. 2769.
    So the question is now more generic: if I use an external XSD, with own namespace, how to keep it in the target message in the original form?
    I try now my luck with the XMLAnonymizerBean...
    Thank you again,
    Andras

  • Message mapping: Passing data at the node level

    Hi,
    I have a question/requirement, XI Message Mapping program need to read the incoming xml and map to a diffrerent target structure. Incoming xml has a parent node called Description and it has a value "Frauen Hemd Shoes", we need to map this value to target LongText Field but message mapping is ignoring this data while mapping.
    A parent node can't hold the value/data while a child node is present. So is there any workaround to read this data to target str?
    <Description>
    <ShortName>Shoes</ShortName>
    Frauen Hemd Shoes
    </Description>
    Expected result:
    <Comments>
    <ShortText>Shoes</ShortText>
    <LongText>Frauen Hemd Shoes</LongText>
    </Comments>
    Please let me any clues to resolve the issue.
    thanks,
    Laxman

    I agree , the soruce structure is not a valid one..
    The source structure should look like the below:
    <Description ShortName='Shoes'>
    Frauen Hemd Shoes
    </Description>
    where ShortName is attribute for the Element "Description".
    You add attribute to the element the same way you add subElement, Just choose attribute instead of subelement.
    In this case the Mapping would be
    Descriprion -
    > LongText (target)
    ShortName -
    > ShortText (target)
    This Should work.
    Regards.
    Jeet.

Maybe you are looking for

  • How to extract .sdc file to a .iso file?

    Hello. I download the windows 7 from my university website and I want to install it to my virtual machine. However, after I downloaded it, that windows file is end with .sdc. I searched it in google and it is short for 'secure download content'. I am

  • Usage monitors different

    Over the last three days my BT Broadband account shows that I have used 8.5GB.  My home hub manager shows only 1.0GB (and that it has been connected for 13 days). Can anyone explain the difference between to two figures?  1.0GB feels about right.  BT

  • Lumira Server for BI Platform and Team/Edge consumption & licensing question

    Hi.  I have a few questions. Question 1: From my reading, I've heard that Lumira Edge/Team server may not be a part of BI-Suite License.  I read a Lumira Server ASUG Webcast recap by Tammy Powlas here (SAP Lumira Server for Teams Roadmap ASUG Webcast

  • Delete duplicate records based on condition

    Hi Friends, I am scratching my head as how to select one record from a group of duplicate records based upon column condition. Let's say I have a table with following data : ID   START_DATE   END_DATE    ITEM_ID     MULT    RETAIL            |       

  • Game problem - Safari/Flash

    Have no trouble what so ever surfing with Safari (24M connection + ClickToFlash), but when I try to play this stupid game I suddenly got hooked on (Blox Forever), the CPU rises to the roof and I get the warning: "The script in this movie is causing M