Reg : Routing creation using LSMW

Hi Experts,
I am trying to post routing details using the LSMW. when I am creating it manually it is going fine. But in the LSMW it is throwing an error saying 'Group canot be assigned to the material and plant'.
  Could any of you provide me a solution for this.
Regards,
Ramkishore.

If your structure assingment is correct. Then problem is not with the LSMW.
I think this is due to the test data that you are using it.
Could you please try to create routing manually by using your full set data, i think you face this error.
Please check with the functional consultant, he can answer the error.
Thanks,

Similar Messages

  • Vendor creation using LSMW

    Hi All,
    I m  trying to do vendor creation in LSMW method using RFBIKR00 program,please any one guide me I strucked in 2 Maintain Source Structures after this cursor not moving to next radio button even though I done for next steps final it is not reading the data,pls help me out..
    Thanks n regds,
    sree.

    Hi
    Check these links..might prove useful
    [http://www.sapdb.info/wp-content/uploads/2008/08/lsmw.pdf|http://www.sapdb.info/wp-content/uploads/2008/08/lsmw.pdf]
    Regards
    Raj

  • Sales order creation using LSMW

    Hi All,
    I am creating open sales order (VA01) using LSMW where I am using BAPI: BUS2032 and Method CREATEFROMDAT2.
    I need to pass multiple line items for the same Header data, but the LSMW is creating multiple sales orders with a single line item every time.
    I tried giving "on_change_transfer_record" after Header record but that doesn't work.
    Can anyone suggest any suitable solution for this using BAPI only other than BDC, report program etc.
    Thanks in Advance
    Asif Ali Khan

    Hi Asif Khan,
    Please check this link
    BAPI_SALESORDER_CREATEFROMDAT2 - Sales Order Create
    http://sap-img.com/abap/bapi-salesorder-createfromdat2.htm
    Best regards,
    raam

  • PO creation using LSMW through batch input method

    Hi, I am new to working with LSMW and i have completed a project for creating purchase orders using the direct data input method. I need to do the same using batch input method, however in the maintain structure relationship step, it is only allowing me to assign one structure to the recording that i have done, however in po creation we need separate (nested) structure for header and line item, could anybody help me past this please?

    Hi Rudra!
    OK, now you just know, why you have only one line, not multiple PO item lines. To get a dynamic number of items, you need a complex program - just like standard direct input.
    If you need a field, which is not part of this program, don't try to write your own program for batch input - it's just to much work before you have a good result.
    You can use Bapi method instead with BAPI_PO_CREATE1. This can handle a lot of fields and there is some documentation available how to fill the Bapi.
    If this looks to complicated in the first moment, think about creation of POs via direct input and a small batch recording to change your additional field(s) afterwards. (You can select EKPO table to generate list of 'wrong' migrated orders for input in LSMW.) Use field 'Item' in the bottom of ME22 to position your desired line in first screen line, just change one PO-line after one other (every time a 'save' -> no problem with different number of lines / PO).
    Regards,
    Christian

  • Sales Order Creation using LSMW IDOC method.. ( Custome Interface)

    Hi ABAP'rs,
                     Please provide me LSMW steps for creating Sales Order using IDOC method.
                            Thanks and Regards,
                                                  Param.

    LSMW-IDOC in General
    LSMW – Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
    Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
    Advantages of LSMW:
    • Most of the functions are within R/3, hence platform independence.
    • Quality and data consistency due to standard import techniques.
    • Data mapping and conversion rules are reusable across projects.
    • A variety of technical possibilities of data conversion.
    • Generation of the conversion program on the basis of defined rules
    • Interface for data in spreadsheet format.
    • Creation of data migration objects on the basis of recorded transactions.
    • Charge-free for SAP customers and partners.
    Working With LSMW:
    Use TCODE LSMW
    Objects of LSMW:
    •Project – ID with max of 10 char to Name the data transfer project.
    • Subproject – Used as further structuring attribute.
    • Object – ID with max of 10 Characters, to name the Business object .
    • Project can have multiple sub projects and subprojects can have multiple objects.
    • Project documentation displays any documentation maintained for individual pop ups and processing steps
    User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
    Object type and import techniques:
    • Standard Batch / Direct input.
    • Batch Input Recording
       o If no standard programs available
       o To reduce number of target fields.
       o Only for fixed screen sequence.
    • BAPI
    • IDOC
    o Settings and preparations needed for each project 
    Preparations for IDOC inbound processing:
    • Choose settings -> IDOC inbound processing in LSMW
    • Set up File port for file transfer, create port using WE21.
    • Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
    • Setup partner type (SAP recommended ‘US’) using WE44.
    • Maintain partner number using WE20.
    • Activate IDOC inbound processing.
    • Verify workflow customizing.
    Steps in creating LSMW Project:
    • Maintain attributes – choose the import method.
    • Maintain source structure/s with or without hierarchical relations. (Header, Detail)
    • Maintain source fields for the source structures. Possible field types – C,N,X, date, amount and packed filed with decimal places.
    • Fields can be maintained individually or in table form or copy from other sources using upload from a text file
    • Maintain relationship between source and target structures.
    • Maintain Field mapping and conversion rules
    • For each Target field the following information is displayed:
    o Field description
    o Assigned source fields (if any)
    o Rule type (fixed value, translation etc.)
    o Coding.
    o Some fields are preset by the system & are marked with Default setting.
    • Maintain Fixed values, translations, user defined routines – Here reusable rules can be processed like assigning fixed values, translation definition etc.
    • Specify Files
    o Legacy data location on PC / application server
    o File for read data ( extension .lsm.read)
    o File for converted data (extension .lsm.conv)
    • Assign Files – to defined source structures
    • Read data – Can process all the data or part of data by specifying from / to transaction numbers.
    • Display read data – To verify the input data being read 
    Convert Data – Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
    • Display converted data – To verify the converted data
    Import Data – Based on the object type selected
    • Standard Batch input or Recording
    o Generate Batch input session
    o Run Batch input session
    • Standard Direct input session
    o Direct input program or direct input transaction is called
    BAPI / IDOC Technique:
    • IDOC creation
    o Information packages from the converted data are stored on R/3 Database.
    o system assigns a number to every IDOC.
    o The file of converted data is deleted.
    • IDOC processing
    o IDOCS created are posted to the corresponding application program.
    o Application program checks data and posts in the application database.
    Finally Transport LSMW Projects:
    • R/3 Transport system
    o Extras ->Create change request
    o Change request can be exported/imported using CTS
    • Export Project
    o Select / Deselect part / entire project & export to another R/3 system
    • Import Project
    o Exported mapping / rules can be imported through PC file
    o Existing Project data gets overwritten
    o Prevent overwriting by using
    ‘Import under different name
    • Presetting for Inbound IDOC processing not transportable.
    Reward if useful.
    regards
    santhosh reddy

  • SA Creation using LSMW BAPI BUS2013

    Hi,
    We have requirement for uploading open SA in to ECC and would need your help in LSMW, after analyzing I think best option to upload / create open SA is using BAPI method of LSMW as there is standard BAPI available BUS2013. But I have never used this method before though I am  well aware of recording method of LSMW. Please let me know how to proceed on LSMW using standardd BAPI.
    Step1- Maintain Object Attributes is done -
    BUS2013
    CREATE
    PURSAG_CREATE
    PURSAG_CREATE01
    Step2- Maintain Source Structure -
    Do we need to create 2 different structures here i.e. One for Header and One for item? If yes is it going to be at same level or lower level?
    Also need help for next 4 steps.
    Thanks
    Vihaan

    Hi Jurgen,
    Sorry didn't get you as I got stuck at step 2, please see how I did till now and provide your valuable input:
    Step 2 - Maintain Source Structures
           Created one Headerdata structure - HDATA
                Create one Itemdata structure - IDATA (IDATA is created as lower level of HDATA)
    Step3 - Maintain Source Fields
      Under HDATA:
               IDENTIFIER      C(001)  IDENTIFIER
               LIFNR              C(010) VENDOR
               EVART           C(004) SA DOCTYPE
               EKORG           C(004) PORG
               EKGRP           C(004) PRGP
               KDATE           C(008) Validity End Date
    Under IDATA:
              IDENTIFIER      C(001)  IDENTIFIER
              MATNR           C(018) Material Numer
              KTMNG           C(016) Tar Qty
              NETPR            C(013) Price
              WERKS           C(004) Plant
              LGORT           C(004) Storage location
    Step4 - Maintain structure relations
    Structure Relations
           E1PURSAG_CREATE        Header segment                                               <<<< HDATA SA HEADER DATA
               E1BPMEOUTHEADER        Header Data Outline Agreement                                <<<< HDATA SA HEADER DATA
       E1BPMEOUTITEM          Item Data of Contract                                        <<<< IDATA   SA Item Data
           E1BPMEOUTITEM1         Item Data of Contract                                        <<<< IDATA   SA Item Data
       E1BPMEOUTITEMX         Item Data Change Parameter for Outline Agreement             <<<< IDATA   SA Item Data
       E1BPMEOUTACCOUNT       Account Assignment Data - Outline Agreement                  <<<< IDATA   SA Item Data
    Stpe5 - Maintain filed mapping and Conversion rules
    Have mintained all the filed mapping like plant, material PORG etc.
    Step7 - Specify file - Done
    Step8- Assign file??? Here I am assigning file to HDATA structure only and not able to asign file to IDATA
    Source Structures and Files
           HEADERDATA SA HEADER DATA
                      SA Creation - TEST C:\Users\XME31L.txt
               ITEMDATA SA Item Data
    Here I would like to know how to create file considering above structure, do I need to create a single file with Header and Item fields in that? if Yes, then how to place it on excel - (like first row header column fields, second row - header field values and then in third row Item coloumn fields and 4th row item values)
    OR I need to create two different files one for header fields and one for item fields and then aissgn them to HDATA and IDATA respectively?if Yes, then I am not able to aissgn file to IDATA as it gives error saying "File XME31L.txt can only be assigned to one source structure.
    Please help me here
    Thanks
    Vihaan

  • How to maintain inspection type at the time of material creation using LSMW

    Hi All,
    I have a differnet Issue.
    I am using a std. LSMW to create the materials.
    But now using same LSMW i have to maintain Inspection types(ART-RMQAM) for the materials to be created.
    How this can be done.
    This filed is not found in any structures like BGR....to  BMMH8
    Can I create such a structure ??
    Amol

    Some need the hard answer: it is not possible in one go.
    It is an embedded functionality in material master like classification, but it is not stored in a material master table.

  • Sales Order Creation using LSMW-BAPI.

    Hai,
         While executing a 14th step in LSMW-BAPI,the IDOC is generated.While Testing the IDoc the values for the Header segment alone is displayed.The Segment sfor Item is not Displayed.Should there be any link between Header & the ITem.
    Regards,
    Padmam.

    Hi,
    Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved.
    Please let me know if u can help me, i wanted to do it using idoc
    Regards
    Sanju

  • "No valid material component found" when Routing upload using LSMW RCPTRA02

    I want to upload routings through LSMW RCPTRA02 incluing routing headers, sequences, operations and component allocations. But systems appears error CM 101 "No valid material component found" . Does anybody occurs the same error before?
    The materials truly exists in BOM component.
    Sincerely thanks,
    Alina

    Hi,
    What is the status of the BOM? There should not be any problem if the material BOM exists.
    Regards,
    Krishnendu.

  • Routing Long text not populated using LSMW

    I need help with the ROUTING LONG TEXT using LSMW. I'm using the standard LSMW direct input program /SAPDMC/SAP_LSMW_IMP . I'm confused with NAME field while loading the data. I have tried to create the routing long text manually after successful creation i opened the Longtext at header screen and opened GOTO--> HEADER there i have seen TEXT NAME is constructed based on CLIENT || N || GROUP || GROUPCOUNTER || INTERNAL_COUNTER (CLIENT||N||PLNTY||PLNNR||PLNAL||ZAEHL - field names)  I used the same logic to construct the test data for another routings which were created and doesn't have the long text. I have run the lsmw program and executed successfully but when i open the routing in CA03 i dont see the long text populated.
    Test data used looks like this:
    OBJECT   NAME TDID SPRAS TEXTFORM TEXTLINE
    ROUTING N500000890100000001 PLKO E * THIS IS A TEST1
    ROUTING N500000890100000001 PLKO E * THIS IS A TEST2
    ROUTING N500000890100000001 PLKO E * THIS IS LINE3
    ROUTING N500000910100000001 PLKO E * LONGTEXT1
    ROUTING N500000910100000001 PLKO E * LONGTEXT2
    My question here is do i need to construct the NAME as i have mentioned above or do i need to just send the Routing Group number into the file for the NAME field. Help me understand what do i need to populate into NAME field.
    Please help with the mistake i have done.
    Pretty much appriectiated for your replies.

    You asked the same question in two different forums multiple times:
    Standard LSMW to load Routing Long text
    Re: LSMW : Long text not visible after the import of data
    Please use same one thread for one question.
    I gave you most of the needed information assuming you know how to do LSMW in the first thread itself.
    You need to have the following fields in your source structure in addition to other fields like long text
    MANDT
    PLNTY
    PLNNR
    PLNAL
    ZAEHL
    In the step Maintain Field Mapping and Conversion Rules  assign the source field MANDT to the variable NAME and then again place the cursor on the variable NAME and assign variable PLNTY, (now you have two source field assigned to same variable) similarly assign all the remaining 3 source fields PLNNR, PLNAL, ZAEHL. (now you have 5 source field assigned to same variable).
    Now select the variable NAME by placing the cursor click on Rule (Insert Rule) and select the radio button Concatenation .
    Make sure that in  your input file you have leading zeros for PLNNR PLNAL and ZAEHL etc. like below
    50000089, 01, 00000001
    Also, you don't need maintain the value of OBJECT, TDID, SPRAS, TEXTFORM as source fields. You can directly maintain them as constants in Maintain Field Mapping and Conversion Rules by click on the push button Rule .

  • How to use LSMW on CRM for bulk master data creation?

    Hello Experts,
    I need your help to able to use LSMW on CRM for bulk master data creation. Below is described my detailed requirement; -
    We have CRM 2007 integrated with SAP ISU (ECC6.0). As per business process all Business Master Data (BP details, Business Agreement details etc) and Technical Master Data (Connection Object, PoD etc.) is created in CRM and then it is replicated in ISU. We are going to start Assembly Test soon. Now we need to have all master data in place. Tool we want to use is LSMW.
    Now can you help me right from scratch on how to use LSMW for bulk master data creation in CRM?
    Please give me documents / links etc that is relevant.
    Regards,
    Rohit

    Hi,
    I have looked into your query.
    These are some information which might be useful to you.
    What is LSMW?
    Legacy System Migration Workbench or LSMW is SAP standard program that can be used to easily load / change master data or transactions in SAP without any programming at all. It can be used to upload data at cutover, such as: open orders, contracts, materials, vendors, stock on hand. It can also be used in a production system to make changes to existing data. Very limited authorization checks are available on the transaction, so the use of it must be very well controlled.
    One input file can be used to create all the views of the material master. For all the material types. Even if different views and fields are used for the different materials.
    Steps to take
    1. Create text file with data to be loaded
    2. Set up and run LSMW
    The following link will provide good information on LSMW Idoc method:
    [http://help.sap.com/saphelp_nw04/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm]
    I hope this helps.
    Regards,
    Venkat

  • Validity date of condition records (creation of info records using LSMW)

    Hello gurus,
    we would like to create info records using LSMW with one condition record (PB00). This works fine, we just are not able to influence the validity of the condition record, it's always "creation date until 31.12.9999".
    We tried to maintain the fields BKONP-DATAB and BKONP-DATBI, but that did not change anything.
    Any ideas on this?
    Thanks
    Alicia

    Hello Jürgen
    and thank you!
    One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
    Thanks again
    Alicia

  • LSMW - Sales Order creation using IDoc

    Hello,
    I'm receiving a file containing different category of products and need to create a sales order (using IDoc or BAPI) per category. The input file contains UPC code, I use a SELECT statement to check the category and append the UPC code to the specific internal table .(one internal table per category). The issue I have is to do loop in all internal table and then to create a sales order. I have some difficulties to update item segment. Only one UPC is populated to the required segment. Please let me know if this could be done using LSMW.
    Thanks ! Thanks ! Thanks ! Thanks !
    Mehdi

    You can use program RVINVB10 ( Direct Input ) to create Sales Order , Before you run this program you will have to create a file with data in specific format.
    Read the documenatation of the program.
    LSMw can help in formatting the data but beetr write your own progarm to format data and then run above program as LSMW has limitations and I am not sure what type of file you are getting. In you custom program you will have more control.
    Cheers.

  • Master data Load for Substance Creation :  Using BAPI in LSMW  ?

    Hi ,
    Had any one did a Master data load for creating a Substance in SAP RM. If so please let me know the best possible option. I am beeing trying to figure out the option to load Substances and its IDENTIFIER / MATERIAL ASSINGMNET from my legacy system. But I am not geeting a clue to use LSMW. ( Direct or BatchInput )
    I am not seeing any BAPI for uploading it through the LSMW except the one BUS1077 ( method SAVEREPMUL ) and I guess this is used along with IDOC.
    Appreciate your help and suggestion.
    David

    Thanks John.
    I will try this option what you have suggested. Even I told by business team to look for CG33. But they were been telling me some format issue. Probably they would meant the same what you have said. But they were not aware of work around for this. your information is intresting.
    The other option given to me was to create a recording for each and every Tab like Substance header / Identifier / Material assignment etc. seperately. Technically I don't feel good to create in that way. Do you think that is alernate approach.?
    With Respect & Regards
    David

  • Transfer of Intercompany sales orders using LSMW

    Hi
    I have to Transfer the open intercompany sales orders using LSMW. Consider a scenario where customer places an order on sales org A with plant A. sales org A raises purchase order on Sales org B with plant B. The material moves from Plant B ie supplying plant to delivering plant A. THen it is delivered to custome from plant A. Can u please tell me whether i have to pass the suppying plant or it will be determined automatically. Similarly what about the purchase requisition no. Is it created automatically.
    Thanks
    regards
    Tushar

    Hi,
    The purchase requisition is going to automatically created incase of a intercompany order  (ie nothing but the third party order).  In this case of orders the line item category in the sales order would be TAS. The intercompany sales order nothing different from a normal order during the creation of the order, after that the operations will be different from the normal standard order.  You can use the same LSMW which you have used for transfering normal standard orders.
    The configs are going to be different in the system for intercompany sales orders compared to the standard sales orders. That is the problem of the functional consultant to take care.
    Thanks,
    Mahesh.

Maybe you are looking for

  • Problems with Windows Vista and Speedster 945GT?

    Hi! I've been trying to install Windows Vista on my Speedster 945GT-based system for some time now, but I am unable to get it to run stable. It hangs on random occasions when installing and if one is lucky it's gets thru the install but then it hangs

  • _Is there a way to make custom keyboard mapping a default?

    _Is there a way to make custom keyboard mapping a default? What I mean is, for example, I want to disable <command> S for saving (so I don't accidentally hit it). Thanks! Hugh

  • All of a sudden my itunes tv/movie purchases are not playing on my air?

    Hi all, I used to be able to watch show/movies I purchased from itunes on my MacBook Air but all of sudden I have started to have issues. When I download something and press play all I get is a green screen. I have tried different shows and nothing s

  • 11g grid - domain name change

    Hi i have installed oracle 11g grid ( both rdbms repository and OMS on the same linux server 5.5) but now my domain name has changed slightly ... do I need to change anything ? does this require full reinstallation of grid ? oracle v 11.2.0.2 I am tr

  • HT201303 Why do they ask for my credit card info if I'm using a girt card

    I have a gift card and I want to purchase some music for my daughter . I go through all the prompts and it goes to the purchase page I type in my info and it says we have a credit, but it wants me to verify my apple account. I just don't want to pay