Creating Parent Segment

Hi,
  I need to send the Parent segment when child segment exists. How to achive
this.
My source is
SSG12
--SSG17
   Here when SSG17 exists then I need to send SSG12 to idoc Segment
E1EDP10 (Target).  In if condition I am getting the context problem, All SSG12
segment which were having SSG17 not passing.
regads,
Ansar.

HI,
See if you are using exists then it will give either true or false output. On the basis of true and false you will generate ur parent segment.
I think this should work for your case.
Thanks and Regards,
Chirag Gohil.

Similar Messages

  • Creating IDOC segments

    currently we have custom program that  is creating IDOC segments.
    Please provide some documentation or step by step process to create segments in IDOC type.
    Thanks,
    Tanya

    Hi Tanya,
    It is very difficult to list all the steps here. I am trying to briefly explain the steps:
    TO CREATE IDOC WE NEED TO FOLLOW THESE STEPS:
       1. CREATE SEGMENT (WE31),
       2. CREATE IDOC TYPE (WE30),
       3. CREATE MESSAGE TYPE (WE81) AND
       4. ASSIGN IDOC TYPE TO MESSAGE TYPE (WE82).
    CREATING A SEGMENT
       1. GO TO WE31.
       2. ENTER THE NAME FOR THE SEGMENT AND CLICK ON THE CREATE ICON.
       3. TYPE THE SHORT TEXT.
       4. ENTER THE VARIABLES AND DATA ELEMENTS.
       5. SAVE IT AND GO BACK.
       6. GO TO EDIT -> SET RELEASE.
       7. FOLLOW STEPS TO CREATE MORE NUMBER OF SEGMENTS.
    CREATE IDOC TYPE
       1. GO TO WE30.
       2. ENTER THE OBJECT NAME; SELECT BASIC TYPE AND CLICK CREATE ICON.
       3. SELECT THE CREATE NEW OPTION AND ENTER A DESCRIPTION FOR BASIC IDOC TYPE AND PRESS ENTER.
       4. SELECT THE IDOC NAME AND PRESS ENTER.
       5. THE SYSTEM PROMPTS TO ENTER A SEGMENT TYPE AND ITS ATTRIBUTES.
       6. CHOOSE THE APPROPRIATE VALUES AND PRESS u2018ENTERu2019.
       7. THE SYSTEM TRANSFERS THE NAME OF THE SEGMENT TYPE TO THE IDOC EDITOR.
    CREATION OF IDOC TYPE
       1. FOLLOW THESE STEPS TO ADD MORE NUMBER OF SEGMENTS TO PARENT OR AS PARENT-CHILD RELATION.
       2. SAVE IT AND GO BACK.
       3. GO TO EDIT -> SET RELEASE.
    CREATE MESSAGE TYPE
       1. GO TO WE81.
       2. CHANGE THE DETAILS FROM DISPLAY MODE TO CHANGE MODE.
       3. AFTER SELECTION, THE SYSTEM WILL GIVE THIS MESSAGE u201CTHE TABLE IS CROSS-CLIENT (SEE HELP FOR FURTHER INFO)u201D. PRESS ENTER.
       4. CLICK NEW ENTRIES TO CREATE NEW MESSAGE TYPE.
       5. FILL DETAILS.
       6. SAVE IT AND GO BACK.
    ASSIGN MESSAGE TYPE TO IDOC TYPE
       1. GO TO WE82.
       2. CHANGE THE DETAILS FROM DISPLAY MODE TO CHANGE MODE.
       3. AFTER SELECTION, THE SYSTEM WILL GIVE THIS MESSAGE u201CTHE TABLE IS CROSS-CLIENT (SEE HELP FOR FURTHER INFO)u201D. PRESS ENTER.
       4. CLICK NEW ENTRIES TO CREATE NEW MESSAGE TYPE.
       5. FILL DETAILS.
       6. SAVE IT AND GO BACK.
    Please let me know if you require any further information
    Rgds,
    Harmees

  • Problem creating parent child relatioship in derby database

    hi.i m trying to develop a code that can access two tables using derby database.The data in the tables should go from the JTable of GUI which i have prepared.To read both table's properties i m using two different instances of java.util.Properties.using InputStream i m reading the properties and then i try to create the tables.The parent table is created but the child table is never created.Also i m able to insert as well as fetch the data from parent table but the child table,as not created throws Derby's error messages.
    I need help in this matter.
    Could anybody give suggestions?

    The problem in creating a child table is that i m using two different .property files for two tables,one for parent and one for child table.I perform all the steps similar to those i performed to create parent table.But i dont know,somehow it creates only parent table and all the time when i run the code the error message for the child table comes that the table does not exist.

  • How to create Parent Child relationship of Assets

    Hi All
    can any one provide the solution for the below mention requirment.
    Problem Description: How to create Parent Child relationship of Assets in below case.
    1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
    2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
    3. If asset Category of Child assets are same for new assets.

    Hi All
    can any one provide the solution for the below mention requirment.
    Problem Description: How to create Parent Child relationship of Assets in below case.
    1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
    2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
    3. If asset Category of Child assets are same for new assets.

  • How to create parent and chile process in java

    i'm beginning in java, and i want to ask something, please help me...
    1. i want to ask how to create parent and child process in java???
    example :
    if have one window and explore menu, when i click the explore menu.
    new window come out.
    how if i close the parent window the child window will close too...
    2. what is the method from runtime class to get available memory and Active Threads count

    ONE way to do what you wanted is this.
    class Parent{
    Child c = new Child
    allChildren.add(c);
    //if close
    iterate through list
    (Child)allChildren.get(index).close();
    ArrayList allChildren;
    class Child{
    public void close(){ }
    i dont know if you can get the thread count. but you can
    get the current thread by using System.
    Memory: Runtime.freeMemory() .maxMemory() .totalMemory()
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    Careful though you have to do a calculation to get the
    actual memory because those 3 methods refer to freeMemory
    of the CURRENT heap not the total memory.
    i think its: total - (max - free)

  • Can I create a non-Unicode database manually via create database segment

    Hi
    As unicode encode use more bytes than 2-bytes encode (for instance, ZHS16GBK), and XE has the limit with 4GB totally. So, can I create a non-Unicode (for instance, ZHS16GBK) database manually via create database segment? or I just could use unicode?
    Thanks.
    Samuel

    Could you load or paste this scripts? Well, the script is (obviously) a shell script, useless on Windows, unless you have some emulator (CygWin, MKS toolkit or similar). The following is the Sql part :
    sqlplus /nolog <<END
    spool xe_createdb.log
    connect sys/oracle as sysdba
    startup nomount pfile=$filedir/init$ORACLE_SID.ora
    whenever sqlerror exit;
    create database
      maxinstances 1
      maxloghistory 2
      maxlogfiles 16
      maxlogmembers 2
      maxdatafiles 30
    datafile '$filedir/system.dbf'
      size 200M reuse autoextend on next 10M maxsize 600M
      extent management local
    sysaux datafile '$filedir/sysaux.dbf'
      size 10M reuse autoextend on next  10M
    default temporary tablespace temp tempfile '$filedir/temp.dbf'
      size 20M reuse autoextend on next  10M maxsize 500M
    undo tablespace undo datafile '$filedir/undots1.dbf'
      size 50M reuse autoextend on next  5M maxsize 500M
    --character set al32utf8
    character set $dbcharset
    national character set al16utf16
    set time_zone='00:00'
    controlfile reuse
    logfile '$filedir/log1.dbf' size 50m reuse
           , '$filedir/log2.dbf' size 50m reuse
           , '$filedir/log3.dbf' size 50m reuse
    user system identified by oracle
    user sys identified by oracle
    -- create the tablespace for users data
    create tablespace users
      datafile '$filedir/users.dbf'
      size 100M reuse autoextend on next 10M maxsize 5G
      extent management local
    -- install data dictionary views:
    @?/rdbms/admin/catalog.sql
    -- run catblock
    @?/rdbms/admin/catblock
    -- run catproc
    @?/rdbms/admin/catproc
    -- run catoctk
    @?/rdbms/admin/catoctk
    -- run pupbld
    connect system/oracle
    @?/sqlplus/admin/pupbld
    @?/sqlplus/admin/help/hlpbld.sql helpus.sql;
    -- run plustrace
    connect sys/oracle as sysdba
    @?/sqlplus/admin/plustrce
    -- Install context
    @?/ctx/admin/catctx oracle SYSAUX TEMP NOLOCK;
    connect CTXSYS/oracle
    @?/ctx/admin/defaults/dr0defin.sql "AMERICAN"
    -- Install XDB
    connect sys/oracle as sysdba
    @?/rdbms/admin/catqm.sql oracle SYSAUX TEMP;
    connect SYS/oracle as SYSDBA
    @?/rdbms/admin/catxdbj.sql;
    connect SYS/oracle as SYSDBA
    @?/rdbms/admin/catxdbdbca.sql 0 8080;
    connect SYS/oracle as SYSDBA
    begin dbms_xdb.setListenerLocalAccess( l_access => TRUE ); end;
    -- Install Spatial Locator
    connect sys/oracle as sysdba
    create user MDSYS identified by MDSYS account lock;
    @?/md/admin/catmdloc.sql
    create spfile='$filedir/spfile.ora' from pfile
    alter user anonymous account unlock
    disconnect
    -- recompile invalid objects
    connect sys/oracle as sysdba
    begin dbms_workload_repository.modify_snapshot_settings(interval => 0); end;
    begin dbms_scheduler.disable('AUTO_SPACE_ADVISOR_JOB', true); end;
    spool off
    exit
    ENDWords prefixed with $ are OS variables, you have to substitute them with your values.

  • How to create Parent and Children is a tree table / trigger sequence number

    How to create Parent and Children is a tree table when the primary key of the parent is generated via a trigger and a sequence number in the database?
    My problem is when I create a parent and then right away a children. The parent still not have a primary key until the transaction get to the database. I get a error when trying the create the children, cannot insert null in the foreign key field of the children.
    Please help.
    Stephane

    You should have the parent key be marked as a DBSequence type.
    Then you should have the association between the master and detail defined as composite association to make sure that the posting order to the database is correct.
    http://download.oracle.com/docs/cd/E24382_01/web.1112/e16182/bcentities.htm#BABFECDJ

  • Mt_shm_init: can't create virtual segment

    Hi,
    I'm running informix5 on solari26.
    I installed informix7 on the same system.
    When I tried to startup inf7, I got the following error:
    16:31:38 shmat: [EMFILE][24]: out of shared memory segments, check system SHMSEG
    16:31:38 mt_shm_init: can't create virtual segment
    Any thoughts?
    Thanks
    ravi

    Ravi - You may want to check the Informix documentation for the proper settings of
    the shared memory kernel configuration. Basically you will probably add something
    like the following to /etc/system:
    set shmsys:shminfo_shmseg=10
    I know other database systems require a change to shminfo_shmmax also.
    set shmsys:shminfo_shmmax=4294967295
    After making the changes, reboot. It is probably best to check the database documentation
    to see what values are recommended.
    Alan
    Sun Developer Technical Support
    http://www.sun.com/developers/support

  • When I use the scissors tool to create a segment of a track, select the segment and bounce it, about 15-20 seconds of silence is added to the beginning of the resulting segment. What causes this?

    When I use the scissors tool to create a segment of a track, select the segment and bounce it, about 15-20 seconds of silence is added to the beginning of the bounce. What causes this?

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • Parent segment occurrence in IDOCs

    Hello,
    I would like to know the significance of the Maximum occurrence of a parent segment of an IDOC.
    Eg: E1MARAM segment of MATMAS05.
    In this case it is given as 9999.
    Can one MATMAS05 IDOC have two E1MARAM segments?
    Thanks.

    Hi,
    Its possible to send multiple materials at the same time.
    Thats why its mentioned as 9999.
    Regards,
    sasi

  • ATG 10.1 How we can create user segment programitically

    Hi,
    I want to create user segment programitically, not through BCC.
    Rule for the segment I will be getting from some third party. I have to create rule for my segment programitically and assign the user segment to a profile group.
    I checked the user properties and got to know as for every profile user segments will be assigned as a dynamic property.
    How I can create the same programitically after getting the rule from third party.
    Thanks in advance
    Agil

    >Why (no body) help me?.
    >Is my question not clear?
    Yes, your question is not clear.
    >
    http://www.libyabuild.com/news1.htm
    Is that one of the pages on your site? Do you just want to
    add a feature that searches your site for relevant content? If so,
    check out
    http://www.wrensoft.com/zoom/support/dreamweaver.html
    So I don't understand why you are asking about a database -
    are you trying generate results that link to other sites?

  • Create rollback segment

    Anyone knows why I can not create rollback segment in 9i?? I
    used same script in 8i and it works.
    "create rollback segment lims_rollback tablespace lims_rollback;"
    ERROR at line 1:
    ORA-30019: Illegal rollback Segment operation in Automatic Undo
    mode
    what is automatic Undo mode???

    Automatic undo mode is the default behavior in Oracle 9i where
    Oracle server itself manages creation/sizing etc of rollback
    segments. I believe if you want to do it the old 8i/8/7.x way,
    you need to change some parameter to not use Automatic Undo

  • ___I need to create a segmented folder... Any ideas about where to get ideas?

    I'm trying to create a segmented folder with different areas to retain different pieces of information and I was wondering if there are any online resources or templates that I could base my design on.
    And I mean a real folding folder made of paperboard - not a digital or virtual folder.

    I suggest you buy one that matches, as closely as possible, the size and shape and features that you want. Unglue it, lay it flat, and measure. Build a new Illustrator file based on those measurements and adjust anything that you want to change. You will have a much clearer understanding of how the folder is put together and how what you print on it will look one the folder is cut, folded, and clued.
    By the way, it sounds like you are trying to build a presentation folder. Is that right? Can you attach a picture of something that matches or is close to what you are after? If you can’t find an image online, take a photo of something you can see.
    Here is a sample of how you would set up a presentation cover. Pink lines represent cuts, blue lines represent scoring for folds.

  • Can not create Rollback segment

    Hi,
    in 8i on Win 2003
    unfortunately I have dropped rollback tablespace. Now when creating I receive ORA-01552 :
    SQL> CREATE PUBLIC ROLLBACK SEGMENT "RBS1"
      2      TABLESPACE "RBS"
      3      STORAGE ( INITIAL 204k NEXT 10K MINEXTENTS 2 MAXEXTENTS
      4      32);
    CREATE PUBLIC ROLLBACK SEGMENT "RBS1"
    ERROR at line 1:
    ORA-01552: cannot use system rollback segment for non-system tablespace 'RBS'Any solution ?
    Thank you.

    @Satish,
    DRSYS is one of the default tablespaces which used to come with the DBCA ,
    http://download-west.oracle.com/docs/cd/A87860_01/doc/paraserv.817/a76934/chap1.htm#1014437
    @OP,
    Firrst thing is that you shouldn't create any segment , rollback or other in any system alike tablespace like DRSYS. You should create a seperate tablespace in which you should create the segments. As Satish asked already, there shouldn't be any problems as such but only the expectation of 1555 error due to the improper sizing of the rollback segments. But this is just a thought, it would be better if you explain your doubt(s) .
    HTH
    Aman....

  • Generating list in "Create a Segment" returns whole customer list.

    Hi.
    In obiee marketing (Oracle Business Intelligence 10.1.3.4), we are trying to generate a marketing list.
    We have created a list format ( customer nr,email, firstname,lastname). We have no filter on the format list.
    We have then created a segment and connected the segment to a list format.
    Our segment returns a part of our customer set. When we check the count, it returns 500 customers out of our total stock of 5,000, and this is the number that we are expecting.
    However, when click on "generate lists", the list includes all 5000 customers. It seems to be ignoring the segment and just returns what was in the format list.
    Why is this happening?
    We have read that when creating a list format you can check the “Re-qualify list results against original segment criteria”. But we are missing this check box in the Create list format section. Why are we missing this check box and does it have anything to do with our problem.
    Best Regards
    Joel

    Hi.
    We found the problem. In the Oracle BI Administration Tool, Marketing Manager, we didn't have Qualifying Keys set in our List Catalog.
    After setting the Qualifed List Item to our customer nr column, the “Re-qualify list results against original segment criteria” checkbox showed
    up when creating a format list.
    After this, when clicking on "generating lists" in the segment tool, our file contained the correct number of customers, instead of the whole customer population.
    //Joel

Maybe you are looking for