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

Similar Messages

  • LSMW for PA40 Tcode

    Hi all,
    I have created a LSMW for the Tcode PA40 to upload the employees data for the initial infotypes 0000,0001,0002.   The record uploaded successfully.  But the employees no. is generated by skipping one dummy no.
    For example, if 2 records I am uploading means,
    Employee no.
    1006455    -   Uploaded succes
    1006456    -   skipped
    1006457   -    Uploaded.
    How to stop the employee no. skip as dummy.
    Regards,
    Raj

    Yes Mr. Raj,
    In the case of uploading, or when doing the cut-over activity the numbers ranges must be kept in External Range.
    Once the system goes live you can keep it as internal.
    Regards
    Venu

  • 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

  • Creation Of LSMW for Actions..........

    Dear ALL
    Recorded an LSMW for PA40 hiring actions which includes infogroup - [ IT 0000, 0001, 0002, 0105-ZVEN (Sub type)]
    This is for external vendor employees hiring actions.
    While recording or manually running the process, it is working fine.
    When in foregroud or background process, the alternate pernr is getting generated. Say for 1st record , pernr generated is 80023, then for next it is 80025, 80027so on.
    Kindly suggest me in this issue.
    Thanks
    MJ

    Hi,
    1-you keep no range as external and assign PERNR sequentially so that it remains same as you want it
    2-kindly go through the LSMW abain to see what have you assigned in field mapping & conversion rules
    3- check one record created thru LSMW and see if next (alternate number gets assigned to Ref PERNR in IT0000)
    Check the alternate number to see if anything gets assigned to it.
    salil

  • 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

  • LSMW for hiring is not picking the next pernr

    Hello Friends,
    I have prepared an LSMW for hiring via PA40 and for the same i have created an action type with just 4 ITs in it.
    the problem is it is working fine for single employee but whn i try to test it for a sequence of employee then it is throwing error.
    The old pernr is saved and system is not able to take the new pernr in sequence. I have also tried to default 0000000 as pernr in recording but still the same issue.
    I am unable to run this LSMW and i have almost 150 employees data to upload.
    Please suggest.

    Does your recording have the pernr field pre-populated?
    Keep this field blank.

  • 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

Maybe you are looking for