LSMW Routing Standard Batch Input Create Batch Input Session

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

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

Similar Messages

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

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

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

  • LSMW for MSC1N Transaction to Create Batch

    Hi,
    I want to create Multiple batches for Large number of Materials.
    Could any body Please suggest me how to write LSMW for MSC1N.
    Thanks
    Bhuvana

    the very first step of LSMW gives you the option to choose the import method.
    SAP provides 2 import methods ready for use:
    BAPI method:
    BUS1001002
    SAVEREPLICA
    BATMAS
    BATMAS03
    and IDOC method
    BATMAS
    BATMAS03

  • Create batch for 531 movement in transaction COR6N

    Hi,
    I am using COR6n to record process order confirmations. As part of the usual 261 and 101 movements, I want to record a 531 (goods receipt of a bi-product). This is to record bi-product coming off the production line that can be used in other manufacturing processes. When I try tor record a 531 mvt in cor6n I am prompted for a batch number, the system does not create one automatically. Even if I go to the menupath Component -> Batch Management -> Create Batch I get the following error
    Error when creating a new batch
        Message no. GOODSMOVEMENT016
    Diagnosis
        When creating a new batch  for material abcde in plant 123 an error
        has arisen.
    Procedure
        You have the following options:
        o   Check automatic batch assignment.
        o   Check whether the material is currently locked.
        o   Check the batch number range.
    I have maintained the necessary batch management customizing. Is there any way to create a batch number in cor6n for a 531 mvt?

    Dear,
    in general it shall be possible for GR by-product.
    Message GOODSMOVEMENT 016 appears under the following conditions when tyring to create a batch:
                  material_not_found
                  plant_not_found 
                  stoloc_not_found
                  lock_on_material          
                  lock_on_plant              
                  lock_on_batch              
                  lock_system_error          
                  no_authority                            
                  illegal_batch_number       
                  no_batch_handling          
                  no_valuation_area          
                  valuation_type_not_found   
                  no_valuation_found                    
                  wrong_status                
                  interval_not_found          
                  number_range_not_extern  
                  object_not_found         
                  error_check_batch_number 
                  no_external_number  
                  no_customer_number 
    As you can see there are many possibilities. You may try to find the reason, at best together with an ABAPer, checking the sy-subrc when calling function module VB_CREATE_BATCH.
    But from far away it is almost impossible to find out the reason.
    Regards, Andreas

  • LSMW Create Batch Input Session question

    Hi all
    when I use LSMW to upload data. every step is OK, but at the NO. 13 step ' 13 Create Batch Input Session', it always set the 'Display Trnacts per BI Folder' field a default value '1' .I must clear the defautl value and let the field to black so I can create ONE session.
    why it always set a default value '1' in the 'Display Trnacts per BI Folder' field ??
    anybody can help me?
    thanks a lot!!

    Hi,
    => Looks like you havent mentioned the TCODE that you are using whilst recording. There is a field specific to TCODE in the step 'Maintain Field Mapping and Conversion Rules'. Double Click on the field, a dialog opens, give your TCODE in capitals.
    => Check if you have mapped all the fields that you want to upload using LSMW. You could have missed mapping few target fields with their source fields.
    => Remove any unnecessary structure relations in step 4 - 'Maintain Structure Relations'.

  • LSMW  Create Batch Input Session

    Hi all
    when I use LSMW to upload data. every step is OK, but at the NO. 13 step ' 13 Create Batch Input Session', it always set the 'Display Trnacts per BI Folder' field a  default value '1' .I must clear the defautl value and let the field to black so I can create ONE session.
    why it always set a default value '1' in the 'Display Trnacts per BI Folder' field ??
    anybody can help me?

    It shows the no. of transactions covered in a particular session. Like if you have 1000 records in your load file and if u put 500 transactions as value then it will create 2 sessions of 500 each. And if you leave it blank then by default also it will create 1 session......
    Best Luck,
    Ravin

  • Create batch input, does not include all records

    Have anyone experienced, when doing Create Batch Input from the LSMW menu it does not include all rows.
    For example I have a .txt file with 3000 records that I specify in "Specify Files"
    "Read Data"  reads 3000 records.
    "Convert Data" Converts 3000 records
    "Create Batch input Sessions" creates 2461 records? ?
    I have noticed that this happen when the system is busy running many batches and Idocs.

    I'm talking about LSMW programs with regular Batch input Recording.
    I haven't noticed which transactions it skips since I do not run the Batch, when I notice that it does not include all rows as I have read and converted.
    However usually if I "Create the batch input session" once again it includes all the records from the conversion before.
    But since Create a batch input can take a long time depending on the amount of transactions it creates this is not a desired option.
    So it is not possible that the transactions it does not create are errors since its possible to run them successfully. And I haven't used any SKIP TRANSACTION in the mapping step.
    But like I said this only happens when the system is running many batches / idocs at the moment, for example if we are loading the material master at the same time as I run my batch input programs.

  • RFBIBL00 No Batch Input Created after Executing

    Hello,
    After Executing SAP standard report - RFBIBL00, no batch input session has been created in SM35 in ECC 6.0 version. There is no error message but one message displayed as 'PRODPER not transferred.'

    First the issue was in the input file.
    Second Number of lines was more and in the report it was set less.
    Third in check only there will no Batch Input session generates.
    Fourth to create input file use SAP standard procedure i.e sxda_tools.
    Note : From ECC, SAP not supporting Batch Input Method.

  • PIR - LSWM Error in create batch input session

    Hi
    i made a conversion program Purchasing info record through Standard object / Direct Input in that Step 13 : Create Batch input session when i execute the Batch Input session i am getting the following error message
    Transaction 00000001 : no transaction code transfered.
    Please help me to solve this issue
    Thanks & Regards,
    mani.

    Hi
    Everything is working perfectly till STEP 10 : " Display Read Data"
    once if i convert it it was not populating the correct one. i cant find the T.Code ,Material Number & Indictor for Purchasing Info record.
    Please help me to solve thi s issue
    Thanks & Regards,
    Mani.

  • Lsmw  step by step procedure using   batch input method

    hi,
    lsmw  step by step procedure using   batch input method

    Step-by-Step Guide for using BAPI in LSMW
    Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
    Introduction:
    This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
    Pre-requisites:
    It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
    Step-by-Step Procedure:
    Details of the BAPI used in this scenario:
    Business Object: BUS2012
    Method: CreateFromData
    Details of Message Type and Basic IDoc Type:
    Message Type: PORDCR
    Basic IDoc Type: PORDCR02
    Let’s have a look at the BAPI first, before proceeding to the LSMW:
    1. Go to Transaction BAPI
    2. Click on Search Button
    3. Enter the value “BUS2012” and select “Obj.type(Technical Object Name”
    4. Press ENTER
    5. Following screen appears:
    6. On the left side of the screen, Expand the “PurchaseOrder”.
    7. Select “PurchaseOrder” and double-click on the same for details.
    Building LSMW using BAPI:
    1. Go to Transaction LSMW.
    2. Enter the Project, Subproject and Object information and click on CREATE.
    3. Enter the descriptions for Project, Subproject and Object.
    4. Now select Settings à IDoc Inbound Processing
    5. “IDoc Inbound Processing” screen appears. Enter the required details as shown below:
    6. Click on “Activate IDoc Inbound Processing”.
    7. Click on “Yes” when prompted for “Activate IDoc Inbound?”
    8. Hit on “Back” to return to the main screen.
    9. Click on Continue (F8). Following Screen appears:
    10. Select the Step 1 “Maintain Object Attributes” and select “Execute”.
    11. Select the radio button “Business Object Method” and enter the following details:
    Business Object: BUS2012
    Method: CreateFromData
    Hit ENTER
    12. Save and click on BACK button. Following information message is displayed.
    13. Now select step 2 “Maintain Source Structures” and click “Execute”.
    14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
    Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on “Create” again to create the child structure. Following popup appears:
    Select “Lower Level” and click on Continue. Enter the Item data structure name.
    Click Save and hit BACK button to go to the main screen.
    15. Select step 3 “Maintain Source Fields” and hit execute.
    16. Enter the fields as shown below:
    17. Click SAVE and return to main screen.
    18. Select step 4 “Maintain Structure Relations” and click Execute.
    Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
    Select HEADERDATA and hit ENTER
    Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
    Click Save and return to main screen.
    19. Select the step “Maintain Field Mapping and Conversion Rules” and click on execute. Maintain the Field Mapping as seen below:
    20. Select step 7 “Maintain Source Files” and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
    Save and return to main screen.
    21. Select the step “Assign Files” and click on Execute.
    Assign the file provided to the source structure. Here the same file is provided for both the structures.
    Save and return to the main screen.
    22. Select the step “Read Data” and click on Execute.
    Click on Execute.
    Return to the main screen.
    23. Select the step “Display read data” and click on execute.
    Click on the structure name to get the field level values.
    24. Return to main screen and now select “Convert Data”.
    25. Return to the main screen and select “Display Converted data”.
    26. Return to main screen and select “Start IDoc generation”.
    27. Now select the step “Start IDoc Processing” on the main screen.
    28. Return to main screen and click on “Create IDoc overview”. Here the data record and status records of the IDoc could be viewed
    It is given in screen shot.
    http://www.****************
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
    http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
    http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
    http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
    Reward points if useful.

  • Difference between Batch input and Direct Input

    Hi please tell me the difference between Batch Input and Direct Input in BDC?

    hi aparna,
    <b>DIRECT INPUT</b>
    TO ENTER THE DATA INTO THE CORRESPONDING DATABASE TABLES DIRECTLY, THE SYSTEM CALLS A NUMBER OF FUNCTION MODULES THAT EXECUTE ANY NECESSARY CHECKS. IN CASE OF ERRORS, THE DIRECT INPUT TECHNIQUE PROVIDES A RESTART MECHANISM. HOWEVER, TO BE ABLE TO ACTIVATE THE RESTART MECHANISM, DIRECT INPUT PROGRAMS MUST BE EXECUTED IN THE BACKGROUND ONLY. DIRECT INPUT CHECKS THE DATA THOROUGHLY AND THEN UPDATES THE DATABASE DIRECTLY.
    TO MAINTAIN AND STRAT THESE PROGRAMS, USE PGM RBMVSHOW OR THE TRANSACTION BMVO.
    <b>BATCH INPUT</b>
    TYPES – SESSION METHOD, CALL TRANSACTION, DIRECT INPUT.
    TO SAVE DATA IN THE BDCTAB, USE THE FIELDNAME ‘BDC_OKCODE’ AND FIELD VALUE OF ‘/11’.
    BDCDATA
    THIS IS A STRUCTURE WHICH CONTAINS THE FOLLOWING FIELDS.
    PROGRAM – NAME OF TH MOD PROG ASSOCIATED WITH THE SCREEN. SET ONLY FOR THE FIRST RECORD OF THE SCREEN.
    DYNPRO – SCREEN NUMBER. ALSO SET ONLY FOR FIRST RECORD.
    DYNBEGIN – INDICATES THE FIRST RECORD OF THE SCREEN. SET ‘X’ FOR FIRST RECORD OTHERWISE ‘ ‘.
    FNAM – FIELD NAME.
    FVAL – VALUE FOR THE FIELD NAMED IN FNAM.
    THE FIRST STEP IN BDC IS TO UPLOAD DATA FROM THE FLAT FILE OR SEQUENTIAL FILE TO THIS BDCTABLE.
    SESSION METHOD
    WE USE 3 FUNCTION MODULES IN THIS SESSION METHOD.
    1) BDC_OPEN_GROUP
         USER NAME:     USER NAME
         GROUP:          NAME OF THE SESSION
         LOCK DATE:     THE DATE ON WHICH YOU WANT TO PROCESS THE                              SESSION.
         KEEP:          THIS PARAMETER IS PASSED AS ‘X’ WHEN YOU WANT TO RETAIN SESSION AFTER     PROCESSING IT OR ‘ ‘ TO DELETE IT AFTER PROCESSING.
    THIS CREATES A SESSION
    2) BDC_INSERT
         TCODE:          TRANSACTION NAME
         DYNPROTAB:     BDC DATA
    THIS CREATES A SEESION AND DATA IS TRANSFERRED O SESSION.
    3) BDC_CLOSE_GROUP – THIS CLOSES THE BDC GROUP.
    ONLY ONE SESSION CAN BE CREATED USING BDC_OPEN_GROUP. BUT MULTIPLE TRANSACTIONS CAN BE PROCESSED USING BDC_INSERT.
    CALL TRANSACTION
    CALL TRANSACTION     <TCODE> USING <BDCTAB>
                                            MODE <A/N/E>
                                            UPDATE <S/A>
                        MESSAGES INTO <MSGTAB>.
    A – ALL SCREEN MODE. ALL THE SCREEN OF THE TRANSACTION ARE DISPLAYED.
    N – NO SCREEN MODE. NO SCREEN IS DISPLAYED WHEN YOU EXECUTE THE TRANSACTION.
    E – ERROR SCREEN. IF THE SCREEN HAS ERROR RECORD, THEN THAT SCREEN WILL BE DISPLAYED.
    S - IF YOU CHANGE DATA OF ONE TABLE THEN ALL THE RELATED TABLES GETS UPDATED. AND SY-SUBRC IS RETURNED I.E., SY-SUBRC IS RETURNED FOR ONCE AND ALL.
    A - WHEN YOU CHANGE DATA OF ONE TABLE, THE SY-SUBRC IS RETURNED. AND THEN UPDATING OF OTHER AFFECTED TABLES TAKES PLACE.  SO IF SYSTEM FAILS TO UPDATE OTHER TABLES, STILL SY-SUBRC RETURNED IS 0 (I.E., WHEN FIRST TABLE GETS UPDATED
    WHEN YOU UPDATE DATABASE TABLE, OPERATION IS EITHER SUCCESSFUL OR UNSUCCESSFUL OR OPERATION IS SUCCESSFUL WITH SOME WARNING. THESE MESSAGES ARE STORED IN INTERNAL TABLE, WHICH YOU SPECIFY ALONG WITH MESSAGE STATEMENT. THIS INTERNAL TABLE SHOULD BE DECLARED LIKE BDCMSGCOLL, A STRUCTURE AVAILABLE IN ABAP/4. IT CONTAINS THE FOLLOWING FIELDS: TCODE, DYNAME, DYNUMB, MSGTYP, MSGID.
    DIFFERENCE BETWEEN SESSION AND CALL TRANSACTION
              SESSION METHOD               CALL TRANSACTION
    1.          DATA IS NOT UPDATED IN DATABASE TABLE UNLESS SESSION IS PROCESSED.               IMMEDIATE UPDATION IN DATABASE TABLE.
    2.          NO SY-SUBRC IS RETURNED.               SY-SUBRC IS RETURNED.
    3.          ERROR LOG IS CREATED FOR ERROR RECORDS.               ERRORS NEED TO BE HANDLED EXPLICITLY
    4.          UPDATION IN DATABASE TABLE IS ALWAYS SYNCHRONOUS
                   UPDATION IN DATABASE TABLE CAN BE SYNCHRONOUS OR ASYNCHRONOUS.
    5.          ASYNCHRONOUS PROCESSING               SYNCHRONOUS PROCESSING
    6.           TRANSFERS DATA FOR SINGLE TRANSACTIONS               TRANSFERS DATA FOR MULTIPLE TRANSACTIONS
    ERROR HANDLING IN CALL TRANSACTION
    1)     CREATE AN INTERNAL TABLE SIMILAR TO THE STRUCTURE OF YOUR LOCAL FILE.
    2)     CREATE BDCTAB LIKE BDCDATA.
    3)     CREATE BDCMSG LIKE BDCMSGCOLL.
    4)     CREATE AN INTERNAL TABLE SIMILAR TO THE 1ST INTERNAL TABLE.
    5)     UPLOAD FN UPLOADS DATA FROM THE LOCAL FILE TO THE ITAB.
    6)     LOOP AT ITAB.
    POPULATE BDCTAB TABLE.
    CALL TRANSACTION STATEMENT.
    PERFORM CHECK.
    REFRESH BDCTAB.
    ENDLOOP.
    7)     FORM CHECK.
    IF SY_SUBRC <> 0.
    CALL FUNCTION FORMAT_MESSAGE.
    APPEND ITAB2.
    ENDFORM.
    TRANSACTION FOR RECORDING – SHDB.
    MAX TIME ALLOWED FOR ONLINE EXECUTION – 300 SECONDS.
    <b>
    Pls reward if helpful.</b>

  • Extending Batch Input or Direct Input

    Hello experts,
    I am customizing Material Master by adding some custom fields to MARA.  I know I can extend the IDoc for loading the data including my custom fields.  I was wondering if, and how, to extend the Batch Input or Direct Input to include my custom fields.
    Can anyone point me in the correct direction?

    Append the MARA structure with your custom fields. (Are these fields available on material master screen as well ?)
    Write the code in the appropriate user-exit to populate these fields OR use a BAPI and extensionin parameter to populate your custom fields.

  • Batch not created for the Inspection lot?

    Hi Experts,
    I have created a  the production order by inputting the Batch in the GR tab and released the production order. The release of Production order will create a Type 03 lot , but surprisingly it doesn't show the Batch in the Batch field when i look the inspection lot that was created by release of production order, instead it shows blank. I have checked the material master and it is batch managed material. Please let me know where I'm going wrong.
    Configuration- Batch is unique at material level indicator checked
    my plant has Batch status management indicator
    Please find the screenshot below for type 03 lot and also the Batch management indicator in material master in sales/general view, work scheduling and warehouse1.
    Thanks,
    Pavan

    Hi Pavan,
    According to SAP Note 50618, you may consider to implement the correction on that note or use partial lot assignment.
    For partial lot assignment, you can find the setting in Routing header and customizing in SPRO with path: Quality Management - Quality Planning - Inspection Planning - General - Define Identifier for Inspection Points.
    There's also another discussion regarding this issue. Please find here.
    Regards,
    Julian

  • Trigger Idoc when Batch is created or changed

    Hello,
    We have to transfer Batch ID,Status and Batch Characteristics through IDoc to PI when Batch is created or updated. This can be possible by 3 scenarios.
    When Batch is created or updated manually through Tcode MSC1N.
    When Batch is created or updated at the time of Goods Receipt.( Tcode MIGO)
    When Batch is created or updated at process order creation.(After Release of Process order) Tcode COR1.
    For first 2 scenarios we have found user exit 'EXIT_SAPLCLFM_002' from where we can fill the required Idoc data and trigger IDoc to PI system.
    Also for third scenario we have found user exit 'EXIT_SAPLCOBT_001' where we can get Batch Data but not the characteristics data that is created or updated.
    In both the above cases User Exit is fired before Commit to database statement. Therefore my query is whether we can trigger IDoc through Z function modules in these user exits in update mode?
    Can you provide any input on this situation or can you suggest any alternative method or exits to achieve this functionality?

    BATMAS / BATMAS03 -  for Tcode MSC1N.
    And  I  have only information that there is a SAP note is available on this.
    865778 MIGO to post a goods receipt for a purchase order
    Thanks.

  • Email Address not visible for output device MAIL in created batch job

    Issue in ECC6.0: Email Address not visible to display/change for output device MAIL in print parameter of each step in the created batch job.
    User wants to periodically receive report file via send to his email, so I create the batch job running report and send the report in pdf file to his email.
    Detail in the batch job
    1) In print parameter screen of the step in the batch job
       -Using output device MAIL (output type ZPDF1)
       -inputting email address of receiver in the EMAIL ADDRESS field
    2) After the batch job was saved, I tried to display/change the field EMAIL ADDRESS via Tx. SM37, but this field is invisible. The field can not be displayed or changed anymore. I also tried in SM36, but it is for creating new batch job, not changing the existing batch job.
    4) User receives email with pdf file from the batch job.
    How to change/display the email address of the receiver in the created batch job?
    Note that we just changed to use SAP ECC6 from SAP 4.6c. In SAP 4.6c, we can change/display the
    Email Address Field via Tx. SM37.
    Pls kindly suggest, thank you very much in advance.

    Hi Srirompoti,
    After saving the job if the job has not started then you can follow the below steps to change the Email address.
    1. View the job from Txn SM37.
    2. check the check box for your job that you want to change and goto menu path "Job->change
    3. in the next screen goto "Edit->steps." or press "F6" key
    4. place the coursor on the job and goto menu path "Step->change->print specifications.
    5. here you can change the email address.
    If you are not able change the data then you might not have authorization.

Maybe you are looking for

  • My cursor is freezing in safari 5.1.2 with lion

    Help!!!    My cursor freezes up on some web pages in safari.  They start fine then freeze.  A reload gives the same problem. I can navigate backwards using the cursor on the back arrow and I can reload the page. I can also close the page clicking the

  • Save as Word working in Standard but not Pro

    Hello, Our firm runs Adobe Professional 9.0 and Adobe Standard 10. We have a scanned PDF with paragraph text. In Standard, we can save it as a Word Document and the text in Word is editable. In Professional, we save it as a Word Document and Word sho

  • Problem with flashing screen in clamshell mode

    Running Mac Book Pro with 32" Samsung TV DVI / HDMI connection It was working okay for months. I dont recall doing anything or connecting anything that woudl have changed the setting. Laptop Screen is stable. During clamshell and open mode (mirrored

  • How do I pull up the left control panel that allows you to move from text to moving objects on page?

    How do I pull up the left control panel that allows you to move from text to moving objects on page?

  • Jump to in BW

    Hi Again Experts, Now here I have one new challenge : I have created sender/receiver assignment from 1 bw report to another bw report. The reports have authorization on profit center and company code. Now when I execute first report (with company cod