Lsmw for updating vendor address
hi alll
i am encountering a problem , when in the first step i do recording of XK02 , with address as the key field , the next screen allows me to enter street and house number in one common field , but in actual scenario if i run this transaction then these two fields are differnt .
can u let me know how do i do recording , as i think the 2 screens while recording and running the transactions are not same .....
i hope i made myself clear...
urgent help is appreciated.....
thanks a lot
Hi see following link :
http://www.sap-img.com/sap-data-migration.htm
http://www.sapmaterial.com/
Reward points if helpful.
Regards.
Srikanta Gope
Similar Messages
-
USING LSMW TO UPDATE VENDOR BANK DETAILS
Hi SAP gurus
I have used LSMW for mass updates of vendor bank details by recording the Tcode FK02
But the problem is .. after I load the data, its replacing the old bank details with the new one which Im updating with.
I want to keep the old bank details and add the new bank details as another entry.
How do I do that..
How Do I retain the old one and also the add a new entry to the bank details section of the vendor master record.
Is there any other way for mass updating the vendor master records
I have tried using MASS or XK99...but i cant add a whole entry with that transaction. All I can do is updating one of fields (Like Reference Details) in the bank details.
Thank you in advance for all your replies. Points will be awarded as a token of appreciationHi
when you record the transaction for bank details in LSMW in , try to create record in last line. Automatically it will go to top line.
I hope it will solve your problem.
regards
Srinivas -
Hi,
I want to use LSMW to update lots of vendor E-mail, but when i reocrd the screen, i find the field:E-mail is not found, and some other field like communication method is also not found duing recording of LSMW.
Then i change to use CATT, it is recorded.
Does anybody know why, can i use LSMW to change E-mail address of vendor, how to do that?If u want updated e-mail address in vendor master so u can use mass maintaince in t code MASS & select ur vendor object type.
Thanks & regards
Amar -
Using LSMW to update customer address data via RFBIDE00
Hi, I wonder if anybody has dealed with same issue for using LSMW with program RFBIDE00 to update customer address data.
We need to update the customer address data in the central address management data. Since those fields do not exist in basic structure of BKNA1, for example, C/O name, street 2 to Street 5, I am putting the mapping of the source fields to map to BIADDR2. However, all the data I mapped to BIADDR2 is not updating in the customer records. When looking into the code of RFBIDE00, the codes will only transfer the data from BIADDR2 if the customer account group is marked as consumer which our case is just a sold to, ship to, not consumer.
Does anybody have faced this issue before? Where should the exact central address data be mapped to in RFBIDE00?
We are using ECC6.0. Any advise is appreciated.Found the answer from SDN - not possible unless using some BUS.
RFBIDE00 - Address data issue
Thread closed. -
Function module for getting Vendor Address details
Hi,
Im new to this group,and new to ABAP
plz hep me out by solving ABAP Query...
i want to generate a report for getting Vendor Details
like Vendor address,Ph num and Email
input fields are Company code,country key and Account Group.
im Using Smart Forms for this..
but im not getting the Exact Function module to get All Required Details..
regards
Smithathanks for ur quick reply...
SELECT SINGLE LIFNR
FROM LFB1
INTO V_LIFNR
WHERE BUKRS EQ V_BUKRS.
CALL FUNCTION 'VENDOR_READ'
EXPORTING
i_bukrs = V_BUKRS
i_lifnr = V_LIFNR
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
this is the code i have written...
but my problem is there no table in the Function module....
for Example...
CALL FUNCTION 'QPAX_PLMKB_READ_FROM_PLKO'
EXPORTING
i_plnty = 'Q'
i_plnnr = V_PLNNR
I_PLNAL = V_PLNAL
i_sttag = V_DATUV
TABLES
T_PLMKB_TAB = IT_TAB
i want the function modules with tables and proper input... -
Creation of lsmw for updation of position and pers area
Hi friends,
I am tried many time to update position and personnel area through lsmw for all employees ,at time of recording its coming.But once compltion of lsmw preparation i am uploaded my inputs through tabfile that time its updating only personnel number and infotype and its asking the save the action screen (At the same time its showing one popup below screen like there is no recording for mp000000).Can you tell any one there whats the problem.At the same time is it possible to upload the position and personnel area through lsmw.
Thanks,
arjun.Hi Arjun
Are you performing a hiring actions, if you are performing a hiring action, when you start with LSMW, the recording should be correct with hire date or start date, personnel number, reason for hire, position number, personal area, employee group and subgroup.
The source field you specific should contain the required field name, type, length and field discription. The field mapping should be done perfectly and assign the specified file in txt format and try to upload.
If you are facing any problem, let me know. I think I can help you
Regards
Santhosh.S -
Fbl1n txn for updating vendor line item
hello every one iam trying to update vendor line item when a billing document get cancelled in vf11 i have tried bapi BAPI_ACC_DOCUMENT_REV_POST .
the requirement is whenever a billing document get cancelled the commision need to get credited again for example if vendor line item is
St Assignment DocumentNo Type Doc. Date S DD Amount in local cur. LCurr Clrng doc. Text
COMMISSION 1700000014 CP 31.08.2011 71.26- INR
it need to get like this
St Assignment DocumentNo Type Doc. Date S DD Amount in local cur. LCurr Clrng doc. Text
COMMISSION 1700000014 CP 31.08.2011 71.26 INR
that means the amount in local currency need to get into + one like above
Please help ASAP & if some one give me code also that will be very helpul for meHii ali this is my code & below iam showing u what wasthe data in my return table please suggest me what to do
DATA : P_REVERSAL LIKE BAPIACREV ,
TRAN_DOC(20) TYPE C ,
p_busact LIKE BAPIACHE09-BUS_ACT ,
p_objkey LIKE BAPIACREV-OBJ_KEY .
DATA : P_RETURN LIKE TABLE OF BAPIRET2 ,
WA_RETURN TYPE BAPIRET2 ,
WF_REMARKS ,
PLANT TYPE VBRP-WERKS ,
bill_no type vbrk-vbeln ,
belnr type BELNR_D ,
AWKEY type AWKEY .
data : date1 type sy-datum .
date1 = sy-datum+0(4) .
select single belnr AWKEY from bkpf into (belnr , AWKEY) where blart = 'CP' and
budat = sy-datum and
xblnr = vbrk-kidno . "bill_no .
IF SY-SUBRC = 0 .
CONCATENATE belnr AWKEY+10(4) date1 INTO TRAN_DOC .
ENDIF .
SELECT SINGLE WERKS FROM VBRP INTO PLANT WHERE VBELN = vbrk-kidno .
p_reversal-obj_type = 'BKPFF'.
p_reversal-obj_key = tran_doc.
p_reversal-obj_key_r = tran_doc.
p_reversal-pstng_date = sy-datum.
p_reversal-comp_code = tran_doc+10(4).
p_reversal-reason_rev = '02'.
p_reversal-ac_doc_no = tran_doc+0(10).
p_busact = ' '.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'
EXPORTING
reversal = p_reversal
bus_act = p_busact
IMPORTING
obj_key = p_objkey
TABLES
return = p_return.
IF sy-subrc = 0.
---commit Work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ELSE .
*****Use the below statement, if the BAPI is sending back the 'RETURN' internal table.
READ TABLE p_return INTO WA_RETURN WITH KEY TYPE = 'F'.
IF SY-SUBRC EQ 0 .
CALL FUNCTION 'MESSAGE_TEXT_BUILD'
EXPORTING
MSGID = WA_RETURN-ID
MSGNR = WA_RETURN-NUMBER
MSGV1 = WA_RETURN-MESSAGE_V1
MSGV2 = WA_RETURN-MESSAGE_V2
MSGV3 = WA_RETURN-MESSAGE_V3
MSGV4 = WA_RETURN-MESSAGE_V4
IMPORTING
MESSAGE_TEXT_OUTPUT = WF_REMARKS.
ENDIF.
ENDIF.
1 E RW 609 Error in document: BKPFF $ DEVCLNT300 000000 BKPFF $
2 E RW 632 Document BKPFF 1700000061WPL12011 DEVCLNT300 cannot be reversed 000000 BKPFF 1700000061WPL12011
3 E F5 814 Document type ZX not defined 000000 ZX
4 E F5 814 Document type ZX not defined 000000 ZX -
Standard LSMW for open vendor items with Withholding tax
Hi All,
I am searching the direct input LSMW which is having the Withholdig tax. There is a direct input program in LSMW ( RFBIBL00) but it is not uploaded the withholding tax for open vendor and open customer items.
If anybody know which LSMW is recammanded or anthing related to BAPI or IDOC for this requirements.
Dhiraj.Hi
If you need to upload the WT tax you have to fill the structure BWITH of std BI RFBIBL00, so your LSMW project should create a file like this:
---> Session data
BGR00
---> Document data
BBKPF (Header data
BBSEG (Vendor or customer item)
BWITH (Withholding tax data)
BBSEG (G/L item)
Max -
Lsmw for updating values in asset mater ( AS92 TCODE)
hI,
is there any standard reports for updating values of asset master ( as92) in LSMW.
please provide necessary information.
thans & red,
Hari priyaPriya,
Standard report is not there to update the Asset master.
Use BAPI to update the Asset master in LSMW:
Business object - BUS1022
Method: Change
Message type: FIXEDASSET_CHANGE
Basic Type: FIXEDASSET_CHANGE03
Regards,
Kiran Bobbala -
LSMW for functional location address fields
HI Folks,
I'm loading functional location thru LSMW Direct input method. I coudn't able to see any structure relation for address fileds on functional location. I have mapped the IBIPFLOC for functional location but it doesn't have any address fields. So how to load the address fields of functional location thru LSMW direct input method. Thanks in advance.Hi Praveen,
You can create a separate LSMW for this or you create a LSMW for FLoc upload along with the address details. I don't think this is possible with the standard program you have chosen.
Regards,
Bala -
LSMW Mass Update Vendor Master
I have a request to use LSMW to read all vendor records and reformat and update the tax code (LFA1-STDC1) field. Does anyone know if this can be done with LSMW? I am not sure how to do it. Or, is it easier to develop an ABAP routine to do the updates? Any help will be rewarded.
For mass updation one can use LSMW Object: 0040 / 0001 / RFBIKR00 / B or else try using FM vendor_update .
null -
How to update vendor address based on vendor control data
Hello,
i have a request to update one field (Search term 2) from Vendor master Address view:
based on industry code populated for the supplier (LFA1-BRSCH):
This means if industry code is populated, address field SORT2 must be updated with corresponding wording for this code.
How is it possible to do this?
I cannot use BAdI definition name ADDRESS_UPDATE as ADDRESS1_SAVED method is triggered only if one address field is modified.
I found VENDOR_ADD_DATA enhancement spot with VENDOR_ADD_DATA BAdI definition: can i use SAVE_DATA method?
If yes, which function module can i use to update LFA1 table? Is it OK with CHANGEDOCUMENT_SINGLE_CASE?
Thank you for your help.
Regards.
Laurent.Hello Sreejith,
thank you for the user-exit you gave me: it works as required.
Here is ABAP code:
CONSTANTS: lc_abap_true TYPE xfeld VALUE 'X',
lc_lfa1 TYPE ad_ownertp VALUE 'LFA1'.
DATA: lt_id_list TYPE TABLE OF bupa_partner,
lt_lfa1 TYPE TABLE OF lfa1,
lt_adrc TYPE TABLE OF adrc,
ls_lfa1 TYPE lfa1,
ls_adrc TYPE adrc,
ls_address_selection TYPE addr1_sel,
ls_addr1_val TYPE addr1_val,
ls_addr TYPE bapiad1vl,
lt_addr TYPE TABLE OF bapiad1vl,
ls_addrx TYPE bapiad1vlx,
lt_addrx TYPE TABLE OF bapiad1vlx,
lt_return TYPE isi_bapiret2_tt.
DATA: lv_brsch_txt TYPE text1_016t,
lv_objid TYPE ad_objkey.
APPEND i_lfa1-lifnr TO lt_id_list.
CALL FUNCTION 'BBP_VENDOR_GET_DATA2'
EXPORTING
wo_purch_org = lc_abap_true
TABLES
itab_id_list = lt_id_list
itab_lfa1 = lt_lfa1
itab_adrc = lt_adrc.
READ TABLE lt_lfa1 INTO ls_lfa1 INDEX 1.
READ TABLE lt_adrc INTO ls_adrc INDEX 1.
MOVE ls_adrc-addrnumber TO ls_address_selection-addrnumber.
CALL FUNCTION 'ADDR_GET'
EXPORTING
address_selection = ls_address_selection
IMPORTING
address_value = ls_addr1_val
EXCEPTIONS
parameter_error = 01
address_not_exist = 02
version_not_exist = 03
internal_error = 04
OTHERS = 99.
IF sy-subrc EQ 0.
IF NOT i_lfa1-brsch IS INITIAL OR NOT ls_lfa1-brsch IS INITIAL.
SELECT SINGLE brtxt
INTO lv_brsch_txt
FROM t016t
WHERE spras = sy-langu
AND brsch = i_lfa1-brsch.
IF ( ls_lfa1-brsch NE i_lfa1-brsch OR ls_adrc-sort2 NE ls_addr1_val-sort2 ).
CLEAR : lv_objid.
MOVE i_lfa1-lifnr TO lv_objid.
MOVE lv_brsch_txt TO ls_addr-sort2.
APPEND ls_addr TO lt_addr.
MOVE 'X' TO ls_addrx-sort2.
APPEND ls_addrx TO lt_addrx.
CALL FUNCTION 'BAPI_ADDRESSORG_CHANGE'
EXPORTING
obj_type = lc_lfa1
obj_id = lv_objid
TABLES
bapiad1vl = lt_addr
bapiad1vl_x = lt_addrx
return = lt_return.
ENDIF.
ENDIF.
ENDIF. "sy-subrc
Regards.
Laurent. -
Function module to update Vendor address using address number from KNVK
Hi ,
I need to update the Vendor contact information in tables ADRC,ADR2,ADR3,ADR6 and KNVK.
Could any one suggest me a function module or BAPI?
It is bit urgent requirement. Please advice.
Thanks in advance for your help.
KumarHi,
Please try this BAPI and FM.
BAPI_BUPA_ADDRESS_CHANGE.
BAPI_VENDOR_CHANGE
BAPI_VENDOR_EDIT
VENDOR_UPDATE
Regards,
Ferry Lianto -
LSMW for uploading Vendor Invoice in F-43
Hi All,
I want to upload Vendor Invoice using LSMW in F-43. But in the 3rd Step- Maintain Source Fields, I am unable to maintain same field more than once. System throws error stating that same field is maintained. Hence, when I complete all the steps and run the Batch Input Session, I dont have the respective fields and data in them.
I want to know whether we can upload Transactions through LSMW or its only useful for Master Data upload.
Thanks.Hi,
It is better to create a customized transaction code for the below BAPI to upload the vendor invoice/credit note details
API_ACC_DOCUMENT_POST - Can be used to post AP/AR.
following are the input fields
Header Text
Site
Document Date
Posting Date
Vendor
GL
Reference text
Item Text1
Item Text2
Amount
Currency
If the amount with credit indicator treated as GL credit and there is no sign with amount it should be treated as GL debit
thanks
Muhammed Riyas -
Function module for updating vendor:ADRC table
Hi all,
Please guide me how to update the database ADRC with using function module.
I need to use this function module in IDOC inbound.
Thanks.I am not sure about dependent database tables....but definitely the following BAPI will update dependent database tables also...
BAPI_ADDRESSORG_CHANGE
Refer the below link for using this BAPI...or search in SCN..
http://abap.wikiprog.com/wiki/BAPI_ADDRESSORG_CHANGE
Maybe you are looking for
-
Itunes for mac will not launch
my itunes will not launch have updated to 11. tried reboot. when trying to start the Icon bounces in the task bar then stops when you click on it says that it stopped responding seems to be only app having this prroblem. Thanks for your help.
-
Can I use "SuperDrive for MacBook Air" with my Macbook 13"?
My Optical Drive from my Macbook is dead. I tried to repair it but it is far too expensive. My question is: can I use a 'Superdrive for Macbook Air' (http://store.apple.com/us/product/MC684ZM/A#overview) as an external optical drive for my old Macboo
-
Find my iphone not working on macbook pro
Find My iPhone is working accurately on all my other devices and laptops. However on my MacBook Pro (mid 2012, running current Yosemite 10.10.1) it is not. As you can see from the image below on the MacBook Pro doing an iPhone search produces a confu
-
PXIe support with respest to digital I/O
Hi, I have developed a program for demodulation of RF data stream in FPGA 7999 interfaced with NI tranceiver 5791.Data gets demodulated and than stored to FIFO as required. After acquiring RF data stream it gets demodulated IN FPGA.Recovered data is
-
HT1414 I'm not get no sound out of my 4s
I'm not getting no type of sound from my 4s only when it rings that's all no typing no music no picture sound no motification sounds no voice mail sound no power off sound