MRP block for Credit limit attained
Customers
How to block the requirement (MD04) generated by the item category in a sales order when the customer has attained the credit limit? The MRP requirements still appear even though the schedule is zero. You should try and use one of the standard requirements. See in transaction "VOFM". Under Requirements / Subsequent Functions / Reqs.Availablity. Try using routine 103, you may have to tweak if it doesn't work exactly as you'd like. For example, you can write a routine 903 because you only wanted this reaction for certain business units. Irregardless, using a routine similar to this will prevent the requirement from appearing in MD04 for orders blocked on credit. Code:
SELECT SINGLE * INTO W_ZSDCRD
IF SY-SUBRC = 0 AND VBUK-CMGST CA 'B'. IMPORT VBUK-CMGST TO W_CMGST FROM MEMORY ID 'CREDIT'. IF W_CMGST = SPACE.
*} REPLACE
*} INSERT
*} INSERT
Do you have a SAP SD Question? Best regards,
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|