Hello Experts,
"There is a BADI, ORDER_SAVE, that can be changed to <b>prevent BDOCs</b> from being sent. The method is called <b>CHANGE_BEFORE_UPDATE</b>. With this solution, you can prevent BDOCs of a <b>particular document type</b> from being sent."
How do I do this? What should I write in the method which is mentioned above?
Regards,
Amit
*Award points assured for helpful answers
Instead of using the Order Save BADI you will have to use the CRM_DATAEXCHG_BADI and in the CRM_BDOC_SEND method based on the transaction type set the value for variable CV_BDOC_SEND.
For example.
IF ls_order-process_type = 'ZSO'.
cv_bdoc_send = '' ". " Dont Send the Sales Order.
ENDIF.
Reward with points if this helps.
Regards,
Gaurav Gera
Add a comment