A purchase requisition with item category 'S' which is assigned to a sales order is converted into a purchase order. A change is made here (for example, the delivery date is changed. After the purchase order has been saved, the data of purchase order statistics (quantity ordered, purchase order number, purchase order date) is missing in the purchase requisition.
Cause and prerequisitesProgram error. The purchase order statistics are updated correctly in the function module ME_UPDATE_REQUISITION_PO. However, the function module SD_PURCHASE_CHANGE_ORDER (which updates the changes in the order and also the purchase requisitions) is called up after this. The purchase order statistics are overwritten again here.
SolutionCorrected in 2.2G or 3.0B. You can make the following advance correction by moving the startup of function module ME_UPDATE_REQUISITION_PO behind that of function module SD_PURCHASE_CHANGE_ORDER (see below).
Additional key words
ME21 ME22 ME52 ME53 ME57 ME58
No comments:
Post a Comment