Issue about message mapping in XI

Hi,
I faced a mapping issue.
Mapping check the decimal pont position in the total string.
suppose value from ABAp side is 9.55
if length is 5.
then XI will give the value is 00955 ( i applied the right justified condition )
This is OK...
But in mapping when no value is coming from ABAP side,that time XI give error.
How do i create this mapping...????????
Regards,
sanghaitra

Hello,
This is OK...
But in mapping when no value is coming from ABAP side,that time XI give error.
Assuming that the value is null or suppressed, you can use the node function mapWithDefault for your mapping e.g
source -> mapWithDefault:00000 -> target
If the value is a space or blank, you can use this logic
              constant:00000 -> \
source -> trim -> equalsS ----> ifThenElse -> target
       constant: -> / source -> /
Hope this helps,
Mark
Edited by: Mark Dihiansan on Sep 8, 2011 8:08 AM

Similar Messages

  • Hi,about message mapping

    why is always disabled the dependencies button in the message mapping editor of IR.
    it is for ever gray whether in edit mode or not?

    Hi,
    The dependency button in Message mapping is used to show the Source field mapped to which target field.
    Can u explain ur query clearly...
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • Issue with message mapping.

    HI All,
    I am working on a JDBC-XI-RFC scenario.
    I have two data types, two message types and two message interfaces.
    now, i have created the message mapping and mapped the fields of both sender and reciever message types.
    To test with sample data now, if i press the "test" tab, in the right side, i can see the "Instance" with the sender message type and its fields.
    Later i entered the values to test the sample.
    Affter this move, i am not able to see anything in the right side of the screen (RESULT)...
    What might be the reason for this....???
    Please help me......
    Regards
    Pavan

    Hi Pavan,
    Start Transformation button is used to execute the object. Its on the left hand bottom of the scrren, near to Trace Level you will find a button named "Start Transformation". Click on this and you will get the output once the transformation is complete.
    There is some problem in the Sender message mapping named: sender_mm | http://jdbcrfcns
    Please check where is the problem.
    Regards,
    Subhasha

  • Doubt About Message Mapping

    Hi Experts,
    I have to get list of materials from sap r/3 system which starts with some Alphabate. Where can i do it .And how to do it . I think we can do it in Message Mapping. Please let me know the step by step process.
    Helpful Ans wi be reward
    Regards
    Khanna

    Hi Michal,
    Here  i am implementing HTTP TO RFC scenario
    i have BAPI BAPI_MATERIAL_GETLIST
    i have source structure MaterialNo.And in the receiver side i have BAPI.
    Now my question is i want to get the materials which starts with some CA*
    How can i achieve this in Message Mapping????????
    Please Explain me in detail
    Regards
    Khanna

  • Question about message mapping

    Hi,
    When I use the visual mapping tool, I specify the condition that:
    <SourceValue> equalsA 1, <TargetValue> value is 1; else it's 0.
    However in the source XML, sometimes source XML is like:
    <Root>
    </Root>
    where there's no SourceValue element. And now the mapping has exception. Then I try to use IsNil functionality, however then another exception saying "cannot cast '' to decimal" occurrred.
    Is there a way for me to judge in the mapping so that I can pass through, e.g., when there's no this element, the target value is also 0.
    Best regards,
    -Stanley

    Hi ,
    Refer these blogs . It will help to u
    Workflow in SAP NetWeaver
    Visual Composer demo - Customer and Google API
    Need to get a SAP NetWeaver component implemented quickly? Try SAP Best Practices
    Visual Composer7.1 and Yahoo Maps - Part I
    Regards,
    Suryanarayana

  • Some quesionts about message mapping

    becase I need use some pics to explain my question, so I post the question to my googlepage.
    <a href="http://wanghui1225.googlepages.com/xi_question_1">http://wanghui1225.googlepages.com/xi_question_1</a>
    Regards,
    Hui
    Message was edited by: Wang Hui

    Hi,
    Since you are using collapse context, the SUPPRESS is coming. Functionality of collapse is it delete all values from all contexts from the inbound queue except for the first value. <b>Empty contexts (= ResultList.SUPPRESS) are replaced by empty strings.</b>. Finally, all internal context changes are deleted, so that all values belong to one and the same context.
    Give the input queue for collapseContext, then it will be really helpful.
    See the input queue had 3 true's followed by false (2) and true (2). As you can see that the starting context itself is false and so SUPRESS came in the output queue.
    What i suggest is to check all these queues simultaneously:
    1) exist
    2) context
    3) splitbyvalue
    with different values then you will be able to figure out the reason.
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • How do the Message mapping below issue

    Hi all.
            I am doing interface is Siebel to SAP Customer Creation and Update. While mapping source side Siebel pass the Customer Account Group are Sold to Party, Goods Recipient, Payer and Bill to Party based on these parameters .My Target side we want like Z001, Z002, Z003 and Z004.
    1) If Source side Customer Account Group is Sold to Party then my target side is Z001.
    2) If Source side Customer Account Group is Goods Recipient then my target side is Z002
    3) If Source side Customer Account Group is Payer then my target side is Z003
    4) If Source side Customer Account Group is Bill to Party then my target side is Z004
    So each time source Siebel send one Customer Account Group based on that we want target side as Z001, Z002, Z003, and Z004. So pls help to me <b>how do this issue on message mapping or user defined function (UTF)</b>
          please help me out .....
    Regards,
    Ramesh

    the best way to do it will be via value mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    in this case in future any change comes only your value mapping table needs to be altered unlike editing your UDF.
    Also ref: https://www.sdn.sap.com/irj/sdn/developerareas/xi?rid=/webcontent/uuid/a680445e-0501-0010-1c94-a8c4a60619f8 [original link is broken]
    to get value mapping on SDN TV.

  • How to use node functions in Message mapping !!

    Hi  Gurus,
    I have got one issue in message mapping, please can any one put some ideas on this !!
    Source Structure
    <Group_ZA>  0..unbound
         <D02_ZA>           0.. unbound
             ZA_01             0..1   - QA
             ZA_02             0..1      20
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1     QD
             ZA_02             0..1     40
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
          iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
         <D02_ZA>          
             ZA_01             0..1     QA
             ZA_02             0..1      20
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1     QD
             ZA_02             0..1     40
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
    iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
    <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
    iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
    <D02_ZA>          
             ZA_01             0..1     QA
             ZA_02             0..1      20
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1     QD
             ZA_02             0..1     40
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QN
             ZA_02             0..1     12
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
         <D02_ZA>          
             ZA_01             0..1    QP
             ZA_02             0..1    60
             ZA_03             0..1
             ZA_04             0..1
         </D02_ZA>
    </Group_ZA>
    Target Structure
    ProductActivityNotification                                                       0..unbound
                          ProductActivity                                                             1..1
                                        Item                                                                 1..unbound
                                              Inventory                                                   0..1
                                                     UnrestrictedUseQuantity                    0..1
    The Group_ZA comes 'n' number of times and D02_ZA comes sometimes 5 times and sometimes 6 times etc.,
    ZA_01 field can come with 5 to 6 different values like 'QA','QD','QN' etc., sometimes ZA_01 comes only 3 times QA,QD,QN.
    if ZA_01 = 'QA' then only  we need to pass   ZA_02 value on to ''UnrestictedUseQuantity'' (target side),
    I mapped the fields, the vlaue ZA_02  passing properly on to 'UnrestictedUseQuantity' when D02_ZA comes 5 or 6 times, all the times 'QA'  value comes into ZA_01 field. In case if QA value missed or doesn't come from source, the Target side ' 'UnrestictedUseQuantity' field last value comes into last but one.
    Ex: QA value is in 3 times, but I have 4 source message on top. values comes into target side like
    20
    20
    20
    suppose to come like
    20
    20
    -- (Space)
    20
    Please required your valuable inputs in bit urget !!
    how to map field level please?
    Many Thanks in Advance
    Kind Regards
    San

    Petre:
    If you want to use standard functions then you try this:
    If-->currentdate -OR- Constant(01.02)
    currentdate -OR- Constant(02.02)   --> OR -->
    currentdate -OR- Constant(03.02)
    Then give some output
    Else give some output
    So give the output for the first two conditions to another OR and the result of the third to the same OR. So whenever the condition is true in any of the condition you will get the THEN value else you will get the ELSE value.
    ---Satish

  • Step by step message mapping/testing  examples

    Hi!
    I have read many blogs and SAP literature about message mapping.
    However, none of them gives step by step details.
    Can anybody give any very detailed mapping procedures?
    Thanks a lot!

    Lee,
    Have you seen this three series of weblogs where he is explained very clearlyn (2nd one is for mapping):
    /people/james.guanzon/blog/2006/02/22/how-to-support-industry-standards-in-xi-part-i-of-iii--interfaces
    /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
    /people/james.guanzon/blog/2006/09/09/how-to-support-industry-standards-in-xi-part-iii-of-iii--config-test
    If you want to test your mapping go through the weblog:
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Also check this weblogs for reference on mapping:
    /people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
    /people/daniel.graversen/blog/2006/09/15/message-mapping-verification
    /people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi
    ---Satish

  • About message queue in message mapping?

    Hi SDNer,
    I have been read help.sap.com and sdn threads about message queue
    I hope this thread should be help for all like me.
    thank you
    Sha

    Hi Shankar,
           XI uses Queue's to store messages, If you worked on message mapping you can see the how queue look like,
    Every queue having context ,it separate the values,it store the messages in highrarchy manner.
    Using Context Handling we resoleve context issues.
    Using node functions we aceive Context Handling.
    Search in SDN there is some good blogs abt Node Functions, if you understand nodefunction you wil understand the Queue concepts.
    Regards,
    Raj

  • [RFC to File]Problem about Changing file name in message mapping.

    Hi,
    my problem:
        Type:RFC to File
        I change the file name in message mapping.
    when I call the RFC to send the data twice at the same time, both of the output file names are changed while I only want to change the second output file name.
        thanks
    Sam

    In my MM, the input values to these variables (var1, var2 and var3) are (<ZZCOMBI>array,G499999,END_FIFC0029) ,
    var1 is an array of input <ZZCOMBI> item list;
    var2 is get from a property file by call another UDF;
    var3 is constant value.
    the test input data :
    I send the data for the first time:
    - <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <T_ZIFCTS82100010>
    - <item>
    <ZZCOMBI>G000002G000002</ZZCOMBI>
    <ZZKYKBN>*</ZZKYKBN>
    <ENAME_VE />
    <ENAME_Z5 />
    </item>
    </T_ZIFCTS82100010>
    </rfc:Z_IFCFR821_ZIFCTT82100010>
    so the input values to these variables (var1, var2 and var3) are (G000002G000002,G499999,END_FIFC0029)
    the output file name(File1) :END_FIFC002920090413-171534-053.dat
    output record: G000002G000002
    because the data what I send is the last record, the system send the dummy data for the second time by program.
    - <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <T_ZIFCTS82100010>
    - <item>
    <ZZCOMBI>G499999</ZZCOMBI>
    <ZZKYKBN />
    <ENAME_VE />
    <ENAME_Z5 />
    </item>
    </T_ZIFCTS82100010>
    </rfc:Z_IFCFR821_ZIFCTT82100010>
    so the input values to these variables (var1, var2 and var3) are (G499999,G499999,END_FIFC0029)
    the output file name(File2) :END_FIFC002920090413-171533-928.dat
    output record: G499999
    I find that File2(20090413-171533-928) was ouput before File1(20090413-171534-053 ) from the time stamp.
    I am not sure about that "XI will create a message ID for each message and the messages are independent." as you mentioned above.
    Best regards
    Sam
    Edited by: YONGHE ZHOU on Apr 15, 2009 3:59 AM

  • Message Mapping Issue with data without namespace

    Hi,
    I have a common xsd imported which has its own target namespace into my SWC namespace. Based on this xsd I have generated a Message Interface and webservice and given the wsdl to third party system for invoking my webservice.
    The problem is I have done the message mapping based on xsd which has namespace but whereas the third party system which is consuming my webservice is sending the xml data without any namespace and because of which my mapping is failing (target structure is not getting generated as expected). I have tested the mapping with namespace and without namespace from IR already. I have explained this below with example.
    I cannot change the xsd as it is a common and even cannot ask the end system to change the data format they are sending as they are sending the same data to some other systems also, which are not complaining.
    How to resolve this issue in XI?
    Actual xml data generated from my imported xsd (with namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Root xmlns:ns0="http://employee/types">
       <ns0:EmployeeDetails>
          <ns0:EmployeeId>12</ns0:EmployeeId>
            <ns0:EmployeeName>XYZ</ns0:EmployeeName>
    </ns0:EmployeeDetails>
    </ns0:Root>
    Actual Data coming from third party system (without namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <Root>
       <EmployeeDetails>
          <EmployeeId>12</EmployeeId>
            <EmployeeName>XYZ</EmployeeName>
    </EmployeeDetails>
    </Root>
    Thanks
    Amit

    Just  wild guess:)
    I am not 100% sure but i guess XSLT mapping does not checks the incoming payload against the sender message type.Within XSLT mapping you can add/remove namespace as you would like,use this XSLT mapping before your actual message mapping in interface mapping.
    I am saying this coz recently i was able to generate XSLT mapping(in altova Map Transform) without even specifying any sender or receiver Message type and it worked just fine.
    Thanx
    Aamir

  • PI 7.1 Operation mapping - Multiple message mapping - one to many issue

    Dear Experts,
    I am facing this issue in PI 7.1 and I beleive i did similar one in PI 7.0 successfully.
    I have an operation mapping with two message mappings.
    The occurence of source message of operation mapping is 1
    The occurence of target message of operation mapping is 0..unbounded
    Corresponding i configured two message mappings
    For message mapping-1
    Source message occurence = 1  and Target message occurence = 1
    For message mapping-2
    Source message occurence = 1  and Target message occurence = 0...unbounded
    When i test message mappings individually they are working good. But when i test it in operation mapping, the operation mapping is not working..as it is not able to convert single occurence output of message mapping -1 to the second message mapping-2.
    Any suggestions?
    Thanks.

    The message that i get when testing in operation mapping:
    Runtime Exception when executing application mapping program com/sap/xi/tf/_MM_MessageMapping_1_; Details: com.sap.aii.mappingtool.tf7.IllegalInstanceException; Cannot create target element /ns0:MT_MessageMapping_1_TargetMessageType/RECORDSET. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD
    My question is, has somebody mapped similar scenario in your environment? If yes, can you please provide details.
    Operation mapping :  1 to 0..unbounded
    Message Mapping1: 1 to 1
    Message Mapping2: 1 to 0...unbounded

  • Issue with IDOC occurence and SeeBurger message mapping

    Hey Guys
    While developing a EDI 850 to IDOC scenario i came across this issue with pre-delivered Seeburger mapping(A_850_V4010_to_I_ORDERS05).
    I actually need to post multiple IDOC's to SAP system in the same message so i changed the IDOC occurence to unbounded and re-imported that as a .XSD file in Integration repository.
    Earlier the pre-delivered message mappings provided by SeeBurger(under SEEBURGER_HIGH-TECH, 1.7.1 of seeburger) was working fine for me since i was posting only 1 IDOC but now the mapping is failing as the IDOC occurence has changed(unbounded).
    Is there a way we can do some settings on SeeBurger server or Bic so that we can use the pre-delivered mapping for Multiple IDOC's as well?
    I just want to make sure before i start off with doing whole of the mapping manually.
    Thanx
    Aamir

    Thanx for the input guys
    @Deepthi.
    Doing whole of mapping manualy is definitely the last option but i m looking for ways to re-use the pre-delivered SeeBurger mapping.
    >>Seeburger Mapping is only just to convert XML to EDI and EDI to XML.
    Bic mapping designer does this,i m dealing with message mapping of XI(convert source to target) not Bic designer right now,and Bic does more than just XML to EDI and vice versa,it handles other industry standards too.
    @Jens
    >>The XI message mappings from Seeburger in the Industry solutions are mapping templates
    Yeah,but the mapping template i have deals with 850 to ORDERS05,when i change IDOC occurence and re-import it back in Integration repository,it doesn't stays as ORDERS05,it has to be changed to user defined message interface(in my case MI_ORDERS05) so i m unable to use 850 to ORDERS05 template.
    @Seshagiri
    >>Open the Seeburger SWCV From the IR--goto External Def---Select the right one and copy it and paste it in notepad.
    Changing the occurence is not an issue,i want to re-use the pre-delivered mapping in Integration repository,which is not working.
    Looks like i need to do it manually
    Thanx
    Aamir

  • Considering buying an iphone 5 but am concerned about the maps app. Is it truly an issue?

    Considering buying an iphone 5 but am concerned about the maps app. Is it truly an issue?

    Depends what you want the maps for.  The image quality of the satellite images is far better than google, the 3-D imagery is fantastic and very useful for me.  I do not use the maps app for finding routes so I can't comment on that.  For me, the only downside is that you cannot download imagery for offline use, though the app does cache imagery that you have viewed when online, so that is a partial fix.  As far as I am concerned, it is way better than anything else I have seen. 

Maybe you are looking for

  • How can I get rid of telephone poles?

    I take lots of pictures of buildings in urban settings. Quite often, I take a shot against a blue sky, and there is no way to frame or crop the picture to avoid having things like telephone poles or street lights in the photo. I can use the retouch t

  • BPM 7.2 : Route the task to a person holding a position in the Org Unit

    Hi, Consider the below HR scenario: I have a leave application which goes from an employee to Manager for approval. I have this currently designed based on workflows (using Org Structure positions in my ECC HR System). Nowhere I have hard coded the u

  • Edit Submitted Email Messages

    I've seen other people post this question, but cannot find an answer.  When a user completes and submits a form created in LiveCycle and distributed as a saved file (as opposed through Adobe) an email is generated that has the completed form attached

  • Simulation loop inside subVI inside a simulation loop

    First of all, let me just say, I've got to hand in my work in 24 hours so please any help will be appreciated. I've got a simulation loop inside a subVI inside a simulation loop. If I give the inner loop enough time to run, i.e make its duration smal

  • Changing MIDI song names

    Song names cannot be changed for some MIDI songs with iTunes 7.1. This problem has existed since iTunes 6.0. When is Apple going to correct the problem? Apparently they are interested in using iTunes only for the purpose of selling music.