on 01-05-2007 1:02 PM
Hello,
I have some questions about the structure of IDoc LOIPRO01.
With transaction WE60 I can access the structure of LOIPRO01.
I have the following (just a part here !!)
E1AFKOL : Production order header (AFKO, AUFK)
Status: Required , min. number : 1 , max. number : 1
o E1JSTKL : Production order status for header (JEST)
Status: Optional , min. number : 1 , max. number : 9999
o E1AFABL : Master Production Order Relationships (AFAB)
Status: Optional , min. number : 1 , max. number : 9999
o E1AFFLL : Production Order Sequences (AFFL)
Status: Optional , min. number : 1 , max. number : 9999
* E1AFVOL : Production order processes (AFVV, AFVC)
Status: Optional , min. number : 1 , max. number : 9999
[...]
1st question :
If i understand the structure :
-for one production header (E1AFKOL) it is possible to get from 1 to 9999 relationships (E1AFABL) and from 1 to 9999 status(E1JSTKL) and from 1 to 9999 production order sequences....
-and for 1 production order sequences it is possible to get from 1 to 9999 production order processes...
2nd question:
If I have a production order with 5 production processes
How would it be written in the IDoc :
-are all the processes E1AFVOL in the same sequence segment E1AFFLL
or we have one process segment E1AFVOL per sequence process E1AFFLL?
I hope that is clear !
thank you
thank you for your answers
It was helpful
Benjamin Goutorbe
Message was edited by:
Benjamin Goutorbe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For your Q#1: you're right on how the relationship between segments works.
For your Q#2: Since E1AFVOL is a child of E1AFFLL, this means that you need to have a E1AFFLL first before E1AFVOL. And the sequence number is always an increment of 1 from the previous segment.
Hence, if you have 5 production process, your IDOC (only the main fields are displayed here) would have something similar to below sample:
DOCNUM SEGNUM SEGNAM HLEVEL SDATA
99999999 1 E1AFKOL 1 <E1AFKOL data>
99999999 2 E1AFFLL 2 <E1AFFLL data>
99999999 3 E1AFVOL 3 <E1AFVOL data>
99999999 4 E1AFVOL 3 <E1AFVOL data>
99999999 5 E1AFVOL 3 <E1AFVOL data>
99999999 6 E1AFVOL 3 <E1AFVOL data>
99999999 7 E1AFKOL 1 <E1AFKOL data>
99999999 8 E1AFFLL 2 <E1AFFLL data>
99999999 9 E1AFVOL 3 <E1AFVOL data>
Notice the HLEVEL identifies the hierarchy level of the IDOC segment.
Thanks.
Kind Regards,
Darwin V. Cabrillas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin,
Did the answer help you?
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin,
In this case
E1AFKOL is the parent segment.
E1JSTKL, E1AFABL and E1AFFLL are the child for E1AFKOL.
The meaning is - for a particular parent segment there can exist 1 - 9999 child segments of E1JSTKL, E1AFABL and E1AFFLL
This is the parent child relationship
For the second question
In the table EDID4
Let us take this example
DOCNUM SEGNUM SEGNAM PSGNUM HLEVEL
1000 000001 E1AFKOL 000000 01
1000 000002 E1JSTKL 000001 02
1000 000003 E1JSTKL 000001 02
1000 000004 E1JSTKL 000001 02
1000 000005 E1AFABL 000001 02
1000 000006 E1AFABL 000001 02
1000 000007 E1AFABL 000001 02
1000 000008 E1AFFLL 000001 02
1000 000009 E1AFVOL 000008 03
1000 000010 E1AFVOL 000008 03
1000 000011 E1AFFLL 000001 02
1000 000012 E1AFVOL 000011 03
1000 000013 E1AFVOL 000011 03
1000 000014 E1AFFLL 000001 02
1000 000015 E1AFVOL 000014 03
1000 000016 E1AFVOL 000014 03
Hope this helps.
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.