cancel
Showing results for 
Search instead for 
Did you mean: 

printing last delivery date in schedule lines for sales order

edvdm
Participant
0 Kudos

Hi!

We should create a sales order with more then one schedule line. This schedule lines are only for internal use (only to plan our production) and not for printing on the sales order paper. Only the last line is the real delivery date which should be printed on the sales order paper. Now I'm searching for a solution to print only this schedule line.

Have anyone a good idea?

Thanks

Markus

Accepted Solutions (0)

Answers (2)

Answers (2)

edvdm
Participant
0 Kudos

Hi Vinod!

Thanks for your answer. I've implemeted the code and it works.

Best Regards

Markus

Former Member
0 Kudos

Hi,

Select <required fields> from VBEP
into table <itab>
where vbeln = <order number>.

sort itab by posnr etenr descending.

read table itab into wa index 1.

contents of work area will have the last schedule line details of order.

Regards

Vinod