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

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

  • 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

  • Alt & scroll wheel not working on Photoshop CC to zoom in / out

    Hey! So i'm using the latest version of Photoshop CC, and i'm also running the Technical Preview of Windows 10. So In Photshop, usually when you hold the alt key and scroll with the scroll wheel on your mouse, it will zoom in / out of the image on Ph

  • Job removing in Oracle 10g

    Hi, I am working in Oracle migration from 8 to 10g. I have a procedure that remove all the jobs named as <job name>.It works in Oracle 8 but does not remove any job in Oracle 10g The command is dbms_job.remove(i.job); Any suggestion???

  • Number keys not working

    The numbers in the pad to the right of my keyboard suddenly stopped working. The surrounding characters still work. Additionally, if I use the zero, my computer freezes. Any ideas? Thanks

  • StringTokenizer Class is not available?

    Good day... I notice that in J2ME we lost this useful Class:      StringTokenizer I have a string which has been tokenized as follow:      "nama=ABC;school=SDKXVRS;age=10" If I want to split this string into:      nama=ABC      school=SDKXVRS      ag

  • How do I prevent purchase of duplicate songs?

    I'm new to iTunes and have purchased mostly singles. There was one time where iTunes gave me a pop-up saying i already had the selected song in my Library and asked if I wanted to purchase again. So I know there is SOMETHING thatiTunes has that scans