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

Customer master data

Former Member
0 Likes
1,622

Hello,

I would like to enter additional employees (partner role ZM)into the customer master data (sales area data) as easy as possile. I have tried to do it with transaction code SCAT but I had the problem that the new entry overwrote old ones. Could you help me and tell me what is the best way for entering those data?

Thanks in advance and best regards,

Nina

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,577

Hi

try the trx <b>XD99</b> customer mass maintainence

15 REPLIES 15
Read only

Former Member
0 Likes
1,577

Hi,

use xd02 transaction.

Regards

Amole

Read only

0 Likes
1,577

Check <b>XD02</b> Transaction

Read only

0 Likes
1,577

Hello,

yes I know that I can put in the new partner roles manually but I am talking about thousands of customers in which I need to put in a new responsible employee additionally. How to do that?

BR,

Nina

Read only

Former Member
0 Likes
1,577

you can use XD01 for creation

XD02 for changing the customer master data

Read only

Former Member
0 Likes
1,577

Hi,

write A BAtch input program to do the same ,record the transaction XD02 using SHDB transaction. and then generate the program from recording and modify the code.

and use it , this is simple..

i hope you don't want it manually going to XD02 and do it.

Regards

vijay

Read only

Former Member
0 Likes
1,577

Hi Nina,

make it via Batch-Input.

You can generate Code by using SM35 (Recording)

and use XD02 or VD02.

The Partenr are inserted you find in KNVP!

Regards, Dieter

Read only

Former Member
0 Likes
1,578

Hi

try the trx <b>XD99</b> customer mass maintainence

Read only

abdul_hakim
Active Contributor
0 Likes
1,577

Then you need to write a BDC for XD02 transaction...

Cheers,

Abdul Hakim

Read only

0 Likes
1,577

Wow,

thanks for your fast answers! But my main problem is how to make sure that the existing roles are not overwritten when I do the batch input or whatsoever. We have always different amounts of partners in the customer master data so I can never say to which line the new role should be inserted (that was the problem I had with transactio coed SCAT). I hope you understand what I mean. By the way, can you provide my with an instruction on how to do it over a batch input?

Thanks,

Nina

Read only

0 Likes
1,577

Hi Nina,

You need to manually perform validations in ur batch input program for such cases..

Cheers,

Abdul

Read only

0 Likes
1,577

Hello Abdul,

thanks for your answer. But how do I do that? I have never done a batch input before. Can you please provide me with more information?

Thanks and best regards,

Nina

Read only

0 Likes
1,577

Hi Nina,

i send you the Information using KNVP. Here you can find

the count of inserted Partner per Customer. Add one of this count and you get the line you can insert in the Batch-Input.

Regards, Dieter

Read only

0 Likes
1,577

Hi Dieter,

where can I see this count? I have never done a Batch Input before so sorry if I do not understand that quick.

Regards,

Nina

Read only

0 Likes
1,577

Hi Nina,

you cannot see it directly.

data: begin of itab occurs 0,

kunnr like knvp-kunnr,

I type i.

end of itab.

select kunnr from KNVP.

itab-kunnr = knvp-kunnr.

itab-i = 1.

collect itab.

endselect.

In itab you find the count per KUNNR.

Regards, Dieter

Read only

Former Member
0 Likes
1,577

Hi Nina,

Have you looked into this FM: SD_CUSTOMER_MAINTAIN_ALL.

Looks like this might help help you.

Regards,

Sumant.