LSMW - XK01
Hi all,
I am trying to upload xk01 using lsmw. I also want to update bank details along with the general vendor data.
I have two structures with bank details struucture at the lower level.both the structures have lifnr in common.I also had data in two flat files. This way I am able to upload data into files . Now my task is to upload data using one flat file. Can anyone please explain me how do I define the structures and the data format in flat file.I hope I am clear with my problem.
How do we write the code in 5 and 6 th steps of lsmw.
Regards,
Varun.
Message was edited by: varun sonu
1. You have to add another field ( at first place) which indicates whethere this is header, item, etc. ( in your case 1-general data, 2-bank data) in your flat file (source structure.
2. Similarly add them in the target structures and assign indicator to this field (attributes of field).
3. In the file assignment you have to choose sequential file.
4. Thats it.
Similar Messages
-
hi Gru,
i have a problem with a TC lsmw and a field relatives at wotholding tax dynpro.
i have create a project with
Object 0040
Method 0001 Standard
Program Name RFBIKR00
Program Type B Batch Input
i have created all step:
Maintain Source Structures
Maintain Source Fields
Maintain Structure Relations
Maintain Field Mapping and Conversion Rules
Maintain Fixed Values, Translations, User-Defined Routines
Specify Files
Assign Files
Read Data
Display Read Data
Convert Data
Display Converted Data
Create Batch Input Session
Run Batch Input Session
when i display a converted data all is ok but when i launch a batch input session, occurred an errore message 'E' Required entry is missing in withholding tax area.
the field data not appears in field on dynpro! but is correctly read in precedent step...
can u help me?
thx in advance & sorry for my little english
ValerioMaybe the LSMW default mappings of BLFM1 are still there (usually the first few fields of the structure)?
What you could try is adding a rule in BLMF1 like
if BLF00-EKORG is initial. (check for nodata sign also)
skip_record.
endif.
Thomas -
LSMW Vendor XK01 Session Failed to create
Hi all,
I am trying to upload vendor data using LSMW using direct batch program RFBIKR00 . Would like to store Compnay code level details also. I did have Compnay code 0001 in FIle..I checked Converted data also, but getting below error ....
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VENDR_BTCH_I was opened
FB105 Trans. 6 XK01 : CoCde not entered; company code area not being edited
FB125 ... Data in table BLFB1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR /
FB014 ... BLF00-BUKRS
FB014 ... BLF00-EKORG
FB014 ... BLF00-KTOKK
FB017 ... Last data record ...
FB014 ... BLFB1-STYPE 2
FB014 ... BLFB1-TBNAM BLFB1
FB014 ... BLFB1-AKONT
FB014 ... BLFB1-ZUAWA
FB014 ... BLFB1-LNRZE /
FB014 ... BLFB1-BLNKZ /
FB014 ... BLFB1-XDEZV /
FB014 ... BLFB1-FDGRV /
FB014 ... BLFB1-BEGRU /
FB014 ... BLFB1-VZSKZ /
FB014 ... BLFB1-ZINDT /
FB014 ... BLFB1-ZINRT /
FB014 ... BLFB1-DATLZ /
FB014 ... BLFB1-QSSKZ /
FB014 ... BLFB1-QSZNR /
FB014 ... BLFB1-QSZDT /
FB014 ... BLFB1-ZTERM
FB014 ... BLFB1-TOGRU /
FB014 ... BLFB1-KULTG /
FB014 ... BLFB1-REPRF
FB014 ... BLFB1-ZWELS
FB014 ... BLFB1-ZAHLS /
FB014 ... BLFB1-LNRZB /
FB014 ... BLFB1-HBKID /
FB014 ... BLFB1-XPORE /
FB014 ... BLFB1-WEBTR /
FB014 ... BLFB1-XVERR /
FB014 ... BLFB1-BUSAB /
FB014 ... BLFB1-EIKTO
FB014 ... BLFB1-ZSABE /
FB014 ... BLFB1-KVERM /
FB014 ... BLFB1-LOEVM /
FB014 ... BLFB1-SPERR /
FB014 ... BLFB1-MINDK /
FB014 ... BLFB1-ALTKN /
FB014 ... BLFB1-ZGRUP /
FB014 ... BLFB1-MGRUP /
FB014 ... BLFB1-UZAWE /
FB014 ... BLFB1-QSREC /
FB014 ... BLFB1-QSBGR /
FB014 ... BLFB1-QLAND /
FB014 ... BLFB1-XEDIP /
FB014 ... BLFB1-FRGRP /
FB014 ... BLFB1-PERNR /
FB014 ... BLFB1-TLFXS /
FB014 ... BLFB1-TOGRR /
FB014 ... BLFB1-INTAD /
FB014 ... BLFB1-GUZTE /
FB014 ... BLFB1-GRICD /
FB014 ... BLFB1-GRIDT /
FB014 ... BLFB1-XAUSZ /
FB014 ... BLFB1-CERDT /
FB014 ... BLFB1-NODEL /
FB014 ... BLFB1-TLFNS /
FB014 ... BLFB1-GMVKZK /
FB014 ... BLFB1-PREPAY_RELEVANT /
FB014 ... BLFB1-ASSIGN_TEST /
FB014 ... BLFB1-SENDE /
FB013 ....Editing was terminated
Thanks,
srisolved myself...empty records at the end of text fille lead to empty company code ...
-
LSMW for Vendor Master (t-code XK01)
Hi guys,
I'm creating a LSMW for Vendor Master (t-code XK01) using direct input but the following error message appears:
In the step "Create batch input session", I get the following error:
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VENDOR was opened
FB112 Trans. 1 : No transaction code was transferred
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE /
FB014 ... BLF00-LIFNR DETES998
FB014 ... BLF00-BUKRS /
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK 0001
FB013 ....Editing was terminated
I mapped the TCODE filed using xk01 and the same error still displays; in the first step I select Object 0040, method 0002 and the program is RFBIKR00, is this correct?
Some of the fields are stored ina different table; How can I mapped this fileds?
Any you can provide will be great......Hi,
Are you getting this error immediatly or later half?
1. This could be with same Vendor number which would be existing in the system.
2. Data inconsistencies.
What are the flat files that you have is it a single file or more than one?
Thanks,
Prashanth -
Hi Experts..I need your help...I`m trying to create the Vendor LSMW by Batch Input Recording using the XK01. I execute all steps with sucessfull but the vendor doesnt create.. When i was executed the mapping in LSMW the system doesnt appear the message F2175 that indicate the vendor is created. In Sm35 the file for vendor create run with sucessfull, but doesnt save in LFA1..doesnt generate the number of create. I'm check the intervals numbers are correct too..
Anybody has idea that happened?
Thanks,
KristinDoes your LSMW just create the BDC session? Or, do you have something that creates the BDC session and subsequently calls the transaction code?
-
hello ,
I have a query in lsmw for xk01.
while doing lsmw for xk01, after executing step 1 the system ask for tcode , i gave xk01 there.
The next screen shown contains title field which belong to structure sza1_d0100 and field name is Title_medi whose length is 30.
But when i directly give tcode xk01 in command field. The screen opened contains title field which belongs to
table lfa1 and field name is ANRED whose length is 35.
Why this diffence is ? .use below first LSMW method
Object 0040 Vendor master
Method 0001 Standard
Program Name RFBIKR00
Program Type B Batch Input -
hi all,
I am using LSMW for the transaction XK01. while recording i am not getting few fields (like SORT1, SORT2) in the recording screen but instead i get a new screen called SORTL.
Few more fields are different from normal transaction of XK01 and recording screen
anyone who cud help me on this issue
Thnx in advance
SolaiHi Solai,
The fields you are referring to are part of the central address management that is added on top of all master data for storing addtional address information. You need to add values to those fields in a separate pass. Also, recording XK01 is not the best way to load vendors. Please use the object 0040, method 0001 for loading basic vendor information. It uses the program RFBIKR00 for loading vendors in using batch input sessions. It has excellent documentation that also points you to how you can add the additional details of the address.
Srinivas -
while uploading Vendor master thru LSMW, if we will create one record to get the field name when i tried that the screen is looking different in the template which i have collected from client is having 2 columns for address.
Street 2, street 3
Now in the LSMW screen i am seeing only one field street 2 for address..
i deleted the street 3 what i had in the flat file and i have successfully completed my uploading, now i need to upload the street 3 also
Pls guide me...Hi,
It is risky job to add new field u201Cstreet 3u201D but can be done & care must be taken as LSMW already done for specific job. As you are using recording method with LSMW, then can add an extra field ( But you should know the screen field name of the field) in maintain object attribute segment (in change mode) by clicking Add Screen field (no4 icon from left side in application toolbar).But you must be careful for adding new field with a logic of sequence ( Like street 1 , street 2 & then street 3) and should be placed properly.
Regards,
Biju K -
LSMW-direct Input Method for Vendor-XK01.(Urgent)
Hi Experts,
When we are uploading vendor master details thru lsmw using Direct Input we are encountering an error message in the step Create Batch Input Session and the error is Special character for empty field is /.
Beacuse of this the session is not getting created.
We are passing only mandatory fields not the entire fields specified in the program RFBIKR00 Method : 0001 ,Object 0040.Hence its taking nly / for the empty fields.
Please advice how can we rectify it.check whether you are passing all the fields mentioned in the structure difined by you. if u delcared some fields in your passing structure and you mapped all these fields with standrd structure you have to pass compulosry those fields otherwise you have to put a validation at the field mapping.
double click on the mapped field. insert the validation.
( suppose u have a field qsskz in your structure and for some records you are not passing any value to this field then you have to add following validation)
if itab-qsskz is initial.
blbf1-qsskz = '/'.
else.
blfb1-qsskz = itab-qsskz.
endif. -
LSMW- Creation of Vendor(XK01)
Hello Friends,
I am using the standard Batch Input program RFBIKR00
for the creation of Vendor.
I need to update the HOUSE NUMBER(ADDR1_DATA-HOUSE_NUM1) and the TIME ZONE(ADDR1_DATA-TIME_ZONE).But the the standard batch input program is not supporting these 2 fields.
Can anyone help me in this regard
Thanks in Advance!
Ashish.Hello Friends,
I am using the standard Batch Input program RFBIKR00
for the creation of Vendor.
I need to update the HOUSE NUMBER(ADDR1_DATA-HOUSE_NUM1) and the TIME ZONE(ADDR1_DATA-TIME_ZONE).But the the standard batch input program is not supporting these 2 fields.
Can anyone help me in this regard
Thanks in Advance!
Ashish.
I believe you havenot maintained HOUSE NUMBER(ADDR1_DATA-HOUSE_NUM1) and the TIME ZONE(ADDR1_DATA-TIME_ZONE) in maintain source fields.How many source fields are you using ?Have you selected the target structure in the structure relations step?Once you have done through maintain the field mapping using the source strututre in your prior steps.The last(13th) step should be your satrt direct input program.I donnot see any thing beside this that might worry you provided the direct i/p program is correct for your requirement.
Regards
Somnath -
LSMW Vendor Create /Change (XK01/XK02) by IDOC CREAMS05 for CONTACT PERSON
Hi Experts,
Can you Please help me for CONTACT PERSON (create/ change) upload for vendor using the IDOC type CREMAS05.
which structure is appropriate for CONTACT PERSON in CREMAS05
Thanks in advance,
Babumiya Mohammadokay, this screen is not active in my system. (are you doing retail?)
if it is address data, then it is usually transmitted with the ADR3MAS idocs
this is at least the case for customer contacts.
Edited by: Jürgen L. on Feb 20, 2012 5:13 PM -
Vendor Master Data LSMW problem
Hi,
I have vendor master data in XLS file. Created project in LSMW with standard batch input object 004 (Vendor Master Data), Method (0001 standard) and Program name RFBIKR00.
Other constant data:
BLF00-TCODE = 'XK01'
BLF00-LIFNR = 'FOX1220' ... 'FOX1221' etc
BLF00-BUKRS = '3800'
BLF00-EKORG = '2000'
BLF00-KTOKK = "LIEF'
other all data like (Bank detail, purchasing data, accounting data, dunning data) are coming from that single XLS file.
Problem while creating Batch Input Session: <b>"Vendor FOX1221: data retention at plant level not allowed"</b>
Why??? Reading and converting data is fine.. but still problem terminates the BDC.
Please help me out
Thanks,
Chetan ShahHey it is solved, just making WERKR (Data retaintion at Plant Level) = 'X'
Thanks,
Chetan Shah -
Error in the LSMW for vendor master using standard batch/direct input
I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
Batch Input Interface for Vendors
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VNDR_CREATE_ was opened
FB104 Trans. 2 XK01 : Acct already exists; general area not being processed
FB125 ... Data in table BLFA1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR 300951
FB014 ... BLF00-BUKRS 402
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK VEND
FB017 ... Last data record ...
FB014 ... BLFA1-STYPE 2
FB014 ... BLFA1-TBNAM BLFA1
FB014 ... BLFA1-ANRED /
FB014 ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
This is because when we use XK01 to create the vendor by using thePlease check this answered link:
Re: LSMW for Vendor Master
LSMW Upload vendor master data
Edited by: Afshad Irani on May 5, 2010 12:42 PM -
LSMW-Vendor master data and Vendor Open items Upload
Dear Experts,
I need help on the following
Do you have any docs with you where I can familiarize myself with the AP upload programs in LSMW?
sample template for me to test the upload via LSMW? sample template and the programs used to upload the vendor master and Vendor open items.how to use the program for example like some instruction docs step by step doc etc.
Thanks n Regards
Rena.hi
there are 14 steps u have to go through while uploading...
first u create Project and Sub Projects...
1 Maintain Object Attributes
select Batch Input Recording.
click on Overview.
enter Recording
Then it wil ask for the Transaction code there u enter XK01 for creation
u enter all The details Which are Given to u in Excel by ur CTM Members.
note: Dont use Mouse while Entering the data.Use Only Key Board.
After Entering all the required details click on Save...
select Default All
System-> List -> Save -> Local File
Convert Excel to Text File(Text Tab Limited)
2 Maintain Source Structures
Create Source Structure.
3 Maintain Source Fields
click on Copy Fields
Select From Data File
Select Max Len
save + back
4 Maintain Structure Relations
save+back
5 Maintain Field Mapping and Conversion Rules
Extras -> Auto Field Mapping
select Edit All Target Fields
save + Back
7 Specify Files
Click on Execute Button or press F8.Select u201CSPECIFY FILESu201D click on Execute or press ctrl+F8.
then double click on the u201CLEGACY DATA FILEu201D and select the text file to be uploaded
Then select u201CTABULATORu201D and u201CFIELDS NAMES AT START OF FILEu201D
8 Assign Files
SAVE AND CLICK ON BACK
9 Read Data
Execute + back
10 Display Read Data
Back
11 Convert Data
Execute + back
12 Display Converted Data
back
13 Create Batch Input Session
Select u201CKeep Batch Input Folderu201D click on Execute.
14 Run Batch Input Session
Select Processing mode
1) Process in Foreground: Executes Each Step.
2) Display Errors Only: Displays only the Errors.
3) Background: Skips The Errors.
Select Extended Log and Click on Process as shown in Screen Shot.
Edited by: Smitha KB on Feb 24, 2009 10:32 AM -
Problem in LSMW - Vendor master upload
Hello Experts,
I am doing vendor upload using LSMW direct input (RFBIKR00) program. I am uploading files in LFA1, LFB1, LFBK, LFM1 and MAIN - total 5 files, MAIN file has all the key fields which is in(BLF00) structure. Other files has same table structure as its names are.
Now When I run the batch input session. It works for the first vendor, but if there is record for the same vendor with other company code, then it gives error as no data available for screen 102.
for eg. MAIN file has records as below
KTOKK,EKORG,BUKRS,LIFNR,TCODE
LIEF, 0990, US01, 0001234567, XK01
LIEF, , CH01, 0001234567, XK01
In above records, same vendor has 2 company codes, so for the 2nd record, I think Accounting Information screen should come directly, but when I saw session run in foreground, it takes all the fiels blank , and then gives error as no data available for the screen, and it does not create record for CH01.
Please suggest If I have to do something else for it, or am I doing anything wrong!?!
Regards,
bh_hirHI,
In step 12, I see both the records, but in the 2nd record - I also see LFA1 and LFM1 structure filled with LFB1.
so I think for 2nd record It should just fill LFB1 and header(BLF00) right?
But dont know how to achieve this...
please suggest.
Thanks,
bh_hir
Maybe you are looking for
-
BAPI to create customer master record
Hi , I was looking for the BAPI to create the customer master record in R/3. we are using the ERP 2005 system . I did find the BAPI but it will only creat the personal information of the customer . I was looking for a BAPI that will create the whole
-
My aol screen freezes when I try to click through a series of photos.
My aol screen freezes when I try to click or swipe through a series of photographs or similar images. Rebooting my iPad does not solve the problem. Has anyone else had this problem and/or come up with a fix?
-
The date format accepted in the BW system is of the form yyyymmdd. But i have the flat file from the user which contain the below format : yymmdd. Kindly let me know how can i change the date format from yymmdd to yyyymmdd. Thanks in advance, Rachu
-
How to calculate MTD,YTD in Repository
Thanks in advance Regards Frnds..
-
Why is Ghost Hunters not available?
I expected to be able to watch the new episode of the current season of series Ghost Hunters from the SyFy channel yesterday June, 13th 2013. When I went to download it I found that Ghost Hunters is completely missing from iTunes. I own a few of th