Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc segment for updating Sales order item dates

Former Member
0 Kudos

Hi All,

I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.

please let me know the Idoc segment and fields that need to be filled in?

Thanks in advance.

Regards,

Zeeshan.

10 REPLIES 10

Former Member
0 Kudos

Hi,

Here are some details of the segments in the idocs -

SEGNAM Segment Name E1EDL20

VBELN Sales and Distribution Documen 180001539

SEGNAM Segment Name E1EDL18

QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)

SEGNAM Segment Name E1EDL18

QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)

SEGNAM Segment Name E1EDT13

QUALF IDOC Qualifier: Date (Delivery 010 : Picking

NTANF Constraint for activity start 20090808

ISDD Actual start: Execution (date) 20090808

SEGNAM Segment Name E1EDL24

POSNR Item number of the SD document 10

MATNR Material Number 1112

WERKS Plant SG01

KDMAT Material belonging to the cust 1112

LFIMG Actual quantity delivered (in 55

VRKME Sales unit EA

POSEX External item number 10

ORMNG Original Quantity of Delivery 55

SEGNAM Segment Name E1EDL41

QUALI Qualifier for Reference Data o 001 : Purchase order data of customer

BSTNR Customer purchase order number 4500004668

BSTDT Customer purchase order date 10

POSEX Item Number of the Underlying 10

SEGNAM Segment Name E1EDL37

Regards,

Shamma

0 Kudos

Hi Shamma,

Thanks for your answer, but i am looking for an inbound idoc segments.

Regards,

Zeeshan.

0 Kudos

hi,

Date Data is stored in

Header: E1EDK03

Item: E1EDP03

Have a look at domain IDDAT for all possible values (Qualifiers in Field IDDAT)

0 Kudos

Thanks Gordon,

We tried updating Goods issue date using E1EDP03 IDDAT = 035. It doesnt work.

I thought i will check on the forum if someone has tried that before.

Cheers,

Zeeshan.

0 Kudos

have a look at idoc_inbound_orders and search for IDDAT Qualifier.

Maybe you find the reason

Former Member
0 Kudos

Hi Zeeshan,

The STATUS field is: 1 - 49 for Outbound Messages 50 - 99 for Inbound Messages The possible values for the status are stored in table TEDS2.

The resulting screen lists IDocs by direction (inbound/outbound), status, and message type. You can “drill down” into the IDoc list to see detailed information such as control records, status records, and data records. This list depicts the drill-down on MATMAS IDocs with status 03. Note that several IDocs are listed. You can double-click on an individual IDoc to look at its control, data, and status records: Double click on "Control rec." to see the control record. Single click on any data record to see its fields. Double click on any status record to see it in detail.

Regards,

Shamma

0 Kudos

Hi,

Put a break point on CALL TRANSACTION Statement in IDOC_INPUT_ORDERS function module and change the mode from N to A. If you have populated the field correctly in the IDOC and then you can find the problem during BDC Recording.

KR Jaideep,

Former Member
0 Kudos

Hi,

Do you want to update those fields during the creation of the sales order, or you want to change them after the sales order is created.

Thanks,

Mahehs.

0 Kudos

Hi Mahesh,

We would like to update these fields while creation of the sales order.

Do you know a way to do that.

Regards,

Zeeshan.

Former Member
0 Kudos

Hi,

Ask your people to populate those dates in the below segment to get the Goods Issue Date and Loading date into the Sales Order Items.

Goods Issue Date - E1EDP03-035 segment

Loading Date - E1EDP03-033 segment

Once you populate the dates into these segments then you can see the dates populated into the sales order automatically.

Thanks,

Mahesh.