Using Direct input method(LSMW)Can I upload only 3 fields for MM01

Using Direct input method(LSMW)Can I upload only Matnr,mbrsh,mtart fields for MM01.Otherwise I have to give all the mandatory fields.?

Hello TJK,
LSMW will work in the same way as you create normal material master with the transactions, here you are giving the value through flat file and creating material master with program.
You can create only one view with LSMW but you need to give all mandatory field on that particular view, so if you have only these three field as mandatory then yes it is possible, if you have any more field mandatory addition to these fields then it will not work out, during the last step it will throw error saying "maintain the value for field XXX"
Hope this helps.
Regards
Arif Mansuri

Similar Messages

  • Help me for material master upload by using Direct Input method

    <b>Hi All,</b>
       Can any one help me out for developing Material Master Upload program  by using <b>Direct Input</b> Method where we are also submitting the report to upload the data in SAP Database.
    <b>
    Thanks in Advance!</b>
    <b>Ramkumar.K</b>

    <b>Hi Kumar,</b>
      Thanks! I am using submit statement in my program as well but its populating all the views like Sales Organization Data, Sales - General / Plant Data, Accounting, and all the other views except the<b> Basic Data View</b>.. Eventhough i have populated the corresponding fields of the same.
    I am also using structure BGR00, BMM00, BMMH1 to upload the data
    Can you please help me on this..
    <b>
    Regards,
    Ramkumar.K</b>

  • Upload sales text for material master using LSMW direct input method

    Hello Experts,
    I was trying to upload sales text for a material master using LSMW direct input method.
    I followed the following steps for the same
    Tab dlimited Text file format
    MATNR           LONGTEXT                                                     LINE       
    MATERIAL1    LONGTEXT FOR MATERIAL MATERIAL1       1
    Step1 -> Maintain object attributes
    Object -> 0001
    Method-> 0001
    Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
    Program type -> D
    Step2 -> Maintain Source Structure
    Source structure -> LONG_TEXT            Source structure for long text
    Step 3-> Maintain souce file
    Source Fields
    ZLONG_TEXT             Source structure for long text
                           MATNR                         C(018)    MATNR
                           LTEXT                          C(132)    LTEXT
    Step 4-> Maintain structure relationship
    Structure Relations
    /SAPDMC/LTXTH Long Texts: Header                                           <<<< ZLONG_TEXT Source structure for long text
                  Select Target Structure /SAPDMC/LTXTH .
    /SAPDMC/LTXTL Long Texts: Row                                              <<<< ZLONG_TEXT Source structure for long text
                 Select Target Structure /SAPDMC/LTXTL .
    Step 5-> Maintain Field mapping and conversion rules
    Here i have assigned constan rules to couple of them like
    /SAPDMC/LTXTH                  Long Texts: Header
    Fields
       OBJECT                Texts: Application Object
                                    Rule :   Constant
                                    Code:    /SAPDMC/LTXTH-OBJECT = 'MVKE'.
       NAME                  Name
                                    Source:  ZLONG_TEXT-MATNR (MATNR)
                                    Rule :   Transfer (MOVE)
                                    Code:    /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
       ID                         Text ID
                                    Rule :   Constant
                                    Code:    /SAPDMC/LTXTH-ID = '0001'.
       SPRAS                 Language Key
                                    Rule :   Constant
                                    Code:    /SAPDMC/LTXTH-SPRAS = 'E'.
    /SAPDMC/LTXTL                  Long Texts: Row
      Fields
        TEXTFORMAT     Tag column
                                    Rule :   Constant
                                    Code:    /SAPDMC/LTXTL-TEXTFORMAT = '/'.
        TEXTLINE             Text Line
                                    Source:  ZLONG_TEXT-LTEXT (LTEXT)
                                    Rule :   Transfer (MOVE)
                                    Code:    /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
    Step6 -> Specify file
    Legacy Data          On the PC (Frontend)
                 Data                           D:\Sales_Longtext.txt
    Step7 -> Assign File
    ZLONG_TEXT Source structure for long text
                  Data D:\Sales_Longtext.txt
    Step8 -> Read data
    Output result
    Source Structure             Read      Written        Not Written
    ZLONG_TEXT              1                1              0
    Transactions Read:            1
    Records Read:                   1
    Transactions Written:         1
    Records Written:                 1
    Step 8 -> Display read data
    Field Name                    Field Text Field Value
    MATNR                          MATNR      MATERIA1
    LTEXT                            LTEXT      SALES TEXT FOR Material MATERIAL1
    Step 9 -> Convert data
    File Read:          ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
    File Written:       ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
    Transactions Read:                 1
    Records Read:                        1
    Transactions Written:              1
    Records Written:                     2
    Step 10 -> Display converted data
    1 /SAPDMC/LTXTH                   1MVKE      MATERIAL1                                                                   0001E
    2 /SAPDMC/LTXTL                   2/ SALES TEXT FOR Material MATERIAL1
    Step 11 -> Start direct input program
    Output result for the same
    Legacy System Migration Workbench
    Project:                              ZNRD_PRJ1       ORH
    Subproject:                        ZNRD_SUBPRJ2    Upload long text
    Object:                               ZNRD_LTEXT      Long text tru direct input
    File :                                   ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
    Long Texts in Total:                                1
    Successfully Transferred Long Texts:  1
    Non-Transferred Long Texts:                 0
    Now when i check the material master sales view -> sales text it is empty.
    Please help me with the same.
    Regards,
    Ranjith N

    Hello Experts, I was trying to upload sales text for a material master using LSMW direct input method.
    I followed the following steps for the same
    Tab dlimited Text file format
    MATNR             LONGTEXT                                              LINE
    MATERIAL1     LONGTEXT FOR MATERIAL MATERIAL1 1 *************************************************************************************************************
    Step1 -> Maintain object attributes
    Object -> 0001
    Method-> 0001
    Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
    Program type -> D
    Step2 -> Maintain Source Structure
    Source structure -> LONG_TEXT Source structure for long text
    Step 3-> Maintain souce file Source Fields
    ZLONG_TEXT Source structure for long text
    MATNR C(018) MATNR
    LTEXT C(132) LTEXT
    Step 4-> Maintain structure relationship
    Structure Relations 
    /SAPDMC/LTXTH Long Texts:  Header <<<< ZLONG_TEXT Source structure for long text
    Select Target Structure
    /SAPDMC/LTXTH . /SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
    Select Target Structure /SAPDMC/LTXTL .
    Step 5-> Maintain Field mapping and conversion rules
    Here i have assigned constan rules to couple of them like
    /SAPDMC/LTXTH Long Texts: Header
    Fields
    OBJECT            Texts: Application Object
                             Rule : Constant
                              Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
    NAME               Name
                             Source: ZLONG_TEXT-MATNR (MATNR)
                             Rule : Transfer (MOVE)
                             Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
    ID                     Text ID
                             Rule : Constant
                             Code: /SAPDMC/LTXTH-ID = '0001'.
    SPRAS             Language Key
                             Rule : Constant
                            Code: /SAPDMC/LTXTH-SPRAS = 'E'.
    /SAPDMC/LTXTL Long Texts: Row
    Fields
    TEXTFORMAT  Tag column 
                             Rule : Constant
                             Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
    TEXTLINE          Text Line
                             Source: ZLONG_TEXT-LTEXT (LTEXT)
                             Rule : Transfer (MOVE)
                             Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
    Step6 -> Specify file Legacy
    Data On the PC (Frontend)
                 Data D:\Sales_Longtext.txt
    Step7 -> Assign File ZLONG_TEXT
    Source structure for long text
              Data D:\Sales_Longtext.txt
    Step8 -> Read data
    Output result
    Source Structure            Read                Written                Not Written
    ZLONG_TEXT                  1                       1                            0
    Transactions Read          1
    Records Read:                1
    Transactions Written:      1
    Records Written:             1
    Step 8 -> Display read data
    Field Name             Field Text                      Field Value
    MATNR                    MATNR                         MATERIA1
    LTEXT                     LTEXT                            SALES TEXT FOR Material MATERIAL1
    Step 9 -> Convert data
    File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
    File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
    Transactions Read:    1
    Records Read:           1
    Transactions Written: 1
    Records Written:         2
    tep 10 -> Display converted data
    1 /SAPDMC/LTXTH     1    MVKE        MATERIAL1 0001   E
    2 /SAPDMC/LTXTL     2/   SALES TEXT FOR Material       MATERIAL1
    Step 11 -> Start direct input program
    Output result for the same
    Legacy System Migration Workbench Project:
    ZNRD_PRJ1  ORH
    Subproject:   ZNRD_SUBPRJ2     Upload long text
    Object:          ZNRD_LTEXT          Long text tru direct input
    File :              ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
    Long Texts in Total:                                1
    Successfully Transferred Long Texts:  1
    Non-Transferred Long Texts:                0
    Now when i check the material master sales view -> sales text it is empty. Please help me with the same.
    Regards,
    Ranjith N

  • 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.Kasturi

    Hi,
    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 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 Direct Input Method RMDATIND tax classification material

    Hi folks,
    I am loading material master data throught LSMW using direct input method. In MM01 for a particular sales org we have tax classifcation for three different countries US, CA and GB. Could anyone tell me how do I post the tax classification Material data in the table control for these three different countries.
    COUNTRY COUNTRY TAX CATG. TAX CATEG.       TAX CLASSIF
    CA     Canada     CTX1     GST (Canada)     ...........                        
    CA     Canada     CTX2     PST (Canada)     ...........                        
    CA     Canada     CTX3     PST (Base+GST) Cdn...........                   
    GB     United Kingdom     MWST     Output Tax...........                        
    US     USA     UTXJ     Tax Jurisdict.Code     ...........                        
    US     USA     UTX2     County Sales Tax     ...............                        
    US     USA     UTX3     City Sales Tax     .............
    Points will be rewarded for the answers.
    Thanks,
    Raj

    Hi,
    Not sure about the same requirement of countries & tax codes for all the materials for your upload.
    If this is the case,
    enable the
    Extras->DisplayVariant
    from the menu of the LSMW & check all the check boxes. Now you see the
    __END_OF_RECORD__
    for the structure
    BMMH2
    which has to be mapped with the input structure in the Maintain structure relations step.
    double click on the
    __END_OF_RECORD__
    which will lead to ABAP editor & then put the following code:
    * Canada
    bmmh2-stype = '3'.
    bmmh2-aland = 'CA'.
    bmmh2-taty1 = 'CTX1'.
    bmmh2-taxm1 = '1'.
    transfer_record.
    bmmh2-stype = '3'.
    bmmh2-aland = 'CA'.
    bmmh2-taty1 = 'CTX2'.
    bmmh2-taxm1 = '1'.
    transfer_record.
    else if you have a different set of countries with different tax codes for the set of materials,
    You need to have a separate file for this & map the fields to the structure fields of
    BMMH2
    Hope this helps.
    Best Regards, Murugesh AS
    Message was edited by:
            Murugesh Arcot

  • LSMW Direct input method error

    Hi experts,
       I created the LSMW using direct input method (PR Creation).
       In the create batch input session step (executed) i am getting below
    message and follwed bt processing terminated message and going out
      Transaction 0: transaction code / not supported
    what could be the problem ? any problem in specifying logical path .
    pls let me know the solution.
    Thanks
    sai

    Hi chenna,
       Thanks for reply, I added the tcode and now getting the message like the session was created
    but when i see in sm35 there is no  seesion created and there is no log also.
    what could be the reason? pls explain
    thanks
    sai

  • Special character "/" replacing with blank with Direct Input Method posting

    Hi All,
    I am posting FI historical data using Direct Input Method. Payment term contains special character "/"( I/E). SAP standard program replacing Special character "/" with blank (I E) so document posting is failing. Could you please advise.
    Thanks
    Chandra.

    Can You please specify the Transaction code and SAP program name for direct input.

  • Customer Master Conversion - Direct input method

    Hi,
    I want to extend the sales area of the customers who are already existing using Direct Input Method. But I am getting the Error.
    Thanks
    Raghavendra

    Hi Raghavendra,
    Can you tell what error ur getting?Also which structure you are using ?  I think the structure BKNVV / BKNZA needs to be extend for this additional extended sales area.
    Also try to use Batch input seesion methos. in that you may get the structure name which we need to extend.
    Pradeep

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

  • LSMW - DIRECT INPUT METHOD FOR UPLOADING PP MASTER DATA

    Dear Gurus,
    A LSMW project (DIRECT INPUT METHOD)has been created for PP master.
    But Now They have Lost Previous File which they have prepared Earlier.
    Now to Create a file for the Same Project wat fields need to be taken.
    By taking only Source structure fields it is giving error.
    In project some constant fields are also there.
    pls guide me.
    With Regards,
    GMP

    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.

  • Error Log in Direct Input Method of LSMW

    Hello!
    We are developing an upload through LSMW using its direct input method for material master. This method is better than the Recording method but the only problem we are having is maintaining the error log. Unlike the recording method, in direct input the system gives an error log but it cant me maintained in a permanent file i.e when we go back to the upload for specifying a new file, the error log of the previous file is gone.
    Is there any way that we can maintain the error log in a permanent file? Help needed ASAP!
    Thank You!
    Regards
    Sahar

    When i enter %PC in the command field the system gives following information
    Function code cannot be selected
         Message no. 00255
    Diagnosis
         You entered an inactive function code.
         You can trigger this by:
         o   inputting directly in the OK code field,
         o   inputting the fastpath of an inactive menu function,
         o   choosing an inactive function key, or even by
         o   choosing ENTER, if ENTER has an inactive function.
         In batch input, a function code is included in field BDC_OKCODE of the
         session, if this function code is not assigned to ENTER.

  • 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 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 direct input method

    Hi
      What is the procedure to include a specific program / report in the drop down box of program name of Direct Input method in LSMW?
    What is the diff. between Physical path and Logical path?
    How can we give our input data using logical path when we execute some standard batch or direct input programs?
    Ex. RMDATIND.

    http://help.sap.com/saphelp_erp2005vp/helpdata/en/87/f3ae63e68111d1b3ff006094b944c8/frameset.htm
    Regards,
    Amit

