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: 

Bapi or FM or other way to get Schedule lines

Former Member
0 Kudos

Hi All,

Is there any BAPI or FM which can give the schedule lines and quantity as output for given input of Customer, Material, Requested date, Requested quantity, Plant.It would be very helpful if you give any other way to get the above details.

Thanks in Advance,

Raj.

2 REPLIES 2

Former Member
0 Kudos

Hi

Do you wants to fetch the schedule lines of a sales order

you can straight away fetch from SO tables

VBAK,VBAP and VBEP tables

write a single select for these 3 tables joining them together

they will have all the fields in them

VBAP will have WERKS(plant) and MATNR (material) and Qty

Requested date in VBEP

VBEP will have the schedule line data

Regards

Anji

Former Member
0 Kudos

Hi Anji,

We are having a requirement like fetch schedule lines and quantity for given Customer, Material, Requested date, Requested quantity, Plant and then update the schedule lines & quantity of a different plant.

Its not taking from sales order.If you can give any suggestion it would be very useful.

Thanks.

Raj.