XI Mapping of list field

Hi there,
i have to make a change in a PI Mapping...
Until now the mapping was looking that:
SOURCE:
<ITEM>
      <KSCHL>100</KSCHL>
      <VKORG>1000</VKORG>
      <CNO>123456</CNO>
      <DISCPRODHIER>12345</DISCPRODHIER>
      <DISCAMOUNT_T>15</DISCAMOUNT_T>
      <KONWA>ZRSM</KONWA>
      <DISCVALIDON_T>010101</DISCVALIDON_T>
      <DISCVALIDTO_T>010101</DISCVALIDTO_T>
   </ITEM>
TARGET:
<ITEM>
      <ZEN_CON_001>
         <KSCHL>100</KSCHL>
         <VKORG>1000</VKORG>
         <KUNNR>123456</KUNNR>
         <PRODH1>12345</PRODH1>
         <KBETR>15</KBETR>
         <KONWA>ZRSM</KONWA>
         <DATAB>010101</DATAB>
         <DATBI>010101</DATBI>
      </ZEN_CON_001>
   </ITEM>
Every target item was unique of a source item.
But now in the field PRODH1 the PI will get multiply values....
"12345,12346,12347,12348,12349"
e.g: <PRODHIER>12345,12346,12347,12348,12349</PRODHIER>
The mapping should create for every one of the separated values one target item ("</ZEN_CON_001>").
Then we should have 5 target Items as result of the source item with these 5 Values in PRODH1 from the example.
Should look like this:
Source:
<ITEM>
      <KSCHL>100</KSCHL>
      <VKORG>1000</VKORG>
      <CNO>123456</CNO>
      <DISCPRODHIER>12345,12346,12346</DISCPRODHIER>
      <DISCAMOUNT_T>15</DISCAMOUNT_T>
      <KONWA>ZRSM</KONWA>
      <DISCVALIDON_T>010101</DISCVALIDON_T>
      <DISCVALIDTO_T>010101</DISCVALIDTO_T>
   </ITEM>
mapping target:
<ITEM>
      <ZEN_CON_001>
         <KSCHL>100</KSCHL>
         <VKORG>1000</VKORG>
         <KUNNR>123456</KUNNR>
         <PRODH1>12345</PRODH1>
         <KBETR>15</KBETR>
         <KONWA>ZRSM</KONWA>
         <DATAB>010101</DATAB>
         <DATBI>010101</DATBI>
      </ZEN_CON_001>
<ZEN_CON_001>
         <KSCHL>100</KSCHL>
         <VKORG>1000</VKORG>
         <KUNNR>123456</KUNNR>
         <PRODH1>12346</PRODH1>
         <KBETR>15</KBETR>
         <KONWA>ZRSM</KONWA>
         <DATAB>010101</DATAB>
         <DATBI>010101</DATBI>
      </ZEN_CON_001>
<ZEN_CON_001>
         <KSCHL>100</KSCHL>
         <VKORG>1000</VKORG>
         <KUNNR>123456</KUNNR>
         <PRODH1>12347</PRODH1>
         <KBETR>15</KBETR>
         <KONWA>ZRSM</KONWA>
         <DATAB>010101</DATAB>
         <DATBI>010101</DATBI>
      </ZEN_CON_001>
   </ITEM>
Please can you help me at this?
I have tried to create a UDF for that, but i hadn't  any success.
Thank you very much!

hey...
i always got the error with following inputs:
http://s7.directupload.net/images/110406/zld8xjao.png
look on screenshot above.
Edit:
Problem found...
StringTokenizer token = new StringTokenizer(list[0], delim[0]);
Now I get a first result:
Source:
<ITEM>
      <KSCHL>111</KSCHL>
      <VKORG>1000</VKORG>
      <CNO>123456</CNO>
      <DISCPRODHIER>aaa,bbb,ccc,ddd,eee</DISCPRODHIER>
      <DISCAMOUNT_T>22</DISCAMOUNT_T>
      <KONWA>ZRSM</KONWA>
      <DISCVALIDON_T>010101</DISCVALIDON_T>
      <DISCVALIDTO_T>010101</DISCVALIDTO_T>
   </ITEM>
