LSMW for routing with standard batch input

Hello All,
I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
I have created three source structures viz. material- task list header, task header data, operation and inspection.
Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
The excel file has been prepared as follows,
H     MATNR     WERKS     PLNNR     PLNAL               
H     100045     1000     50000043     1               
H     100045     1000     50000043     2               
I     MATNR     WERKS     PLNNR     PLNAL     VALID_FROM     USAGE     STATUS
I     100045     1000     50000043     1     01012000     1                1
I     100045    1000     50000043     2     01012000     1                 1
I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
In 'Assign file' step the flat file is assigned to all the four source structure.
Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
How to overcome this?
<removed by moderator> answers will be greatly appreciated........
Mimiri
Edited by: Thomas Zloch on Jul 11, 2011 10:16 AM

Hello ,
have you maintained this check box for the key fields"
LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
Selection Parameter for "Import/Convert Data"-->Tick this check box
regards

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

  • 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,
    Rajesh

    1. 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

  • 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
    Kamesh

    HI,
    , 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

  • LSMW Routing- Standard Batch Input BDC_INSERT, screen .&. is invalid

    Hello All,
    I am preparing LSMW for routing upload along with inspection characteristics with standard batch input method.
    At the time of 'Create batch input session' I am facing an error 'BDC_INSERT, screen .&. is invalid'.
    I have checked the forums for the same issue but it wasn't fruitful. However I cam across one thread which mentions to ensures the data in falt file, which I did checke and confirmed.
    What could be the reason?
    Awaiting your replies...
    Mimiri

    Hello all.
    I was facing the same problem.
    To solve,I filled BI001-TCODE with 'QP01' (constant) in Maintain Field Mapping and Conversion Rules.
    I know, this is a old question, but when I was searching I didn't find anything with this.
    Regards.
    Cássio Oliveira

  • LSMW - Error in Inventory - Create batch input session

    Hello good day.
    I'm trying to create a batch input session for inventory upload (Standard Batch Input program - RM07MMBL) and when I select the Name of logical file = "MM_INVENTORY_MANAGEMENT_GOODS_MOVEMENT" and press F8, the following error occurs:
    <b>Sequential file mmgoods cannot be opened
    Message no. M7 850</b>
    Now as the legend says.... I've contacted my system administrator and he keeps telling me everything is ok, but the error keeps appearing, where can I see if I have authorization for this "file" ???
    Where is it created ??
    I need more info on this.
    Your help is very much appreciated.
    Thank you.
    Juan

    go to file transaction n check for the logical file path and logical file weather it is defined correctly r not?
    if it is correctly defined check for the file, weather the flat file is defined at the correct location which is defined in the logical file path
    u can refer the below link also
    Re: Logical file
    Regards,
    Naveen

  • LSMW Routing Standard Batch Input Create Batch Input Session

    Hello All,
    I am using LSMW for routing upload, using standard batch input method. Program RCPTRA01.
    I am facing this quite peculiar problem.
    I have tried first with separate text file for every source structure. Everything works fine till convert data step.
    But when I go for 'Create Batch Input Session' it creates session for tables MAPL, PLKO, PLPO, PLMZ, PLMK. Other tables remain balnk (EAPL, PLFL, PLAB, PLFH, PLPH, PLFT, PLFV, PLWP). Because of this while running the session only the header and material assignment to task list get uploaded. Rest data, operation, MIC, component allocation do not get uploaded.
    I have also tried for one text file for multiple structure. In that I face porblem for BDC creation. While debugging I faced th same thing in this also.
    Could anyone please explain me the soution for this? Do I need to amend any progrm fior this?
    Expecting lightning fast replies from Gurus....
    Mimiri

    Hello All,
    I am awaiting your reply on this.......
    Mimiri

  • Standard batch input program for Routing

    Hi,
    Please inform me if there is any standard batch input program for uploading routing data.
    Regards
    Ramakanth

    Hi
    Pls check RCPTRA00

  • Standard Batch Input Programs for Profit Center Creation

    Dear all;
    I am in 4.0B version that doesnt have BAPI_PROFITCENTER_CREATE. Writing a BDC for this would be complicated as my data is compiled in a different way.
    Are there any Standard Batch Input Programs for Profit Center Creation ?

    Hi Srivathsan,
    You can make use of  Standard BAPI by LSMW.
    Business Object   BUS1116      Profit Center Group
    Method                CREATE                      Create
    Message Type      PROFITCENTERGROUP_CREATE   
    Basic Type           PROFITCENTERGROUP_CREATE
    Regards,
    Sivaram.

  • LSMW Standard Batch Input Program

    Hi,
    I have one requirement on creating BOM.
    I have to upload data from legacy system to SAP for T-Code ' CS01'
    I have to use the Standard Batch input Program 'RCSBI010'.
    I have source structure and Target Structure.
    In Source structure i have Header and item data.
    In Header i have 11 fields and in Item i have 23 fields.
    In Target Structure i have upto 130 fields.
    In the Standard program who have 4 structures and each structure have fields.
    So How many  fields i have to map with Standard structure. and in my source structure i dont have the fields like T-code, session name, user name,and xkeep.
    So how to pass these fields (T-code, session name, user name,and xkeep) to the standard structure. and is it necessary to pass these fields to the standard batch input program.
    Advance thanks,
    Kumar A

    Hi,
        Hi,
    Record type 0: one session record (structure BGR00) per session..
    The session header contains general administrative data on the batch input session to be created. All records that follow the header in the sequential file are assigned to the current session, until the next header occurs in the file.
    Record type 1: one session record (structure BICSK) for each BOM
    The BOM header record contains the transaction code (for example, CS01 Create material BOM) and the header data
    Record type 2: one item record (structure BICSP) per item
    All BOM item records are assigned to the preceding BOM header, until the next BOM header or session header occurs in the sequential file
    Record type 3: one sub-item record (structure BICSU) per sub-item
    All BOM sub-item records are assigned to the preceding BOM item, until the next item header, BOM header, or session header occurs in the sequential file
    and x-line which will be used as index while retreiveing
    and the file to be imported should contain values in this format
    BGR00 data will be in first line (0-stype)
    BICSK in second line (1 stype)
    BICSP in 3rd line
    BICSU in 4th line
    e.g:
    0 sessname 800
    1 CS01 123
    2 values req
    3 values req
    Hope this gives u some idea...
    <b>Reward points</b>
    Regards

  • Lsmw for routing

    I am trying to upload routing using LSMW.
    which is the best way to use batch input or direct input.  I dont have a choice fof using badis or BDC
    can we upload routing without writing any code in LSMW.
    so i created three files
    header
    operation
    component allocation.
    what should be the link between these three files.I did lsmw for BOM. there i ve used material number as link. bou i didnt find material number in routing lsmw. so what should be the reference.
    can we take group counter number as reference.
    can some one provide me the source file structures for this LSMW for routing.
    thanks.

    Hi,
    You can use the standard LSMW for routing. As you mentioned first you upload the header and take the group no. as reference and upload the operation. and the components will be automatically assigned to the routing with the first operation.
    Thanks and Regards,
    Satish

  • Creating an LSMW for routing

    Hi
    I have managed to create a LSMW model, that wil create (CA01) a routing.
    My problem is that components (from the BOM) is not assigned to operations.
    When I display converted data, just before I create a batch input session, I can can see selected components is assigned to an operation.
    When I use transaction CA03 afterwards, behind the TAB " CompAlloc" there is no materials that has been assigned to operations. 
    Has anyone any experience on this issue?

    Dear,
    As said by Bala,get the help from ABAP programmer and go for a BDC for
    creation of routing.
    I have not worked or used LSMW for routing,so could not give a reply for your
    question.
    Regards
    Mangal

  • Problem in LSMW for Routing. Urgent

    Hello all,
    I am doing LSMW for Routing. The object attributes are
    Object 0170 Routing
    Method 0001 Batch inpu
    Program name RCPTRA01
    Program type B Batch input
    The material number MATNR and the plant WERKS is not getting filled up in the initial screen (CA01 tcode). The fields are RC27M-MATNR and RC27M-WERKS. But all other fields are getting filled up.
    I have given the structure relation to BI001, BIMPL, BIPKO, BIPFL, BIPPO.
    When I checked the program RCPTRA01, I could able to find out the below code which actually passes space to the above fields.
    Material
    BDC_TAB-FNAM = 'RC27M-MATNR'.
    BDC_TAB-FVAL = SPACE.
    APPEND BDC_TAB.
    CLEAR BDC_TAB.
    Werk
    BDC_TAB-FNAM = 'RC27M-WERKS'.
    BDC_TAB-FVAL = SPACE.
    APPEND BDC_TAB.
    CLEAR BDC_TAB.
    How to go about this.
    Awaiting your reply,
    Thanks in advance,
    Balaji

    Hi,
            Im trying to load long text for Operations using the program RCPTRA01 however the screen sequence dosn't even enter the long text area, is there is anything specific that i would have to do  to make sure the long text gets in

  • Problem in getting data into database with standard direct input program

    HI All,
    I am having problem which is not updating the records in MM01 or MM02 with standard direct input program. i have data in internal table. from that table i am trying to upload into database by using background job MRP_MATERIAL_MASTER_DATA_LOAD.
    when i execute my program it is showing message job is started. then i go into sm37 and seethe job status by executing. there also i am seeing job completed succesfully.
    but if i go to mm03 and find the materials are updated or created there i couldn't find the material numbers which are from internal table.
    So if ny one help me it wil be great.
    Thanks in Advance
    Venkat N

    Hi Anil,
    Thanks for your answer, but i am facing problem is i have material no and denominator and Actual UOM and nominator field values in the flat file.....
    by using RMDATIND direct input program with MRP_MATERIAL_UPLOAD as job name for background job while uploading data into database.
    here i am not getting data in to database, but when i execute the job in sm37 it is showing that message job processing successfully completed...this is my status..
    if u can help me in this it will be gr8ful..
    Thanks,
    Venkat N

  • LSMW : error message when ru batch input

    Hi,
    i want to integrate some FI docs with LSMW, when i run the Batch input i have this error : Choose valid function.
    Any idea to solve that.
    full points will be assigned.
    Regards

    Hi Mark,
    Welcome.
    This is lsmw batch input error.while  uploading the G/L accounts using the Batch Input process (program name RFBISA00) in LSMW.this error mainly generates...
    Fix the error using logs.
    thanks
    karthik

