06-30-2011 9:05 AM
Hi Experts,
I am looking for a BADI/EXIT to clear the Payment Block that is put by the standard sap code through Perform zahlungssperre_setzen in include LMRMPF1R.
I have tried to use BADI MRM_PAYMENT_TERMS but this badi gets called before the above PERFORM zahlungssperre_setzen and hence any change made by the BADI gets overwritten by the SAP code again.
Any inputs in this will be helpful.
<offer removed by moderator>
Regards,
Edited by: Thomas Zloch on Jun 30, 2011 10:34 AM
06-30-2011 12:10 PM
Hi
See SAP Note 1559443 - Changing baseline dates for payment terms for Spain as a sample for this BADI. Read the documentation for the BADI in SE18.
Try with this coding.
First, load the interface of all e_*
*--- fill all export-parameter ----------------------------------------*
e_zfbdt = i_rbkpv-zfbdt.
e_zbd1t = i_rbkpv-zbd1t.
e_zbd1p = i_rbkpv-zbd1p.
e_zbd2t = i_rbkpv-zbd2t.
e_zbd2p = i_rbkpv-zbd2p.
e_zbd3t = i_rbkpv-zbd3t.
e_zlspr = i_rbkpv-zlspr.
After, for instance
if i_rbkpv-zlspr = 'Z'. "or other
clear e_zlspr.
endif.
And you would see that it works.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Jun 30, 2011 1:11 PM
06-30-2011 4:31 PM