RESULT:
<ITEM>
      <ZEN_CON_001>
         <KSCHL>111</KSCHL>
         <VKORG>1000</VKORG>
         <KUNNR>123456</KUNNR>
         <PRODH1>aaa</PRODH1>
         <KBETR>22</KBETR>
         <KONWA>ZRSM</KONWA>
         <DATAB>010101</DATAB>
         <DATBI>010101</DATBI>
      </ZEN_CON_001>
   </ITEM>
   <ITEM>
      <ZEN_CON_001/>
   </ITEM>
   <ITEM>
      <ZEN_CON_001/>
   </ITEM>
   <ITEM>
      <ZEN_CON_001/>
   </ITEM>
   <ITEM>
      <ZEN_CON_001/>
   </ITEM>
hm...
I have put in the UDF in the node ITEM and linked it with DISCPRODHIER from the Source node...
Edited by: fengel on Apr 6, 2011 5:10 PM

Similar Messages

  • Read only List-Field

    HI Folks
    It seems to me that there should be an easy answer to the following
    problem, so much so that I feel foolish for submitting it. However, since
    this is my first posting, it is usually o.k. to be an dimwitted idiot.
    Is there any way to have a list field (i.e. scroll list or drop list) that
    doesn't display the icon at the right side of the box (the drop arrow or
    scroll icon).
    We wish to display an item from the list in a read-only fashion, thus is
    not any need to display the list, just the corresponding item from the
    list. (i.e 'sex' it comes from the database as a 1 (Male) or 2 (Female),
    and rather than display the 1 or 2, we would like to display the 'Male' or
    'Female'. )
    Since we are displaying the records in an array and the array field is
    mapped to an object that corresponds to the database table, extra fields
    for translation, including virtual attributes, in that object fowl up the
    writing to that database table. And, of course, the Drop list adds some
    vertical height to the array field, screwing up the esthetic beauty of the
    screen.
    Thanks for reading this.
    -later
    -labeaux
    [email protected]

    Try some thing like below,
    your data value that needs to be update should be in this format "ID of the lookup";#"Title of the Lookup" 
    For example,
    listItem["Product_x0020_Number"]
    = "1;#iPhone";
    listItem["Product_x0020_Number"]
    = "2;#Mobile";
    Hope this helped you....

  • Re: Read only List-Field

    I'm not sure if this is what you're asking, but here it goes...
    Create a custom domain with IntegerNullable as the SuperClass
    From the properties of the custom domain, select Droplist or scrollistas the formwidget. Click on properties beside the formwidget label
    and datafill the matrix. Male 1
    Female 2
    Your widget will then popup with the choices Male and Female for your
    users to chose from. You can also dynamically set the contents of
    the list by using SetElementList? method on the droplist or scrollist.
    Check out the documentation for more info on manipulating the contents
    of the list.
    I use Express, so I would set this in the Business Model.
    If you use straight Forte, you probably select a DomainWidget from the
    Window workshop once you've created the custom domain.
    Hope this helps.
    Regards,
    Peter Kelly
    ____ \ / ____ CrossKeys Systems Corporation
    ___ \ X / ___
    \ X X / Crosskeys Centre Peter Kelly
    X X X 350 Terry Fox Drive Software Designer
    ___/ X X \___ Kanata, Ontario
    ____/ X \____ Canada K2K 2W5 [email protected]
    _____/ \_____ (613) 591-1600 Ext. 8247
    [email protected] wrote:
    >
    HI Folks
    It seems to me that there should be an easy answer to the following
    problem, so much so that I feel foolish for submitting it. However, since
    this is my first posting, it is usually o.k. to be an dimwitted idiot.
    Is there any way to have a list field (i.e. scroll list or drop list) that
    doesn't display the icon at the right side of the box (the drop arrow or
    scroll icon).
    We wish to display an item from the list in a read-only fashion, thus is
    not any need to display the list, just the corresponding item from the
    list.
    Since we are displaying the records in an array and the array field is
    mapped to an object that corresponds to the database table, extra fields
    for translation, including virtual attributes, in that object fowl up the
    writing to that database table. And, of course, the Drop list adds some
    vertical height to the array field, screwing up the esthetic beauty of the
    screen.
    Thanks for reading this.
    -later
    -labeaux
    [email protected]

    Gediminas 
    Datasource, extract structure and append structure(if any) not transported properly.
    Try to collect again and retransport and replicate.
    Check at RSA3 in QA system, now fields are visible or not.
    Srini

  • Is it possible to map the cmp fields of the entity bean with out dictionary

    Dear sirs,
    I have created the EJB project module and WEB Module. Now i have to map the CMP fields of the entity bean to the underlying table. Is it possible to map the cmp fields of the entity bean with out java dictionary? If yes how can we do that.
    I have got some error while mapping an EJB's CMP fields to the table through dictionary. I was actually intended to map 79 fields but it gives an error that more than 64 fields are not allowed while building the dictionary.
    1. Can you tell me what could be the possible reason?
    2. Is it possible to map the cmp fields of the entity bean with out java dictionary? If yes how can we do that.
    Kindly helo me,
    Sudheesh K S

    Hi,
    Sudheesh please check up if the below link helps,there are other ways of writing the persistent.xml for container managed entity bean.
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/f695f0c84acf46a4e0b31f69d8a9b7/frameset.htm, probably in the studio you cannot browse through tables not in  the java dictionary,but manually editing it may still solve the problem.
    Also here is another link that specifies the databases supported by J2EE Engine.
    http://help.sap.com/saphelp_nw04s/helpdata/en/66/a5283eeb47b40be10000000a114084/frameset.htm
    The below link shows how to specify the database vendor and datasource
    http://help.sap.com/saphelp_nw04s/helpdata/en/e1/67fc3ee241ba28e10000000a114084/frameset.htm
    Hope you are able to solve the problem.
    Do let us know if you come up with the solution.
    Regards,
    Harish
    Message was edited by: HARISH SUBRAMANIAN

  • Read External List Field on Custom ECB action

    I tryed to show a Custom ECB action on an External List.
    The External List have a Field "LOGICAL_ID" with an IP address, but the GetAttributeFromItemTable works only with Standard List.
    How i read the External List Field and open some shell or browser actions with these field?
    <script language="Javascript" unselectable="on">
    // START: Override Function
    function Custom_AddListMenuItems(m,ctx)
    var strDisplayText = "Ping";
    var strDisplayText1 = "Browse Http";
    var strDisplayText2 = "Telnet";
    var strDisplayText3 = "SSH";
    var strDisplayText4 = "Remote Desktop";
    // for test strDisplayText = currentItemID;
    var LOGICAL_ID = currentItemID;
    // var LOGICAL_ID = GetAttributeFromItemTable(itemTable, "LOGICAL_ID");
    // var LOGICAL_ID = itemTable.getAttribute("LOGICAL_ID");
    var strAction = "javascript:var x = new ActiveXObject('WScript.Shell');x.run('ping -t" + LOGICAL_ID + "');window.refresh";
    var strAction1 = "http://" + LOGICAL_ID;
    var strAction2 = "telnet://" + LOGICAL_ID;
    var strAction3 = "telnet://" + LOGICAL_ID + "/? -ssh";
    var strAction4  = "javascript:var x = new ActiveXObject('WScript.Shell');x.run('mstsc /v " + LOGICAL_ID + " /admin');window.refresh";
    var strImagePath = "";
    // Add menu item
    CAMOpt(m, strDisplayText, strAction, strImagePath);
    // add a separator to the menu
    CAMSep(m);
    CAMOpt(m, strDisplayText1, strAction1, strImagePath);
    CAMOpt(m, strDisplayText2, strAction2, strImagePath);
    CAMOpt(m, strDisplayText3, strAction3, strImagePath);
    CAMOpt(m, strDisplayText4, strAction4, strImagePath);
    // false means that the standard menu items should also be rendered
    return true;
    // END: Override function
    </script>

    Hi,
    If you want to disable the Rich Text Field dynamically, you can consider to use JavaScript and JavaScript Client Object Model.
    The “disable” attribute seems not work on Rich Text Editor control, so we can set the “display” attribute as “none” to hide the control instead:
    <script type="text/javascript">
    document.getElementById("ctl00_PlaceHolderMain_rftDefaultValue").style.display = "none";
    document.getElementById("ctl00_PlaceHolderMain_rftDefaultValue_toolbar").style.display = "none";
    document.getElementById("ctl00_PlaceHolderMain_rftDefaultValue_iframe").style.display = "none";
    console.log('hide');
    </script>
    You will need to find out the id of the toolbar and textbox of the Rich Text Editor control in page using IE developer(F12) first, then replace the ids in the script above.
    We can get values of list items using JavaScript Client Object Model:
    http://msdn.microsoft.com/en-us/library/office/hh185006(v=office.14).aspx
    More information about JavaScript Client Object Model:
    http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/hh185015(v=office.14).aspx
    Feel free to reply if there are still any questions.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Making task list field mandatory in creation of maintenance plan?

    Dear All,
    I need your help in configuration of Making task list field mandatory in creation of maintenance plan. I checked with sceen variant config but that also not giving me any option to make the field mandatory.
    Is there any note or user exit for it?
    Regards,
    Kaushal Rai

    Dear,
    Pls check the exit IPRM0004:Maintenance plan / item: Customer check for time "SAVE".
    Regards
    Sunil

  • Mapping ECC PO fields to R/3 PO fields

    Hi Experts,
    I was trying map ECC Po fields to R/3 fields which are not mapping in standard way automatically. Like Tracking No and Good Recipient name.
    I am using the BADI BBP_ECS_PO_OUT_BADI to map these fields.
    However i am able to map and see those fields in the back end.
    The same thing i was trying to do for the Text fields. Suppose, mapping vendor text to item text .these fields are not able to transfer through this BADI.
    for this i am using the BADI BBP_PO_INBOUND_BADI in R/3 to map these fields . I am able to map and see those text fields in R/3 also. But wonder now i am not able to see Tracking No and Good Recipient name fields in R/3 .
    Any pointer to solve this issue, really a help for me.
    Thanks in Advance.

    Hi Disha ,
    Thank you so much for your reply ,
    Actually i have implemted the BBP_ECS_PO_OUT_BADI this BADI only in SRM side .When i have implemeted i can see Tracking No and Goods recipient are mapping correctly in Back End . But the thing is only the text fields are not mapping the correctly. though code was correct .
    So i have implemeted the BBP_PO_INBOUND_BADI BADI in the R/3 side , through this one i can able to map the text fiedls , where as this time Tracking No and Goods recipient are not mapping .Any pointers for this , will really help for me .
    *See my code for BBP_ECS_PO_OUT_BADI*
    *Vendor text at line item level of SRM PO should be passed to
    *u2018Item Textu2019 at R/3 PO line item level.
      LOOP AT it_item INTO WA_PO_ITEM.
        Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = WA_PO_ITEM-guid
                                                         tDid = 'ITXT'.
        IF SY-SUBRC EQ 0.
          W_PO_ITEM_TEXT-PO_NUMBER = WA_PO_ITEM-BE_OBJECT_ID.
          W_PO_ITEM_TEXT-PO_ITEM  = WA_PO_ITEM-NUMBER_INT+5(5).
          W_PO_ITEM_TEXT-TEXT_ID   = 'F01'.
          W_PO_ITEM_TEXT-TEXT_FORM = '*'.
          W_PO_ITEM_TEXT-TEXT_LINE = WA_LONGTEXT-TDLINE.
          APPEND W_PO_ITEM_TEXT TO CT_BAPI_POITEM_TEXT.
        ENDIF.
    *Internal Note at line item level of SRM PO should be passed to
    *u2018Info record noteu2019 at line item level of R/3 PO
        Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = WA_PO_ITEM-guid
                                                           tDid = 'NOTE'.
        IF SY-SUBRC EQ 0.
          W_PO_ITEM_TEXT-PO_NUMBER = WA_PO_ITEM-BE_OBJECT_ID.
          W_PO_ITEM_TEXT-PO_ITEM  = WA_PO_ITEM-NUMBER_INT+5(5).
          W_PO_ITEM_TEXT-TEXT_ID   = 'F06'.
          W_PO_ITEM_TEXT-TEXT_FORM = '*'.
          W_PO_ITEM_TEXT-TEXT_LINE = WA_LONGTEXT-TDLINE.
          APPEND W_PO_ITEM_TEXT TO CT_BAPI_POITEM_TEXT.
        ENDIF.
      ENDLOOP.
    *Vendor Text at PO header level should be passed onto R/3 PO header text field.
      Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = IS_HEADER-GUID
                                                       tDid = 'HTXT'.
      IF SY-SUBRC EQ 0.
        WA_Header_text-PO_NUMBER = IS_HEADER-BE_OBJECT_ID.
       WA_Header_text-PO_ITEM  = WA_PO_ITEM-NUMBER_INT+5(5).
       WA_Header_text-PO_ITEM+4(1)  = '0'.
        WA_Header_text-TEXT_ID   = 'F02'.
        WA_Header_text-TEXT_FORM = '*'.
        WA_Header_text-TEXT_LINE = WA_LONGTEXT-TDLINE.
        APPEND WA_Header_text TO CT_BAPI_POHEADER_TEXT.
      ENDIF.
    *Map the Tracking No
      LOOP AT it_item INTO WA_PO_ITEM.
        Read table CT_BAPI_POITEM into WA_BAPI_ITEMS with key PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
        WA_BAPI_ITEMS-TRACKINGNO = WA_PO_ITEM-BE_TRACKING_NO.
        MODIFY TABLE CT_BAPI_POITEM FROM WA_BAPI_ITEMS TRANSPORTING trackingno.
      ENDLOOP.
    *The user id of the Partner Function u2018Goods recipientu2019 is map to
    *R/3 Goods Recipient field
      LOOP AT it_item INTO WA_PO_ITEM.
        Read table IT_PARTNER into wa_partner with key P_GUID = WA_PO_ITEM-guid
                                                       PARTNER_FCT = v_grfun.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE CHUSR
                 FROM BUT000
                 INTO v_grname
                 WHERE PARTNER_GUID = WA_PARTNER-PARTNER_NO.
          Read table CT_BAPI_POACCOUNT into WA_POACCOUNT with key PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
          WA_POACCOUNT-GR_RCPT = V_GRNAME.
          MODIFY TABLE CT_BAPI_POACCOUNT FROM WA_POACCOUNT TRANSPORTING GR_RCPT.
        ENDIF.
      ENDLOOP.
    endmethod.
    See my code BBP_PO_INBOUND_BADI
    APPEND LINES OF bbp_potextheader TO bapi_potextheader.
    APPEND LINES OF BBP_POTEXTITEM TO BAPI_POTEXTITEM.
    Evem i tried to map these traking no and good recipient fields in the R/ 3 , I have this piece of code in the Back end , But couldnt work for me.
    LOOP AT BBP_POITEM INTO WA_BBP_POITEM.
       Read table BAPI_POITEM into WA_BAPI_POITEM with key PO_ITEM =
              WA_BBP_POITEM-PO_ITEM.
       WA_BBP_POITEM-TRACKINGNO = WA_BBP_POITEM-TRACKINGNO.
      MODIFY table BAPI_POITEM FROM WA_BAPI_POITEM TRANSPORTING trackingno
       Read table BBP_POACCOUNT into wa_BBP_POACCOUNT with key PO_ITEM =
               WA_BBP_POITEM-PO_ITEM.
       wa_BAPI_POACCOUNT-GR_RCPT = wa_BBP_POACCOUNT-GR_RCPT.
       MODIFY table BAPI_POACCOUNT FROM wa_BBP_POACCOUNT TRANSPORTING
    GR_RCPT.
    ENDLOOP.
    Loop at BAPI_POITEM into wa_BAPI_POITEM.
       Read table BAPI_POITEMX into wa_BAPI_POITEMX with key PO_ITEM  =
    wa_BAPI_POITEM-PO_ITEM.
       wa_BAPI_POITEMX-TRACKINGNO = 'X'.
    MODIFY table BAPI_POITEMX FROM wa_BAPI_POITEMX TRANSPORTING TRACKINGNO
    Read table BAPI_POACCOUNTX into wa_BAPI_POACCOUNTX with key PO_ITEM  =
    wa_BAPI_POITEM-PO_ITEM.
       wa_BAPI_POACCOUNTX-GR_RCPT = 'X'.
       MODIFY table BAPI_POACCOUNTX FROM wa_BAPI_POACCOUNTX TRANSPORTING
      GR_RCPT.
    Endloop.

  • Populating a text field in a form based on selection from a list field?

    Hello,
    I'm using Acrobat 9 on a mac.
    In the list field users choose their hospital name. I then want the address associated with this hospital to populate a text field. Where do I enter the hospital addresses and the "script" (if hospital X then this address)? I've copied this list field and am using it in multiple places on the form by utilizing "global binding" and this is working well.
    Also, can the choices in a list field "drop down" or is the only option available a "click through?"
    Thanks in advance for your help!!

    hi, i've seen this problem before but can't remember what the solution was...
    but just by searching on this forum resulted in this link
    Re: Copy and Paste
    hope it helps

  • Error in migrating SharePoint 2010 list fields to Office 365 list [CSOM]

    Hi,
    I am trying to migrate a SharePoint 2010 list to Office 365. I created a new ListCreationInfo for a new list in O365. But when i am to trying add fields from SP2010 list, its giving me an error after list.update()  -
    A duplicate field name "fa564e0f-0c70-4ab9-b863-0177e6ddd247" was found.
    if (!l.Hidden)
    ListCreationInformation creationInfo = new ListCreationInformation();
    creationInfo.Title = l.Title;
    creationInfo.TemplateType = l.BaseTemplate;
    List list = web.Lists.Add(creationInfo);
    //Fields in the list
    ctxOnPrem.Load(l.Fields);
    ctxOnPrem.ExecuteQuery();
    foreach (Field f in l.Fields)
    list.Fields.AddFieldAsXml(f.SchemaXml, true, AddFieldOptions.DefaultValue); list.Update();
    Note- l is the SharePoint 2010 List.

    Answer given on StackExchange -
    http://sharepoint.stackexchange.com/questions/128875/error-in-migrating-sharepoint-2010-list-fields-to-office-365-list-csom/129015#129015
    Thanks,
    Thomas

  • Data in dropdown list field are empty in PDF form

    Hi all.
    Viewing a pdf form created with SAP interactive Forms offline method, the data in the dropdown list field are empty.
    The data in the dropdown list field are generated by xml file produced by an abap report.
    The problem occurs opening the form with Adobe Reader 8.1 or higher. Using Adobe Reader release 7.0.9 everything is ok.
    Do you have any suggestion?
    Thanks in advanced.
    Best Regards.
    Moreno

    Hi Otto,
    the only release of Adobe Reader that work is 7.0.9. Release 8.1 and 9 have the same problem where the data in the dropdown list field are empty.
    At the end of the trace file in Adobe Reader 9.0.3 I find this error message:
    "Invalid version: The current version of the XFA template model exceeds the capability of Acrobat / Adobe Reader 7.0.5."
    The form has been created using Adobe Lifecycle Design 7.1.
    Any idea?
    Thanks
    Moreno

  • Need your assistance in mapping Structure and Field in DME Tree

    Hello Friends - I need your help in "Mapping from structure field" in DME.
    In the existing format tree, It is mapped Structure as "FPAYP" and Field name "BNAME" to populate Company Code name in the Payment file.
    Now I am asked to change this to populate value either from OX02 or OX15.
    When Company Code name was maintained, It was maintained in short and in the address tab, Full name is maintained.
    Please let me know which Structue and Field I should assign to pull the value either from OX02 or OX15.
    Thanks for your help.

    Thanks a lot Henri/Lakshmi.
    I have maintained mapping procedure Sturecture/field - FPAYHX/AUST1 to get the CoCd name in the file. In AUST1, Length of the CoCd is more  than 18, and as per Bank format, It should be 18 characters in length.
    User is not happy that complete CoCd name is not populated in the file. He has come up with an alternative and shortened the CoCd name that needs to be populated in the file and suggested us to get the value into the payment file. We should not replace CoCd name with the name he suggested in OX02/OX15,FBZP.
    My doubt is that if there is any filed I can use to maintain the name he suggested and assign it in mapping procedure.
    Thanks

  • How to map user-defined fields in XML communication on SRM site

    Hi All!
    We use the External sourcing scenario and we transfer requirements from ERP  in SRM through XI (PurchaseRequestERPSourcingRequest_In)
    We should transfer the user-defined fields, but we can not map it in SRM site.
    We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
    I see the XML message with ours z-fields in tr.  SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
    We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
    Someone can tell how to map user-defined field for SC?
    Thanks in advance
    Evgeny Ilchenko

    Hello, Julia
    We have found solution our problem
    We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
    But In our new interfaces were different  XML namespaces
    When we have correct an error we could use the next BADI
    on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
    on SRM site: /SAPSRM/BD_SOA_MAPPING
    BR,
    Evgeny

  • How to map idoc segment field E1IDB02-FIIKONTO with BSEG-ESRNR.

    Hi,
    I have searched for lot of threads in the forum , and also i tried myself but i am not able to map this fields segment with my logic, so please anyone kindly contribute in mapping idoc segment field  with the logic given below:
    idoc type :PAYEXT  outbound idoc.
    message type: PEXR2002
    This is my logic: i need to populate the ISR number(BSEG-ESRNR  ) in idoc segment field( E1IDB02-FIIKONTO)
    DATA : str1 TYPE string,
          len1  TYPE i,
          len2  TYPE i,
          str2  TYPE string,
          str3  TYPE string.
    str1 = '01-1234-4'. ---> BSEG-ESRNR  "ISR Subscriber Number
    REPLACE FIRST OCCURRENCE OF '-' IN str1 WITH '_'.
    REPLACE ALL OCCURRENCES OF  '-' IN str1 WITH space.
    CONDENSE str1.
    len1 = STRLEN( str1 ).
    IF len1 LT '9'.
    len2 = '9' - len1.
    CASE len2.
       WHEN '1'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '00'.
       WHEN '2'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000'.
       WHEN '3'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0000'.
       WHEN '4'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000000'.
       WHEN OTHERS.
    ENDCASE.
    ELSEIF len1 EQ '9'.
    REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0'.
    ELSEIF len1 GT '9'.
    REPLACE ALL OCCURRENCES OF '_' IN str1 WITH space.
    CONDENSE str1.
    ENDIF.
    Thanks in Advance.

    Resolved.

  • Convert Word 2007 Form to PDF Form not creating dropdown list fields

    I created a new word document with all my text fields with lines and 5 dropdown list fields with all their values.  Works great in Word 2007.  When I convert it to a pdf form (Acrobat Pro X) none of the dropdown list fields get created.  The text fields do, but no drop downs.  If I have to create them all manually in Acrobat, what's the point of doing all the work in Word?

    The Word conversion to PDF and Forms Wizard do not detect and do not know how to complete a drop down box. I do not even create the form fields in Word as there is no transfer to the PDF. I also find the Wizard lacking in proper naming and grouping. It is just easier and more efficient to add the fields manually or with JavaScript tools.
    The only product that can do this is apache OpenOffice when an author creates the from body and form fields in the Writer application and then exports to a PDF.

  • In SharePoint Calendar lists, fields [Start Time] and [End Time] do not exist at the Site Column level.

    <header style="box-sizing:border-box;color:#777777;line-height:1;font-size:13px;padding-right:46px;margin-bottom:3px;font-family:'Helvetica Neue', arial, sans-serif;">
    </header>
    I'm doing SP app development and have the following problem.
    I need to check Start time and End Time in SharePoint Calendar using CAML query and then add a new event to Calendar list using the Start time and End Time that user has entered in 2 datapickers
    in the form.
    function AddCalendarListItems() {
    var SD = document.getElementById("datepicker1").value;
    var SThh = document.getElementById("St1").value;
    var STmm = document.getElementById("St2").value;
    var ED = document.getElementById("datepicker2").value;
    var EThh = document.getElementById("Et1").value;
    var ETmm = document.getElementById("Et2").value;
    var T = document.getElementById("Title").value;
    var S1 = SThh;
    SD = SD.slice(6, 10) + "-" + SD.slice(0, 2) + "-" + SD.slice(3, 5) + "T" + SThh + STmm + ":00Z";
    ED = ED.slice(6, 10) + "-" + ED.slice(0, 2) + "-" + ED.slice(3, 5) + "T" + EThh + ETmm + ":00Z";
    //alert("SD= " + SD + " , ED= " + ED);
    var siteUrl = SiteCollurl + "/SharePointApp11";
    var clientContext = new SP.ClientContext(siteUrl);
    var oList = clientContext.get_web().get_lists().getByTitle('Calendar');
    var ListItemCInfo = new SP.ListItemCreationInformation();
    var newEvent = oList.addItem(ListItemCInfo);
    newEvent.set_item("Title", T);
    newEvent.set_item("EventDate", SD);
    newEvent.set_item("EndDate", ED);
    newEvent.update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQueryAddCalendarSucceeded2), Function.createDelegate(this, this.onQueryAddCalendarFailed2));
    function onQueryAddCalendarSucceeded2(sender, args) {
    alert("Success");
    function onQueryAddCalendarFailed2(sender, args) {
    alert('Add new item to the calendar failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    But I receive the following error:
    Add new item to the Calendar failed. Column 'Start time' does not exist. It may have been deleted by another user.
    I've checked and 'Start time' does exist. So it seems in SharePoint Calendar lists, field [Start Time] and [End Time]  exist but do not exist at the Site Column level.
    Please advise.

    Hi Khojasteh,
    Use “EventDate” for Start Time field, and “EndDate” for End Time field. They are the internal name of the two fields, you can check it in the column settings page url like “Field=EndDate”.
    If it isn’t the issue, please debug the code, in which line the error occurs.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

Maybe you are looking for