Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Key indicator of tax residence in BAPI BAPI_PO_CREATE1

luisfel28
Participant
0 Kudos
101

Hi, in BAPI BAPI_PO_CREATE1 return the message "Key indicator of tax residence" .. Follow my POITEM and POITEMX:

l_bapimepoitem-po_item = gt_data-item.

l_bapimepoitem-material = gt_data-material.

l_bapimepoitem-plant = gt_data-centro.

l_bapimepoitem-pckg_no = 1.

l_bapimepoitem-price_unit = 1.

l_bapimepoitem-net_price = gt_data-preco_liq.

l_bapimepoitem-tax_code = gt_data-iva.

l_bapimepoitem-item_cat = gt_data-ctg_item.

l_bapimepoitem-acctasscat = gt_data-class_cont.

l_bapimepoitem-preq_no = ' '.

l_bapimepoitem-preq_item = ' '.

l_bapimepoitem-po_price = '2'.

APPEND l_bapimepoitem TO gt_bapimepoitem.

CLEAR: l_bapimepoitem.

l_bapimepoitemx-po_item = gt_data-item.

l_bapimepoitemx-material = 'X'.

l_bapimepoitemx-plant = 'X'.

l_bapimepoitemx-pckg_no = 'X'.

l_bapimepoitemx-net_price = 'X'.

l_bapimepoitemx-price_unit = 'X'.

l_bapimepoitemx-tax_code = 'X'.

l_bapimepoitemx-item_cat = 'X'.

l_bapimepoitemx-acctasscat = 'X'.

l_bapimepoitemx-preq_no = 'X'.

l_bapimepoitemx-preq_item = 'X'.

l_bapimepoitemx-po_price = 'X'.

APPEND l_bapimepoitemx TO gt_bapimepoitemx.

CLEAR: l_bapimepoitemx.

Do you know whats wrong???

Tks!!

Edited by: luisfel28 on Sep 14, 2011 6:15 PM

Edited by: luisfel28 on Sep 14, 2011 6:18 PM

3 REPLIES 3

madhu_vadlamani
Active Contributor
0 Kudos
54

Hi,

l_bapimepoitem-acctasscat = gt_data-class_cont.Here what you are passing.Check this and post.Please shown this error to functional people.Are you able to create manually.

Regards,

Madhu.

0 Kudos
54

Hi MAD, i'm passing the letter "K" .. I can manually create no problems, but in background, occorrs this error. Do you idea whats happen??

Tks!

0 Kudos
54

Mad, the message error exactly translate is "Specify a tax jurisdiction key" .

Tks