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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Outbound Idoc Segment Creation via BD52 trigger

    hi all,
    i am new to Idocs so please forgive me if i am missing the obvious.   i am using standard the material master Idoc type MATMAS05 to transmit any material master changes to an existing legacy system.   i set up some fields in BD52 to trigger an Idoc when they are changed.   the problem is when i change a field in the MARC segment (ie: MARC-PRCTR - Profic Center) 3 segments are generated (E1MARAM, E1MAKTM, EIMARCM), but when i change something in the MARA segment (ie: MARA-PRDHA - Product Hierarchy) only E1MARAM and E1MAKTM are sent.  
    the receiver is set up for all three Idoc segments so when only 2 are sent it errors out.   how can i force all 3 segments to send every time?
    many thanks.
    James Hinkin

    Hi, I think you must be running the program RBDMIDOC to send an IDoc based on the change pointers.
    SAP has designed such a way that it will create IDocs only with changed data. In other words, E1MARAM is always populated as it is header data. Its obvious that you dont want to send the data that is not changed. Hence if you are changing Product hierarchy, only relevent segments are populated with values.
    If you still want to send all the data irrespective of whether those fields are changed or not, either you may have to code in a user-exit to populate these fields(segments) or, change the program accordingly.
    Hope this helps you and let me know if you need further help
    Vamsi

  • Profitability segment creation problem

    Hi,
    we have not defined order as a segment level charecteristic, but it is still creating new segment number for every service order settlement, is there any place where i need to maintain settings to avoid creaation of new profitability segment for every settlement.(all charecteristics of a segment are same in every settlement except order number which is not maintained as a segment level charecteristic) but my system is still taking the order number into consideration and creating new proftability segment for every new order. is there any way to fix this issue.

    Hi,
    please check that you have'nt included the following Characteristics as Profitability segment characteristics:
    KSTRG         Cost Object
    RKAUFNR         Order
    Regards

  • Creation of a Marketing Profile Set based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset thru the WebUI Segment Builder

    Objective: Creation of a Marketing Profile Set based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset thru the WebUI Segment Builder.
    Problems: Standard CRM_MKTTG_BP_BIRTHDATE Infoset DOES NEVER RETURN ANY RESULTS on the segmentation builder of the WebUI client (no matter the filter you specify).
    Other cases:  However if we create a new Data source with data "Extraction from Query" (transaction RS02) based on this standard CRM_MKTTG_BP_BIRTHDATE Infoset and we test the functionality using transaction RSA3, IT DOES RETURN RESULTS (using the same filters as in the segmentation builder)! Of course the segmentation builder works with other attribute lists.
    NEW: IF WE DON’T ESPECIFY ANY SEGMENTATION BASE IN THE PROFILE GROUP, IT DOES RETURN RESULTS!!! (GO TO THE END OF THE DOCUMENT FOR DETAILS)
    Steps followed:
    Review Standard Infoset CRM_MKTTG_BP_BIRTHDATE (Transaction SQ02).Review Data Reading Program code: do we have to change the standard code? We have only remove the "BREAK-POINT" statement.
    Creation of a Data source based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset (Transaction CRMD_MKTDS).
    Creation of an Attribute List based on that standard Data source and selection the Birth date as a filter in the Attribute list (Transaction CRMD_MKTDS).
    On the segment builder of the WebUI set any filter (Example: “TODAY”).
    Steps in detail:
    Review Standard Infoset CRM_MKTTG_BP_BIRTHDATE
    SQ02.
    (Image deleted)
    Review Data Reading Program code (Code attached)
    (Image deleted)
    Creation of a Data source based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset
    Data source: Transaction: SPRO – Customer Relationship Management - Marketing – Segmentation - Maintain Data Sources and Attribute Lists: CRMD_MKTDS
    Create Data Source
    (Image deleted)
    Infoset: CRM_MKTTG_BP_BIRTHDATE.
    Business Partner Field: CRMT_MKTTG_IS_BIRTHDATE-PARTNER_GUID
    (Image deleted)
    Result:
    (Image deleted)
    Attribute List
    Creation of the Attribute List
    (Image deleted)
    Assign Data Source:
    (Image deleted)
    Selection of the Birth date as a filter in the Attribute list:
    (Image deleted)
    Result:
    (Image deleted)
    Segment builder of the WebUI:
    Access to WebUI with marketing role.
    Create Segment:
    Creation of Profile Set
    Graphical modeler
    Create Filter: We have already tried many different filters (we already seen notes referring to this matter).
    Example1: “today”
    Count target group. Here I would like to stand out that once you click on the “Count” option, immediately it shows 0 results. In other words, it doesn’t process any information. With other attribute lists it takes some time to process, no matter the filter or the attribute list you use. However if we create a new Data source with data "Extraction from Query" (transaction RS02) based on this standard CRM_MKTTG_BP_BIRTHDATE Infoset and we test the functionality using transaction RSA3, IT DOES RETURN RESULTS (with “today” filter and other)! So it seems that the problem has to do with the segment builder, not the Infoset.
    Result: it never return any results no matter the filter you specify.
    Other cases:
    Creation of a new Data source with data "Extraction from Query" where you enter the name of your new query
    Creation of a Data source based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset
    Standard Infoset CRM_MKTTG_BP_BIRTHDATE:
    We fill the form and select “Extraction from Query”:
    Press SAVE and define which fields will be available for selection and which of them will be visible.
    RSA3: Extractor checker in order to test the Data source:
    We specify the Data source:
    IT DOES RETURN RESULTS:
    ALV Grid:
    NEW: It seems that it has to do with the Segmentation Basis selected in the creation of a Profile Set, because if we do not select any, it does return results. But we need to create this Profile Set based on a particular Segmentation Basis called BS Usuarios Registrados.
    Segment builder – Profile Set of the WebUISegmentation Basis: we leave it in blanc.
    Graphical modeler
    Create Filter: We have already tried many different filters (we already seen notes referring to this matter).
    Example1: “today”
    Count target group.
    Result: IT DOES RETURN RESULTS!!! àConclusion: the problem is the Segmentation Basis
    Define Segmentation Basis:
    Transaction: SPRO – Customer Relationship Management - Marketing – Segmentation – Classic Segmentation - Define Segmentation Basis.BS Usuarios Registrados:
    Define Reports for Creating Segmentation Bases
    Transaction: SPRO – Customer Relationship Management - Marketing – Segmentation – Classic Segmentation - Define Reports for Creating Segmentation BasesZMK_UTL_MGR_SITES_UREG
    Define Usage for Segments:
    Transacción: SPRO – Customer Relationship Management - Marketing – Segmentation – General Settings - Define Usage for Segments.ZBS_UR à02 Segmentatión Basis
    Attribute List:Category:
    There is no Category 02 Segmentatión Basis!!! Why?? Why is not posible to select Category 02 Segmentation Basis in the creation of the Attribute List???
    Usage ID
    NEW: It seems that it has to do with the Segmentation Basis selected in the creation of a Profile Set, because if we do not select any, it does return results. But we need to create this Profile Set based on a particular Segmentation Basis called BS Usuarios Registrados. Why is not posible to select Category 02 Segmentation Basis in the creation of the Attribute List???

    It seems that the standard Infoset doesn’t work by itself with Segmentation Basis. Two SAP notes have been applied and a new Field Group has been added to the Infoset (in order to distint the Segmentation Base).
    CRMT_MKTTG_IS_BIRTHDATE-MGRGUID
    1966298: MGR_GUID is not populated correctly to infoset read program
    2007687:Segmentation InfoSet queries saved with incorrect Master Group
    For that reason we had to create a new Infoset based on the standard CRMT_MKTTG_IS_BIRTHDATE, but adding this new Field MGRGUID to the Group Fields.
    Issue solved

  • Creation of a billing document from an idoc

    Dear all,
    I'd want to find a soulution for the following scenario:
    The need is to create automatically an accompany invoice when a good issue is posted.
    I think that a possible solution should be:
    -an output type linked to the delivery document (generated when the good issue is posted)
    -the idoc generate the billing document
    Is this scenario possible?If yes which is the kind of idoc (INVOIC02?) and the parameters to be used in order to create the billing documents? (Ale settings, for example BD64 ecc..) 
    Best Regards
    Many Thanks
    Angelo Gaiatto

    Hi,
    There is a simple solution provided by SAP to trigger the BILLING DOCUMENTS for Deliveries
    This is a standard process
    Setup a Job in SM36 for the program SDBILLDL and it will pick all the delivery document which are open on that particular Billing date
    and process the Billing documents
    Alternatively you can also create the IDOC to trigger the BILLING DOCUMENTS
    For which you need to setup the PARTNER PROFILES, MESSAGE TYPES, PORT, RFC DESTINATION, SEGMENT CREATION,
    But i would suggest you to go with the standard program to create the Billing documents
    regards,
    santosh

