2010 Feb 01 12:59 PM
Hi,
We have a requirement where in we need to update the partner functions of a vendor (table WYT3), transaction XK02. Is there any BAPI to do so?
Regards,
Vinod Nagre
2010 Feb 01 3:43 PM
if it possible go for below LSMW batch input method
Object 0040 Vendor master
Method 0001 Standard
Program Name RFBIKR00
Program Type B Batch Input
2010 Feb 01 1:33 PM
Hi,
see these function modules
VENDOR_UPDATE
VENDOR_MAINTAIN_XK02
regards
SAntosh
2010 Feb 01 1:36 PM
Hi,
Check BAPI_VENDOR_EDIT, FM VENDOR_UPDATE , function module.
Thanks
Abhijit
2010 Feb 01 1:48 PM
Hi Abhijit and Santosh,
I checked these BAPI/FM, but couldn't find the parameters to update Partner Functions.
Please let me know the correct parameters or other BAPIs/FM.
Thanks.
Vinod Nagre
2010 Feb 01 3:43 PM
if it possible go for below LSMW batch input method
Object 0040 Vendor master
Method 0001 Standard
Program Name RFBIKR00
Program Type B Batch Input
2010 Feb 02 9:31 AM
2013 Jun 26 7:29 AM
2014 Jan 20 9:39 AM
Hi
Can you help me, how is possible update vendor data using net. connector with RFC function (or some another way to update vendors data from 3th party program). Up to now I read only data from LFA1 using net. connector (using RFC function RFC_READ_TABLE) and now I need update vendor data (e.g. NAME1, NAME2, ADRNR etc. from LFA1)
Our SAP system contains very much duplicate record (many LIFNR has the same STCD2, STCEG etc. but different NAME1 who contains typist's error or something like this. 6000 vendors has 1700 duplicates and incomplete record). Our Administrator don't know how set up SAP so that impossible create duplicite vendors! Because our system SAP contains very, very, very much elementary error, this system is not helpfull for our company.
Thank you
2014 Nov 10 10:39 AM
Hi,
I am also facing the same problem,
while using the lsmw , instead of updating the partnber value it append with a new value.
Can anyone please help me with it.
any help would be appreciated.
Thanks & Regards,
Arjav Gandhi
2023 Oct 06 5:34 AM
After lot of try later this method worked for me to update PF in WYT3 table
Use the Class CL_MD_BP_MAINTAIN and call method VALIDATE_SINGLE and later call method MAINTAIN.
You have to give input to the extern structure - > pass already created BP and its GUID in 'U' update mode in Partner related Object and in vendor related details in Header pass the vendor name in U mode and update purchasing data with the details of ekorg and pass lfm1 - webre ,lfm1 - KALSK, lfm1-waers, lfm1-zterm fields mandatorily in data and in data x also provide X for these fields.
Later update your current state as "X" and Partner functions in Functions structure in vendor >> purchasing >>purchasing>> functions
initially call Validate single and maintain.
Here there might be a chance for abort for BUPA_central call in validate single but If you retry it it will not come, then call maintain.
Please remember while passing the Partner functions Please pass the existing functions ( same as in WYT3 in same order and at last add your new PF) in Update mode or else only the PF you insert will get inserted and other functions will be deleted.
Here if you try with BDC of BP also it will not work at the stage of page down or up and any other FM 's are not provided to update Partner Functions.