Maybe you are looking for

  • Itunes causes Windows Vista  Explorer shortcut buttons to misbehave

    Hi, I've been observing some strange phenomena on my Windows Vista which my wife recently correlated to running ITunes. I'm pretty sure she is right about ITunes being the cause. When ITunes has been running for a while, the shortcut buttons at the b

  • Intel iMac font rendition: Fuzzy

    I've just got a new iMac (20" screen) and I'm having trouble fixing the fuzzy appearance of all text fonts... I've played around with the options under: "System Preferences / Appearance / Font smoothing style" to try and remove the apalling blurring

  • How to select the 5 most maximumst number and the 5 most minumumst number?

    Dear All, I draw a program. That is every loop the random number.vi create a number. I want to update the data in every loop to display the first 5 maximum number and the minumum. I don't know how to do it. Could you please give me some suggestions.

  • Embedded LDAP Error

    I just installed the Oracle Fusion Middleware server. The server start fines and I can get to the admin console and use it, but once I deploy the console I begin to get exceptions on the server and it pegs the processor at 100%. The expection is : <N

  • ROWTYPE to get better query ?

    Hello, I have two identical tables: PHOTOS_TEMP AND IMAGES_TEST (ID PK number , content blob, filename varchar2 (200), mimetype varchar2 (200), filesize varchar2 (200), res_id FK number, watermarked varchar2 (1))I have CODE 1, I want to make it more