Maybe you are looking for

  • Can not add a picture to the JFrame from an ActionListener class

    As topic says, I can not add a picture to the JFrame from an ActionListener class which is a class inside the JFrame class. I have a Map.java class where I load an image with ImageIcon chosen with JFileChooser. I my window class (main class), I have

  • Partial data clear in ASO possible for multiple tuples?

    Hi, I am trying to do a partial data clear in an ASO cube. I need to clear FY12->Oct & FY13->Nov (consecutive periods). Here's what I tried: +alter database 'GL_TXT'.'GL_TXT' clear data in region '{([FY12],[Oct]),([FY13],[Nov])}' physical;+ No error

  • Data warehouse Admin Console - MySQL Physical Data Source

    We have some tables on a MySQL database that we'd like to include in our ETL process. The data is to be loaded into our Oracle 11g R1 data warehouse after the transformations are completed. Everything works with the exception of adding a physical dat

  • Can I change the default "Save As" options?

    When I have finished a document and press "Save As"  the defalt is the Template name and the Folder is "My Templates" so i often end up saving a document as a template - very annoying?  Is there anyway I can change the setting so that the default fol

  • ALC-WKS-007-027 error - java.lang.ClassCastException

    Hi I've seen a few references to this error on the forums but I have encountered a variation that does not appear to be covered. When I try invoking a process from workspace I get the error dialog showing the ALC-WKS-007-027 error and when I look at