Query on LSMW for Actions & Org. Assignment data

I have peculiar problem. I wrote an LSMW script to upload Actions (000) & Org. Assignment (0001) data to the database. The script is working correctly on one client, but the same script is not working on another client (not updating the database) and it is not giving any error message also. What could be the reason? Please help me.
-Kalpana

Hi,
Check whether Number range is Configured properly.
Also try to run LSMW in foreground ,so that you can find out the error.
Regards
MJ

Similar Messages

  • 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

  • LSMW for GL account Master data

    Hi all,
    I have to create one lsmw tool in GL ACCOUNT master data.
    Please suggest me which method i should adopt.
    direct input, BAPI , Recording OR IDOC.
    IF bapi or recording, please tell me BAPI or transaction for GL account master data.
    Reagrds,
    Ruchika

    Hi Ruchika,
    BAPI_ACC_GL_POSTING_POST caters to your requirement.
    Regards,
    Younus
    <b>Reward Helpful Answers:-)</b>

  • Query or report for G/L Master data including Tax Field and Description

    Dear SAP Gurus
    Please help me. I am trying to find a report to display G/L master data at company code level and which includes the tax filed and tax catagory description. Does such a report exist please?
    I have also created a query but cannnot add the description of the tax catagory entered in the G/L master data. Can you please tell me if such a table exists which can be used for a query. Besides the VAT code if this is entered in the master data I need to include value and description of the tax catagory such as *, > etc.
    Many thanks
    PRG

    Hi,
    There is no table storing the description on tax catagory such as *, > etc.
    Even SAP has hardcoded the discription in the search help of these special tex categories. For tax codes it picks from table T007A.
    You need to create your program with fetching the values for these tax categories.
    Regards,
    Gaurav

  • Lsmw for G/L master data (RFBISA00)

    Hello,
    I have goen through all the steps of the lsmw "wizzard".
    When I lauch the batch input however, I get the error message
    Session 1 : Special character for 'empty field' is /
    Trans. 1 : Transaction FS01 is not supported        
    ... Last header record ...                          
    ... BSK00-STYPE 1                                   
    ... BSK00-TCODE FS00                                
    ... BSK00-SAKNR 10000000                            
    ... BSK00-BUKRS LONA                                
    ... BSK00-REF_SAKNR /                               
    ... BSK00-REF_BUKRS /                               
    ....Editing was terminated                          
    It is, as if it places a / in empty fields where it should be blank.
    Thanks for any help,
    Alain

    Hello Prince,
    thank you for the answer.
    I am afraid the issue is not about compulsory field but rather that it takes value / for blank fields.
    Maybe I have to specify value blank in field BGR00-NODATA, but i do not know how to do it.
    Indeed, in RFBISA00 program documentation, you can read:
    "<i>For each field which is transferred in batch input structure, you must decide whether the value of the field is initial (for example, the field should be reset to the initial value) or whether no batch input at all is necessary for this field.
    That means, a special character must be specified which has the function: "No batch input for this field".
    This special character is the character "/" by default.
    If the special character "/" is not to be used, you can specify another special character in the session prefix in field BGR00-NODATA which will carry out this function.
    You "initialize" a batch input structure (with the exception of the session prefix BGR00) by filling out the record type and (if applicable) table name fields with the correct values, and the other fields in the structure with the special character NODATA."</i>
    Any support is welcome,
    Thanks,
    Alain

  • Org assignment error

    Hi,
    I am trying to create a record in infotype 15, and i am facing the follwing error
    " No org. assignment data available for 01.11.2005 "
    In the Diagnosis it says
    " An Org.Assignment record (0001) does not exist for 01.11.2005. "
    Can anyone please help me overcome this problem.

    Pl verify if an infotype 0001 record exists for this employee as on 01.11.2005. If there isn't one, create one before going ahead with 0015.
    ~Suresh

  • Migrating HR Org Management data.... any help files etc.

    Hi,
    I am familiar with migrating HR master data, payroll data, NI data, i.e. infotypes etc.
    I would like to know if anyone can give me a heads up on migrating Org management data, and positions data. Is there any abap involvement for this or is it purely a functional issue?
    What are main transactions for this? Can it be done with lsmw? Is there a standard procedure for migrating org mgt data?
    Any advice and assistance greatly appreciated.
    Thank you.

    I am using tcode PP02 and then entering values for
    Plan Version,
    Object Type,
    Object ID,
    Infotype,
    Subtype,
    Planning status, and
    Validity.
      Once I hit create icon "Create Relationships" screen comes up here I have to enter Type of related object, which I can select from a drop down list. This field is P1001-SCLAS. Which is of 2 characters, but when I see a drop down list its a description which is more than 2 characters. How can I populate values in this field using BDC  or Recording. the value I am reading from a file for this field is k or s ... but same field has a drop down list with descriptions but not k or s...., its kind of hard for me to imagin how this field can be populated. When I run a session in SM35  I am getting an error in BDC session as " No batch input data for screen MP100100 2000 ".When I look Converted data in LSMW its k or s ... but not description this is obvious.
      Thanks.

  • 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

  • Aprroval for Invoice have due date greater than 100 days

    Hi all!
    I would like to create query to approve for Invoice have due date greater than 100 days.
    SELECT 'true' from OINV  where max(datediff(day, OINV.docduedate, getdate()))>100 and OINV.docstatus ='O' and  cardcode = $[$4.0.0] group by cardcode
    It's not working. Can you help me!
    Thanks!

    Hi Tien,
    Hopefully not trying to teach you how to suck eggs here, but it looks like the query is doing too much. There shouldn't be a need to perform a "GROUP BY" in a query to dictate if an approval is to be triggered or not, only the criterai to make it happen.
    For examle, the following code will send a transaction for approval if the customers code equals a specific reference.....
    SELECT 'TRUE' FROM ORDR T0 WHERE ${ORDR.CardCode} = 'ABC001'
    If you're wanting a query to just return a boolean answer based on the date criteria, you might want to try adapting your query to something like.......
    SELECT 'true' from OINV where max(datediff(day, ${OINV.docduedate}, getdate()))>100 and ${OINV.docstatus} ='O' and  cardcode = ${$4.0.0}
    (As an additional tip, in order to test a query that you're wanting to use as either a formatted search or approval type selection, when in the transaction, if you locate the relevant saved query under "Tools > Queries > User Queries" etc, where you have references to specific fields e.g. ${ORDR.CardCode}, this will pick up the values from the current record and give you a what if scenario. I tend to have just a "Temp" query I use for WIP type queries of this nature.)
    Note - You need to replace the bracket's "{}" with square ones, I've used the others as the forum posts as a http reference.
    Hope this helps!
    Julian

  • Lsmw for xk01

    hello ,
    I have a query in lsmw for xk01.
    while doing lsmw for xk01, after executing step 1 the system ask for tcode , i gave xk01 there.
    The next screen shown contains title field which belong to structure sza1_d0100 and field name is Title_medi whose length is 30.
    But when i directly give tcode xk01 in command field. The screen opened contains title field which belongs to
    table lfa1 and field name is ANRED whose length is 35.
    Why this diffence is ? .

    use below first LSMW method
    Object               0040   Vendor master
    Method               0001   Standard
    Program Name         RFBIKR00
    Program Type         B   Batch Input

  • Org.Assignment Infotype start date and End date is getting wrong.

    Hi, When i create a new employee in PA40, in Org. Assignment infotype start date and end date is getting wrong. for eg. When i create an employee on 01.04.2014.    In org. assignment infotype its getting like this. 01.01.2014  to  31.03.9999  and 01.04.9999 to 31.12.9999  Two date entries are creating by default.

    Hi
    Check in the Table - T588Z : Dynamic Actions ,is there any custom routines causing the defaulting dates functionality.
    Thanks,
    Sreeram

  • RE: In case of account assignment, please enter acc. assignment data for it

    Dear All,
    I am getting the Error : 'In case of account assignment, please enter acc. assignment data for item'. when I try to create a service PO(I mean when the 'Item Cat' = 9 (D) and Account assignment category as K) .
    I am populating POACCOUNT and POACCOUNTX structures of BAPI Correctly even the POSERVICES structure.
    I tried even by creating through me21n, there it is getting created correctly. The order in which I am trying to enter in ME21N is First I am providing Org Data,
    Next Item data with Acct assn cat as 'K' Item Category as 'D' short text, PO quantity, Order Unit, Net price, Material group, Plant,
    Requisitioner.
    Next it is prompting for Services data : short text, quantity, Unit, Gross price.
    Then it is prompting for Account assignment of service in line 10, there I am giving GL account, Cost center.
    It is creating the PO successfully.
    But when I try using BAPI (BAPI_PO_CREARE1) it is giving the error 'In case of account assignment, please enter acc. assignment data for item'.
    Please do the needful.
    Thanks & Warm Regards,
    Jayarama Krishna.

    Dear All,
    Who ever facing the above problem can use the below code, problem is solved.
    When we create Purchase Order using "BAPI_PO_CREATE1", it works for all cases but we can have problems when we create Service Items in PO. Either we get an error u201CPlease maintain services or limitsu201D or u201CIn case of Account assignment, please enter acc. assignment data for itemu201D.
    Service PO occurs when we enter item category u2018Du2019 (Service) and Account category u2018Ku2019 (Cost Center).
    When we use BAPI_PO_CREATE1 to create service PO, following tables are populated at item level:
    a) POITEM
    b) POITEMX
    c) POACCOUNT
    d) POACCOUNTX
    e) POSERVICES
    f) POSRVACCESSVALUES
    For service items: POITEM-PCKG_NO = u20180000000001u2019. (assign package no as a dummy number)
    Set PCKG_NO flag in POITEMX table as u2018Xu2019.
    Package No is the link that connect POITEM table to POACCOUNT table through tables POSERVICES and POSRVACCESSVALUES.
    Set POACCOUNT-SERIAL_NO to u201801u2019.
    Set same PCKG_NO to u20180000000001u2019 in POSERVICES table. Maintain two entries in POSERVICES table like this:
    WA_POSERVICES-PCKG_NO = u20180000000001u2019.
    WA_POSERVICES-LINE_NO = u20180000000001u2019.
    WA_POSERVICES-OUTL_IND = u2018Xu2019.
    WA_POSERVICES-SUBPCKG_NO = u20180000000003u2019. (Dummy No.)
    WA_POSERVICES-QUANTITY = u2018100.000u2019.
    WA_POSERVICES-BASE_UOM = u2018EAu2019.
    WA_POSERVICES-PRICE_UNIT = u20181u2019.
    WA_POSERVICES-GR_PRICE = u2018100.000u2019.
    WA_POSERVICES-SHORT_TEXT = u2018SERVICE TESTu2019.
    APPEND WA_POSERVICES TO IT_POSERVICES.
    WA_POSERVICES- PCKG_NO = u20180000000003u2019.
    WA_POSERVICES- LINE_NO = u20180000000002u2019.
    WA_POSERVICES-QUANTITY = u201810.000u2019.
    WA_POSERVICES- BASE_UOM = u2018EAu2019.
    WA_POSERVICES--PRICE_UNIT = u20181u2019.
    WA_POSERVICES-GR_PRICE = u2018100.000u2019.
    WA_POSERVICES-SHORT_TEXT = u2018SERVICE 1u2019.
    WA_POSERVICES-MATL_GROUP = u20180012u2019.
    APPEND WA_POSERVICES TO IT_POSERVICES.
    Set PCKG_NO as SUB_PCKG_NO in table POSRVACCESSVALUES this:
    WA_POSRVACCESSVALUES-PCKG_NO = u20180000000003u2019.
    WA_POSRVACCESSVALUES-LINE_NO = u20180000000002u2019.
    WA_POSRVACCESSVALUES-SERNO_LINE = u201801u2019.
    WA_POSRVACCESSVALUES-SERIAL_NO = u201801u2019.
    WA_POSRVACCESSVALUES-QUANTITY = u201910.000u2019.
    APPEND WA_POSRVACCESSVALUES TO IT_ POSRVACCESSVALUES.
    This logic will work definitely and PO Service Items will be created.

  • Search for puch orgs which are assigned to a vendor

    Hi,
        We have extended vendor for some more purchasing organizations. We have updated these changes to EB via BBPUPDVD.
    Please let me know how we can check in EB what are all the purchase organizations assigned to a vendoe.
    I tried through transaction BP but it is not showing this info. Also tried to check thru bbp_pposa by giving vendor as search term and then selecting the perticular vendor and looking for details.
    Kindly advice.
    Thans and Regards
    Manoj

    Hello Manoj,
    you can quickly check if corresponding vendor views have been added in SE16 --> table BBPM_BUT_FRG0060 --> put your SRM purch org object ID (O 5000000012) in field PURCHASE_ORG and check if entries are existing.
    Unfortunalty, you will only get a list of vendor GUIDs...
    To check all the purch org assigned to a vendor, you can go to BP --> find & select your supplier --> choose vendor role --> clic on "Purchasing Data" (button after General data and Sales area data).
    This is the same result as using BBPMAININT, and looking at vendor tab.
    Rgds
    Christophe

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

  • Item Open Interface giving error for Org Assignment

    We ran the MTL_SYSTEMS_ITEMS_INTERFACE & loaded all the items at master level.
    We are having issues in setting at Org level. Cant figure out what the issue as only few records gets assigned & then garbage sets in for remaining records. An SR has been raised & the tech support representative was saying that UOM's are different at master & org levels. Never heard of this issue earlier. I have worked with UOM's different at Master/Org levels.
    The UOM's are different at Master & Org Level and in some cases the UOM are different for different Orgs. Attribute Control for Primary/Sec UOM is at Org level. The UOM's belong to the same UOM Class. There are standard conversions defined for all these UOMs.
    Any pointers for quick resolution ?

    Pl do not post duplicates - Item Open Interface giving error for Org Assignment

Maybe you are looking for