Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Modifying the production order from VBAP

Hi Expers

I need some modification and write a code so how to proceed with the following comments as below

Modification to processing of Command Orders & Tickets

Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.

In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.

This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.

The solution

In the routine which checks for the existence of a production order, modify the code as follows:

u2022 Inspect each item on the sales order

u2022 If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.

Regards

Piroz

Tags:
Not what you were looking for? View more on this topic or Ask a question