LSMW - Direct Input

Hi Pals,
We are using the standard direct input pgm <b>RCSBI010</b> for creation on BOMs using an LSMW. However, when we are giving multiple BOM components in our file for a single header, each component is getting created separately. But this is not the case that we want. We want all the BOM components given in the file for a single header to be created for a single BOM itself. We are using the transaction CS01 to acheive this.
When I checked the LSMW, the target field for this BOM COMPONENT is IDNRK. However to enter multiple BOM line items I would require it to be something like IDNRK(01). But I am not sure if this is a right analysis.
If any of you have an idea how to handle this, please provide your valuable inputs.
Regards,
Gayathri N.

Hai Gayatri
Check the following LSMW Steps
Using Tcode MM01 -- Maintain the source fields are
1) mara-amtnr  char(18)
2) mara-mbrsh  char(1)
3) mara-mtart  char(4)
4) makt-maktx  char(40)
5) mara-meins  char(3)
the flate file format is like this as follows
MAT991,C,COUP,Srinivas material01,Kg
MAT992,C,COUP,Srinivas material02,Kg
AMT993,C,COUP,Srinivas material03,Kg
MAT994,C,COUP,Srinivas material04,Kg
MAT995,C,COUP,Srinivas material05,Kg
goto Tcode LSMW
give Project Name
     Subproject Name
     object Name
Press Enter -
Press Execute Button
It gives 13 radio-Button Options
do the following 13 steps as follows
1) select radio-Button 1 and execute
   Maintain Object Attributes
select Standard Batch/Direct Input
   give Object -- 0020
       Method -- 0000
   save & Come Back
2) select radio-Button 2 and execute
   Maintain Source Structures
   select the source structure and got to click on create button
   give source structure name & Description
   save & Come Back
3) select radio-Button 3 and execute
   Maintain Source Fields
   select the source structure and click on create button
   give
   first field
        field name    matnr
        Field Label   material Number
        Field Length  18
        Field Type    C
   Second field
        field name    mbrsh
        Field Label   Industrial Sector
        Field Length  1
        Field Type    C
   Third field
        field name    mtart
        Field Label   material type
        Field Length  4
        Field Type    C
   fourth field
        field name    maktx
        Field Label   material description
        Field Length  40
        Field Type    C
   fifth field
        field name    meins
        Field Label   base unit of measurement
        Field Length  3
        Field Type    C
  save & come back
4) select radio-Button 4 and execute
   Maintain Structure Relations
   go to blue lines 
      select first blue line and click on create relationship button
      select Second blue line and click on create relationship button
      select Third blue line and click on create relationship button
  save & come back
5) select radio-Button 5 and execute
   Maintain Field Mapping and Conversion Rules
   Select the Tcode and click on Rule button there you will select constant
   and press continue button
   give Transaction Code : MM01 and press Enter
   after that
   1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter
   2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter
   3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter
   4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter
   5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter
  finally     
  save & come back
6) select radio-Button 6 and execute
   Maintain Fixed Values, Translations, User-Defined Routines
   Create FIXED VALUE Name & Description as MM01
   Create Translations Name & Description as MM01
   Create User-Defined Routines Name & Description as MM01
   after that delete  all the above three just created in the 6th step
   FIXED VALUE --MM01
   Translations --MM01
   User-Defined Routines --MM01
   come back
7) select radio-Button 7 and execute
   Specify Files
   select On the PC (Frontend) -- and click on Create button(f5)
                                  give the path of the file like "c:\material_data.txt"
                                  description : -
                                  separators as select comma radiao- button
   and press enter   save & come back
8) select radio-Button 8 and execute
   Assign Files
   Save & come back
9) select radio-Button 9 and execute
   Read Files
   Execute
   come back
   come back
10) select radio-Button 10 and execute
    Display Imported Data
    Execute and press enter
    come back
    Come back
11) select radio-Button 11 and execute
    Convert Data
    Execute
    come back
    Come back
12) select radio-Button 12 and execute
    Display Converted Data
    Execute & come back
