Lsmw for va01 problem

hi
       i am trying to upload mulitple line items(transaction data) for a VA01 transaction through lsmw.
       but each and every line item creates a new sales order.
       had two separate structures and two different files for master and transaction data .
       but still i am getting the same result.
       kindly help me to solve the problem and thanks in advance.
with best regards
ravi

Here some tips
1. Make sure that you defined two structure SOHeader and SODetail,  Please define SODetail as subordinate structure with SOHeader
2. Make sure seqence no and SO no field should be same name in both structure.
3. Input file assignment,  assign the appropriate file into input structure.
Note:  When you read, if the data comes like header and Detail, that means 1 records from header and corresponding detail record should display, if so then ok, if not need to check the input structure fields which matches between two structure.
Thanks
rosario

Similar Messages

  • Problem while handling items in LSMW for VA01

    Hi All,
    I am doing an LSMW using the BAPI method for uploading sales order data(VA01).I am using the BAPI method.
    The problem that I am facing is I am unable to handle the item details properly.I have done some coding part for that in LSMW but it is only updating the first item details and neglecting the latter ones without even throwing an error.
    Please do suggest me a way of how can I handle the items(material info which we see in a table control in VA01 transaction)
    Expecting response at your earliest convinience.
    Its an urgency for me.
    Thanks in advance,
    with Regards,
    Daya.

    Hi,
    Would you tell me which BAPI you are using to create the sales order and are you facing problem only with item creation?

  • LSMW for PA40  problem

    Hi Experts,
    I am using LSMW batch input recording to batch import 0000,0001,0002 infotype using PA40, the problem is that in 0001, the job, organization, cost center can not be gotten from position automatically.
    what is the problem ?
    Thanks a lot!
    shaoming

    The RHINTE00 report can only create the relationship between P and S, in OM but can not update the cost center, job and organization in infotype 0001.
    is there any other report to update these 3 fields?
    Thanks a lot!
    shaoming

  • Scheduling problem in LSMW for Sales Order

    I am doing LSMW for Sales Order using the BAPI method.
    I am able to upload the item details along with their quantities also but the problem that I am now facing is the scheduling problem.I am unable to schedule the item quantities, only the last quantity passed is taken as the final quantity and the consolidated quantity is also getting ignored.
    I am using E1BPSCHDL structure, in this structure I am mapping Itm_number , req_date and req_qty(scheduled qty).....
    in the structure E1BPSCHDLX, the same fields are mapped as 'X'.
    in the structure E1BPSDITM, I am mapping the item info along with the consolidated qty(TARGET_QTY), but this is getting ignored and the last scheduled qty is taken as the final consolidated qty and the rest scheduled qty data is getting rejected.
    Please do help... I dont know why this problem is coming... tried n number of alternatives but of no hope... do try to help me
    with regards,
    Daya.

    Check the format of your date and check the format expected.
    sometimes you can have diff like YYYYMMDD, MM.DD.YYYY,...
    Look at the converted data.
    Hope this helps,
    Erwan

  • A small logical problem in LSMW for MM01...

    I need to create a LSMW for MM01 transaction, wherein I have to check the initial four
    digits of the material as 'ORCL'. If initial four digits of the
    incoming material are 'ORCL', then create this material as it is.
    Else replace these four digits with 'SAPM' (for sap material) while
    creating this material.
    This will  differentiate between materials coming from Oracle and non
    oracle system.
    I know that I need to create a new rule in the step 5 of LSMW: "Maintain Field Mapping and Conversion Rules", under the ABAP heading.
    But, how should the rule proceed??
    Pls help me out!!!

    awesome! thnks a lot naimesh.... you are tooo goood!
    Can you please help me again...??
    Now, I need to replace the records which are not 'ORCLXXX' with SAPXXX format. For example, say a record has the material number as ORCL007. This will pass on and created as ORCL007. If a record has the material number as MMMM007, this should be converted to SAPM007.
    Should I use fieldsymbols for this, or just replace the strings??
    This will be the last, I promise....

  • Problem on LSMW for STPO

    Dear all,
    I had try upload STPO by LSMW with PO standard object
    ( Object: 0085, Method: 0001, Program Name: RM06EE10, Program Type: Direct Input),
    but 2 error message is come out at the last stage - Start Direct Input Program :
    message 24 - "Order type UB is not allowed"
    message 6 - "Item category U not allowed".
    Do any one has any idea on it ? I can't found out any issue from OSS.
    Thanks !
    Regards,
    Eric

    HI Eric
    I hope this is relating to Tcode  Me21n in R3 and you want to upload STPOs in R3.
    Actually me21n does not support LSMw for some reason.
    kindly go through this post .
    Re: LSMW For T-code ME21N
    we tried in my last project but could not suceed and ultimately we did though program using BAPI.
    Regards,
    Nimish sheth
    pls rewards points for helpful answers.

  • Problem in LSMW for Routing. Urgent

    Hello all,
    I am doing LSMW for Routing. The object attributes are
    Object 0170 Routing
    Method 0001 Batch inpu
    Program name RCPTRA01
    Program type B Batch input
    The material number MATNR and the plant WERKS is not getting filled up in the initial screen (CA01 tcode). The fields are RC27M-MATNR and RC27M-WERKS. But all other fields are getting filled up.
    I have given the structure relation to BI001, BIMPL, BIPKO, BIPFL, BIPPO.
    When I checked the program RCPTRA01, I could able to find out the below code which actually passes space to the above fields.
    Material
    BDC_TAB-FNAM = 'RC27M-MATNR'.
    BDC_TAB-FVAL = SPACE.
    APPEND BDC_TAB.
    CLEAR BDC_TAB.
    Werk
    BDC_TAB-FNAM = 'RC27M-WERKS'.
    BDC_TAB-FVAL = SPACE.
    APPEND BDC_TAB.
    CLEAR BDC_TAB.
    How to go about this.
    Awaiting your reply,
    Thanks in advance,
    Balaji

    Hi,
            Im trying to load long text for Operations using the program RCPTRA01 however the screen sequence dosn't even enter the long text area, is there is anything specific that i would have to do  to make sure the long text gets in

  • Error in the LSMW for vendor master using standard batch/direct input

    I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
    Batch Input Interface for Vendors
    FB012                    Session 1 : Special character for 'empty field' is /
    FB007                    Session 1 session name VNDR_CREATE_ was opened
    FB104                    Trans. 2 XK01 : Acct already exists; general area not being processed
    FB125                    ... Data in table BLFA1 cannot be processed
    FB016                    ... Last header record ...
    FB014                    ... BLF00-STYPE 1
    FB014                    ... BLF00-TCODE XK01
    FB014                    ... BLF00-LIFNR 300951
    FB014                    ... BLF00-BUKRS 402
    FB014                    ... BLF00-EKORG /
    FB014                    ... BLF00-KTOKK VEND
    FB017                    ... Last data record ...
    FB014                    ... BLFA1-STYPE 2
    FB014                    ... BLFA1-TBNAM BLFA1
    FB014                    ... BLFA1-ANRED /
    FB014                    ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
    This is because when we use XK01 to create the vendor by using the

    Please check this answered link:
    Re: LSMW for Vendor Master
    LSMW Upload vendor master data
    Edited by: Afshad Irani on May 5, 2010 12:42 PM

  • Creation of lsmw for updation of position and pers area

    Hi friends,
    I am tried many time to update position and personnel area through lsmw for all employees ,at time of recording its coming.But once compltion of lsmw preparation i am uploaded my inputs through tabfile that time its updating only personnel number and infotype  and its asking the save the action screen (At the same time its showing one popup below screen like there is no recording for mp000000).Can you tell any one there whats the problem.At the same time is it possible to upload the position and personnel area through lsmw.
    Thanks,
    arjun.

    Hi Arjun
    Are you performing a hiring actions, if you are performing a hiring action, when you start with LSMW, the recording should be correct with hire date or start date, personnel number, reason for hire, position number, personal area, employee group and subgroup.
    The source field you specific should contain the required field name, type, length and field discription.  The field mapping should be done perfectly and assign the specified file in txt format and try to upload.
    If you are facing any problem, let me know.  I think I can help you
    Regards
    Santhosh.S

  • LSMW FOR P.O UPLOAD

    Hi Guys,
    I am using LSMW for uploading the Purchase order. This I could able to do without any problem for single line item P.O.
    This was done by recordning method.
    Can some one explain how to upload purchase order for more that one line item.
    Thanks,
    Dhanu
    Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PM
    Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PM

    It is Somewhat Difficult to Contol Screen Variables While Using LSMW. If the Data is Bulk Use BDC with the Help of Abaper.
    http://aspalliance.com/1130_Batch_Data_Communication_BDC_in_SAP_R3
    http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html
    http://it.toolbox.com/wiki//index.php/Bdc
    Regards,
    Ashok

  • Need help with LSMW for ME23N

    Hey Guys,
    I have this problem where i need to do a recording for LSMW for ME23N. This are the steps i took:
    1. Enter ME23N
    2. Click on the Change Button (i can't enter me22n directly to edit when its running a batch)
    3. Click on the Drop down List
    4. Key in a different Item number
    5. Press enter
    6. Select the delivery TAB
    7. Check the Delivery completed button
    8. Save.
    When i run the batch, the problem comes at step 4. I have a batch file with the following format:
    05 4500120382
    The list box, cannot read the number 05. Is there anyway to go around this?
    Thank you

    hi,
    Check it, may be usefull for you:
    Here is the link explaining step by step LSMW
    /people/hema.rao/blog/2006/09/14/lsmw--step-by-step
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Regards
    Priyanka.P

  • LSMW for Special GL transaction

    Hi,
    I am doing a LSMW for upload open items for special GL transaction (TYPE W) with a Batch input. I couldn't do with the standard method (RFBIBL00) because the dynpro for SGL type W is very different. The problem is that the posting is not passing to the second position. It reads all the information but in the step 'convert data' only reads the first posittion (the one of the SGL). In the steps 'FIeld Mapping and conversiont' I can only assing the information of the SGL's dynpro.
    Any idea?
    Thanks,
    Cecilia

    For sugestion, define 'W' as default value in your recording and remove this field from upload sheet. If you got more than one entries like that execute in separated sheets.
    If the situation remains contact a SAP or presence support to analyse your system.
    Good luck and best regards

  • LSMW for changing user status on work order(IW32)

    Hi All,
    I have created a LSMW for changing user status on work order using transaction IW32. It does not change the status when i run the LSMW. In the recording for the LSMW, i select the radio button on the user status i want to select.
    When i run the LSMW in the foreground, it does everything except select the correct status.
    Is there a way to fix this or is it a problem with LSMW. I'm using ECC6
    Kind Regards
    Emanuel

    Hi ,
    I am not sure whether it would work with LSMW but if your on ECC 6.00 ,Enhacement Pack 3 then you have BADIs which allow you to make collective status changes in IW38 .The below are those BADIs :-
    BADI_EAM_RIAUFK20_FCODE_CUS1 :Implement Customer Function Code in Order List
    BADI_EAM_RIAUFK20_FCODE_SAP1 :Implement SAP Function Code in Order List
    Else if your on lower version then write up a batch programme which checks the PM Order types with specific status and sets user status using FM STATUS_CHANGE_EXTERN[This is used to set or delete User Status] in SE37 ..
    regrds
    pushpa

  • Lsmw for me21n transaction

    Hi ,
    I had a problem while doing lsmw for me21n transaction. My problem is how to handle table control in that. can any one send some screen shots or link, how to do table control
    Thanks & Regards,
    sreehari
    Moderator Message: Search for available information on the web before posting
    Edited by: kishan P on Sep 3, 2010 9:51 AM

    Hi ,
    I had a problem while doing lsmw for me21n transaction. My problem is how to handle table control in that. can any one send some screen shots or link, how to do table control
    Thanks & Regards,
    sreehari
    Moderator Message: Search for available information on the web before posting
    Edited by: kishan P on Sep 3, 2010 9:51 AM

  • LSMW for UI fields (Data Upload)

    Hi Experts,
    We need to upload data using LSMW. But problem is that there are some fields that are in UI but not in GUI. If we use recoarding methord in lsmw, then we will not be able to capture field that are in UI but not in GUI. Please suggest how to tackel with this situation.
    Also is there any new methord to upload data in besides lsmw scat and BDC.
    Best Regards
    Pankaj Kumar

    Pankaj,
    This really isn't a CRM 2007 specifc question, but I will give you answer regardless.  First off BDC has never been supported for data loads on CRM.  You couldn't use BDC on CRM 2.0C which was released in 2001 and you still can't use it today.
    For LSMW you can use the XIF idoc adapter to perform your data loads.  All the major CRM business objects are supported and it works pretty decently.
    To get started I suggest you read my very old blog about XIF and the product master:
    The specified item was not found.
    In addition search the CRM general & framework forum on XIF and LSMW(plenty of questions and answers).
    Take care,
    Stephen

Maybe you are looking for

  • DVI to ADC adapter to MacBook Pro

    Hello with a question. I have a 23" Apple Cinema Display, and would like to use it as an external monitor on my MacBook Pro running OS 10.7.5, on a 2.3 GHz Intel Core i5 with 4 GB memory.   I also have a G5 desk top which runs the 23" Cinema Display

  • ME21N - Doc.Overview On/Off

    Hi All, ME21N :Document.Overview On/Off ->Selection Variant - CHANGES 1.Go to ME21N transaction 2.Click Document Overview On 3.Now a hierarchial ALV will be displayed 4.In that selection variant select options - Purchase Orders/PR/Contracts etc.. lik

  • No handles on Text box

    Adding a text box used to provide handles on all four sides.  Now with the free 'upgrade' I only have handles on left and right side.  Help system useless.

  • Worked yesterday, won't come up today; comcast problem?

    I hope someone can help. My internet provider (insight) has just been bought by COMCAST. The switchover was a couple of weeks ago. I hadn't experienced any problems iChatting until this morning. This morning I woke up to find no internet connection;

  • Small issue in sending mail to sap-inbox via classes

    Hi All, I am working in sending SAP mail to sap-inbox via classes.. Which i am able to work out..But got some minor struck off where when i am sending the mail from sap-report it is sucesfully reaching the user .... Issue is In the sap-inbox mail it