I have a requirement where i have to delete partner function (ship to )for particular customer in vd02.
e.g in vd02 for customer X . In partner function tab of vd02 , 3 ship tos SH are assigned (there may be n number of ship tos , now i want to delete these ship tos from customer X and reassign them to customer Y. We can do it by manually deleting each ship to, but for large number of ship to its very tedious job. Is there a way to do this like bdc bapi anything which can solve this problem ? Please suggest.
you can try with below LSMW
Object 0050 Customer master
Method 0002 Extended PSM
Program Name RFBIDEK0
Program Type B Batch Input
in the strcture BKNVP
XDELE Indicator: Delete entry using batch input ?PARVW Partner Function
Code: BKNVP-PARVW = YSMC001_PARTNER-PARVW.
KTONR Number of an SD business partner
I tried lsmw as you said. I made BKNVP-DELE = 'X'. as constant
BKNVP-PARVA = 'WE'.
And in file i used kunnr vkorg vtweg spart and kunn2.
but after executing step 'create batch input' , am getting following information messages.
1) Session 1: Special character for ' empty fields' is /
2) Session 1 session name VD03_C was opened
3) Trans. 1: Transaction VD02 is not supported
4) ... Last header record ... in the strcture BKNVP ... BKN00-STYPE 1 ... BKN00-TCODE VD02 .. BKN00-KUNNR 41004610
.. BKN00-BUKRS / ... BKN00-VKORG 4100 .. BKN00-VTWEG 01 .. BKN00-SPART 08 ... BKN00-KTOKD / ....Editing was terminated
Can you please suggest on this