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: 

method CMD_EI_API=>MAINTAIN_BAPI to update KNVI tax data

ashokpattnaik1
Explorer
0 Kudos
3,614

Hi Experts,

I am using method CMD_EI_API=>MAINTAIN_BAPI to create/update customer. I could not find the parameters/fields in the deep structure to update KNVI data. Please suggest the solution.

Regards,

Ashok

5 REPLIES 5

Former Member
0 Kudos
1,480

Dear Ashok,

possibly structure CMDS_EI_TAX_IND_KEY

Greetings

Winfried

Former Member
1,480

DATA: ls_tax_data TYPE cmds_ei_tax_ind,

            lt_tax_data TYPE cmd_ei_tax_ind_t.

" Adding tax_data

ls_tax_data-task = 'I'.

ls_tax_data-data_key-aland = 'NO'.

ls_tax_data-data_key-tatyp = 'MWST'.

ls_tax_data-data-taxkd     = '1'.

ls_tax_data-datax-taxkd    = 'X'.

APPEND ls_tax_data TO lt_tax_data.

ls_customer-central_data-tax_ind-tax_ind = lt_tax_data.

0 Kudos
1,341

Hi Former Member,
I have tried like that, but tax Classification in BP is still not inserted. Are there any addition to do before those codes?
Thanks. K

1,285

How did you fill IS_MASTER_DATA-CUSTOMERS[]-CENTRAL_DATA-TAX_IND-TAX_IND[] ?

0 Kudos
1,236

I found the issue, some ALAND - TATYP will not shown when running this API. I tried another ALAND - TATYP and it successfully updated