cancel
Showing results for 
Search instead for 
Did you mean: 

Change taxcode in local PO using BBP_DET_TAXCODE_BADI

Former Member
0 Kudos

Hello Gurus,

We are in SRM7.0 extended classic scenario, we want to change the default tax code while creating a local PO and want the new tax code to be displayed in local PO. We have implemented BADI "BBP_DET_TAXCODE_BADI" and changing the tax code in EV_TAX_CODE parameter.

The issue is, when the PO is created it is still retaining the default tax code instead of the new tax code. We debugged and found out the following piece of code in FM "BBP_TAX_UPDATE_TAX_SEG" is not allowing the tax code to change

  • New tax code: the old tax code will replace

IF ( it_tax_in-tax_code NE lt_tax_new-tax_code ) AND

( ( gt_tax_old-tax_code = it_tax_in-tax_code )

  • when called for the first time with new tax code.

OR ( gt_tax_old is initial ) ) AND

( it_tax_in-tax_code_origin = gc_determin ).

We found out that the last condition is failing where field it_tax_in-tax_code_origin is not equals to 'F' (gc_determin value i.e. Determined)

Is there any extra customisation that is required or any other inputs please let us know.

Regards,

Sarath

Accepted Solutions (1)

Accepted Solutions (1)

summer_wang
Contributor
0 Kudos

Hi

Please wait for a few days till note 1454670 released to customer .

In the note ( it_tax_in-tax_code_origin = gc_determin ). is deleted in FUNC BBP_TAX_UPDATE_TAX_SEG

Summer

Former Member
0 Kudos

Hi Summer,

Can you please let us know the possible release date of this note?

We have dependecy on this object and we are in a critical phase.

Thanks for your time.

Regards,

Sarath

summer_wang
Contributor
0 Kudos

Hi,

If you could not wait til the note is released , please create a message under SRM-EBP-CA-TAX .

Expert will confirm you , if it could be release to you or not .

Summer

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Friends,

Any suggestions or inputs on how to achieve the functionality of tax change in local PO.

Regards,

Sarath.