on 08-21-2006 8:03 AM
Hi,
We are working on SRM 4.0, extended classic scenario.
Under certain conditions I want to overide the tax amount calculated at the line item level while creating or changing a shopping cart or PO.
Can anybody tell me how should I go about achieving this requirement? My guess is that we need to implement a BADI. Which would be the right badi for this requirement?
Thanks and Regards,
Mick
Hi Mick,
You can use BBP_TAX_MAP_BADI or BBP_DET_TAXCODE_BADI.
Kind regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Yann,
My requirement is that, in the BADI I will be checking certain conditions like partner, location, etc. If the partner and location are in a particular combination, then I want to write the logic for calculating tax in the badi and then update the tables for tax with the calculated values.
Correct me if I am wrong but the BADI's you have suggested may not help in achieving the requirement.
Please help.
Regards,
Mick
Hi Mick,
BBP_DOC_CHANGE_BADI -
You can use the Business Add-Ins BBP_DOC_CHANGE_BADI to make changes to the document, after user entry and before saving the document to the database.
BBP_DOC_SAVE -
You can use the Business Add-In BBP_DOC_SAVE to update own data and tables in the same Logical Unit of Work when saving a document to the database. This
These are generic BADI's use to manipulate any data entered by user. You might want to check these.
Regards,
Waheed
Hi,
You can use the BADI BBP_DOC_CHANGE_BADI for all document types but regarding the tax field i dont see how is this possible...
BR,
Disha.
Pls reward points for helpful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For PO you can try the BADI "BBP_ECS_PO_OUT_BADI".
BR,
Disha.
Pls reward points for helpful asnwers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Disha. But isnt BBP_ECS_PO_OUT_BADI for transfferig data to R/3?
The requirement is that when you create or change a PO or shopping cart in SRM, after the tax has been calculated and entered on the PO or shopping cart screen, after the user clicks the order button, based on certain conditions I want to change the tax amount. What badi should I use in this case?
Regards,
Mick
Hi Mick
At PO level cant we change the tax code manually so as to bring the price change effect.
At SC level once the SC is approved and follow on documents are created we cant make changes in SC .
remember once the Confirmation is done for all subsequent changes it is advisable to create anew line item inthe PO with new tax code.
regards,
NimishSheth
pls reward point for helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.