2005 Jul 28 8:01 AM
Hi,
While creating a Purchase Order, the segments E1EDK04 and E1EDK05 in IDOC Type ORDERS02 are not getting populated.
Can anybody let me know the reason or any specific setting or configuration needed to populate these segments.
Also, I want to know how can we check if a segment is active or not.
Thanks,
Rupam
2005 Jul 28 9:04 AM
Hi,
My confusion is that the segments E1EDK04 and E1EDK05 are not getting populated when a PO is generated. I need data in these two segments.
As far as segments being active is concerned, I was thinking, that if the segment is not active, that could be a possible reason for it not being populated. I might be wrong in this.
Any clues on why the segments are not populated?
Thanks,
Rupam
2005 Jul 28 8:35 AM
hi,
what do u mean by whether segments are active or not?
As per my knowledge, segments are not relevant at a technical level in an IDOC. They are used to interpret field SDATA in the data record (EDIDD) and hold relevance at a business level.
For status u can check the idoc as a whole for its current (as well as previous) status.
My knowledge is pretty limited in this domain. Someone please correct me if i am horribly wrong!!!
regards,
PJ
2005 Jul 28 9:04 AM
Hi,
My confusion is that the segments E1EDK04 and E1EDK05 are not getting populated when a PO is generated. I need data in these two segments.
As far as segments being active is concerned, I was thinking, that if the segment is not active, that could be a possible reason for it not being populated. I might be wrong in this.
Any clues on why the segments are not populated?
Thanks,
Rupam
2005 Jul 28 7:11 PM
Are you sure that PO has data for populating these segments ? What values are you expecting in these segments ? Sometimes when no data is available segment in not created.
Cheers,
Sanjeev
2005 Jul 28 7:36 PM
Hi Rupam;
That IDoc type is used for the sales order and the PO, so standard PO processing may not update them. You may need to populate the segments in a user exit from the enhancement MM06E001.
More specifically, it would be EXIT_SAPLEINM_002, program ZXM06U02 that could populate those segments. You would have to insert the segment data into the table int_edidd in that user exit in order for it to appear on the IDoc.
-John
2005 Jul 28 10:29 PM
The segments in question are related to header taxes and header conditions both of which are configured and will be calculated during creation. You cannot pass any data in these segments unless they are manual conditions or tax entries. I am not sure if your situation requires you to pass them.
In ME23N, if you look at the PO itself, do you see the taxes and conditions? Are the taxes and conditions that you want are additional to what you see there?
Srinivas
2005 Jul 28 11:17 PM
Have you checked your vendor masterfile to ensure it has both a payment transactions view and a purchasing view? Ignore this, I have tested, and found this makes no difference.
Message was edited by: Brian Rowley
Message was edited by: Brian Rowley
2005 Jul 29 5:48 AM
Tested and found the same omission applies in ORDERS05 as well as ORDERS02.
2005 Jul 29 9:23 AM
Hi,
I think the solution given by John seems to be the most appropriate. We need to implement the user exit to pass data to the segments.
Thanks a lot.
Rupam