cancel
Showing results for 
Search instead for 
Did you mean: 

Tax code is not changing in back-end

Former Member
0 Kudos

Hi All SRM Tecnical/ Functional consultants ,

i am working <b>In SRM5.0 Ver in classic scenario:</b>

<b>Present:</b> If i change the tax code in the shopping cart from the default tax code. Only default tax code is moving to bac-end purchase order.

<b>Required:</b> What i need is by changing the tax code in shopping cart from default , the changed (new)tax code should reflect in back-endconcened purchase order.

i got the new tax code using the function module <b>BBP_PD_SC_ITEM_GETDETAIL</b> . in the tables E_TAX we can get the new tax code. How can i pass this new tax code to back-end Purchase order ?

Can you please suggest what iHo can i do?

Regards

Badari Talanki

Accepted Solutions (0)

Answers (4)

Answers (4)

martin_adamitz
Explorer
0 Kudos

Hi,

please check SAP Note 607539. You must modify the SAP-Backend to transfer tax code from SRM to Backend.

Regards

Martin

Former Member
0 Kudos

Hi Atul,

Thanks for your response.

Actually the requirement is when i create shopping cart i am allowed to change the tax code from default one.

When the shopping cart is saved i am able to see the changed tax code in shopping cart but the default tax code is populated to R/3 PO instead of changed tax code.

Can you please suggest us how to handle this issue.

Regard

Badari Talanki

Former Member
0 Kudos

Hi

<b>As I told you earlier, use the BBP_CREATE_PO_BACK BADI and make changes to the tax code accordingly, before the BAPI - BAPI_PO_CREATE1 is called in r/3 system to pass the data as per your business requirement to the Puchase Order.</b>

Let me know incase you need further details by sending your detailed requirement on my email id.

atul.kant@gmail.com

Hope this will help.

Please reward full points, incase it suits your requirements.

Regards

- Atul

Ramki
Active Contributor
0 Kudos

Hi Badari

1) When you changed the tax code, is the tax calculation in EBP happening as per correct R/3 Tax code ?

2) Have you mapped EBP tax code to FI system tax code in Tax configuration ?

3) Did you use BADI BBP_CREATE_BE_PO_NEW(or BBP_CREATE_PO_BACK) ? Deactivate it for testing and see.

Best regards

Ramki

Former Member
0 Kudos

Hi,

Have you try this badi's?

BBP_DET_TAXCODE_BADI

BBP_TAX_MAP_BADI

You can find this badi in SPRO \ BADI \ Tax calculation.

Regards,

Marcin

Former Member
0 Kudos

Hi

We have done similar requirements in our Earlier SRM Implementations.

This can be easily possible.

<b>Either use BBP_DOC_CHANGE_BADI in SE18 Transaction to overwrite the tax code, as per your requirement.</b>

----


Following IMG Settings in SRM system needs to maintained first ->

Tax code is picked from Material Master and vendor master data if you have picked tax calculation in backend data.

In this case you will get the tax code

SPRO->SRM ->SRM SERVER->Cross Application Basic setting->Tax calculation->Enter Tax code.

You will get the value of tax code indicated in above SPRO link.

Please read the text message maintain in above SPRO link which explains the significance of the this setting.

In all SRM document you will get this default tax code when tax calculation happen in backend will have correct tax code decided into backend.

This is perfectly all right as all financial transaction will anyway happen in backen itself.

----


<i>SPRO Content:</i>

Enter Tax Code
In this activity you define the tax codes that are to be available in SAP Enterprise Buyer.
 
You can define a tax code to be the default tax code. This is then suggested by SAP Enterprise Buyer, for example, in the confirmation or entry of an invoice. You can overwrite the default tax code.
 
If you specify an external tax system in Define System for Tax Calculation or you need to create invoices for USA or Canada, or Brazil, you enter one of the following tax categories:
 
Sales tax
Consumer use tax
Service tax (only for USA and Canada)
Rental/lease tax /only for USA and Canada)
Note:
For the location Brazil, you can only specify the tax categories Sales Tax and Consumer Use Tax .
In other cases, do not select a tax category.
 
Example
 
Tax calculation takes place in R/3 System (Germany):
 
Tax code Tax name No tax Default Tax type 
I1 Sales tax X X 
 
SAP Enterprise Buyer uses these settings (when creating a shopping cart for Germany) to propose tax code 'I1'. During invoice entry, you must not enter a tax amount, otherwise the system outputs an error message.
 
 
Tax calculation takes place in external system (Canada):
 
Tax code Tax name No tax Default Tax type 
I0 No tax X Sales tax 
 
SAP Enterprise Buyer uses these settings (when creating a shopping cart for Canada) to propose tax code "I0". During invoice entry, you must specify the tax code. You have to choose a tax category for the external tax system.
 
Requirements
 
You use the Materials Management functions in SAP Enterprise Buyer for example:
 
Create shopping cart
Process purchase order
Enter invoice
Standard settings
 
SAP Enterprise Buyer proposes the standard tax code, for example, during invoice entry.
 
 
Activities
 
1. Enter the required tax code and description.
2. Select the "No tax" column if entry of tax amounts is not necessary during invoice entry.
3. In the "Default val." column, enter a tax code as the default tax code.
4. Enter the tax category depending on the country .




*-----------------------*
Use IMG path "Tax Calculation > Enter Tax Code" to enter tax codes. Also if EBP tax codes are not exactly same as in backend system you need also to enter in "Tax Codes > Assign Enterprise Buyer Tax Code to FI System" which code in EBP corresponds with code in R/3.

In our system we are using the same codes so it was no necessary to perform second customizing task. 

Also beware that in EBP gross amount (with tax code) is only informative and workflow is working on SC amounts without tax.
*------------------------------*

Tax Code settings in SRM 
------------------------------

Enter Tax Code

Assign Enterprise Buyer Tax Code to FI System 

Define Backend System for Product Category

Define G/L Account for Product Category and Account Assignment

----


<u>

Refer to this link</u>

<b>

</b>

<b>Check OSS Note 957979 as well</b>

----


<u>Here are some other useful links -></u>

<b>http://help.sap.com/saphelp_srm50/helpdata/en/0f/5c0a3b79415375e10000000a11402f/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/f4/8b1d40bb37e569e10000000a155106/frameset.htm</b>;

Hope this will help.

Please reward full points, incase it suits your requirement.

Regards

- Atul