13) select radio-Button 13 and execute
    Start Direct Input Program
   select the Program
   select continue button
go with via physical file
give the lock mode as 'E'
and execute
BOM Explosion
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
BOM
http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
http://www.sap-basis-abap.com/sappp007.htm
LSMW
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
Thanks & regards
Sreenivasulu P
Thanks & regards
Sreeni

Similar Messages

  • Error log table for LSMW-Direct input

    Can any one tell me , What is the table for storing the error messages in LSMW-Direct input?
    Regards,
    Nagesh

    for LSMW-Direct input method you can use EXCUTE IN BACK GROUND. the job is running and see the job name in SM37 . after completion of your job , select you job name and press the  SPOOL button there you can find the you job error log.

  • Problem while Creating BOM using LSMW Direct Input

    Hi  all ,
    I am trying to create the BOM Using LSMW Direct Input Method .
    I am getting problem at step 9 that is Read Data.
    It is able to read the values from header and item files .
    but it is not able to write , so the Written is 0 always .
    I put the field names first in the flat file and correcponding values below it with tab delimited.
    Please let me know where the Problem would be.... I am trying this from long time ..
    Regards ,
    Raj

    hi ,
    Yes i am specify files i am attaching 2 files .
    ones is header and the other is line item data .
    my strucure is :
    Hi ,
    I am still getting problem while for writing the records after reading the data .....
    my header structure :
    STYPE
    MATNR
    WERKS
    SELAL
    STLAN
    DATUV
    ZTEXT
    my item structure :
    STYPE
    MATNR
    WERKS
    SELAL
    POSTP
    MENGE
    my header data :
    STYPE     MATNR     WERKS     SELAL     STLAN     DATUV     ZTEXT
    1     388     0110     20     1     06.01.2009     SAMPLE ZTEXT     
    my item data :
    STYPE     MATNR1     WERKS     SELAL     POSTP     MENGE
    1     388     0110     20     N     1234
    1     382     0110     20     N     12345
    Above text files are delimited by tabulator.
    Please guide me . The files are reading but unable to write .....
    Regards,
    Raj

  • Net Price Calculation Error in LSMW(Direct Input)

    Hi,
    i am using LSMW-Direct Input method for Creating Purchase Order .i am facing Problem like Quantity Conversion error in Net Price Calculation.
    Any one please help me out.
    Regards,
    Shobha Henry

    Best practice would be to use BAPI/ALE method instead of direct input but if you've already done with the mapping etc. try putting a break point in the generated LSMW program where the net price is calculated and transferred to SAP field and then run it to see in the debugger what's going on. I reckon its possibly a type compatibility error.
    Hope this helps,
    Cheers,
    Sougata.

  • LSMW(Direct Input) Material master issues

    Hi,
    I have few issues on Material master-LSMW(Direct Input-RMDATIND) data upload(creating materials).
    1. Can i upload excel sheet for uploading data! What option i have to choose in 'specify files' for this!
    2. I am using fields MBRSH, MTART, MAKTX, MEINS, BISMT, MATKL, MAGRV for mapping.
        But when i tried to upload in last step-start direct input program with Lock Mode-'N' it is giving error as
        'Plant data does not exist'. Because this is for 'Basic Data' i though no need to input plant.
    3. MATNR field is not needed for creation right as it is auto generated!
    4. I have to do seperate object for this project for 'Sales organization data' & Plant Data is there any checks needed for the same!
    Can anybody give solutions for the above!
    Thanks in advance.
    Thanks,
    Deep.

    1. Now i am trying to process 4 records it is creating 3 records.
        It is always skipping 1st record in flat file.
        Any check required!
    2. Also i want to write a output file(log file) to my presentation/application server with all material no's created & material descriptions. Where can i do the same!
    3. Can anybody tell me how to upload using excel sheet.
    Thanks,
    Deep.
    Edited by: Deep on May 14, 2009 3:21 PM

  • Reg:lsmw(direct input)

    hi friends,
    i need your help in lsmw direct input method.
    my problem in my flat file one header and multiple header lines.
    how to handle in direct input method.

    Hi,
    At "Maintain Source Structures" you need to define two structures. One for header and one for item.
    HEADER_STRUCTURE
    |___
           ITEM_STRUCTURE
    At "Maintain Source Fields" you need to define one field as identifier at first field of the structure. Double click at the field and fill "Identifying Field Content".
    Then the source file could be specified as below.
    H     100965     
    I     1     Test 1
    I     2     Test 2
    I     3     Test 3
    I     4     Test 4
    H is the identifying field content for header and I for item.
    Regards,
    Teddy

  • Create Inspection Plan -LSMW -Direct Input -Error with Control Indicators

    Hi,
    I am creating Inspection Plans using LSMW-DIRECT INPUT Method.
    Although MIC's control indicator parameters are correct while creating a plan it is changing the control indicator parameters.
    how can we suppress this?
    I want to use MIC's default parameters.
    Regards
    Praveen

    have Lost Previous File
    what does that mean? did they lose the source that should be used to load the data from?
    without source you cannot load data.
    Had you ever got this source file? how? by mail, then check your old mails and take it from there, ask the sender to he/she checks the SENT folder in his mail system. Maybe someone has a local copy of this fille.

  • Log For LSMW Direct Input

    How do i check the log for LSMW direct Input
    Also When i run the LSMW program the LAST STEP has Start Direct Input
    What all step do i need to select to make the program run Automatically
    Now i tried doing that but had to press Enter key until the load was Over
    Thankyou
    Sh

    hi,
    use option extended log (e.g. in rfbibl00)  and after run goto sm37 - Job-log
    A.

  • Material Master upload - LSMW direct input method - Internal Number problem

    Dear friends,
    I am uploading material masters with LSMW - Direct Input Method.
    The materials have internal numbers.
    I have four plants and I want to extend the same material in all plants.
    But LSMW is creating a new material for each row.
    Is there any way out or any indication I put in file to repeat the internal numbers created for all other plants?
    I can create another LSMW for material extension. But I want to know whether the problem can be solved in the current LSMW?
    Regards,
    Avinash

    http://www.sap123.com/a/98/
    Check the internal number range once.... before extending mateial...

  • Fields mobile no, house no is not  there LSMW direct input customer master

    Hi All,
    In LSMW direct input method for customer master(RFBIDE00) fields mobile number, house number is not available. But field street(STRAS) is available there is no field like house number .
    How to proceed futher. please let me know the suggestion . It's is urgent.
    Regards,
    Karthik.

    1) read documentation to rfbide00 with se38
    2) if you want to use the new adress-fields from table adrc you must use bapi or bdc to xd01
    A.

  • LSMW --direct input for sales order

    Hi frenz,
             We are facing a problem in mapping the fields, sold-to-party and ship-to-party in structure BVBPAKOM.
    I have already tried using partnerfunction(PARVW) and custno(KUNNR). Even then i got an error 'Specify ship-to-party or sold-to-party'. Can anyone help me regarding this problem.
                  Helpful answers will be rewarded with points and wishes.
                                              ---praveen.

    hi,
    join this link dude
    LSMW DIRECT INPUT FOR SALES ORDER
    cheers,
    sanjay.

  • LSMW - Direct Input - Sales order - item text

    Hi,
    I'm having a problem similar to the problem posted by Laurent Guilloteau on 2/3/2006 titled:
    LSMW - Direct Input - Sales order - item texts
    While this thread shows the issue as being answered, I'm not clear on what action to take.
    I'm using an LSMW with program RVINVB10 to load sales orders to SAP.
    I'm successfully loading the orders, including header level text, however the item text is not showing on the order.
    I have source structures defined as follows:
    Source Structures
           REC1                     VBAK - Header
               REC4                     VBPA - Order Partners
               REC6                     BTEXHKOM - Header Text Header
                   REC7                     BTEXLKOM - Header Text Lines
               REC2                     VBAP - Order Items
                   REC8                     BTEXHKOM - Item Text Header
                       REC9                     BTEXLKOM - Item Text Lines
                   REC3                     VBEP - Order Schedule Lines
    In actions 'Read Data' and 'Convert Data', I see text for the two text structures, at the header and item level. But after execution of Direct Input program, I don't see text in at the item level of the sales order, however I do see text at the header level.
    Does anyone have any insight on what's causing the item level text not to show on the order?
    Best regards,
    Stuart

    Hi all,
    Many thanks for the suggestions.  One of our expert developers got involved and provided the solution.
    In order to have item level text populate, the VBAP-PSTYV  (the sales document item category) field also needs to be populated.  The VBAP-PSTYV field value is dependent on the sales document type.  (Or, at least it is for the configuartion set up in my example)  The sales document type is VBAK-AUART.
    Stuart

  • LSMW Direct input method: 0150 Characteristics with Values

    I am trying to upload several characteristics with Values using LSMW Direct Input method 0150.I have defined 2 level structure for Characetristic header and values. Have set the relevant indicators as 1 for characterisitc data and 2 for Values. I have set the T-code to CT04.I am trying to upload the data but only Characteristic data is getting generated and not the values. Can anyone help me out as to what may be the reason.
    The fields I have in my uploading template is as below:
    LINK     NAME     DESCRIPT     STATUS     FORMAT     LENGTH     DECIMALS     UNIT     WERT
    1     TON     WEIGHT LIFT CAPACITY     1     NUM     8     0     ton     
    2                                        20
    2                                        50
    2                                        60
    2                                        70
    2                                        100
    The Fields I have mapped in Source structre are:
    Source Fields
            CHARACTERISTIC            PM Characteristics
                LINK                           C(001)    Identify Field Content:1
                                               Identifing Field Content: 1
                NAME                           C(030)    Characteristic Name
                DESCRIPT                       C(030)    Characteristic description
                STATUS                         C(001)    Status of a characteristic
                FORMAT                         C(004)    Data Type
                LENGTH                         C(002)    Number of Characters
                DECIMALS                       C(002)    Number of Decimal Places
                UNIT                           C(006)    Unit of Measure, Language-
                CHARACTVALUE              Characterisitc Values
                    LINK                           C(001)    Identify field content
                                                   Identifing Field Content: 2
                    BLANK1                         C(001)    Blank1
                    BLANK3                         C(001)    Blank3
                    BLANK2                         C(001)    Blank2
                    BLANK4                         C(001)    Blank4
                    BLANK5                         C(001)    Blank5
                    BLANK7                         C(001)    Blank7
                    BLANK6                         C(001)    Blank6
                    WERT                           C(030)    Characteristic Value
    Source Structure is:
    Source Structures
            CHARACTERISTIC           PM Characteristics
             CHARACTVALUE             Characterisitc Values
    Structure relation is as below:
    Structure Relations
            BGR00 Batch Input Structure for Session Data                       <<<< CHARACTERISTIC PM Characteristics
                  Select Target Structure BGR00 .
                BIMST Batch input for characteristics                              <<<< CHARACTERISTIC PM Characteristics
                      Select Target Structure BIMST .
                    BIMZW Batch Input: Allowed Characteristic Values                   <<<< CHARACTVALUE   Characterisitc Values
    Can anyone help me resolve this issue.....
    Thanks in advance
    Murad

    Hi,
    Go through this links its might helpfull to you.
    Re: Porblem during characteristics LSMW
    Assigning Characteristics to a class using LSMW
    Issues Uploading Characteristics Data into SAP Using LSMW
    LSMW: CHaracteristics Load
    Thank you,

  • LSMW - DIrect Input Method --PO

    HI All,
    I am using LSMW Direct input method to upload Purchase orders.But my probelm is i am using Two files for header and items. In my case i have to upload so many Purchase orders with multiple item data at a time.
    Example.
    Header file
    H1  ......
    H2 .......
    H3 ......
    H4 ......
    Item File
    I1  ....
    I1 ....
    I2 ....
    I2 ....
    I3 ....
    I3 ....
    I3....
    I4....
    But my question is How the program will identify Which items are related to particular Header.
    Please help me on this.
    What will be the identification for header and item.
    Thanks in advance,
    Bhanu P R Gattu.

    I usually use a single file for both header and item:
    When you specify your source file, contents must be "Data for Multiple Source Structures (Seq. File)", and header record must precede item(s) record(s):
    H1
    I1-1
    H2
    I2-1
    I2-2...
    Regards,
    Guillermo.

  • LSMW direct input method - Equipment BOM

    Hi Experts,
    We have already written program for equipment BOM master in LSMW direct input method. I do not know about this direct input method.
    Here they have maintained 2 source structures and relavant source fields. one for BOM header and other for BOM items. The first field they maintained is LINK in both the source fields. I really do not know what that field is all about. I checked in step specify files and found that they have previously mentioned two files, one for BOM header and other for BOM items. but when I tried to save in this step it gives me error that " No logical path specified". Can anybody tell me what is this error is all about.Please heip me to get out of this problem.
    Thanks and best regards,
    Praveen

    Hi praveen,
    LSMW does not accept two files.
    In the step create source strcture
    crte one structure with BOM header like with ZBOM_H.
    Under that create another structure for item ZBOM_I.
    ZBOM_H
      ZBOM_I like this structure will will be.
    In the step source fields.
    crate onne variable with indicatoe header.While creating the variable we have field 'identify field content ' field in pop up screen 'H'.
    assign all header files under identifier 'H'.
    then under ZBOM_I create identifier with 'I'.
    Assign all the item fields to this.
    then map the fields.
    In the file should be H header fields.
                                  I item fields.
                                  I
                                  I.
    Then Header .It should be like this.
    in saptechnical u will get the examples go though them once.
    Thanks

  • LSMW - Direct Input- RMDATIND- Converted data is different.

    Hi Experts,
    I am working on LSMW - Direct Input- by std. program RMDATIND for material Update,
    When I display converted data, its different than data that I see in display read data step,
    Each time in step display converted data,one perticular record is  displayed.. Even though
    I change input data.
    I like to know why converted data shown is wrong?
    thanks & regards
    Ashish

    Hi thomas,
    thanks for your help....  
    i created 2 materials in file, i.e. with material no. xxxxx2 & material no.xxxxx 3.
    Or even if i created record in iput file with other materila no.
    At each end every time I can see only one converted data record eith Material no. Value = xxxxx1.
    thanks & regards
    Ashish

