Graphical Message Mapping - SplitByValue - part 3

Hello experts,
Thread cal Message Mapping - SplitByValue - part 2 was solved by
StartDate --> emoveContext --> A
EAN --> RemoveContext --> SplitByValue (Value Change) --> A
--> A (FormatByExample) --> target field
The context of the StartDate field is changed to the complete Message Type. That all works fine.
Now, I need to do a similar thing, but based on 4 indicator fields which could contain value X.
For each indicator field (within 1 data row) filled with an X, a segment must be repeated as many times as there are indicator fields with an X.
How do I manage that? I think I need to use FormatByExample again, isn't it?
Thanks a lot
Dimitri

> For each indicator field (within 1 data row) filled with an X, a segment must be repeated as many times as there are indicator fields with an X.
This means in each data row you will have only 1 X in any of the indicator. Correct?
So let's say you got total 7 data row, this means you have 7 X's and that means you must create 7 segments. Corrct?
If yes then
Soruce --->RemoveContext -
>Target Segment.
Soruce --->SplitByValue(each value) --->Target Fields.

Similar Messages

  • Graphical message mapping

    Hello Expert
    I am woking in IS retail Outbound Scenario for article master  where enhancement segment E1WXX01 repeat multiple time and contain different -2 value  and I want to collect that different value in different Target filed 
    Suppose
    When first time segment E1WXX01 come contain
    fldname Zcolor
    Fldvalue red
    Target field Color
    In second time segment E1WXX01 contain value
    fldname ZSIZE
    Fldvalue 40
    Target filed SIZE
    And so on
    I want configure that scenario with the help of graphical message mapping
    Thanks
    Amit Shivhare

    Hi Shakif,
    <b>CONTEXT CHANGE</b>
    Please go through these links which clearly explains context and context changes in mapping.....
    http://help.sap.com/saphelp_nw04/helpdata/en/40/7b8e40496f6f1de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/35/fb8c4057d5701de10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f7293b2dbe1a71e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/79/2835b7848c458bb42cf8de0bcc1ace/frameset.htm
    Go thru this guide~good source
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    <b>REMOVE CONTEXT</b>
    Remove context removes all the higher-level contexts of a source field thereby delete all hierarchy levels and generate a list.In simple form
    removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue
    <b>SPLIT BY VALUE</b>
    The SplitByValue () function is the counterpart to removeContexts(): Instead of deleting a context, we can insert a context change in the source value queue. We then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. A maximum of minOccurs top node target fields can be inserted here.
    We can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
    refer this for node functions
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/content.htm
    Cheers...
    Vasu
    <b>** REward POints if found useful **</b>

  • Functions in Graphical message mapping

    Hi All,
    I hve a scenario where i have to use various functions in Graphical mapping tool like lastindexof,  format number, etc etc . Can anyone has sample examples explainng the functionality of all the functions in message mapping tool. Atleast a few would be helpful..
    Thanks
    Michael

    Hi,
    Please take a look at these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    /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
    Regards,
    Bhavesh

  • Exporting Graphical Message Mapping in PI 7.1

    Hi All,
    In XI3.0 there was an option to export graphical message mapping by using ctrl+shift on the data flow editor window. Can't find the same in PI7.1.
    Have SAP removed this feature with PI 71 or provided another way of doing it or simply my system is acting wierd?
    Regards,
    Rahul

    It worked when I did Ctrl+Shift and numerical 0 from horizontal numbers of my keyboard, some how doesn't work with numbers on right  side of the keyboard(Numlock was On)
    It is wierd.

  • How can I use loop in graphical message mapping

    The source input XML is like:
    <bookstore>
      <book>
           <item1>xxx</item1>
           <item2>yyy</item2>
      </book>
      <book>
            <item1>zzz</item1>
           <item2>www</item2> 
    </book>
    </bookstore>
    I want to create an output XML like
    <output>
       <item>
            <item1>xxx</item1>
             <item2>yyy</item2>
        </item>
       <item>
            <item1>xxx</item1>
             <item2>www</item2>
        </item>
       <item>
            <item1>zzz</item1>
             <item2>www</item2>
        </item>
       <item>
            <item1>xxx</item1>
             <item2>yyy</item2>
        </item>
    </output>
    That means I want to do permutation and combination for all <item1> <item2> under <book>.
    Of course I can write a customer function to do it, but I want to basically use the buildin functions to do the graphical message mapping for this.
    Any idea?  thank you.

    well, I'm not very clear of those 2 English words
    What I want is to list all possible combination of item1 and item2 (and in fact, we have item3, item4, ....etc).
    example
    input: 
    <item>
              <item1> 111 </item1>
              <item2> 222 </item2>
              <item3> 333 </item3>
    </item>
    <item>
              <item1> aaa </item1>
              <item2> bbb </item2>
              <item3> ccc </item3>
    </item>
    I want to get
    <item><Item1>111>/item1> <item2>222</item2> <item3>333</item3> </item>
    <item><Item1>111>/item1> <item2>222</item2> <item3>ccc</item3> </item>
    <item><Item1>111>/item1> <item2>bbb</item2> <item3>333</item3> </item>
    <item><Item1>111>/item1> <item2>bbb</item2> <item3>ccc</item3> </item>
    <item><Item1>aaa>/item1> <item2>222</item2> <item3>333</item3> </item>
    <item><Item1>aaa>/item1> <item2>222</item2> <item3>ccc</item3> </item>
    <item><Item1>aaa>/item1> <item2>bbb</item2> <item3>333</item3> </item>
    <item><Item1>aaa>/item1> <item2>bbb</item2> <item3>ccc</item3> </item>

  • Graphical message mapping examples for JDBC and RFC lookup

    hi, can any body provide me graphical message mapping examples for the "JDBC Lookup" function and "RFC Lookup" function?
    I'm now studying the graphical message mapping and want to try those 2 functions. thank you.
    I expect the examples to be simple enoung, not need to set up much.

    >
    Madhu_1980 wrote:
    > can u check this link:
    >
    > PI 7.0 & 7.1 Mapping - Blogs,Articles,Wiki,Code Samples and Videos Collections https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79955426  
    >
    > it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    May be I'm too foolish to follow those links, I got issues of each links.
    What I really want is an example from step0
    Swarup:
    Refer the Lookup document - Easy Lookup in Process Integration 7.1
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20befc9a-aa72-2b10-ae9b-b0988791d457
    The first step is "Create an RFC Enabled Function Module for look up", but where can I create the function module? Should I use ESB, IB? or use transaction 'SE11' ?
    Kulkarni:
    Very good links for RFC lookup with 7.0/3.0
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231&overridelayout=true
    At page6 "PI Development/Configuration", it saies "You are on the design maintenance screen in the Integration Builder.Expand the subnodes for the software component version for which you want to import interfaces".
    What is "design maintenance screen" ? My IB version is: Service Pack:08 Release:NW07_08_REL.
    When I open IB, it display a screen titled with "Configuration: Intergation Builder", I did not find "software component version" node on the left tree.
    Madhu_1980 :
    it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    The Prerequisites state:
    The JDBC channel to be used for the lookup must be configured and activated in the Integration Directory.
    The definition of the table used for the lookup must already be imported into the ES Repository as an external definition
    But I don't know how to create a JDBC channel and define the table.

  • 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

  • Problem in Graphical message mapping.Need UDF to add array based on some co

    Hi All,
    I have been struck in message mapping.Below i am explaining it,
    I have two input array,
    one array lets call  X [24]
                                    [25]
                                     [26]
                                     [24]
                                    [25]
    other array is Y [10]
                           [11]
                           [12]
                           [13]
                           [14] .length of both the array will be same .
    Now I want the output as: if there is any same value in first array i.e array X then corresponding value of second array should be added.i.e in array X if 24 is coming as twice (1st and 4th) then 1st and 4th value of array Y will be added.So here there will be only three output as Z[23]
                                                      [25]
                                                      [12]
    Please guide me if posiible .I tried to use the for loop but  its not working as the value of X is repeating.
    Regards,
    Saurabh

    Hi,
    Tru this..
    public void test(String[] a,String[] b,ResultList result,Container container){
    int flaga,flagb;
    for(int i=0;i<a.length;i++)
         flaga =0;
         for(int j=i+1;j<a.length;j++)
              int p =  Integer.parseInt(a<i>);
              int q =  Integer.parseInt(a[j]);
              if(p==q)
                   flaga =1;
                   int c = Integer.parseInt(b<i>)+Integer.parseInt(b[j]);
                   String d = new Integer(c).toString();
                   result.addValue (d);
    if (flaga ==0)
    flagb=0;
    for(int q =i-1; q>=0;q--)
         if(Integer.parseInt(a<i>) == Integer.parseInt(a[q]))
              flagb = 1;
    if (flagb == 0) result.addValue((b<i>));
    I have tested with the same input... it is working for me
    http://www.flickr.com/photos/28929439@N06/2721471681/
    Thanks
    SaNv...

  • Problem in Graphical message mapping

    Hi all,
                I am doing an HR file to file interface.I am struck in message mapping.Actually my source message type contain four structures i.e infotype00 ;infotype01;infotype02;infotype05;every infotype has one PERNNO,BEGDA&ENDDA along with other fields.in target i have to extact employee recors from these 4infotypes.Target structre is :EMPLOYEE
                                     fields...
    Now I had to generate as many employee as many unique PERNNO i.e if all four infotype has same PERNN then it is considered detail of one employee if any infotype has diff.PERNNO then we have to create one more employee record for that infotype.I used a custom functionUNIQUE and get all unique infotype then on the basis i was creating employee.i.e if 3 unique PERNNO then 3 employee record has to be created.It was working fine,But one new requirement came that I have to compare BEGDA of all infotype and if any infotype has BEGDA more than current date then for that PERNNO i dont have to create Employee records.i.e suppose for PERNNO 8 infotype0 has BEGDA more than current date then i dont have to create employeerecord for PERNO 8.This new requirement i am unable to implement.please guide me how to proceed further i.e after getting the unique PERNO.Please do the needful as its very urgent.
    regards,
    Saurabh

    Hey saurabh,
           once you are able to obtain unique PERNNO,
        you need to use two date functions.
    CurrentDate: It will return the system date(todays date).
    CompareDate: It will take as input two values(as dates) and gives output based on their values.
    output of comparedate funtion will be:
    -1 if second value is greater than 1st value.
    0 if second value is equal to the first.
    1 if second value is less than the first value.
    what you can do is take currentdate function as first input for comparedate.
    BEGDA as second input for comparedate.
    if the value is -1(i.e BEGDA is greater than current date SUPPRESS the node or else create the node)
    make sure the format of current date and BEGDA are same.

  • How to Access a BPM container variable in XI graphical  message mapping

    Hello XI BPM and Mapping experts,
    is it possible to access a BPM container variable from an graphical mapping?
    If yes, how ?
    We need this for the following scenario:
    IDOC to BPM.
    BPM  transforms and sends transformed IDOC to fileadapter
    If both steps are successful  a STATUS.SYSTAT01 IDOC should be send back to SAP-ISU with status 06.
    If one of these steps fails  the status in the SYSTAT01 should be set to 05. (Exception branch of block)
    We want to avoid to write 2 mapping programs for mapping the SYSTAT01.
    Instead we would like to use a BPM Container Variable which contains the status.
    In the mapping for the SYSTAT01 we want to use this Container Variable.
    Is this possible?
    Thanks for soon answers.
    Regards Marlies

    Hi Marlies,
       Is not possible to acces a BPM container variable from graphical mapping. For other hand, you can to use runtime variables for this purpose.
       You could create an abstract interface with a message type having a single node with the required value and using this message in other mapping.
    Best regards
    Ivá

  • Graphical message mapping n to 1

    Hi,
    i need to merge multiple "rows" into one single row and want to know if there is a possibility to do this with a graphical mapping.
    To elaborate my problem, here is an example of what i need to do:
    Origin XML structure looks like this:
    <root>
         <item>
              <tag1>A</tag1>
              <tag2>B</tag2>
         </item>
         <item>
              <tag1>C</tag1>
              <tag2>D</tag2>
         </item>
    </root>
    and the target structure should be:
    <root>
         <text>ABCD...</text>
    </root>
    To get one item into this "simple" structure is no problem. But how do i build something like a "for each item do".
    I sure could build a java mapping, but i want to know if this problem can be solved using XIs grapfical mapping.
    I really would appreciate any help.
    Regards,
    Benjamin

    Well, first of all, thank you all for your quick responses.
    But unfortunately nothing really solved my problem.
    Of course i can use the function Concatenate to get the tags of ONE item into the desired output format, but how can i execute this concatenation multiple times (as often as item appears in the origin xml).
    <root>
         <item>
              <tag1>A</tag1>
              <tag2>B</tag2>
         </item>
         <item>
              <tag1>C</tag1>
              <tag2>D</tag2>
         </item>
    </root>
    With a mapping like this:
    {tag1} --- {concatenate} --- {text}
    {tag2} ---´
    i can get an output like this:
    <root>
         <text>AB</text>
    </root>
    But it does not concatenate all and tags of all items.
    The first blog posted by Chetan is unfortunately exactly the wrong way: 1:n
    But what i need is a n:1 mapping.
    And if i am not wrong the function useOneAsMany is also for a 1:n mapping.
    If i can solve my n:1 problem with that function too, i would appreciate a detailed explanation of how this works.

  • Graphical Message Mapping - context issue

    Hi experts,
    This is the source structure I have http://www.flickr.com/photos/45449397@N03/4273866518/
    Now, for the target segment, I need to do the following:
    For every block of EAN, I need to check the CHECK fields.
    So for EAN 1111, I see 4 X's. But I need to check the distinct values.
    So, 1 x for CHECK_1, 1 x for CHECK_2 and 1 X for CHECK_5.
    As soon as there is an X, I need to create a target. Even if there are several X values in the same column, I only need it once.
    --> target will be 3 different segment groups.
    For EAN 2222, I only need 1 target segment group.
    Please advice.
    Thanks a lot!
    Dimitri

    I was about to write this that you will face this blank issue.
    You have to remove those blank vaues. We have to choices to do that either we modify the current UDF or we write one more very samll advanced UDF of type "queue".
    If we go for option 2 then the new UDF2 code will be like this..
    while creating the udf just select the type as queue (you will see 3 options: single value, context & queue)
    I guess the default argument will be "var1", if yes you can leave it as it is and the just copy and paset the code.
    for (int i = 0; i < var1.length; i++ )
    if (! var1<i>.equals(""))
    result.addValue( var1<i> );
    Now the mapping will be something like this..
    Source --> old UDF--->RemoveContext--->new UDF --->Target.
    But if you like to go for option 1 then first change the type of UDF to Queue and then in the code modify the "return" statement e.g.
    if (RegTH.equals('X'))
    result.addValue( ExpTH );
    else if (RegHI.equals('X'))
    result.addValue( ExpHI );
    else if (RegLO.equals('X'))
    result.addValue( ExpLO );
    else if (RegPE.equals('X' ))
    result.addValue( ExpPE );
    else if (RegLOW.equals('X'))
    result.addValue( ExpLOW );
    result.addValue( ResultList.SUPPRESS );
    Note: for option 1 you have to set context of source value to their heighest level, so that there shouldn't be a context change. Or you can use RemoveContext.

  • XSLT Mapping and Graphical Message Mapping

    Hi,
    Can any one let me which is advatageous and why or let me know where I can find docs.
    Thanks In Advance.
    Yaseen

    Hi Udo,
    I have used a lot of XSLt outside and from my own experience(java/c#) we have been hit very hard with performance when using XSLT, it is an interpreted approach.
    It may look easy, fast but in time you will pay the price. Java and ABAP mappings are compiled, and only the runtime is maintained.
    Is XSLT useful, sure it is, there are many things that can be done in XSLT that is very tough to accomplish using mappings.
    Should it be the first choice of development, no its a case by case basis. 
    Most common disadvantages of XSLT are
    -Scripts rapidly explode in size
    -Quite complex
    -Hard to debug
    -Slow processing
    There is an ever ending debate on pros and cons of XSLT. It upto individual Architect to decide whatz best for the interface at hand.
    cheers,
    naveen

  • Attachments deleted during message mapping in PI 7.1

    We have upgraded our SAP XI 3.0 SP 22 system to SAP PI 7.1 SP06. In XI 3.0 we created some message mappings that mapped an XML payload with attachments to another message type. The attachments would still exist after the mapping step. In SAP PI 7.1 we now see that attachements are deleted from the message. We cannot see why this is happening. We have tried to set the 3 new option in the operation mappings without any results. The attachements are still being deleted.
    Active Options in operation mappings:
        Use SAPXMLToolkit = true
        Do Not Resolve XOP includes = false
        Read Attachements = false
    In the SXMB_MONI we can see that the attachements are deleted after the Request Message Mapping step. It is a simple proxy-to-proxy scenario with interface and message mapping.
    <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">
      <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="3" type="T">Mapping already defined in interface determination</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping 46842937562139BCA3F2AC1F36E729FE</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping 5D945F00B00611DDB04FF8CF0A5B0156</Trace>
      <Trace level="1" type="T">Interface Mapping urn:kadaster-nl:SERV:ZA:KAD:DOVO im_mail_to_dms</Trace>
      <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_mm_mail_to_dms_</Trace>
      <Trace level="3" type="T">MTOM Attachments are Transferred to the Payload</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="2" type="T">Mode 0</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>
      <Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_$MT$InnerLibsList.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>
      <Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_$MT$InnerLibsList</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_$MT$InnerParamsList.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>
      <Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_$MT$InnerParamsList</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._mm_mail_to_dms_</Trace>
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="3" type="T">Document start</Trace>
      <Trace level="3" type="T">Start tag [ns1:OpvoerenDocumentRequest]</Trace>
      <Trace level="3" type="T">Add raw attribute [ xmlns:ns1="urn:kadaster-nl:SERVICES:DMS:Opvoeren:ZI_KAD_DMS_MAIN"]</Trace>
      <Trace level="3" type="T">Start tag [DocumentInfoRecord]</Trace>
      <Trace level="3" type="T">Start tag [Type]</Trace>
      <Trace level="3" type="T">Put value [302]</Trace>
      <Trace level="3" type="T">Close tag [Type]</Trace>
      <Trace level="3" type="T">Start tag [Omschrijving]</Trace>
      <Trace level="3" type="T">Put value [Apeldoorn]</Trace>
      <Trace level="3" type="T">Close tag [Omschrijving]</Trace>
      <Trace level="3" type="T">Close tag [DocumentInfoRecord]</Trace>
      <Trace level="3" type="T">Close tag [ns1:OpvoerenDocumentRequest]</Trace>
      <Trace level="3" type="T">Document end</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_mm_mail_to_dms_ completed. (executeStep() of com.sap.xi.tf._mm_mail_to_dms_).</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="3" type="T">Attached will be Deleted cid:payload-001708D1A20E1DEDAD96471B4CCBC447(@)sap.com</Trace>
      <Trace level="3" type="T">Attached will be Deleted cid:payload-001708D1A20E1DEDAD96471B4C758447(@)sap.com</Trace>
      <Trace level="1" type="T">ContentType application/xml</Trace>
    Regards,
    Jeroen

    Hi Michal,
    Already tried this option too. However this option would only transfer the attachments to
    the mapping runtime in JAVA. We only map the actual payload in a graphical message
    mapping, so for our purpose, the other attachments could stay untouched and remain
    in the abap part for further pipeline processing.
    You can find the result of the Read attachment option during runtime here:
    <!--  ************************************
      -->
    - <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">
      <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="3" type="T">Mapping already defined in interface determination</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping 46842937562139BCA3F2AC1F36E729FE</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping 5D945F00B00611DDB04FF8CF0A5B0156</Trace>
      <Trace level="1" type="T">Interface Mapping urn:kadaster-nl:SERV:ZA:KAD:DOVO im_mail_to_dms</Trace>
      <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_mm_mail_to_dms_</Trace>
      <Trace level="3" type="T">MTOM Attachments are Transferred to the Payload</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="2" type="T">Mode 0</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>
      <Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_$MT$InnerLibsList.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>
      <Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_$MT$InnerLibsList</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_$MT$InnerParamsList.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>
      <Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_$MT$InnerParamsList</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._mm_mail_to_dms_</Trace>
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="3" type="T">Document start</Trace>
      <Trace level="3" type="T">Start tag [ns1:OpvoerenDocumentRequest]</Trace>
      <Trace level="3" type="T">Add raw attribute [ xmlns:ns1="urn:kadaster-nl:SERVICES:DMS:Opvoeren:ZI_KAD_DMS_MAIN"]</Trace>
      <Trace level="3" type="T">Start tag [DocumentInfoRecord]</Trace>
      <Trace level="3" type="T">Start tag [Type]</Trace>
      <Trace level="3" type="T">Put value [302]</Trace>
      <Trace level="3" type="T">Close tag [Type]</Trace>
      <Trace level="3" type="T">Start tag [Omschrijving]</Trace>
      <Trace level="3" type="T">Put value [Apeldoorn]</Trace>
      <Trace level="3" type="T">Close tag [Omschrijving]</Trace>
      <Trace level="3" type="T">Close tag [DocumentInfoRecord]</Trace>
      <Trace level="3" type="T">Close tag [ns1:OpvoerenDocumentRequest]</Trace>
      <Trace level="3" type="T">Document end</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_mm_mail_to_dms_ completed. (executeStep() of com.sap.xi.tf._mm_mail_to_dms_).</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="3" type="T">Attached will be Deleted cid:payload-001708D1A20E1DDDAD97A993DAB6CB91(@)sap.com</Trace>
      <Trace level="3" type="T">Attached will be Deleted cid:payload-001708D1A20E1DDDAD97A993DB0E4B91(@)sap.com</Trace>
      <Trace level="1" type="T">ContentType application/xml</Trace>
      </Trace>
      </Trace>
      </Trace>
    Thanks

  • Regarding Message Mapping in JDBC Scenario

    Hello Experts,
            I got struct up in message mapping. In message mapping we can able to see different types of Functions. So I need some clarifications on it. Functions are available like...
    Conversions
    Boolean
    Node Functions
    Constants
    Date
    Text
    Static
    Arithmetic
    So please explain in simple for each functions.
    Points will be rewarded.
    Thank you

    Hi
    *Boolean*:-
    And -- checks for 2condition, return a true value if both condition are satisfied
    Or --checks for 2condition, return a true value if one condition is true.
    Not - checks if the condition is not equal to.
    Equals - Check whether 2 Boolean values are equal
    NotEquals
    If u2013 Returns second value if the first argument is true. otherwise returns third argument
    If WithoutElse u2013 Returns value of second argument, if first argument is true.
    Node Functions:-
    createIf - Produces empty value if argument is true; Resultlist.SUPPRESS otherwise
    removeContexts u2013 Produces plain stream of values with No context changes
    replaceValue u2013 replaces value of source field to value specified in Function Properties.
    Exists u2013 Returns true, if Node exists otherwise false
    SplitByValue u2013 inserts context changes after event specified
    collapseContexts u2013 Produces one empty string value out of each arguments context. All arguments are in one context
    useOneAsMany u2013 Use First Argument as IS on same level as third argument. second argument defines when next value of first argument is used
    sort u2013 sorts values in each context
    sortByKey u2013 Sorts values in second queue by keys from first queue
    mapwithDefault u2013 Inserts default values specified in the function properties into empty contexts
    formatByExample u2013 Takes values from the first queue and inserts them in the structure of second queue.
    Constants:-
    Constant u2013 Generates constant value
    CopyValue u2013 Takes specified value in argument stream and copies it an infinite number of times
    Sender u2013 Sender System
    Receiver u2013 Receiver System
    Date:-
    CurrentDate u2013 Return current date in specified format
    DateTrans u2013 Transforms date from input format to output format
    Dateafter u2013 Returns True if first date is after second otherwise false
    DAteBefore - Returns True if first date is before second otherwise false
    CompareDates u2013 Compares two dates
    Text:-
    Substring u2013 Returns substring depending upon the given parameters
    Concat u2013 concatenates 2 strings inserting delimiter string parameter between them
    Equals u2013 Check whether Strings are equal
    indexOf2 u2013 returns the index where the second string is found for the first time in the first string
    indexOf3 u2013 As with indexOf with 2 parameters, But starting search at the specified position
    lastindexOf2 u2013 Returns the index where the second string is found for the last time in the first string
    lastIndexOf3 u2013 As with lastIndexOf with 2 parameters starting search at the specified position
    compare u2013 compares 2 strings lexicographically
    replaceString u2013 Replaces each occurrence of pattern(2nd argument ) of source string(1st arg). By third string
    length u2013 returns length of string
    endsWith u2013 Tests whether string ends with specified suffix
    startsWith2 u2013 Tests whether string starts with specified prefix
    startsWith3 u2013 Tests whether string starts with specified prefix beginning at specified location
    toUpperCase u2013 Converts all characters in string to upper case
    trim u2013 Removes white space from both ends of string
    toLowerCase u2013 Converts all characters in String to Lower case
    Statistic:-
    sum u2013 calculates sum of all numbers in each context
    average u2013 calculates the average of all numbers in each context
    count u2013 Counts number of values in each context
    Index u2013 For each incoming value, this Function returns the index number of the incoming value in the context, String from the initial index and increasing by the increment defined in the parameters.
    Arithmetic:-
    Add u2013 add two values
    Subtract u2013 subtracts second value from the first value
    equalsA u2013 Returns true; If float numbers represented by argument strings are equal otherwise returns false
    abs u2013 returns Absolute value of argument
    sqrt u2013 Returns square root of the number
    sqr u2013 Returns square of the number
    sign u2013 Returns -1 if number is negative, +1 if positive, 0 if 0
    neg u2013 Multiplies number to -1
    1/x u2013 calculates 1/x
    Power u2013 Returns value of the first argument to the power of the second argument
    Less u2013 Returns true if the first number is less than the second number otherwise false
    Greater - Returns true if the first number is greater than the second number otherwise false
    Multiply u2013 Multiplies 2 values
    Divide u2013 Divides first value by the second value
    Max u2013 Returns maximum of 2 numbers
    Min u2013 Returns Minimum of the 2 numbers
    Ceil u2013 Returns the smallest (closest to the negative infinity) initial value that is not less than the argument and it is equal to the mathematical integer.
    Floor - Returns the largest (closest to the negative infinity) initial value that is not Greater than the argument and it is equal to the mathematical integer.
    Round u2013 Returns closest initial value to the argument
    Counter u2013 Counts number of invocations. Initial value and increment defined by Parameters.
    FormatNum u2013 Formats Number with given pattern.
    Conversions:-
    FixValues u2013 Creates a Local Table to perform a value Mapping
    ValueMapping u2013 Define jump to Value Mapping table of Integration Directory.
    Message Mapping(Node Function) Part-1
    Message Mapping Simplified - Part I
    Sravaya Talanki- Message Mapping(Node Function) Part-2
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Standard Functions
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    Advanced mapping function(mapwithdefault,formatbyexample,sort,sortbykey)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    Hope this is useful
    Saiyog
    Edited by: Saiyog Gonsalves on Jul 11, 2008 1:14 PM

Maybe you are looking for

  • I have problem with bootcamp in macbook pro retina late 2012

    When I try to create the disk partition, I get a message saying it can not create the disk partition, well in a similar words but in spanish, sorry for my bad translation

  • Mac changin preferences to defaults on its own

    Hi. I need help please!.. What happens is that my mac is changin preferences all the time without me telling it so. For instance i change the keyboard light to turn off in 1 minute, and a few days later i realize that it was changed back to never. it

  • How to make a payment

    how do i make a payment

  • No More Zoom on iPhone Camera?

    Since I last updated my iPhone software, my camera no longer has the zoom capability. I understand that this wasn't TRULY a zoom feature and that I can "zoom in and crop" in Photoshop once I download the photo. HOWEVER: The "zoom" ability used to hel

  • StandBy database Create/Export Issue

    We have database ABC and standby database ABCSTD and they are working properly. (Archives are properly applied), They were created from the database ABC_OLD. Issue is that the ABC_OLD database has some more changes and users continued to work on that