cancel
Showing results for 
Search instead for 
Did you mean: 

PO backend error ME 083 Enter Tax Code From SC Service

Former Member
0 Kudos

Hello Experts,

I've error transmission of PO ME 083 Enter Tax Code from my shopping cart created with product type service.

In SC, tax code has been provided and in BBP_PD I can see the tax data at table BBP_PDTAX.

Anyway, I have no problem with SC producty type: Goods

So, it seems ECC didn't catch tax data from SRM, why? Is there something missing with SRM or ECC configuration?

Thank you

Sincerely,

Tedi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check In the BAPI there is tables POACCOUNT which is of type BAPIMEPOACCOUNT Which has a field TAX_CODE. Please check also you have filled.

Regards,

RBEI/SRM Naga.

Former Member
0 Kudos

hello Naga,

can you elaborate more to explore BAPI and the tables?

Thanks

Former Member
0 Kudos

Hi,

Please use this BAPI BAPI_PO_CRAETE1 and pass the value to the filed of TAX_CODE of  POACCOUNT & POACCOUNTX structures/table.

Regards,

RBEI/SRM Naga.

Former Member
0 Kudos

Hi,

Please find some more informations when you use BaPI.

Table Parameter - POACCOUNT (Its structure : BAPIMEPOACCOUNT)

                              POACCOUNTX  (Its structure : BAPIMEPOCONDHEADERX)

Declare a tables with reference to above structures

Lt_BAPIMEPOACCOUN-PO_ITEM =Pass value  PO_item_no

Lt_BAPIMEPOACCOUN-TAX_CODE = pass the value.

Lt_BAPIMEPOCONDHEADERX-PO_ITEM = Pass value  PO_item_no

Lt_BAPIMEPOCONDHEADERX- TAX_CODE  = 'X'.

And also please check whether tax code is maintained in both systems ( SRM and R3).

The last point is that please check also have you mapped the R/3 tax code correctly in SRM system.

Please refer below SPRO path in SRM .

SPRO > cross application basics settings >Tax calculation >Assign enterprise buyer tax code to FI system.

Best Regards,

RBEI/SRM Naga.

Former Member
0 Kudos

Hi Naga,

I debug the bapi and found this bapimepoitem-tax_code is blank

anyway, from SRM side BBP_PDIGP-TAXCODE also blank. This also happen with sc product type goods, but no error in that case.

I've maintained tax code mapping as

V0    SM2CLNT010    V0

V1    SM2CLNT010    V1

So, what's the point of tax data at BBP_PDTAX table?

Thank you,

Tedi

Former Member
0 Kudos

Hi,

Please find my find below suggestions to solve your problem.

1. Please inform what package you are using in SRM and R/3.

2. Have you done any Z development for tax code determination in R/3.

3. Please pass the Tax_code from table BBP_PDTAX if the tax code filed is blank in table BBP_PDIGP.

Best Regards,

RBEI/SRM Naga.

Former Member
0 Kudos

Hi Naga,

Thanks for the result, apparently there's no badi implementation related to tax code

Actually, my works is reconfiguration for client existing production, so I can't do more about the enhancements or alike.

But somehow, I've checked data at production and the result from BBP_PD is the same as development. Means, tax code data only exist at BBP_PDTAX not on the BBP_PDIGP table.

So is it in ECC backend configuration? Something like automatic tax determination

Sincerely,

Tedi

Former Member
0 Kudos

Hi,

The tax code in case of Product type "service" will not be populated in the purchase order.

Please find the explanation below.

1.  In case of product type "service", even though the all the details in the shopping cart is maintained at the item level, when purchase order is created the items correspond to the sub hierarchy in the purchase order, not at the item level.

For example you have two line items in shopping cart

Item 1: 100010 (Service Master)  You maintain tax code at this level

Item 2: 100020

When you convert them to purchase order

Item 1: Short Text   1 ACT  In PO tax code is maintained at this level.

In the "Service" tab

     Item 1: 100010

     Item 2: 100020

2. If the shopping cart has service hierarchy (PR with item category D transferred to the SRM through PDP or CPPR) then the tax code you are trying to populate will be successfully passed to ECC PO.

With Regards,

Malay

Former Member
0 Kudos

Hi Malay,

Thanks for your helpful answer.

I've not maintained service master and goes to case  product type "service"

I came to this class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 and method MAP_BEFORE_BAPI and debugging the process.

As we know, if we create PO with item type D, we will get hierarchy as below:

Item 10 - Outline Service Description

     Item 10 - Service line item

I found that tax code exist at Item 10 - Service line item, not in the outline level (its parent).  I guess in order to fill the tax code at PO we should provide tax code at outline level.

Is there something missing with my configuration or anything that related with ECC backend system? Fyi, this problem happen in dev system, the production is running well

Thanks,

Tedi

Former Member
0 Kudos

Hi Tedi,

As you said "tax code exist at Item 10 - Service line item, not in the outline level (its parent)", is the case in SRM.

And in R/3, tax code is at "Item 10 - Outline Service Description" level.

So there is no possibility to map tax code from SRM to R/3 in this case (product type "service")

I believe nothing is missing in your customization. This is a drawback of SRM system for this case.

With Regards,

Malay

Former Member
0 Kudos

Hi Malay,

Thanks for your explanation, so we sent this problem to OSS.

Hope this will help solving the issue

Best Regards,

Tedi

Former Member
0 Kudos

Hi Tedi, did you get any response from SAP about this issue? I got a similar problem, SC outline service level is without tax code (and carries out a dump when creating the PO) and SC item level is with a tax code. Thanks!