Maybe you are looking for

  • Mailboxes migrated to Exchange 2013 - some Outlook profiles do not auto-update

    ** EDIT WITH SIMPLIFIED QUESTION: Should I be able to manually create a profile in my Exchange 2013 environment without knowing the GUID@DOMAIN server name?  When I specify the Ex2010 server name and Outlook Anywhere settings, the server name does no

  • PO's Smartform Problem

    Hi Friends, I want to select the data for ZTERM in Terms and Conditions... ZTERM is in EKKO.. while fetching the data I am getting only the ZTERM key.. But I want all the texts that has entered in OBB8 Tcode... I have tried and searched all the ways.

  • How to call fn form within a procedure? - pl help

    Hello I have a procedure which has a set of statements that is called repeatedly.i would like to put them inside a function, passing an IN parameter as well. How to do that? and how do u call the fn from within the procedure? Pl help. rgds

  • Adobe Captivate CC - Device Compatibility

    Hello, We are currently working on a virtual tour for the National Flight Academy. You can view the virtual tour at this link...http://www.nationalflightacademy.com/virtualtour/ We built the tour with Adobe Captivate CC and published with both HTML5

  • Can fcp 5.4 use HD 1920 x 1080 footage in its proper aspect ratio?

    I just got a Cannon Mark II 5D and am using fcp 5.4 to edit video. I am not using capture and log... just dragging it in to the project bin. None of my project settings are 1920 x 1080. How do I set my aspect ratio properly? And... to throw a kink in