Segment Creation in Mapping

Hi All,
I have used a few conditions to create the node in the mapping.
But I dont know how do we come to whether the node is created or not after executing the mapping.
I wnat to know how do we come to know whether a segment or node is created or not after mapping?
Thanks in advance.

Dear Swetha,
Please go through the below link:
suppress replaced the empty strings.
Standard Functions :
http://help.sap.com/saphelp_tm60/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
Thanks,
Satya Kumar

Similar Messages

  • Segment creation

    for one idoc i have to create 4 segments wether i have to create segments seperately one by one i.e by going to we31 for each segment?

    HI ,
    Yes You need to create segment separetely and attach all segments to the IDOC .
    Segment creation steps :
    -     Go to T. Code WE31
    -     Give segment name as <Z....>
    -     Enter Short Text
    -     Enter the Field Name and Data Element in the text boxes
    -     Save, continue,
    -     Click on Edit -> Set Release.
    Reward if useful
    Thanks
    Jagadeesh.G
    Edited by: Jagadeshwar Gollapelly on Apr 16, 2008 2:37 PM

  • Deferred segment creation

    hi guys,
    http://tkyte.blogspot.com/2011/02/deferred-segment-creation.html
    according to tom, in 11g, it will not be the same when
    SQL> select * from v$version
      2  ;
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL> show parameter deferred
    NAME                                 TYPE        VALUE
    deferred_segment_creation            boolean     TRUE
    SQL>
    SQL> create user a identified by a default tablespace users;
    User created.
    SQL> grant create session, create table to a;
    Grant succeeded.
    SQL> connect a/a
    Connected.
    SQL>
    SQL>
    SQL> create table t ( x int primary key );
    create table t ( x int primary key )
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'which is the same as
    SQL> create user a identified by a default tablespace users;
    User created.
    SQL> grant create session, create table to a;
    Grant succeeded.
    SQL> disco
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    SQL>
    SQL>
    SQL> connect a/a
    Connected.
    SQL> create table t ( x int primary key );
    create table t ( x int primary key )
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'

    Anand.. wrote:
    Hi,
    I did the same on 11.2.0.2.0 version and it worked for me -
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL>  create user test_deferred identified by test;
    User created.
    SQL> grant create session, create table to test_deferred;
    Grant succeeded.
    SQL> show parameter deferred
    NAME                                 TYPE        VALUE
    deferred_segment_creation            boolean     TRUE
    SQL> conn test_deferred/test
    Connected.
    SQL> create table t(a number);
    Table created.
    SQL>  select segment_name from user_segments;
    no rows selected
    SQL>  select table_name from user_tables;
    TABLE_NAME
    TAnandtks Anand, guess is what aman mention, some patchset not appply or something else.

  • Issue in segment creation for File to IDOC mapping

    Hi,
    I have file with many feilds, i need to create a segment in IDOC for unique combination of 2 feilds.
    eg:
    408
    430050
    segment
    208
    430050
    segment
    208
    430050
    208
    460100
    segment
    208
    452010
    segment
    408
    432000
    segment
    208
    432000
    segment
    the value for the combination of first column and 2nd column are equal it should trigger one segment instead of 2segments else(for different combination) trigger the segment
    eg from table:
    in table for 208,430050 is occuring twice but it should trigger only one segment(unique combinations of 2 columns), for all other combinations it should trigger one segment for each.

    Hi Swapna,
    You can use below mapping.
    UDF:
    Execution type : All Values Of Context
    public void removeDuplicates(String[] context, ResultList result, Container container) throws StreamTransformationException{
    HashSet<String> hashSet = new HashSet<String>();      
            for (int i = 0; i < context.length; i++) {
                if (hashSet.add(context[i]))
                   result.addValue(context[i]);             
                else {
                   result.addSuppress();              
    Reards,
    Praveen.

  • Segment creation problem

    I have a File to IDoc scenario. The IDoc imported has a particular segment E1EDPAD occuring only once in the structure. I have PRI and QUALF in that segment. For a particular source field X, I need to send the value of QUALF as 3 and then the value of X to PRI.  For another source field Y, I need to send the value of QUALF as 7 and then the value of Y to PRI.
    The problem is the source IDoc has one occurence of segment E1EDPAD. How do I add a segment the second time in Idoc with the respective values?
    The QUALF values are always hard coded. The other values,X and Y change

    Hi Madhav,
    If I create duplicate subtree option, will it change the structure in the IDoc that I have imported? Will this work at runtime?
    --Ideally it will not change the structure, But it serves your mapping rquirement.
    Yes, It will work at runtime.
    Also what will happen if the value that I created do not come in the source file? Both X and Y are mandatory fields
    -- If the the source fields are mandatory it is senders responsibility to send the fields. If you need to avoid error when the fields are not coming then you can use exist func to create the segment.
    Regards,
    Sudha

  • Segment Creation based on a value in Source file

    Hi friends
    Guide me in this problem :
    i have a file to idoc scenario in which the idoc has this structure:
    this is one condition which i want to achieve
    i dont want to create the segment E1WPU03 if Diff_price in source file is 0
    Thanks

    Hi,
    input Difference price & constant value(0)->equals functions->not function->createif function-> map it to target E1WPU03 segment.
    Thnx
    Chirag
    Edited by: Chirag Gohil on Feb 28, 2008 5:33 PM

  • Remove segment in Message Mapping

    Hello,
    I am sending the ORDRSP.ORDERS05 to an external message ORDERS05 which is based on the
    same structure as the ORDERS05.
    However I should not be sending all E1EDP01 segments. If the item belongs to a higher level item, then it should not be sent. If the item belongs to a higher level item then the field E1EDP01-UEPOS exists and has a value. In that case I should not transfer the E1EDP01 segment.
    See example for what I mean. This would be the source message:
    - <E1EDP01 SEGMENT="1">
      <POSEX>000010</POSEX>
      <ACTION>000</ACTION>
      <MENGE>1.000</MENGE>
      <MENEE>PCE</MENEE>
      <PMENE>PCE</PMENE>
    - <E1EDP01 SEGMENT="1">
      <POSEX>000020</POSEX>
      <ACTION>000</ACTION>
      <MENGE>1.000</MENGE>
      <MENEE>PCE</MENEE>
      <PMENE>PCE</PMENE>
      <UEPOS>000010</UEPOS>
    - <E1EDP01 SEGMENT="1">
      <POSEX>000030</POSEX>
      <ACTION>000</ACTION>
      <MENGE>1.000</MENGE>
      <MENEE>PCE</MENEE>
      <PMENE>PCE</PMENE>
      <UEPOS>000010</UEPOS>
    This first item is the header item and does not contain the field UEPOS.
    The next two items belongs to item 000010 and should not be sent.
    In this case only the POSEX 000010 should be sent.
    The target message should then look like this:
    <E1EDP01 SEGMENT="1">
      <POSEX>000010</POSEX>
      <ACTION>000</ACTION>
      <MENGE>1.000</MENGE>
      <MENEE>PCE</MENEE>
      <PMENE>PCE</PMENE>
    I think this should be possible with the standard functions in Message Mapping, and I have been playing around with CREATEIF and EXISTS, but have had no success. Anybody has any idea what to do?
    Regards,
    Per Rune

    Hi Per,
    If I understood correctly ,Do like this and let us know.
    UEPOS---> Exists -----------> 
                                                and------>Not------->  IfWithoutElse --> E1EDP01----->E1EDP01
    UEPOS-> Equals -> POSEX
    Thanks!

  • BAPI with RFC enables creation and mapping required settings

    Dear Experts,
    My client is having their old legacy system in .Net .
    Now their requirement is whenever they will create Vendor in their system that created vendor entry should be created automatically in SAP.
    I dont know about BAPI and RFC and how it will work.
    I will try to go up to the creation of BAPI with RFC enabled.
    But to map their requirement what Steps and Setting need to be done in SAP as well as in their Legacy system (.Net).
    Please guide me to solve the issue.
    Regards,
    Sanket.

    closed

  • Idm-Vaau Rbac role creations and mapping

    Hi All,
    I'm working on the integration between Idm and Vaau's Rbacx (role based access control) tool for role creation and provisioning...I've imported the spml.xml and SPMLGetObjectsform.xml into Idm for the SPML calls between Rbacx and Idm.
    The challenge I'm facing is mapping the attributes of Rbacx roles to enable the attributes to be populated in Idm...I'm able to export roles into Idm, but they are not populating with any attributes eg. resource type, resource attribute etc. I'm uncertain as to where I have to map these properties and do any customization for this to work. I would appreciate if anyone who has worked on this or know how to do this, to pls give me some pointers/share your experience. I don't have any documentation to refer to and am doing everything on trial and error basis.
    Any help is greatly appreciated!
    Thank you.

    Hi newbie,
    Were you able to solve this issue? I am facing the same problem while assigning resource attributes for a created role using a custom workflow.
    This is where I set the resource attributes in my workflow:
    <Action id='1'>
    <expression>
         <block trace='true'>
         <set><ref>role</ref><s>assignedResources[AD].attributes[AD Groups].valueType</s><ref>ADGroupsValueType</ref></set>
         <set><ref>role</ref><s>assignedResources[AD].attributes[AD Groups].requirement</s><ref>ADGroupsRequirement</ref></set>
         <append><ref>role</ref><s>assignedResources[AD].attributes[AD Groups].value</s><ref>ADGroupsValue</ref></append>
         </block>
    </expression>
    </Action>
    where <ref>ADGroupsValue</ref> contains the attribute value.
    thanks,
    Lokesh

  • Rollback segment  creation problem

    When i try to create rollback segment on oracle 9iRelease2 database in linux operating system, i got the following error, ORA-30019: Illegal rollback Segment operation in Automatic Undo mode.
    I have already modified Undo_management as manual in init file.
    How can i solve this problem?
    Thanks

    In SQL*Plus, can you check what your undo_management is set to, just to verify that it is picking up the change?
    show parameter undo_managementJustin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • Issue with IDOC segment creation..

    hi,
    i created an idoc  segment thru we31. when i was saving it, and when the transport request was asked, i cancelled it. it so happend that the underlying structure was created (i was able to see that in se11) but in we31, the segment definition did not appear and i got the message "segment does not exist yet".
    so in se11, i deleted the associated structure and tried to recreate the segment, i am not able to !! while saving, i get the error "you do not have authorization for delete for function idoc segment"
    when i performed a segment check (ctrl + F1), i got the message,
    Repository structure missing for segment ZZZ                                                                                |
    Inconsistent overall length in segment version 000
    Segment version 000 not released
    Entries exist in table of Segments for segment ZZZ
    Entries exist in table of Segment definitions for segment ZZZ
    Entries exist in table of Segment structures for segment ZZZ
           |   Segment ZZZ is inconsistent                             
    what shud i do ?
    thks

    resolved. seems some authorization was missing. thks

  • Segment creation for outbound Idocs to non-SAP system

    Hi,
    I need to create a custom idoc for outbound interface to a non-SAP system. Here I need to create segments. So, should I create the fields in the segment with the attributes of fields in non-SAP system or fields attributes should be of SAP system.
    For example:
    There is a field invoice number which is of 10 Chars in SAP but in legacy it is divided into 2 fields: invoice prefix of 2 chars and invoice no. of 8 chars. Should my segment contain one invoice field of 10 chars or should it be two fields with 2 and 8 chars?
    In general, always should the segment fields contain field attributes based on receiving system?
    Thanks in advance.
    Sriram.

    Hi
    Should my segment contain one invoice field of 10 chars or should it be two fields with 2 and 8 chars?
    I think it shoild be better to have 2 fields, but probably the result will be the same if you send the idoc by a text file, because both informations should be contiguos, I mean if you have file with a record like this:
    1234567890
    This record can be obtained downloading a segment with 2 fields:
    FIELD1 = '12'
    FIELD2 = '34567890'.
    or single field:
    FIELD = '1234567890'.
    So it'll be the same for tje target system
    In general, always should the segment fields contain field attributes based on receiving system?
    It depends on who has to convert the idoc to the right format for the target system
    I mean you can create a "SAP" Idoc, so the receiving system will have to convert it to the right format
    or
    you can send the idoc in the right format, so the receiving system doesn't need to convert it
    Max

  • Sort Segments data before Mapping?

    Hey all,
    I'm working on an 856 EDI with this structure:
    - E1EDL37   [Pack Level]
    - - E1EDL44 [Item Level (many details for every pack) 
    In this structure i have a code that determinates a message split for every unique code, everything looks ok, but, when i get an order like this:
    E1EDL37-EXIDV2: "1132"
    E1EDL37-EXIDV2: "2138"
    E1EDL37-EXIDV2: "3319"
    E1EDL37-EXIDV2: "1132" <-- repeated and not in order
    - I can't sort the item levels correctly [EDL44]
    - I only sort correctly the EDL37 order (since i'm mapping within "VHILM_KU" which is a customer material code, i sort the structure like this:
    EXIDV2       ===> 
    VHILM_KU  ===>  SortByKey ===>SplitByV [Each] => "HP" 
    But when i need to map the item level i don't know how to sort it (I need to map E1EDL44-MATNR, POSNR, CHARG, etc), since i can't use the E1EDL37-EXIDV2 as key since this belong to other other queue
    Example:
    E1EDL37 [EXIDV2 => 1132]
    E1EDL44-POSNR = 1
    E1EDL37 [EXIDV2 => 2138]
    E1EDL44-POSNR = 2
    E1EDL44-POSNR = 3
    E1EDL37 [EXIDV2 => 1132]
    E1EDL44-POSNR = 4
    I would need to sort it and then map like this:
    E1EDL37 [EXIDV2 => 1132]
    E1EDL44-POSNR = 1
    E1EDL37 [EXIDV2 => 1132]
    E1EDL44-POSNR = 4
    E1EDL37 [EXIDV2 => 2138]
    E1EDL44-POSNR = 2
    E1EDL44-POSNR = 3
    My map is like this:
    E1EDL37 ---> . "G_HI" [0.unbounded]
                             . "HP" [0.unbounded
                            [ with the sort i mentioned, and pack data]
    E1EDL44  -
    > . "HI"  [0.unbounded] [Item level data within]
    Any ideas?
    Thanks!

    Refer following link to have some idea on Advance UDF.
    difference between Simple and Advance UDF
    Advanced UDF
    When you create new UDF with type "Queue", all the input would be available as array inside UDF.
    Than you can loop around that element.
    f.e.
    for (int i = 0 ; i < Input.length;i++)
    // Write your sort logic here , search on google and you would find many sorting algo in Java.
    // Add sorted element in result.
    result.addValue (SortedElement);
    Thanks & Regards,
    Dijesh Tanna.

  • Prob in Second Segment creation

    Hi All,
    1. when I am trying to create custom segments.. for one of the infotype its execeding the length of 1000.. so I though of dividing the segment into 2 S1 and S2. when I try to execute using RBDMIDOC.. I can see the S1 with data.. but I could not able to see S2(segment second).
    IDoc
      I-> S1
             I-> S2
    S2 is the chield for S1..

    Hello ,
    Check the release status and other required attributes for this second segment .
    thanks,
    M.Naveen kumar.

  • Changing filed name description - idoc segment creation/change

    HI,
    is it possible to change the fieldname description in an IDoc Segment without changing the DataElement ?
    Exampel:
    I Used CHAR40 as dataelement for my own ZZFIELD. In the Idoc the fieldname description of the data element CHAR40 is shown.
    Can i change this description ?
    thx,
    Gordon

    No, The IDOC always displays the texts based on the Data Element which is assigned to that field. If you want to display your own text you have two options:
    1. Create an enhancement and change the text of the data element which is not recopmmended because it will be changed wherever that data element is used.
    2. Instead just create an own data element where you can maintain any texts you need.
    Hope that helps,
    Michael

Maybe you are looking for