‎2006 Jun 01 2:44 PM
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
‎2006 Jun 01 2:58 PM
‎2006 Jun 01 2:48 PM
‎2006 Jun 01 2:49 PM
‎2006 Jun 01 2:51 PM
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
‎2006 Jun 01 2:50 PM
you can use XD01 for creation
XD02 for changing the customer master data
‎2006 Jun 01 2:56 PM
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
‎2006 Jun 01 2:57 PM
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
‎2006 Jun 01 2:58 PM
‎2006 Jun 01 2:58 PM
Then you need to write a BDC for XD02 transaction...
Cheers,
Abdul Hakim
‎2006 Jun 01 3:06 PM
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
‎2006 Jun 01 3:19 PM
Hi Nina,
You need to manually perform validations in ur batch input program for such cases..
Cheers,
Abdul
‎2006 Jun 01 3:26 PM
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
‎2006 Jun 01 3:28 PM
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
‎2006 Jun 01 3:43 PM
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
‎2006 Jun 01 3:55 PM
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
‎2006 Jun 01 3:54 PM
Hi Nina,
Have you looked into this FM: SD_CUSTOMER_MAINTAIN_ALL.
Looks like this might help help you.
Regards,
Sumant.