cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to get sales order number

0 Kudos

Hi,

In a custom program I am giving Material number and Plant as input in VBAP to find the Sales Order number. However this step is taking long time to execute and so getting dump with time out error.

Please let me know whether there is any Function Module in which we can input Material and plant and get the Sales Order Number.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

madhu_vadlamani
Active Contributor
0 Kudos

Hi Sandip,

There is a bapi BAPI_SALESORDER_GETLIST. Here it need three input customer,sales org,material. Then you will get all sales order no.Check and post.

Regards,

Madhu.

Former Member
0 Kudos

Hi,

Rather than searching for a FM, you can get a small report developed to look up for VBAP for a given material, plant.

Ensure that this report is always run in background. Also consider giving other parameters for faster processing like date range etc..

Regards,

RS.