Skip to Content

ATP check for multiple materials on multiple sales document

Hi,

System 4.70

Is it possible to carry out an ATP check for multiple materials on multiple sales documents.

I have written a bespoke program and the program requires an ATP check to be performed for each material and sales document, I am currently using BAPI_MATERIAL_AVAILABILITY which is bringing back the necessary information but it's a bit slow.

Does any one have any ideas please.

Regards

J-J

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 11, 2010 at 10:04 PM

    The ATP Check using the BAPI is done per material and plant. If you're looping through sales documents and then materials you're probably doing the ATP check for the same material over and over again.

    Just get the list of materials you need and the corresponding plants and call the BAPI for each of them.

    Also do a run-time analysis (tcode SE30) to check exactly what slows down your program.

    regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 12, 2010 at 04:16 PM

    no longer required

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.