We configured Static credit check for customers, system perform credit check in sales order and block the sales order for delivery.
User release the document through VKM3.
Now we want to configure -
At the time of Sales order creation, Sales order number to be updated in a Z Table when sales order gets blocked due to credit check.
Here problem is Abaper informed that VBUK - CMPSA = 'B' not get updated at the time of saving sales order. (Tried in userexit_save_document)
Please advise which field to be checked and user exit can be used.