Application Development and Automation 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: 
Read only

Modifying customers using call transaction

Former Member
0 Likes
376

Hi everybody!!

I´m doing a program for loading customers from an excel file. It is supposed that the customer data shown in the file can be modifiyed. To modify the customer I'm doing a call to transaction XD02. My problem is that I´m not able to add new entries in the table shown in the Billing Document tab in the Sales Area Data. I cannot add the entries while doing the recording, I mean, when my programs calls the transaction, in run time.

I really need to modify the data showed in this table, in order to make my program works.

Example:

For a particular customer I get two entries in the table of taxes:

Country Name Tax Category Name Tax classification

ES |Spain |MWST |Output Tax |1

PT |Portugal |MWST |Output Tax |

As it is shown, the field Tax classification is empty in the second entry. I would like to feel it while running my program, but it doesn't allow me to do it, althougth I can do it in other tables , for example, in the table found int the partner functions tab.

Can anybody help me?

Thank you very much.

Hi everybody!!

I´m doing a program for loading customers from an excel file. It is supposed that the customer data shown in the file can be modifiyed. To modify the customer I'm doing a call to transaction XD02. My problem is that I´m not able to add new entries in the table shown in the Billing Document tab in the Sales Area Data. I cannot add the entries while doing the recording, I mean, when my programs calls the transaction, in run time.

I really need to modify the data showed in this table, in order to make my program works.

Example:

For a particular customer I get two entries in the table of taxes:

Country Name Tax Category Name Tax classification

ES |Spain |MWST |Output Tax |1

PT |Portugal |MWST |Output Tax |

As it is shown, the field Tax classification is empty in the second entry. I would like to feel it while running my program, but it doesn't allow me to do it, althougth I can do it in other tables , for example, in the table found int the partner functions tab.

Can anybody help me?

Thank you very much.

1 REPLY 1
Read only

Former Member
0 Likes
320

Hi,

In the program you comment the recorded value and write some code such that

based on country this Tax field is filled. You hardcode it like:

it land1 = ES then tax = 1 for US = 0 like that.

Remove this field data from the file, since it is fixed.

hope this hellps.

Regards,

Anji