Maybe you are looking for

  • Intermedia index creation error

    Hi, I am getting the following error while importing a table with intermedia index on it. error occured in execution of ODCIINDEXCREATE routine. intermedia text error : Lost RPC connection to external procedure agent. at CTXSYS.DRUE at CTXSYS.TEXTIND

  • Using Acrobat Pro to meet the 508 Refresh

    In a burst of enthusiasm at the news that the long awaited and badly needed 508 Refresh will substantially raise the bar for high quality PDF accessibility - aligning 508 with the rigorous and comprehensive standards set by ISO 14289, PDF Universal A

  • Error on Logging in

    Many times when logging in (seems to be manly when I start by clicking 'my questions' - I also have this bookmarked because it's the most sensible place for me to start when visiting these discussion forums) I get an error saying "page not found". Th

  • Options for hard drive replacement

    Disk Utility is reporting a fatal error on the original Toshiba 40Gb hard drive on my powerbook. Besides this, the computer is in perfect condition so I would like to keep using it since I've upped the RAM to 1Gb. Can anyone recommend a good place on

  • USB firmware problem

    Hello Archers. I recently encountered a problem with my USB : I have an Alienware M17xR4, with 4 USB3 ports. Three of them work perfectly, but one refuse to work (can't mount USB key, mouses don't work…). The problem doesn't occur at every boot, and