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 the
Please 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
Similar Messages
-
LSMW for Vendor Master using Batch Input/Direct
Hi Folk,
I'm trying to create a LSMW for Vendor Master using Batch Input/Direct Input and in the step Create Batch Inout Session a error message appears:
Trans. 1 XK01: Acct already exists; general area not being processed.
Can somebody help me with this...........Hi,
Check manually create vendor. Check with recording steps means strucutre creadred while you choose BDC recording option. With same data r u able to create vendor.
Regards
Md.MahaboobKhan -
Issue in LSMW for material master using standard input program RMDATIND!!
Hello guys,
I have a issue in LSMW for material master.
I have a custom field in MARA table. which I want to add in my LSMW.
I added the field in BMMH1 structure. I'm passing the value to this field, But it is not populated in the table when I run it.
Is there anything else I need to do apart from addition of field in the structure BMMH1.
Thanks in advance for your help.
Regards,
Sumeet....see oss note 44410, it gives you a step by step overview.
https://service.sap.com/sap/support/notes/44410 -
LSMW - Standard Batch/Direct Input Method.
Hi all,
I was trying to create the LSMW for MM01 using standard Batch/Direct Input Method. While I selected object as "0020- Material Master" I am not able to get the Method for Batch Input. Is there any we can create method for batch input or we have to use only direct input?You have to use direct input method RMDATIND object 0020 to create materials. You may find batch input very complicated to create materials.
-
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 All,
I am trying to use LSMW for Vendor Master upload.
I have gone through all the steps and it is showing correct data in "Display Read Data".
Also the data in "Display Converted Data" is correct.
However when i am running step "Create Batch Input Session" , it is giving following errors:
(1) Transaction XK01 is not supported
(2) editing ws terminated.
Wt could be possible reason for this,I am using standard Batch method for object 0040 and program name RFBIKR00.
("Maintain Object Attributes" details).hello,
in the field mapping step, check whether tcode field has been assigned as XK01 properly.
Reward Points if it is Useful.
Thanks,
Manjunath MS -
LSMW for equipment creation-Standard Batch/Direct Input
Hi,
We developed an LSMW with standard batch / direct input method for creating equipment masters.
We used Object =0400 ( equipment ) and method = 0001 ( batch input)
We maintained source structures and source fileds. In the source field , we maintained only those fields that we need from table IBIPEQUI but in the order given in this structure.
Also we maintained filed mapping and field convertion rules for the above source fields.
When we run LSMW step - Display converted data , we see that
Transactions Read: 1
Records Read: 1
Transactions Written: 0
Records Written: 0
Not sure what could have gone wrong?
Please provide some clues to the following questions.
1) Should the source structure be same as fields from stuc. IBIPEQUI and should it include all the fields in the source structure?
2) Is field mapping required or not ?
3) We are getting an error - transaction is not supported in direct input mode.
Thanks in advance
Rgds,
Rajesh1. Source fields are( same as IBIPEQUI structure ; the tab delimited file matches with these fields)
TCODE C(020) Transaction Code
RECORDNAME C(008) Record name
EQUNR C(018) Equipment
DATSL C(008) Valid On
EQTYP C(001) Equipment category
EQKTX C(040) EQKTX
BEGRU C(004) Authorization Group
EQART C(010) Technical obj. type
GROES C(018) Size/dimensions
INVNR C(025) Inventory number
BRGEW C(017) Gross Weight
GEWEI C(003) Weight unit
ELIEF C(010) Vendor
ANSDT C(008)
ANSWT C(017) Acquisition Value
WAERS C(005) Currency
HERST C(030) Manufacturer
HERLD C(003) Country of manufact.
BAUJJ C(004) Construction year
BAUMM C(002) Construction month
TYPBZ C(020) Model number
SERGE C(030) ManufSerialNumber
MAPAR C(030) ManufactPartNo.
GERNR C(018) Serial number
GWLEN C(008) Warranty end date
KUND1 C(010) Customer
KUND2 C(010) End customer
KUND3 C(010) Operator
SWERK C(004) Maintenance plant
STORT C(010) Location
MSGRP C(008) MSGRP
BEBER C(003) Plant section
ARBPL C(008) Work center
ABCKZ C(001) ABC indicator
EQFNR C(030) Sort field
BUKRS C(004) Company Code
ANLNR C(012) Asset Number
ANLUN C(004) ANLUN
GSBER C(004) Business Area
KOSTL C(010) Cost Center
PROID C(024) PROID
DAUFN C(012) Standing order
AUFNR C(012) Order
TIDNR C(025) Technical IdentNo.
SUBMT C(018) Construction type
HEQUI C(018) Superord. Equipment
HEQNR C(004) Position
EINZL C(001) Single installation
IWERK C(004) Planning plant
INGRP C(003) Planner group
GEWRK C(008) Main work center
WERGW C(004) Plant for WorkCenter
RBNR C(009) Catalog profile
TPLNR C(030) Functional Location
DISMANTLE C(001) DismIndic.
VKORG C(004) Sales Organization
VTWEG C(002) Distribution Channel
SPART C(002) Division
MATNR C(018) Material
SERNR C(018) BOM explosion number
WERK C(004) WERK
LAGER C(004) LAGER
CHARGE C(010) CHARGE
KUNDE C(010)
KZKBL C(001) Load records
PLANV C(003) PLANV
FGRU1 C(004) FGRU1
FGRU2 C(004) FGRU2
STEUF C(004) Control key
STEUF_REF C(001) STEUF_REF
KTSCH C(007) Standard text key
KTSCH_REF C(001) Std text referenced
EWFORM C(006) EWFORM
EWFORM_REF C(001) EWFORM_REF
BZOFFB C(002) Ref. date for start
BZOFFB_REF C(001) BZOFFB_REF
OFFSTB C(007) Offset to start
EHOFFB C(003) Unit
OFFSTB_REF C(001) OFFSTB_REF
BZOFFE C(002) Ref. date for finish
BZOFFE_REF C(001) BZOFFE_REF
OFFSTE C(007) Offset to finish
EHOFFE C(003) Unit
OFFSTE_REF C(001) OFFSTE_REF
WARPL C(012) Maintenance Plan
IMRC_POINT C(012) Measuring point
INDAT C(008) Inverse date
INTIM C(006) Processing time OC Workbe
INBDT C(008) Start-up date
GWLDT C(008) Guarantee
AULDT C(008) Delivery date
LIZNR C(020) License number
MGANR C(020) Master warranty
REFMA C(018) REFMA
VKBUR C(004) Sales Office
VKGRP C(003) Sales Group
WARR_INBD C(001) Inbound warranty
WAGET C(001) Warranty inheritance poss
GAERB C(001) Indicator: Pass on warran
ACT_CHANGE_AA C(001) ACT_CHANGE_AA
STRNO C(040) STRNO
DATLWB C(008) Date Last Goods Movmnt
UII C(072) UII
IUID_TYPE C(010) IUID Type
UII_PLANT C(004) Plant Responsible for UII
2, source structure is assigned to target structure IBIPEQUI
3. In the assign files step - all settings given above are correctly maintained.
4. Field mapping
TCODE Transaction Code
Rule : Default Settings
Code: IBIPEQUI-TCODE = 'IE01'.
RECORDNAME IBIP: Name of the Data Transfer Record
Rule : Default Settings
Code: IBIPEQUI-RECORDNAME = 'IBIPEQUI'.
EQUNR Equipment Number
Source: ZIE01_002_SOURCE-EQUNR (Equipment)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQUNR is initial.
IBIPEQUI-EQUNR = ZIE01_002_SOURCE-EQUNR.
endif.
DATSL Date valid from
Source: ZIE01_002_SOURCE-DATSL (Valid On)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-DATSL is initial.
IBIPEQUI-DATSL = ZIE01_002_SOURCE-DATSL.
endif.
EQTYP Equipment category
Source: ZIE01_002_SOURCE-EQTYP (Equipment category)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQTYP is initial.
IBIPEQUI-EQTYP = ZIE01_002_SOURCE-EQTYP.
endif
When I read data with 1 record uploaded ( in the assign fields step , I did not choose "fields names at start of file" and also saved the file with tab delimited text format without field names), it shows as
Transactions Read: 2
Records Read: 2
Transactions Written: 2
Records Written: 2
I uploaded only one record but it reads as 2 records and can not figure out why 2 records?
Also when I checked display converted data , it shows 2 records .
First record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number
DATSL Date valid from 05072010
EQTYP Equipment category H
EQKTX Description of technical object PNEUMATIC PIPE BENDER
BEGRU Technical object authorization group
EQART Type of Technical Object MECH-PRESS
GROES Size/dimension 1000X500X1500MM
INVNR Inventory number
BRGEW Gross Weight : IBIP Character Structure 50
GEWEI Weight Unit KG
ELIEF Vendor number
ANSDT Acquisition date
ANSWT Acquisition Value: IBIP Character Structure
All the fields following this , are blank.
2nd record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number 2009
DATSL Date valid from
EQTYP Equipment category S
EQKTX Description of technical object 1006324
BEGRU Technical object authorization group
EQART Type of Technical Object
GROES Size/dimension 20100406
uploaded values are jumbled in 1st and 2nd record.
Hope to receive your valuable ideas for finding out the reason and corrective action required.
Rgds,
Rajesh
I
Edited by: Rajesh63 on Jul 6, 2010 10:37 PM -
Equipment BOM using LSMW- standard batch/Direct input method - reg
hi,
I tried to upload equipment BOM using standar batch / direct input method.
I have maintained sorcue structures for BOM header and Item, maintained source fields.
Both source fields have common field as equipment number.
It is working fine upto step display read data.
At step, convert data- i am getting ABAP dump.
"Data objects in Unicode programs cannot be converted" is displayed in dump
If any one tried before or experiance similar condtion before, please help
thanks & rgards,
Kiran kumar.KasturiHi,
thanks for your inputs.
In the Specify files Step ,when specifying the file from system , in separators,selected Tabulator .
and I have done already all the above while uploading my header and item file ( type tab delimited) and
still iam getting error at convert file step.
please help
thanks & regards,
Kiran Kumar.K -
LSMW: standard batch direct input for create document & document str
hello expert .
Is there any standard batch direct input for create document (tcode: cv01n ) & document structure (cv11) using lsmw.
regards
srinivasHi Srnivas,
I am not able to find direct input progarm for this, but there is one standard bapi available for this with name BAPI_DOCUMENT_CREATE you can use this.
Regards
Dhirendra -
Hi All,
Currently i have a requirement for the RFC where i need to create vendor. Currently iam using a BDC recording inside the RFC to create a vendor. But there are 5 account groups for my business where the vendor customizations are done. So the screen flow is getting changed. So how can i handle this scenario . There is no standard BAPI for vendor master creation. Please suggest on thisHello,
First identify what are the fields available and those not avaliable in the screens for each of the 5 account groups you use. After you identify them, in the BDC you can control whether the field should be updated or not based on the checks on account group
Vikranth -
LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA -Adding Custom Fields
Hi Gurus,
I'm developing LSMW for Material Master Upload using BAPI method.
Object:BUS1001006
BAPI:BAPI_MATERIAL_SAVEDATA
MESSAGE TYPE: MATMAS_BAPI
BASIC TYPE : MATMAS_BAPI03.
There is a requirement to use/map a custom field. Upon research custom field can be added to the parameter EXTENSIONIN and EXTENSIONINX, but I have no Idea on how to do it with LSMW. Please advise what approach is needed.
Thanks and Regards,
JayHi Gurus,
I got the following code below.
The custom field won't get updated.... Please advise on what should I do... I've checked different forums and still can't come up with the solution... Please advise..
REPORT ztest_extend_matmas1.
STRUCTURE
TABLES:
bapimathead, "Headerdata
bapi_mara, "Clientdata
bapi_marax, "Clientdatax
bapi_marc, "Plantdata
bapi_marcx, "Plantdatax
bapi_makt, "Material description
bapiparex, "Extensionstruktur
bapiparexx,
bapiret2. "Return messages
DATA:
bapi_te_mara LIKE bapi_te_mara,
bapi_te_marax LIKE bapi_te_marax,
v_file TYPE string.
INTERNAL TABLE
*to store the output data
DATA:BEGIN OF it_material_number OCCURS 0.
INCLUDE STRUCTURE bapimatinr.
DATA:END OF it_material_number.
*for materialtext
DATA:BEGIN OF it_materialdesc OCCURS 0.
INCLUDE STRUCTURE bapi_makt .
DATA:END OF it_materialdesc.
*für z-feld
DATA:BEGIN OF it_bapiparex OCCURS 0.
INCLUDE STRUCTURE bapiparex.
DATA:END OF it_bapiparex.
*für z-feldx
DATA:BEGIN OF it_bapiparexx OCCURS 0.
INCLUDE STRUCTURE bapiparexx.
DATA:END OF it_bapiparexx.
*to return messages
DATA:BEGIN OF it_return2 OCCURS 0.
INCLUDE STRUCTURE bapiret2.
DATA:END OF it_return2.
DATA:BEGIN OF it_return OCCURS 0.
INCLUDE STRUCTURE bapiret1.
DATA:END OF it_return.
DATA
lt_messages TYPE bapiret2_t.
PROCESSING
*bapimathead-material = it_material_number-material.
bapimathead-material = '100-2520'.
bapimathead-ind_sector = 'P'.
bapimathead-matl_type = 'AEM'.
bapimathead-basic_view = 'X'.
bapimathead-purchase_view = 'X'.
bapimathead-inp_fld_check = 'I'.
*bapimathead-BASIC_VIEW = 'X'.
*bapimathead-SALES_VIEW = 'X'.
*bapimathead-PURCHASE_VIEW = 'X'.
*bapimathead-MRP_VIEW = 'X'.
*bapimathead-FORECAST_VIEW = 'X'.
*bapimathead-WORK_SCHED_VIEW = 'X'.
*bapimathead-PRT_VIEW = 'X'.
*bapimathead-STORAGE_VIEW = 'X'.
*bapimathead-WAREHOUSE_VIEW = 'X'.
bapi_mara-matl_group = '0001'.
bapi_mara-old_mat_no = '100-251'.
bapi_mara-base_uom = 'ST'.
bapi_marax-matl_group = 'X'.
bapi_marax-old_mat_no = 'X'.
bapi_marax-base_uom = 'X'.
bapi_marc-plant = '1000'.
bapi_marcx-plant = '1000'.
it_materialdesc-langu = 'EN'.
it_materialdesc-matl_desc = 'DESC'.
APPEND it_materialdesc.
*bapi_te_mara-material = it_material_number-material.
bapimathead-material = '100-2520'.
*bapi_te_mara-zzforst = '4148'.
bapi_te_mara-material = '100-2520'.
bapi_te_mara-zzmar_field1 = '4148'.
*bapi_te_marax-material = it_material_number-material.
bapimathead-material = '100-2520'.
*bapi_te_marax-zzforst = 'X'.
bapi_te_marax-material = '100-2520'.
bapi_te_marax-zzmar_field1 = 'X'.
it_bapiparex-structure = 'BAPI_TE_MARA'.
it_bapiparex-valuepart1 = bapi_te_mara.
APPEND it_bapiparex.
it_bapiparexx-structure = 'BAPI_TE_MARAX'.
it_bapiparexx-valuepart1 = bapi_te_marax.
APPEND it_bapiparexx.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = bapimathead
clientdata = bapi_mara
clientdatax = bapi_marax
plantdata = bapi_marc
plantdatax = bapi_marcx
IMPORTING
return = it_return2
TABLES
materialdescription = it_materialdesc
extensionin = it_bapiparex
extensioninx = it_bapiparexx
returnmessages = lt_messages.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
THanks and Regards,
Jay
Edited by: jhayyy on May 17, 2011 6:54 AM -
LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA
Hi Gurus,
Im trying to develop lsmw for material master upload using bapi method.
Object:BUS1001006
BAPI:BAPI_MATERIAL_SAVEDATA
MESSAGE TYPE: MATMAS_BAPI
BASIC TYPE : MATMAS_BAPI01.
I m unable to find parameters to load gross_weight volume and volume unit and also problem loading the custom fields of material master. Any body who has worked on this one, can you please help me.
Thanks
venkatThe BAPI_MATERAIL_SAVEDATA support the gross_weight or the volume via the tables UNITSOFMEASURE and UNITSOFMEASUREX.
eg.
UNIT_OF_WT =KG
ALT_UNIT = PCS
NUMERATOR = 1
DENOMINATR =1
GROSS_WT =1000
All the customer specific field are supported by the EXTENSIONIN and EXTENSIONINX tables. -
CDHDR does not capture the Tcode for vendor master address changes:
Hi Guys,
Wish you a happy new year.
I have the problem to track the changes of the vendor master. I have a vendor master, which got changed by one user. If I look the change history, I can be able to see the change document number, old value and new value. based on that I used CDHDR table to find out the TCODE which is used for this change, but found no value in the TCODE field. What is the meaning of this? Is it meant to say that this field is updated by other sources other than direct changes (XK02/MK02)? If such a case, is it possible to find out the program or LSMW or BW, etc...which is used for this change?>
Smart Sometimes wrote:
> do we have the option to search the changes based on the USER id for a particular date?
Which userid? SCN or SAP userid? -
Hi friends,
I was doing migration for uploading Vendor master_FI. If I try it manually, I was able to post the document successfully. But while doing LSMW, it's giving the error 'No batch input data for screen SAPLSPO1 0300'.
This screen displays a Message 'whether to save the data or not'. If I run this session in foreground, the document is getting posted, when I click yes in the above window. But by running the session in Background , I am facing the above error. I will be greatly thankful, if anyone can help me in solving this problem.
Thanks & Regards,
SharmilaHi Sharmila,
is it error message or information message.
and more over this is the popup screen with some message,
may be you should pass enter or some thing. but what happened to this if you run in foreground did you got any popup.did you clicked manually with enter ....
Regards
vijay -
LSMW for material master using Batch input recording method
Dears,
I am using Batch input recording method to upload material master data. But while selecting views , I need to scroll to select the vies lets say Plant storage loc view. While scrolling and selecting ,views are not recorded propelry . That is when I run in foreground system selects only basic data and purchasing views but the plant data views are not selected(palnt data views are selected by scrolling while recording).
How to resolve this issue.
Pls help
Regards
KameshHI,
, I need to scroll to select the vies lets say Plant storage loc view. While scrolling and selecting ,views are not recorded propelry
Don,t scroll use Page down button from key Bord
like select Basis view and then press page down button from key board ,then you will get next view now select it
Regards
Kailas Ugale
Maybe you are looking for
-
I just installed elements 11 and was trying to create a photo for my daughter for my daughter by combining two pictures but can not figure how to do it, She has one picture with her niece holding a hand held mirror and another with the face of a fly
-
Help : Message Driven bean seeing the same message multiple times.
( We are using weblogic 8.1 on Solaris ) We have a bunch of message driven beans with the transaction type as 'Container' and the acknowledge-mode mode as auto-acknowledge. They are consuming messages from a weblogic Queue ( javax.jms.Queue ). The MB
-
Qosmio X500 - Stops responding, while watching video
Hello everyone! This problem occurs not very often, but it is quite strange and annoying, so I decided to post it here. When I am watching a video file, the screen suddenly blacks out, the speakers start crunching disgustingly (don't know, how to des
-
Why this page has missing elements in FFox 8.0 ( running Lion 10.7)
Why this page does not display the missing .png's on the bottom. looks fine in all other browsers http://www.jordieshapiro.com/home.html
-
Hello Gurus and Gurettes, I am currently working on a new conversion project. My problem is I have not been able to find much information about the conversion of this specific software( FAS Sage) to SAP. I was hoping someone has had experience and c