‎2013 Jun 05 12:28 PM
Hi Experts,
I want to upload data to XK02 with the following fields.
| BUKRS |
| EKORG |
| LIFNR |
| NAME1 |
| NAME2 |
| STREET |
| HOUSE_NUM1 |
| STR_SUPPL1 |
| STR_SUPPL2 |
| STR_SUPPL3 |
| LOCATION |
| POST_CODE1 |
| CITY1 |
| COUNTRY |
| REGION |
| TEL_NUMBER |
| TEL_EXTENS |
| MOB_NUMBER |
| FAX_NUMBER |
| FAX_EXTENS |
| SMTP_ADDR |
| STCEG |
| BANKL |
| BANKN |
| AKONT |
| ZTERM |
| GUZTE |
| ZWELS |
| WAERS |
| FDGRV |
| REPRF |
I tried BAPI_VENDOR_EDIT to upload the above mentioned fields data from the excel sheet but in that bapi except vendor no other values we cant pass. Is there any other function modules or bapi to upload above mentioned data to XK02 transaction code.
Regards,
Karthik
‎2013 Jun 06 8:38 AM
‎2013 Jun 05 1:30 PM
Hi Karthik,
Please research thoroughly before posting because tonnes on material is available on this.
In brief, the BAPIs BAPI_VENDOR_CREATE/BAPI_VENDOR_EDIT etc do a direct call transaction to XK01/XK02 so they can be only used in creating vendors in dialog mode which renders them mostly inappropriate for general needs.
For clarity please read,
http://scn.sap.com/thread/3179582
http://scn.sap.com/thread/138495
http://scn.sap.com/thread/941442
https://scn.sap.com/thread/930542
BR,
Ankit.
‎2013 Jun 06 8:38 AM
‎2013 Jul 03 7:03 AM
Hi Raymond,
thanks for the reply, maintain_bapi method was usefull for my requirement.
Regards,
Karthik
‎2013 Jun 06 8:44 AM
‎2013 Jun 06 9:12 AM
‎2013 Jul 11 1:32 PM
Hi Raymond,
I want to change the vendor master details. I am using the method maintain_bapi of class vmd_ei_api to modify the existing record. In my excel am using few fields to modify and i dont want to update personal number, incoterms etc which is not there in my excel file. but after updating, personel number and incoterms are updated with 00000 and space but i want the orignial values to be as it is for incotems and personel no.
For example: before uploading personel no is 45 then afet uploading also it should be 45 but it is replaced with 000.
Regards,
Karthik
‎2013 Jul 11 5:50 PM
Please share your code where you are populating values. Following link may also be helpful.
http://scn.sap.com/thread/3388043
Regards
‎2013 Jun 06 9:04 AM
Hi,
Go through the following links,
http://scn.sap.com/thread/3177379
http://scn.sap.com/thread/1796697
Warm Regards,
John.
‎2023 Oct 11 7:02 AM
kindly ,can you share your coding part for this XK02 transaction code. Because i too got same requirement i tried various methos but it is not working.
thanks and regards,
chandru