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

Similar Messages

  • Send Multiple field values to Single Target field in Message Mapping

    Hi,
    My  Requirement is to Map Multiple fields to Single field in Target side.I have to send all the values concatenated and pass the same to target Field in Message Mapping.
    We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
    Is there any way to simplify this requirement or we can use any UDF for this,kindly suggest.
    Regards,
    Madhu

    >>>We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
    I don't think it's complex but  just that it occupies more mapping area
    Just write a simple UDF - a one line code and pass all your input variables.
    return var1+var2+var3+var4+...+var15;

  • How to change the Display Pattern for Decimal Fields dynamically

    hi all,
    Can any one help me how to change the display pattern for decimal fields dynamically???
    Currently I am using z,zzz,zzz,zz9.999 Display pattern for Quantity Field. If the value is blank it is displaying as 0.000 on the Screen. But I don't want this to be printed.
    Please help me how to solve this ASAP.
    Thanks,
    Prabhu

    Hi,
    Alternatively you can handle it in the context.
    In the context area, click on the quantity. In the bottom, click on the conditions tab, and put a condition
    <quan field> NE initial.
    So the field will not be printed if there is no value.
    Regards,
    Vidya Chowdhary A.

  • Splitting XML string as separate fields in message mapping

    Hi Experts,
    I am getting XML string in one field from source message, i need to separate those fields and map it to target fields.
    Sorce message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:test_source xmlns:ns0="urn:gp:prototype">
       <Document>
          <store>3021</store>
          <date>2011-03-24</date>
          <type>3002</type>
          <till>32</till>
          <transaction>1478</transaction>
          <data><![CDATA[<buy><merchantID>006001007031992</merchantID><laneID>29</laneID><referenceID>PP0323095107</referenceID><localDate>2011-03-2302:00</localDate><localTime>09:51:0702:00</localTime></buy>]]></data>
       </Document>
    </ns0:test_source>
    Target Message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:test_target xmlns:ns0="urn:gp:prototype">
       <item>
          <storeID>3021</storeID>
          <businessdate>2011-03-24</businessdate>
          <Typecode>3002</Typecode>
          <workstation>32</workstation>
          <SeqNum>1478</SeqNum>
          <XX>006001007031992</XX>
          <YY>29</YY>
          <PP>PP0323095107</PP>
          <QQ>2011-03-23+02:00</QQ>
          <RR>09:51:07+02:00</RR>
       </item>
    </ns0:test_target>
    Can anyone please suggest me how can we do this???

    You can easily do both using standard function or simple udf
    Use indexOf  and substring to achieve this...
    Simple UDF
    String var1="><![CDATA<buy><merchantID>006001007031992</merchantID><laneID>29</laneID><referenceID>PP0323095107</referenceID><localDate>2011-03-23+02:00</localDate><localTime>09:51:07+02:00</localTime></buy>]>";
    String search = "<merchantID>";
    if(var1.indexOf(search) != -1){
    int pointer = var1.indexOf(search);
    return var1.substring(pointer+12, pointer+27);
    }else{
    return "";
    similarly for laneid
    search ="<laneID>";
    if(var1.indexOf(search)!= -1){
       int pointer = var1.indexOf(search);
        return var1.substring(pointer+8,pointer+10);
    }else{
       return "";                         
    Same way you can do for all the elements creating seperate method for each element or just use standard function to achieve this.
    Edited by: Baskar Gopal on Mar 24, 2011 10:13 AM

  • How to check a field in Message mapping wether it is Non Numeric?

    Hi XI Guru's
    I am totally new to XI world, Kindly help hopw can I chexk a field while doing message mapping whether the field is non numeric or not.
    I dont find any built in function for the same.
    If it is using UDF can some body help me in providoing a UDF for this.
    Many Thanks
    Arun

    Hi Arun,
    In SAP PI, all the XML contents by default treated as STRINGS.
    So if u want to check whether the incoming field is numeric or not... the only way is to write a UDF code for the same.
    the UDF will be,
    1. At first
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    in functions.
    2.UDF content:
    input: field,container
    output:boolean
    Code
    boolean return_Value;
    Pattern p = Pattern.compile("[0-9]*");          // If u are using the decimals please change the regular expression accordingly.
    Matcher m = p.matcher(field);
    if(m.matches())
    retuen_Value = true;
    else
    return_Value = false;
    return return_Value ;
    I hope this will solve ur problem....
    Babu

  • 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

  • Dynamic config for attachment without any message mapping in mail adapter

    Hi,
    In our scenario, we are not using any message mapping as a specification.A fixed length file is sent from source via proxy as an attachment to the mail.
    here the issue is with the file name of the attachment. how do we configure the attachment file name dynamically with out using any message maping.
    Regards,
    Divya

    Hi Divya,
    I understand you want to set name for mail attachment.
    SAP Note: Mail Adapter sapnote_0000856599
    Q: Can I choose the name of an attachment in the mail?
    A: Yes. Most mail clients use some heuristics based on some *MIME headers to derive the name of an attachment.* The MIME headers involved in most heuristics are Content-Type, Content-Description,and Content-Disposition. When you create an XI message, the XI payload name is automatically set in the Content-Description. If you want to change or set all of these headers, you can use the MessageTransformBean module (Note 793922) [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm]
    in the adapter framework.
    Q: How can I set the file name of a mail attachment?
    There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
    Content-Type: application/xml; name="abc.xml"
    RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
    With this Content-Disposition header, you can set the file name as:
    Content-Disposition: attachment; filename="abc.xml"
    Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
    Content-Description: my xml file
    To avoid potential interpretation problems, it is recommended to combine the use of these headers.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Feb 3, 2011 12:23 PM

  • Correlation for multiple fields in messages inside BPM

    Hi All,
    We have a requirement to collect multiple IDOCs based on combination of field1,field2,field3 and field4.
    Could you please tel me possible ways to implement this solution:
    I have tried the below options:
    Multiple fields in one correlation
    Correlation name is given and then in Correlation editor,we have given all four fields in correlation container and 1 involved message and properties are given for all fields
    Using this solution.IDOCSa re not collected even if all the IDOCs coming with same value for (field1field2field3+field4)
    for example even if combination of (field1field2field3+field4) is same still its not collecting and sending each IDOC sepearately outside BPM.
    Could you please suggest where the problem is?
    Please suggest if there is any other way to implement this in BPM.
    Thanks in advance
    Best Regards,
    Harleen Kaur Chadha

    Hi Harleen Kaur Chadha,
    Open your Integration Process (ccBPM), go menu bar u201CViewu201D, select u201CCorrelation Editoru201D. Then you can see the Correlation variables you have declared. Go the third tab u201CPropertiesu201D, and then try to edit u201CValueu201D. Expression Editor window pops up, select u201CInterface Variableu201D, then select XPath. Now edit u201CXPath Expressionu201D. Pay attention to Prefix u201Cp1u201D, it should be present in XPath expression. Check SAP help [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm]
    Regards,
    Raghu_Vamsee

  • Delete all the entries in target table when message mapping?

    Hello Gurus,
    I have a requirement in the project. When I do message mapping, I need to delete all the entries in the target table and then insert the new rows. From searching the old posts, I know it is possible without BPM. Can anyone please help me out? I really appreciated it.
    Regards,
    Bai

    Hi Bai,
    Check the below links:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/43/9519abb1146353e10000000a11466f/frameset.htm
    Defining a DELETE Statement 
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7b6e85fde93673e10000000a114a6b/content.htm
    Thanks,

  • Can't get field labels to display above for multiple fields in one cell

    I've tried searching for how to fix this to no avail. I'm new to Apex and I'm trying to get 5 fields on one line with labels above each: salutation, first name, middle initial, last name and title. I've set New Line and New Field to No for all but the first item. With the labels for each field set to Right, everything displays on one line. With the labels set to Above, fields are displayed on separate lines and I'm not sure why. There are other fields on the form as well but they are each on their own line. Any help would be greatly appreciated. My Apex version is 4.1.1.00.23. I'm running the standalone Apex Listener (current version from 7/12) with a 10g database.
    Thanks

    Hi,
    have you tried to set New Field to Yes? If that doesn't work, a test case on apex.oracle.com would be great. That's the easiest way to show you how it works.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Display width for report  fields

    Hi all
    Has anyone determined how to control the display width for fields using the report / report with form wizards ? I am not clear how to define, for example, that a field that seems to get 'wrapped' (thus taking up 2 lines) should be wider, so that it fits on one line, or alternatively that fields much longer than the data values are reduced in length so as to fit more columns within the visible area of the screen ?
    Should I do this in the UI Defaults for the table ? Is it down to the report region templates (if so where, how) or ideally is this something I can change when editting the report attributes. (I have tried this and failed).
    thanks, Jules.

    Jules,
    This is a combination of Region Templates, Report Templates, and the data in your reports. Region and Report templates are the best places to do this, but you can force some things... & n b s p ; (without spaces) is a non-breaking space. If you replace your spaces ( replace(column_name, ' ', '& nbsp ;') ) you can force at least some things not to break. You can ensure that certain columns are wider by setting the column headings with  
    Name     
    Really, though, I think you need to look at your region and report templates.

  • Adding Zeros infront of a field in Message Mapping

    Hi,
    I need to add zeros infront of my target field (eg Target Field length is fixed (10). If incoming field is having only 3 digits (123), I need to add 7 (10-3) zeros infront of my target field (0000000123). How to go about it. Is there any standard functions to do this ?
    Thanks in advance,
    Jose Augastine

    Try using this UDF
    double d = Double.parseDouble(a);
    DecimalFormat df=new DecimalFormat("0000000000");
                   StringBuffer sb=new StringBuffer();
                    df.format(d,sb,new
    FieldPosition(NumberFormat.INTEGER_FIELD));
                   return(sb.toString());
    Regards,
    Jai Shankar.
    Message was edited by: Jai Shankar

  • Reading Target field Values in Mapping Runtime

    Hi all,
    I have a requirement ,
    source                target
    A                           X
    B                           Y=X+Z+W
    C                           Z=X+Y
    D                           W
    Kindly can some one help me,how this can be achived in mapping?

    Hi,
    are you sure about that ?
    B                           Y=X+Z+W
    C                           Z=X+Y..... so Z=X+X+Z+W    !!!!!    so 2X = -W... (in mathematic) 
    does "+" is "add" or "concatenate"?
    Else as X comes from A, W comes from D... in your mapping use the sources A and D, and do not try to use your targets... Or if you have have to the same value, reuse the rule ! and point it to two target fields
    regards
    Mickael

  • Smartform-Suppress Zero and Display Zero for same field in Diff Conditions?

    Hi,
    I have a scenario in smartform, where for a quantity field of length p15 and Dec3, needs to display ZERO for one scenario and display SPACE for another condition. To display ZERO i have made it as &quantity(c)&, so that i can display zero. It displays ZERO, but for another condition, when i want to display space, there also it displays 0.000 ! how to display SPACE there ?
    thanks,
    Padma

    Hi,
    I think then in that case we need to use (NZ) I am not sure. But however why don't you use the Condition Tab in the Text by Including the Condition Quantity > 0.000.
    Please let me know if anyone of this works for you.
    Regards,
    SRinivas

  • ** Is it possible to move back and generate the target node in Message Map

    Hi,
    We are doing EDI to IDoc scenario. In our scenario the source XML comes like
    XML Instance
    G_SPOC       (Node) 0..unbounded
       D_670       (Field)
       S_SDQ      (Node)
         D_67
         D_380
         D_67_2
         D_380_2
    G_SPOC
       D_670
       S_CTP
         D_212
    G_SPOC
       D_670
       S_SDQ
         D_67
         D_380
         D_67_2
         D_380_2
    Target Strcutre
    E1EDP01    0..unbounded
      For this instance we have to create E1EDP01 node for how much times D_67,D_67_2..... will come.
    By using 'CreateIf' function we check the existance of D_67,D_67_2 ... and create the target structure E1EDP01. This is working fine if S_SDQ node will come in source XML. Basically D_67,D_67_2 represents Store Nos and D_380,D_380_2 represents Qty.
    In the customer given EDI file, Price change also comes for Line items. It may comes in the file middle also. When Price Change come, the node S_SDQ will not come in G_SPOC but where as S_CTP will come. This contains Price Change in the field D_212.
    The indicator whether QD (Qty Discount), QI (Qty Increase), PC (Price change), AI (Additonal Increase) is stored in the fild D_670.
    In our logic in mapping, we create E1EDP01 based on the existance of D_67,D_67_2... . But, for PC (Price Change) we created special node E1EDP01 at the end (after all D_67,D_67_2 ) by checking the condition whether D_670 = 'PC'. This is also working fine when 'PC' comes in last G_POC of source XML. But, when it will come in middle of G_SPOC, mapping is only executed  for first 3 GPOC (for Example, QD,QI,PC) and it ignored the last one AI. (Because this is generated based on D_67 under S_SDQ again).
    The problem is we think that the system does not go back and execute the mapping for AI based on D_67.
    It executes mapping only in order.
    So, How will we solve this problem, friends? The requirements is  we have to do this thru Graphical Mapping only.
    We tried sever possibilites, but not worked out.
    Kindly help me friends to solve this issue.
    Thanking you.
    Kind Regards,
    Jeg P

    Friends,
    Any help to solve the above issue ?

Maybe you are looking for

  • Photos loss

    Hi all, I store my library on a WD MyBook World Edition II 2TB NAS. Yesterday I opened Aperture 3 to add some new photos form the SD card and I noticed some projects were missing previews on the main screen. Every project still lists every info about

  • Would you buy a license to listen to music on a commodore 64?

    I can't imagine buying a license to listen to my music on an Atari or a commodore 64, why should I for my mac? I just got burned at a wedding when my brand new 3k mac was not "authorized" to play music I had previously purchased from iTunes. There wa

  • Define a new class in CSS for the width in a standard report column

    Hi all, I need to give one standard report column a width of 30px. I read anything about this here in the forum. I only know a litte of CSS and HTML. So I tried the following, but it doesn't work. I have a own css-file for my application. I tried to

  • Quicktime pro 7.....Help1

    I've bought QT pro 3 times in the last 4 years. Is it upgradable? or do i have to buy a new key every year? Anyway, I purchased it today. QT prefs opens and there is a key code already in the text block. I got an email with a different keycode. Which

  • XA DataSource

    Hi all, What are the use of XA Connection ?. Can it replace a database replication mechanism. I have to write to two databases. One is the real server and other a back up server. I need a mechanism such that all writes are performed on both databases