Display  queue in message mapping

Hi ,
I need to know the function of ' display queue ' in message mapping . How do i go about it.
Please help.
Thanx nd regards ,
Srestha

Hi,
Whenever you do a graphical mapping you can see the intermediate result in the display queue. When you test your input using the test tab of Message Mapping, you can get only the end result (if it is successfull) or an error. You can debug the error by seeing the display queue of each and every elements involved in that specific mapping. Display quue will consists of :
1) Input (in) to the function
2) Output (out) from the function
3) Conext change
4) SNo. (optional)
Hope you got an idea
Regards
Suraj

Similar Messages

  • Can't display queue in message mapping

    Hi,
    I can look at the queue of the source field (the box to the left), but when trying to look at the queue of any other box in the mapping i just get an empty log and an empty queue. It doesn't matter if I use a UDF or a standard function.
    I'm working on a PI 7.1 system. Is there anyone who have a suggestion what I can do to get rid of this problem?
    Thank you!
    /Sten

    Sten,
    Its very strange. Can you test in test tab and see what you are getting? Also can you copy the mapping to a different name and try your luck. May be the test xml might be wrong. Do a direct mapping and see, if it doesnot work then put a constant and see. If it works with constant and not with a source field then you would have copied the mapping from a different mapping like for each field.
    Please note when you copy the mapping for any field from a different mapping, your source field is copied from the mapping from where you copied. So you need to add the source field in your current mapping once again manually. Hope it make sense to you.
    Regards,
    ---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

  • Cannot display dependencies in message mapping

    Hi,
    I used to see the dependencies between source message types and target message types but now I cannot see the dependencies. When I go to message mapping, the dependencies (drop down) is greyed out or disabled. Does anyone know how this could happen or how to enable it?
    Thanks.

    Why don't you try deleting you java webstart cache and downloading the jar files again.
    1. Go to Start --> programs --> Java WebStart
    2. File --> Preferences --> Advanced and here you will find an option to clear cache.
    Is the button disabled even when you are trying to create new mappings.
    Cheer's

  • SUPPRESSED fields in the queue in message mapping

    Hello Experts,
    I have stucked in a graphical mapping because of suppressed fields in the queue. I would like to remove these fields without loosing the context.
    I tried writting UDF but still they appear in the queue as <null>
    my queue looks like
    <null>
    SUPPRESS
    1
    2
    3
    Context Change
    SUPPRESS
    1
    Context Change
    SUPPRESS          
    SUPPRESS
    1
    2
    Context Change
    ( All above suppress appears in GRAY and not in GREEN )
    and I need it as
    <null>
    1
    2
    3
    context change
    1
    context change
    1
    2
    context change
    Your expert comments will be appreciated.

    your input is like below:
    <null>
    SUPPRESS
    1
    2
    3
    Context Change
    SUPPRESS
    1
    Context Change
    SUPPRESS         
    SUPPRESS
    1
    2
    Context Change
    ( All above suppress appears in GRAY and not in GREEN )
    if you use mapWithDefault() node function before the UDF with this queue and use any Default value for e.g. "XYZ" then your SUPPRESS will be replaced
    with value XYZ and your input to the UDF will become as below:
    <null>
    XYZ
    1
    2
    3
    Context Change
    XYZ
    1
    Context Change
    XYZ         
    XYZ
    1
    2
    Context Change
    Now you can write the UDF using this queue as input (cache= queue)
    for(int i=0; i<input.length;i++){
              if(input[i].equals("XYZ")){}   // do nothing
              else if(input[i].equals(ResultList.CC)){         // add context change to the output queue
              result.addContextChange();
              else {                                                   // add the required value in the output queue
              result.addValue(input[i]);
    after this you will get the output Queue as below:
    <null>
    1
    2
    3
    context change
    1
    context change
    1
    2
    context change

  • Display queue for Target field in Message Mapping

    Hi Folks,
    If i check my Target Field (DT_Req) (Display queue) in Message Mapping, I am getting 2 values like ie [] that means ....in my test result in MM, i should get 2 times DT_Req field.
    Is it right?
    Plz give some idea how this display queue works on each field?
    Thanks
    Prabaharan
    Edited by: Prabaharan on Sep 10, 2008 12:22 AM
    Edited by: Prabaharan on Sep 10, 2008 12:24 AM

    Hi,
    In my scenario occurrence of that
    target field is    0...unbounded
    and in my display queue.. Initially it is
    suppress, [], suppress, suppress, suppress,suppress,suppress,suppress,suppress,suppress, [],suppress
    in my result i could get only one DT_req field.
    Plz throw some idea on this?
    thanks

  • Problem with condition IF THEN in Message MApping

    Hi,
    We are not getting correct ouput when we use condition IF THEN without else in message Mapping .We are sending data from File to XI to R/3.
    We are using file adapter and IDOC adapter to create customer in R/3.
    In message Mapping we are creating Segment E1KNB1M and E1KNBKM based on condition.
    IF THEN Condition used in mapping is as below
    find the length of Compnaycode with LENGTH function.Pass that value as one of the parameter to function GREATER.Pass second parameter to function GREATER a constant (0).Pass the result to If without else function.If this is true pass Item to IF THEN function and Map the result to E1KNB1M.
    Our mapping is not giving desired output in below scenario:
    Source  XML
    <?xml version="1.0" encoding="utf-8" ?>
    <ns:CustomerMaster_Request_MT xmlns:ns="http://mazdausa.com/sapr3/fi/masterdata/customermaster">
    <Idoc>
    <Header>
      <ID>H</ID>
      <ACCTGRP>M002</ACCTGRP>
      <CUSTNO>R51563</CUSTNO>
      <NAME1>WAYNE MAZDA</NAME1>
        </Header>
    <Item>
      <ID>L</ID>
      <COMPCODE>US10</COMPCODE>
      <BANKKEY>0000326</BANKKEY>
      <BANKCNTRY>US</BANKCNTRY>
      <BANKACCT>05893</BANKACCT>
      </Item>
      </Idoc>
    - <Idoc>
    - <Header>
      <ID>H</ID>
      <ACCTGRP>M002</ACCTGRP>
      <CUSTNO>51563</CUSTNO>
      <NAME1>WAYNE MAZDA</NAME1>
      </Header>
      </Idoc>
    - <Idoc>
    - <Header>
      <ID>H</ID>
      <ACCTGRP>M002</ACCTGRP>
      <CUSTNO>V51563</CUSTNO>
      <NAME1>WAYNE MAZDA</NAME1>
        </Header>
    - <Item>
      <ID>L</ID>
      <COMPCODE>US10</COMPCODE>
      <BANKKEY>000326</BANKKEY>
      <BANKCNTRY>US</BANKCNTRY>
      <BANKACCT>0305893</BANKACCT>
      </Item>
      </Idoc>
      </ns:CustomerMaster_Request_MT>
    Here 3 Idoc are created under ZDEBMAS06.
    First IDOC contain segment E1KNB1M and E1KNBKM as desired because first idoc in Source XML contains Item data.
    Second IDOC contain segment E1KNA1M only as desired because second Idoc in Source XML does not contains item data.
    Third IDOC does not contain Segment E1KNBKM and E1KNB1M which is not a desired output. It should contain these segments as third idoc in source XML have item data.
    But we are getting right output in case we also have Item data under second IDOC in source XML.
    Please let me know where I am doing wrong.
    Thanks.
    Rekha.

    Hi Rekha,
    I am getting the same problem while checking display Queue in message mapping??
    <i><b>Source code has syntax error: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Exception in thread "main"</b></i>
    Any ideas to solve this problem...
    Thanks,
    Sekhar

  • Display Queue

    May i know how this Display queue usefull in Message mapping..
    what is the use of this display Queue

    Display Queue:
    Displays the queue for a field or a function for complete target field mappings, if an XML instance has been loaded or entered on the Test tab page. The result queue is displayed for functions, while the results values are displayed for target fields before they are written to the target structure. The target structure specifies which values are taken from this queue, for example, depending on the occurrence value specified in the target structure.
    You can display multiple queues in parallel in separate windows. Within a queue window, you can update the queue, and number the entries of the queue consecutively.
    Introduction to queues in message mapping
    http://help.sap.com/saphelpnw04/helpdata/en/3c/5d70b7d21e478fa569fec37325b9f6/frameset.htm
    Regards,
    Parvathy

  • RFC_to_File scenario: error in request message mapping

    Hi!
    I am configuring RFC_to_File scenario.
    The error at the begining is:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_Z_RFB_MATERIALEINGABE_PBU_zu_MT
    : Fatal Error: com.sap.engine.lib.xml.parser.Parser
    Exception of class CX_XMS_SYSERR_MAPPING
    When I display the request message mapping are of the message I can see:
    <Trace level="1" type="T">Interface-Mapping http://www.sap-press.de/xi/training/PBU_00 IM_Z_RFB_MATERIALEINGABE_PBU_zu_MI_Material_Async_In</Trace>
    <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_Z_RFB_MATERIALEINGABE_PBU_zu_MT_Material_</Trace>
    <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:202) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:187) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:151) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest
    Can some one help me to solve this problem?
    Thank you very much!
    regards
    Holger

    Holger,
    Message Mapping Failed.
    >com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data >sections(:main:, row:1, col:202) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException
    You are Passing Char to a field, which is not as per the Message Mapping rule
    Cheers
    Agasthuri Doss

  • Conversion condition problem in message mapping

    Dear Friends,
    I am sending the ORDERDS02 Idoc from one ECC to another ECC using PI7.0.
    In receiver system my condittion is:
    1) IF E1EDK01-BSART = DVBFand E1EDKA1-PAORG = MF20  then E1EDKA1 PARTN = 50057 & A59991
    2) IF E1EDK01-BSART = DNBFand E1EDKA1-PAORG = MG20 then E1EDKA1 PARTN = 50055 & A59990
    In first condtion I am receiving the result as per the requirement(50057 &  A59991)
    but in second condition I am getting only 50055 , I am not getting A59990 .
    I am checking the Queues in message mapping it is showing 50055 & A59990, but it is updating  only 50055.
    In queues it is showing like:
    sender:                target:
    50055                 50055
    A59990              SUPPRESS
    Please suugest me any thing I  have to do in message mapping.

    Hi,
    Can you tell me how it has been mapped now.  Since you are using header segment, it should contain only one value. So, I would not suspect that it might not be an issue with context.

  • Message Mapping-Node Function

    Dear All,
    This is a problem in mapping, we are facing.
    Source Structure
    Item------Occurance= 1 to Unbounded  (Level 1)
               Garment--- Occurance=1 to 1     (Level2)
    Target Structure
    target_Item--- Occurance = 3 to 5 (Level1)
                 target_Garment--- Occurance=1 to 1    (Level2)
    Source Data
    <Item>
          <Garment> Blazer </Garment>
    </Item>
    <Item>
          <Garment> Blazer </Garment>
    </Item>
    <Item>
          <Garment> Blazer </Garment>
    </Item>
    <Item>
          <Garment> Shirt</Garment>
      </Item>
    <Item>
          <Garment> Trouser </Garment>
    </Item>
    Expected Target Data
    <target_Item>
              <target_Garment> Blazer </ target_Garment>
    </target_Item>
    <target_Item>
              <target_Garment> Shirt </target_Garment>
    </target_Item>
    <target_Item>
              <target_Garment> Trouser</ target_Garment>
    </target_Item>
    Mapping Done:-
    Item -
    > target_Item
    Garment -
    >. Remove Context -
    > Split By Value(Value Change) -
    > Collapse Context -
    > Split By Value(Value Change) -
    > target _Garment
    But we are getting the following error.
    Cannot produce target element /ns0:sdntarget/target_Item[4]/target_Garment. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    But when we see in “DISPLAY QUEUE” in the mapping Editor, every thing is showing as desired.
    Can some body suggest, where we are wrong.
    Regards,
    Navneet

    Hi,
    As correctly said by Swarup change the occurrence.
    What u did wrong is:
    Item -
    > target_Item -this mapping is not correct as from source u r getting four item hence the target_item will be generated 4 times.
    Garment -
    >. Remove Context -
    > Split By Value(Value Change) -
    > Collapse Context -
    > Split By Value(Value Change) -
    > target _Garment - this will generate only 3 times based on ur logic.
    because of this u r getting error target_item[4].
    use the below logic:
    item-target_item
    garment->splitbyvalue(value change)->collapse context-> target_item.
    garment-target_garment
    garment->splitbyvalue(value change)->collapse context->splitbyvalue(eachvalue)->target-garment.
    chirag
    Edited by: Chirag Gohil on Apr 18, 2008 5:34 PM

  • Internal GUI Error when creating Message Mapping.

    Hi Experts,
    An Unexpected Exception occurs when I try to create a Message Mapping on PI 7.1 EHP1.
    After that the object is not create but is locked, if I try to create again an error message is displayed saying "Object Message Mapping: mm_efgsdjk | http://testexxxx currently being edited by user CONSULTOR".
    Can anyone help-me with this problema ?
    Thanks in advance,
    Regis Ferrato

    Hello,
    To unlock the object, please do the following.
    1. Goto Integration Builder homepage and click on "Administration" link on top right menu.
    2. Goto Repository tab >> Lock Overview.
    3. You can select and delete the required locked object.
    Please not that if you dont have the access to this screen, you need to ask basis to do this or give you the access.
    Regards,
    Vikas

  • Message mapping - Display queue

    Hello,
    In the Enterprise Service Builder of PI 7.1, I go to message mapping and choose "display queue" to test the result of a mapping but nothing happens. I receive a blank popup without any results. It's the same for all mappings. Note that we have just upgraded from XI 3.0 to PI7.1
    Any idea?
    Thanks for your help!
    Best regards,
    Olivier
    Edited by: Olivier Vanderperre on Oct 14, 2008 8:11 AM

    Hello,
    Thanks for your help.
    Test data are provided, all fields are complete and the target field is not disabled..
    Best regards,
    Olivier

  • Message Mapping(Display queue and Suppress Value)

    Hi Experts,
    In Message Mapping(graphical mapping), upon checking the properties of the nodes,there's one property display queue, in which suppress is there??
    What does it mean?? Which queue it points and what value is suppressed??
    Thanks & Regards,
    Sushama

    Hi Sushama,
    SUPPRESS means no value.
    suppose we are checking one condition (tdid = "RE" then pass tdline) based on the condition we will send one output. if the condition fails then suppress value goes to the target.
    > What does it mean?? Which queue it points and what value is suppressed??
    es:  if(tdid.equals("WE") ifwithoutelse pass tdline value as output.    [tdid is in E1EDKA1 segment and this segment occurance is multiple]
    In this case if the condition is satisfied once and failed once (means E1EDKT1 segment comes 2 times) then first time it sends the corresponding tdline value and second time it sends the SUPPRESS value.
    Regards
    Ramesh

  • Clarification needed in Mapping Display Queue

    I am trying out a simple message mapping explained in one of
    the blog.
    My issue is when testing the Mapping , the display queue window displays the the values on the Context Change  line also.That is, the grey color also carrys the previous value .
    I believe the CC's should shold be a empty value .Any reason why I am seeing the values.
    Thanks

    Hi,
    Technically speaking, the XML instance is imported into the queues before the target field mappings are processed. The contexts are separated in the queue by a context change.
    Thus The Context change will contain the previous value of the field in supressed format.
    It will inform about the previous position of the context change.
    The Context change is can be used in Advanced User Defined Functions
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    /people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 25, 2008 10:53 AM

Maybe you are looking for

  • PBG4 will not boot up- many attempted/failed solutions!

    I'll preface this with my computers background: It is a 4.5 year old PBG4 running OSX. I used it in school for various projects, photoshop, illustrator, etc. For the past year or so it has basically been used for photos, internet, and basic nothings.

  • XBox 360 HD-DVD with iMac

    I'm using my HD-DVD drive from my XBox 360 to watch movies on my iMac when booting into Windows. I use Cyberlink's PowerDVD (only player I know that supports Blu-Ray and HDDVD) It works fine, except for 2 things... 1.) When I was running Windows Vist

  • OS hangs at grey startup screen, won't boot into safe mode

    I rebooted my G5 this morning and when it came back up, it hung on the grey screen with the Apple logo and the spinning 'gear' progress bar. I tried rebooting several times, but that didn't help. I tried booting from the install DVD (which it did) an

  • Preview´s "save as" option faulty ?! (documents folder vs. last folder used

    Hi I found several discusssions around this subject, but none with a bugfix / solution. It´d be nice if someone could point me to the solution if there indeed is one. Here´s the deal: I generate bills from my database as a pdf. Some customers want th

  • Using iMac as Home Stereo

    Is there a way to use my iMac Intel as my home stereo? I have an old receiver that isn't working anymore. I just had my kitchen redone, and my brother-in-law (the electrician) put in speaker wires to my deck and in my kitchen/new bar area. All of my