AS91 error direct input LSMW

Hi all
I created an LSMW project for tcode AS91 using Direct Input method. I am encountering an error saying that "No valid cost center was entered". This error appears although there is a const center entered in the upload file. What would cause this error?
Please help
Thanks

Is the cost center mapped correctly to the target field? Make sure the cost center has been created for a validity period that matches the period of the time dependent asset data you are loading.
Edit: just found out that the cost center must be valid on the day after the day of migration as in T093C-DATUM, please doublecheck in table CSKS or via KS03.
Thomas

Similar Messages

  • Accounts Receivable Upload - Direct Input LSMW

    Hi All,
    I am using the Direct Input method for uploading AR data. Here we have 2 posting keys. One does not have profit center and the other has profit center. I have used the approach of header file and item file where the items are linked to the header by the position number (first field in both files). I have mapped the PRCTR from the structure BBSEG to the source field.
    When the batch input session is run from SM35 the records go into error. This is because the LSMW is looking for the PRCTR (profit center) field even when the item does not need the profit center and so does not display it.
    I want to know what is the approach you have followed to resolve such an issue. Because of the mapping the LSMW is looking for PRCTR even when it is not displayed for some line items (depending on posting key).
    Looking forward to prompt replies. Thanks,
    kajal

    Hi All,
    I found a solution. Need to put in a rule for the field and code it as '/' whenever want to skip it.

  • Material master direct input - LSMW

    Can anybody please send me documents or screenshot on material master direct input method
    0020
    RMDATIND
    D   Direct Input
    [email protected]

    HI,
    just follow up d link ,it iwll provide u step by step solution to your problem:-
    http://****************/Tutorials/LSMW/LSMWMainPage.htm
    or
    http://****************/Tutorials/LSMW/MMDIM/page1.htm
    if u find it useful,den plzz do give points also.
    regards,
    ric.s
    Message was edited by:
            ric .s

  • Changes in standard input/direct input-lsmw

    hi,
    lsmw uses standard program to copy customer data or vendor data, but there might be a case when the tables..i.e. vendor and customer data are not same,
    some field might be added and some might be deleted..
    how do v go about that...
    do v need to make some changes to the standard program....
    if so, then what are the changes that need to be made...
    also is there anyother method to migrate data.
    thanx in advance

    generally when some fields are added to the standard tables, they are appended at the end. so basically it will not affect the standard program flow.
    If you are facing any specific problem, please put it down.

  • LSMW - Direct Input Method - AS91 - RAALTD11

    Hi All,
    I am trying to master data upload of assets into SAP. I am doing it using LSMW - Direct Input method.
    I am getting a lot of errors:
    - No valid cost center was entered --- Whereas the cost center entered is valid.
    - Unexpected record type: B --- whereas I have not specified any record type.
    - Company code 0315 already contains assets in the number range T4 --- Whereas I have run the LSMW only for company code 0312 and with just a single record.
    - And many more such errors.
    Please advise if I am doing something wrong.
    Also I want to know to which field shall I pass the Cumm Acquis Val and the Net Book Value.
    I want to know the corresponding fields in the BALTD and BALTB structures for these fields.
    My flat file contains the below fields:
    - ANLKL    Asset Class
    - BUKRS   Company Code
    - TXT50     Description
    - AKTIV    Capitalized On
    - KOSTL   Cost Center
    - ORD42    Allowed Capital Allowances?
    - EAUFN   Investment Order
    - NDJAR   Planned Useful Life in Years
    - NDPER  Planned Useful Life in Periods (months)
    - NDABJ   Expired Useful Life in Years
    - NDABP  Expired Useful Life in Periods (months)
    - ??    Cumm Acquis Value
    - ??    Net Book Value
    I don't know how to map the last two fields. Although I could find another field ANBTR01 in BALTB structure. But then which field tomap to this structure and to which field shall I map the remaining one.
    Please advise.
    Thanks & Regards,
    Namrata

    Hi All,
    I have now removed the BALTB structure and am filling only teh BALTD structure. I am not getting any errors and  the asset is getting created.
    But when I go and check for the asset in AS93 / AS92, the depr areas (planned and expired life in years and planned and expired life in periods) are not getting populated in SAP. Also in the Takeover Values tab, ***.acquis.val and the Net book value fields are not getting populated.
    Below is the mapping of all the fields:
    BALTD-MANDT = 600 (GETTING POPULATED ITSELF)
    BALTD-BUKRS = SOURCE-BUKRS
    BALTD-ANLKL = SOURCE-ANLKL
    BALTD-TCODE = AS91 (HARDCODING IN LSMW)
    BALTD-RCTYP = A (GETTINGPOPULATED ITSELF)
    BALTD-AKTIV = SOURCE-AKTIV
    BALTD-ORD42 = SOURCE-ORD42 (ALWD)
    BALTD-EAUFN = SOURCE-EAUFN
    BALTD-TXT50 = SOURCE-TXT50
    BALTD-KOSTL = SOURCE-KOSTL
    Below are the dep areas fields values and the takeover values.
    BALTD-NDJAR01 = SOURCE-NDJAR01 (PLANNED LIFE IN YEARS)
    BALTD-NDPER01 = SOURCE-NDPER01 (PLANNED LIFE IN PERIODS)
    BALTD-NDABJ01 = SOURCE-NDABJ01 (EXPIRED LIFE IN YEARS)
    BALTD-NDABP01 = SOURCE-NDABP01 (EXPIRED LIFE IN PERIODS)
    BALTD-KANSW01 = SOURCE-KANSW01 (CM.ACQUIS.VALUE - IN TAKEOVER VALUES TAB)
    BALTD-KANSW02 = NET BOOK VALUE IN TAKEOVER VALUES TAB.
    BALTD-WRTMA = SOURCE-WRTMA (SUGGESTED BY SOMEONE ON SDN FOR NET BOOK VALUE)
    None of the above dep areas and takeover values fields (fields in bold) are getting populated in SAP.
    Please help and advise how to proceed with this.
    Regards,
    Namrata

  • Lsmw : Direct Input : 0020 Material Master :Error

    hi all !
    I'm onto making a lsmw for material master direct input.i'm facing the following error : 
    1.The field Marc-LADGR is defined as a required field : it doesnt contain an entry
    2.You have not fully maintained the tax classifications.
    in my flat file i have duly filled in the field MARC-LADGR
    need help ,plz see if you can track wats the problem.
    thanks and regards,
    sachin

    ya sachin ... as u r telling .. download from the std program... & continue the process....
    my suggestion ... cross check again with ur fields of the source structure ....i mean decalre only fields .. which are required .. then do the field mapping again for the all the fields...
    i believe there will be documentation for the std program .... check it & go thru with that ..map it ... wherever needed ....
    try & let me know...
    thanks,
    manjunath ms

  • Error log table for LSMW-Direct input

    Can any one tell me , What is the table for storing the error messages in LSMW-Direct input?
    Regards,
    Nagesh

    for LSMW-Direct input method you can use EXCUTE IN BACK GROUND. the job is running and see the job name in SM37 . after completion of your job , select you job name and press the  SPOOL button there you can find the you job error log.

  • Net Price Calculation Error in LSMW(Direct Input)

    Hi,
    i am using LSMW-Direct Input method for Creating Purchase Order .i am facing Problem like Quantity Conversion error in Net Price Calculation.
    Any one please help me out.
    Regards,
    Shobha Henry

    Best practice would be to use BAPI/ALE method instead of direct input but if you've already done with the mapping etc. try putting a break point in the generated LSMW program where the net price is calculated and transferred to SAP field and then run it to see in the debugger what's going on. I reckon its possibly a type compatibility error.
    Hope this helps,
    Cheers,
    Sougata.

  • Error Log in Direct Input Method of LSMW

    Hello!
    We are developing an upload through LSMW using its direct input method for material master. This method is better than the Recording method but the only problem we are having is maintaining the error log. Unlike the recording method, in direct input the system gives an error log but it cant me maintained in a permanent file i.e when we go back to the upload for specifying a new file, the error log of the previous file is gone.
    Is there any way that we can maintain the error log in a permanent file? Help needed ASAP!
    Thank You!
    Regards
    Sahar

    When i enter %PC in the command field the system gives following information
    Function code cannot be selected
         Message no. 00255
    Diagnosis
         You entered an inactive function code.
         You can trigger this by:
         o   inputting directly in the OK code field,
         o   inputting the fastpath of an inactive menu function,
         o   choosing an inactive function key, or even by
         o   choosing ENTER, if ENTER has an inactive function.
         In batch input, a function code is included in field BDC_OKCODE of the
         session, if this function code is not assigned to ENTER.

  • LSMW Direct input method error

    Hi experts,
       I created the LSMW using direct input method (PR Creation).
       In the create batch input session step (executed) i am getting below
    message and follwed bt processing terminated message and going out
      Transaction 0: transaction code / not supported
    what could be the problem ? any problem in specifying logical path .
    pls let me know the solution.
    Thanks
    sai

    Hi chenna,
       Thanks for reply, I added the tcode and now getting the message like the session was created
    but when i see in sm35 there is no  seesion created and there is no log also.
    what could be the reason? pls explain
    thanks
    sai

  • Create Inspection Plan -LSMW -Direct Input -Error with Control Indicators

    Hi,
    I am creating Inspection Plans using LSMW-DIRECT INPUT Method.
    Although MIC's control indicator parameters are correct while creating a plan it is changing the control indicator parameters.
    how can we suppress this?
    I want to use MIC's default parameters.
    Regards
    Praveen

    have Lost Previous File
    what does that mean? did they lose the source that should be used to load the data from?
    without source you cannot load data.
    Had you ever got this source file? how? by mail, then check your old mails and take it from there, ask the sender to he/she checks the SENT folder in his mail system. Maybe someone has a local copy of this fille.

  • Reg LSMW-Batch/Direct Input

    Hi All,
        I have small issue , I am using LSMW-Batch/Direct Input method i this method am using some fields and as per those fields i maintain flat file  data.
    in 7th step i specify file name , while saving that one am getting this Error message i.e.
    File Name 'Converted Data': Max. 45 Characters. Remaining data saved.  so please could you help me abt that .
    Thanks & Regards,
    SHAIK.

    Hi Shaik,
    In specify files step -> Files -> converted data the filename will be automatically proposed by system.
    <Project name><Subproject name><Object name>.lsmw.conv
    this file name should not exceed 45 characters. so please cut short the names of Project name / Subproject name/Object name or
    double click on proposed file name and change it.
    Regards,
    Savitha

  • Lsmw in direct input

    Hi,
    I am doing a lsmw in direct input. Depending if i put the sales org. or not i get this error message:
    Tax category/ is not defined for country DE
    When i run the transaction manualy i dont get the error and I am using the same data.

    The character "/" is the empty field character. It needs to go in the first character of an empty field. You may have put it in the wrong position. Check the file layout.
    Rob

  • Problem in lsmw for purchase order (direct input)

    hi friends,
    i am trying to upload po using lsmw by direct input method.
    only problem is it is not taking delivery date properly.
    at the end error message is 'plz enter valid delivery date'.
    can any one tell me why it is happning.
    thanks
    sonu

    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

  • LSMW for equipment creation-Standard Batch/Direct Input

    Hi,
    We developed an LSMW with standard batch / direct input method for creating equipment masters.
    We used Object =0400 ( equipment ) and method = 0001 ( batch input)
    We maintained source structures and source fileds. In the source field , we maintained only those fields that we need from table IBIPEQUI but in the order given in this structure.
    Also we maintained filed mapping and field convertion rules for the above source fields.
    When we run LSMW step - Display converted data , we see that
    Transactions Read:                   1
    Records Read:                          1
    Transactions Written:                0
    Records Written:                       0
    Not sure what could have gone wrong?
    Please provide some clues to the following questions.
    1) Should the source structure be same as fields from stuc. IBIPEQUI and should it include all the fields in the source structure?
    2) Is field mapping required or not ?
    3) We are getting an error - transaction is not supported in direct input mode.
    Thanks in advance
    Rgds,
    Rajesh

    1. Source fields are( same as IBIPEQUI structure ; the tab delimited file matches with these fields)
    TCODE                          C(020)    Transaction Code
    RECORDNAME                     C(008)    Record name
    EQUNR                          C(018)    Equipment
    DATSL                          C(008)    Valid On
    EQTYP                          C(001)    Equipment category
    EQKTX                          C(040)    EQKTX
    BEGRU                          C(004)    Authorization Group
    EQART                          C(010)    Technical obj. type
    GROES                          C(018)    Size/dimensions
    INVNR                          C(025)    Inventory number
    BRGEW                          C(017)    Gross Weight
    GEWEI                          C(003)    Weight unit
    ELIEF                          C(010)    Vendor
    ANSDT                          C(008)
    ANSWT                          C(017)    Acquisition Value
    WAERS                          C(005)    Currency
    HERST                          C(030)    Manufacturer
    HERLD                          C(003)    Country of manufact.
    BAUJJ                          C(004)    Construction year
    BAUMM                          C(002)    Construction month
    TYPBZ                          C(020)    Model number
    SERGE                          C(030)    ManufSerialNumber
    MAPAR                          C(030)    ManufactPartNo.
    GERNR                          C(018)    Serial number
    GWLEN                          C(008)    Warranty end date
    KUND1                          C(010)    Customer
    KUND2                          C(010)    End customer
    KUND3                          C(010)    Operator
    SWERK                          C(004)    Maintenance plant
    STORT                          C(010)    Location
    MSGRP                          C(008)    MSGRP
    BEBER                          C(003)    Plant section
    ARBPL                          C(008)    Work center
    ABCKZ                          C(001)    ABC indicator
    EQFNR                          C(030)    Sort field
    BUKRS                          C(004)    Company Code
    ANLNR                          C(012)    Asset Number
    ANLUN                          C(004)    ANLUN
    GSBER                          C(004)    Business Area
    KOSTL                          C(010)    Cost Center
    PROID                          C(024)    PROID
    DAUFN                          C(012)    Standing order
    AUFNR                          C(012)    Order
    TIDNR                          C(025)    Technical IdentNo.
    SUBMT                          C(018)    Construction type
    HEQUI                          C(018)    Superord. Equipment
    HEQNR                          C(004)    Position
    EINZL                          C(001)    Single installation
    IWERK                          C(004)    Planning plant
    INGRP                          C(003)    Planner group
    GEWRK                          C(008)    Main work center
    WERGW                          C(004)    Plant for WorkCenter
    RBNR                           C(009)    Catalog profile
    TPLNR                          C(030)    Functional Location
    DISMANTLE                      C(001)    DismIndic.
    VKORG                          C(004)    Sales Organization
    VTWEG                          C(002)    Distribution Channel
    SPART                          C(002)    Division
    MATNR                          C(018)    Material
    SERNR                          C(018)    BOM explosion number
    WERK                           C(004)    WERK
    LAGER                          C(004)    LAGER
    CHARGE                         C(010)    CHARGE
    KUNDE                          C(010)
    KZKBL                          C(001)    Load records
    PLANV                          C(003)    PLANV
    FGRU1                          C(004)    FGRU1
    FGRU2                          C(004)    FGRU2
    STEUF                          C(004)    Control key
    STEUF_REF                      C(001)    STEUF_REF
    KTSCH                          C(007)    Standard text key
    KTSCH_REF                      C(001)    Std text referenced
    EWFORM                         C(006)    EWFORM
    EWFORM_REF                     C(001)    EWFORM_REF
    BZOFFB                         C(002)    Ref. date for start
    BZOFFB_REF                     C(001)    BZOFFB_REF
    OFFSTB                         C(007)    Offset to start
    EHOFFB                         C(003)    Unit
    OFFSTB_REF                     C(001)    OFFSTB_REF
    BZOFFE                         C(002)    Ref. date for finish
    BZOFFE_REF                     C(001)    BZOFFE_REF
    OFFSTE                         C(007)    Offset to finish
    EHOFFE                         C(003)    Unit
    OFFSTE_REF                     C(001)    OFFSTE_REF
    WARPL                          C(012)    Maintenance Plan
    IMRC_POINT                     C(012)    Measuring point
    INDAT                          C(008)    Inverse date
    INTIM                          C(006)    Processing time OC Workbe
    INBDT                          C(008)    Start-up date
    GWLDT                          C(008)    Guarantee
    AULDT                          C(008)    Delivery date
    LIZNR                          C(020)    License number
    MGANR                          C(020)    Master warranty
    REFMA                          C(018)    REFMA
    VKBUR                          C(004)    Sales Office
    VKGRP                          C(003)    Sales Group
    WARR_INBD                      C(001)    Inbound warranty
    WAGET                          C(001)    Warranty inheritance poss
    GAERB                          C(001)    Indicator: Pass on warran
    ACT_CHANGE_AA                  C(001)    ACT_CHANGE_AA
    STRNO                          C(040)    STRNO
    DATLWB                         C(008)    Date Last Goods Movmnt
    UII                            C(072)    UII
    IUID_TYPE                      C(010)    IUID Type
    UII_PLANT                      C(004)    Plant Responsible for UII
    2, source structure is assigned to target structure IBIPEQUI
    3. In the assign files step - all settings given above are correctly maintained.
    4. Field mapping
    TCODE                        Transaction Code
                        Rule :   Default Settings
                        Code:    IBIPEQUI-TCODE = 'IE01'.
    RECORDNAME                   IBIP: Name of the Data Transfer Record
                        Rule :   Default Settings
                        Code:    IBIPEQUI-RECORDNAME = 'IBIPEQUI'.
    EQUNR                        Equipment Number
                        Source:  ZIE01_002_SOURCE-EQUNR (Equipment)
                        Rule :   Transfer (MOVE)
                        Code:    if not ZIE01_002_SOURCE-EQUNR is initial.
                                   IBIPEQUI-EQUNR = ZIE01_002_SOURCE-EQUNR.
                                 endif.
    DATSL                        Date valid from
                        Source:  ZIE01_002_SOURCE-DATSL (Valid On)
                        Rule :   Transfer (MOVE)
                        Code:    if not ZIE01_002_SOURCE-DATSL is initial.
                                   IBIPEQUI-DATSL = ZIE01_002_SOURCE-DATSL.
                                 endif.
    EQTYP                        Equipment category
                        Source:  ZIE01_002_SOURCE-EQTYP (Equipment category)
                        Rule :   Transfer (MOVE)
                        Code:    if not ZIE01_002_SOURCE-EQTYP is initial.
                                   IBIPEQUI-EQTYP = ZIE01_002_SOURCE-EQTYP.
                                 endif
    When I read data with 1 record uploaded ( in the assign fields step , I did not choose "fields names at start of file" and also saved the file with tab delimited text format without field names), it shows as
    Transactions Read:                    2
    Records Read:                         2
    Transactions Written:                 2
    Records Written:                      2
    I uploaded only one record but it reads as 2 records and can not figure out why 2 records?
    Also when I checked display converted data , it shows 2 records .
    First record shows
    TCODE         Transaction Code                                             IE01
    RECORDNAME    IBIP: Name of the Data Transfer Record                       IBIPEQUI
    EQUNR         Equipment Number
    DATSL         Date valid from                                              05072010
    EQTYP         Equipment category                                           H
    EQKTX         Description of technical object                              PNEUMATIC PIPE BENDER
    BEGRU         Technical object authorization group
    EQART         Type of Technical Object                                     MECH-PRESS
    GROES         Size/dimension                                               1000X500X1500MM
    INVNR         Inventory number
    BRGEW         Gross Weight     : IBIP Character Structure                  50
    GEWEI         Weight Unit                                                  KG
    ELIEF         Vendor number
    ANSDT         Acquisition date
    ANSWT         Acquisition Value: IBIP Character Structure
    All the fields following this , are blank.
    2nd record shows
    TCODE         Transaction Code                                             IE01
    RECORDNAME    IBIP: Name of the Data Transfer Record                       IBIPEQUI
    EQUNR         Equipment Number                                             2009
    DATSL         Date valid from
    EQTYP         Equipment category                                           S
    EQKTX         Description of technical object                              1006324
    BEGRU         Technical object authorization group
    EQART         Type of Technical Object
    GROES         Size/dimension                                               20100406
    uploaded values are jumbled in 1st and 2nd record.
    Hope to receive your valuable ideas for finding out the reason and corrective action required.
    Rgds,
    Rajesh
    I
    Edited by: Rajesh63 on Jul 6, 2010 10:37 PM

Maybe you are looking for