LSMW urgent

hi.
We have created a lsmw for material  master upload using direct  input method. We are uploading data for semi and finish material . however I am getting error as 'ERROR WHILE CHANGING ACCOUNTING VIEW".
However if we upload data without this view , it creates material.Again if we upload data with accounting view , it extends accounting view.
We have go-live tomorrow.Can any one suggest?
Its on high priority.
Fields we are using in accounting view are
Valuation class -7921,
Price control indicator - 'S'
standard price - 3.30

Hi,
Accounting View is applicable for specific material types only, confirm the material type.
If accounting view is required for the material type then please confirm, you have enable the Accounting View for change?
In Structure mapping, you need to enable the respective structures in edit mode.
Assing 'X' to the 'Accounting' view.

Similar Messages

  • CREATION OF CUSTOMER PARTNER FUNCTIONS IN LSMW   (URGENT)

    hi experts ,
    iam using lsmw, batch/direct input method using object "0050", method "0000", program name "RFBIDE00". iam sucessfully able to map field values for the mandatory fields for transaction"xd01", but while executing the session, in the last screen the system ask's me for the partner function values, iam unable to assign/map values to the partner function from the flat file....
    pls help me out on resolving the issue ...
    Regards,
    James...
    Valuable answers will be rewarded.......

    Hi James,
    Did you map the partner functions like sold to party(SP), Ship to party(SH), Bill to party(BP) and payee(PY) functions on your sheet. If so, what is the error msg u r getting??
    Regards
    Aravind

  • LSMW : Urgent SO - DI - Material Configuration Prob

    Hello all,
    [Direct Input Approach]
    In my quest for uploading Legacy system SO through LSMW . I have reached at the stage where I am able to create Sales Order successfully but only 1 problem is..
    Our client has customization done where by selecting a perticular value, the SO Item level table control shows few extra detail columns [extra charstics of material]. This is customized by Material Classification view.
    My LSMW script is creating Order Correctly but for each item it displays the Configuration Screen and I asks for manual intervation[say pressing F3].
    In my LSMW script if I programmatically supress this screen. Then those value doesn't apear in SO when we access it through VA02.
    has any one come accross this kind of prblem ? Please help me as this seems to be only hurdle in my SO upload.

    Hi!
    I think, you need two different alternatives:
    - You suppress the screen in LSMW -> no configuration data is filled -> later no configuration is available (columns missing). Do this for materials without configuration data.
    - You handle the additional screen and fill (at least one) configuration data. Later view and changing (maybe adding the rest of values) should be possible.
    Sales orders with configuration would be better created by BAPI - but this would be hard work to change right now (and this BAPI is not easy to handle in case of configuration).
    Regards,
    Christian

  • Lsmw using bapi's

    hi all,
    Can any body provide the code to upload purchase order data using bapis in lsmw.urgent pls...
    thanks.
    assad

    BAPIs are normally called synchronously in order to get feedback immediately.A synchronous call will only work if the system we want to access is up and running.For some purposes like data transfer, SAP wanted BAPIs to invoke asynchronously  so that the calling application could proceed even if the remote system was currently unavailable.
    Hence these BAPIs are linked to ALE (Application Linking and Enabling),an asynchronous message passing mechanism with guaranteed delivery.ALE uses Idocs as the containers for messages. Idocs are instances of Idocs types, which in turn are associated ALE message types
    SAP has provided a generator which takes a BAPI and generates an appropriate ALE message type and an associated Idoc type.
    Data stored in a file by means of the IDoc technique is generally imported in two steps. You can call these steps in LSM Workbench:
    Start IDoc creation.
    First, the file of the converted data is read. The "information packages" contained are stored in the R/3 database in IDoc format. It is, however, not stored in the database of the corresponding application. The system assigns a number to every IDoc. Then the file of the converted data is deleted.
    Start IDoc processing.
    The IDocs created in the first step are submitted to the corresponding application program. This application program checks the data and posts it in the application’s database, if applicable.
    Thanks,
    Manjunath MS
    "Reward Points if it is useful"

  • Doubt in lsmw

    hi
    how to handle table control in lsmw
    urgent plz

    Hi Kiran,
    LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
    check that single charecter field, it that is X that means the header record is processed, and do the items.
    and, this is another way, try this out also
    YOu can do this in "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    add the fields to the structures.
    Both should have some common key field
    Please take care that the name of the common field is the same.
    Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
    Check the threads -
    Re: Table control in LSMW
    Re: how can we handle table control in LSMW
    Re: Table control in LSMW
    how can we handle table control in LSMW
    Re: UGRENT !!! Filling a table control through LSMW
    Reward Points if helpful
    Thanks
    Seshu

  • Regarding data transfers

    hi,
    can anybody tell me when we use SESSION METHOD,CALL TRANSACTION and LSMW.
    urgent plz,
    some say that for small amout of data we use CALL TRANSATION and for large volume of data we use SESSION METHOD .but i don't understand how many records is small and how many records is large. and for what type we use LSMW.
    full points will be rewarded.
    regards,
    kiran

    <b>BDC</b>
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    ABAP Tips by :  Nagaraj Muniyappa
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3.   BDC is not a typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is
    not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program.
    Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background.
    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.  It can also be used for real-time interfaces and custom error handling & logging features. Whereas in
    Batch Input Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.
    Batch Input (BI) programs still use the classical BDC approach but doesn’t require an ABAP program to be written to format the BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and invokes the transaction mentioned in the header record of the file.
    Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are not available for all application areas. 
    Differences between bdc session method and call transaction method.
    The most important aspects of the batch session interface are: - Asynchronous processing - Transfers data for multiple transactions - Synchronous database update During processing, no transaction is started until the previous transaction has been written to the database. - A batch input processing log is generated for each session - Sessions cannot be generated in parallel
    The most important aspects of the CALL TRANSACTION USING interface are: - Synchronous processing - Transfers data for a single transaction - Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. - Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.  - No batch input processing log is generated.
    Explain in detail with example what is batch input session?
    Batch Input Session:
    - It is a sequence of transactions, which is generated when user run a particular program.
    - It contains the accounting documents that are to be created. The SAP system stores these transactions until you decide to process them online.
    - It does not update transaction figures until the session has been processed.  Using this technique, you can transfer large amounts of data to the SAP system in a short time.
    Three processing modes of executing Batch Input Session :-
    (1) Run Visibly : You can correct faulty transactions online & work step-by-step through  th<b></b>e transactions not yet executed.
    (2) Display Errors only : You can correct faulty transactions online.   Transactions not yet executed, but without error, run in the background.
    (3) Run in Background : Recommended by SAP.                        
    also refer
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    <b>LSMW</b>
    SAP Data Migration with LSMW
    No ABAP effort are required for the SAP data migration.  However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.
    The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
    More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.
    The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.
    So although it was designed for uploading of legacy data it is not restricted to this use.
    We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.
    The SAP transaction code is  'LSMW' for SAP version 4.6x.
    For those with the older SAP version (4.7 and below), the data migration programs might not have been pre-loaded.
    You can download the LSMW at no cost from SAPNet under Services, SAP Methodology and Tools, category Tools.
    If you are an existing SAP customer with an OSS ID, you can access the SAP Service Marketplace to download the  LSWM for your Basis teams to install to your SAP system: http://service.sap.com/lsmw
    The LSM Workbench carries out the following tasks:
    Reads the transfer data from one or more files (for example, spreadsheets, sequential files etc.)
    Converts the data from the source format into the target format
    Note that with background processing, the input file must not be located in the presentation server. Access to presentation server files is only possible when you are working online.
    regards
    srinivas
    *reward for useful answers*

  • Lsmw issue plz help its urgent

    Hi Experts ,
    i need to create a LSMW using batch input .
    but the requirement is on the basis of conditions my recording need to be changed .
    dat means
    3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
    3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
    for ctr i ill have to post data in screen number 200
    and for wbs i ill have to post data in screen number 400 .
    can we put some conditions in recording in lsmw ?
    i no we can create multiple recording but how can we use them to fullfill my requirement .
    plz help its urgent
    thanx in advance

    Hi,
    Within LSMW, there is an option to write our own code wherein this code can be incorporated.
    This is in the Field Mapping Option...
    Just go to the Menu Extras->Layout
    and click on the check box Form Routines
    Global Data.
    Here you can define Global Variables and also perform your ABAP Coding.
    Regards,
    Balaji.

  • LSMW - Idoc method  - Urgent ??

    Hi,
    What is "Allow structure assignment to EDIDC40" ? on the object attributes maintenance screen (step 1) in the LSMW Idoc inbound processing.
    we are using CRM 5.0 to test the BP creation with the help of IDOC methods.
    any inputs or step by step IDOC BP creation guide/document will be highly appreciated and rewarded.
    you can mail the IDOC step by step doc to [email protected]
    Thanks
    SK

    Hello,
    normally the control structure EDIDC40 is filled automatically by LSMW. In some special cases you may want to defined your own mapping rules. In these cases you can set the flag and will then see EDIDC40 in the step where you do the fieldmapping.
    I would suggest not to set the flag unless you really urgently need to adopt rules
    for the IDoc control structure.
    Regards, Katja

  • Urgent need lsmw with directinput

    hi folks,
    i am in urgent need
    i am using the program RSADRLSM02 for the uploading of the bisiness address services/regionla structure with lsmw using directinput method
    i finished all the steps but at the end i am getting struck it is asking for the logical file i don't have any knowledge about it how to create or choose the corresponding logical file related to this program
    please can anyone guide me to solve this
    thanks in advanse
    naveen

    Hai Naveen
    I will send you some  steps for Transaction Code MM01
    Please do the steps and got any error get back to me
    Using Tcode MM01 -- Maintain the source fields are
    1) mara-amtnr  char(18)
    2) mara-mbrsh  char(1)
    3) mara-mtart  char(4)
    4) makt-maktx  char(40)
    5) mara-meins  char(3)
    the flate file format is like this as follows
    MAT991,C,COUP,Srinivas material01,Kg
    MAT992,C,COUP,Srinivas material02,Kg
    AMT993,C,COUP,Srinivas material03,Kg
    MAT994,C,COUP,Srinivas material04,Kg
    MAT995,C,COUP,Srinivas material05,Kg
    goto Tcode LSMW
    give Project Name
         Subproject Name
         object Name
    Press Enter -
    Press Execute Button
    It gives 13 radio-Button Options
    do the following 13 steps as follows
    1) select radio-Button 1 and execute
       Maintain Object Attributes
    select Standard Batch/Direct Input
       give Object -- 0020
           Method -- 0000
       save & Come Back
    2) select radio-Button 2 and execute
       Maintain Source Structures
       select the source structure and got to click on create button
       give source structure name & Description
       save & Come Back
    3) select radio-Button 3 and execute
       Maintain Source Fields
       select the source structure and click on create button
       give
       first field
            field name    matnr
            Field Label   material Number
            Field Length  18
            Field Type    C
       Second field
            field name    mbrsh
            Field Label   Industrial Sector
            Field Length  1
            Field Type    C
       Third field
            field name    mtart
            Field Label   material type
            Field Length  4
            Field Type    C
       fourth field
            field name    maktx
            Field Label   material description
            Field Length  40
            Field Type    C
       fifth field
            field name    meins
            Field Label   base unit of measurement
            Field Length  3
            Field Type    C
      save & come back
    4) select radio-Button 4 and execute
       Maintain Structure Relations
       go to blue lines 
          select first blue line and click on create relationship button
          select Second blue line and click on create relationship button
          select Third blue line and click on create relationship button
      save & come back
    5) select radio-Button 5 and execute
       Maintain Field Mapping and Conversion Rules
       Select the Tcode and click on Rule button there you will select constant
       and press continue button
       give Transaction Code : MM01 and press Enter
       after that
       1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter
       2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter
       3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter
       4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter
       5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter
      finally     
      save & come back
    6) select radio-Button 6 and execute
       Maintain Fixed Values, Translations, User-Defined Routines
       give FIXED VALUE Name & Description as MM01
       come back
    7) select radio-Button 7 and execute
       Specify Files
       select On the PC (Frontend) -- and click on Create button(f5)
                                      give the path of the file like "c:\material_data.txt"
                                      description : -
                                      separators as select comma radiao- button
       and press enter   save & come back
    8) select radio-Button 8 and execute
       Assign Files
       Save & come back
    9) select radio-Button 9 and execute
       Read Files
       Execute
       come back
       come back
    10) select radio-Button 10 and execute
        Display Imported Data
        Execute and press enter
        come back
        Come back
    11) select radio-Button 11 and execute
        Convert Data
        Execute
        come back
        Come back
    12) select radio-Button 12 and execute
        Display Converted Data
        Execute & come back
    13) select radio-Button 13 and execute
        Start Direct Input Program
       select the Program
       select continue button
    go with via physical file
    give the lock mode as 'E'
    and execute
    Thanks & regards
    Sreenivasulu P

  • Very urgent: Can't create LSMW for PO service item

    Hi all,
    I created LSMW for PO service(Item cat ="D") by using BAPI
    ( Business object: BUS2012, Method:CREATEFROMDATA1, Message Type:PORDCR1 and Basic Type: PORDCR102)
    This below is my source filed.
    POHDR
      PO_NUMBER
        POITEM
          PO_NUMBER
          PO_ITEM
              SERVICE-ITEM
                 PO_NUMBER
                 PO_ITEM
                Activity Item
                Activity Number
                  ACC_ASSIGN
                  PO_NUMBER
                  PO_ITEM
                  Activity Item
                  Activity Number
                  Sequence Number
    After i started idoc i got the message Message no. SE518 (No account assignment exists for service line 0000000010)
    How can i slove this problem?
    Thank you,
    Duanchai

    so you consider this closed?
    Very urgent: LSMW

  • LSMW-Most Urgent

    1.Is batch input method handles Multiple Bank entries?if so how should be the test data?
    (I have created header data structure,general ,company code ,purchasing structures and assigned all the source structures to target structures.)
    (Here there is field coming in excel file called TEL_NUMBER belongs to SZA1_D100 structure similarly fax_number belongs to SZA1_D100.)In lsmw batch process direct input method ,while assigning field mappings I am unable to find out the target field in the step of lsmw field mappings and conversion rules.) Here to which table field can I assign while mapping in batch process direct input.
    Source field                  Target field
    SZA1_D100-TEL_NUMBER   To which field can I assign?)
    SZA1_D100-fax_number    "
    Because SZA1_D100 is structure.
    Please give answer immediately.
    Regards
    Vijaya

    In EXCEL file there are two tel number fields and two fax number fields are coming.
    table-field length table-field length
    1.lfa1-telf1 (16) 1.lfa1-telfx(31)
    2.sza1-d0100 - tel_Number(30) 2.sza1-d0100-fax_number(30)
    these lfa1 table fields i can assign with blfa1 target structure fields .But what about this structure fields.
    I am using batch input method.where can (To which fields) can I assign these structure(sza1-d0100 ) fields.
    answer please ?
    Urgent.
    Regards
    Vijaya

  • Help urgent plz - lsmw retail material.

    hi all, i am posting my message again as this problem seems to have taken me too.
    i am new to lsmw and trying to create a retail material through lsmw. i chose business object method with
    business object as bus1001001.method is 'clone'
    everything has gone well and i could create a material too.
    but in unit field,(i.e the display of all types of units) the legacy data contains 4 rows of units. when i transfer them the new created material displays only one line of units. the other three rows in material display (code transaction- mm43)are empty.
    i have tried using on_change_transfer too but that doesnt seem to make any difference.
    your reply will be a great help. thanks and regards
    ps: i tried with batch input recording method too. but there ,after execution all the rows are filled with the first line of data from the source file. so a failure again.

    I have an LSMW which creates alternitive UOMs.
    Object type is IDoc
    Message Type ARTMAS
    Basic Type ARTMAS02
    Structure Relationships
    E1BPE1MATHEAD
    E1BPE1MARMRTX
    E1BPE1MAMTRT
    E1BPE1MEANRT
    Fields
    ARTICLE_NUMBER                 C(018)    Article Number                     
    OLD_EAN                        C(018)    Old EAN number                     
    NEW_EAN                        C(018)    New ean number                     
    NEW_UOM                        C(005)    New unit of measure                
    NUMERATOR                      C(006)    Numerator for conversion to base UoM
    DENOMINATOR                    C(006)    Denomator to convert to base UoM   
    EANTP                          C(002)    EAN type (HE, UC, Z3 etc)          
    Hope this helps
    SC

  • Functional Specifications for LSMW required urgently

    Hi Friends,
    Can you please provide me with the functional specifications for lsmw. I need a template document which i should be able to use as Func Specs for different lsmw objects.
    Kindly forward the same to [email protected]
    Thanks & Regards,
    Vijaya

    see the link...u will get the documents for LSMW
    https://websmp110.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000615616

  • Very Urgent........! on LSMW plz help me

    Hi Experts,
      Actually i am trying to upload customer data (XD01) using LSMW Direct Input Method my requriment is if already that customer is present instead of opeaning XD01 it should open XD02
      for this till now i have come to know that i have write some coding using subroutine in 6th step
      plz guide me how can i code .....
    also if possible send me some example relating to this
    Thanks & regards,
    Bushan

    hi bhushan

  • Urgent: Error in magrating assets by LSMW

    When I use LSMW - convert data, the system end up a ABAP dump. What does it mean?
    Runtime Errors         UC_OBJECTS_NOT_CONVERTIBLE
    Date and Time          2008.05.23 10:28:56
    Short text
         Data objects in Unicode programs cannot be converted.
    发生了什么?
         Error in the ABAP Application Program
         The current ABAP program "/1CADMC/SAP_LSMW_CONV_00000012" had to be terminated
          because it has
         come across a statement that unfortunately cannot be executed.
    错误分析
         The statement
            "MOVE src TO dst"
         requires that the operands "dst" and "src" are convertible.
         Since this statement is in a Unicode program, the special conversion
         rules for Unicode programs apply.
         In this case, these rules were violated.
    Trigger Location of Runtime Error:
         Program Name                            /1CADMC/SAP_LSMW_CONV_00000012
         Include                                 /SAPDMC/SAP_LSMW_CONV_FORMS
         Row                                     1,080
         Module type                             (FORM)
         Module Name                             TRANSFER_RECORD
      CLEAR:
        g_cnt_idocs_package,
        gt_pack_edi_dc40[],
        gt_pack_edi_dd40[].
    ENDFORM.                    "TRANSFER_IDOCS
          FORM TRANSFER_RECORD
    FORM transfer_record.
      FIELD-SYMBOLS:
        <l_record>,
        <l_prev_record>.
      DATA:
        l_prev_record TYPE tumls_segment.
      DATA:
        l_len_trgstr TYPE i.
      IF g_skip_record = no AND
         g_skip_transaction = no.
        ASSIGN (g_record) TO <l_record>.
        CASE g_objecttype.
          WHEN '01' OR '02'.
            gt_buffer-record = g_record.
            gt_buffer-data = <l_record>.
            APPEND gt_buffer.
          WHEN '03' OR '04'.
            IF g_record = 'EDI_DC40'.
              IF p_trfcpt = yes.
                gt_curr_edi_dc40 = <l_record>.
                APPEND gt_curr_edi_dc40.
              ELSE.
                gt_buffer-record = g_record.
                gt_buffer-data = <l_record>.
                APPEND gt_buffer.
              ENDIF.
            ELSE.
              CLEAR edi_dd40.
              edi_dd40-segnam = g_edidd_segnam.
              edi_dd40-mandt = edi_dc40-mandt.
              edi_dd40-docnum = edi_dc40-docnum.
              ADD 1 TO g_segnum.
              edi_dd40-segnum = g_segnum.
              edi_dd40-hlevel = g_edidd_hlevel.

    hi..
    I too faced the problem..
    as its regarding the date and time.. my mistake was...
    while declaring the fields I have declared the length of the field for date as length 8( as given in the table) but when I am uploading the flat file the length was 10( including the separator . or / or  -  what ever it might be) so it was throwing the dump. So I have declared the date as char and length as 10 ( else u can change the format for that date field by removing the seperators in the flat file). Similar might be the case for u also.
    reward if found helpful

Maybe you are looking for

  • Adobe Indesign, Illustrator, and Photoshop wont update

    I'm trying to use the Folio Builder in InDesign CS6 but when I access the panel it says updates are required. I went to Help>Updates and it says : "The update server is not responding.  The server might be offline temporarily, or the Internet or fire

  • Rfc Timeout Webservice-XI-R/3 Scenario

    Hi I am having a very peculiar problem . A webservice to Rfc call in R/3 times out if R/3  does not send the response. Due to the bad design of the BAPI in R/3 , if one of the request field is empty , the BAPI will go into an infinite loop where it t

  • FieldPoint I/O Data Type versus Fieldpoint I/O Point Data Type

    I have upgrated a project from LV 8.5 version to LV 2011 the Fieldpoint Data Types are different in LV 8.5 it is FieldPoint I/O and in LV 2011 it is Fieldpoint I/O Point. I built the proyect and tried to run it, no errors were present. Now the applic

  • Datetime format error FIM 2010 R2

    Hi Experts, I am getting employee EndDate in a file wtih format yyyymmdd like 20140314. I am able to get the date in metaverse through 'HR File Inbound Rule' but error while exporting to FIM MA. After getting the error 'datetime format' error, I made

  • Launch PhotoShop CC Generator Issue

    Whenever I launch my PhotoShop CC, I get a dialog box with the error: There is a problem with Generator. Please quit Photoshop and try again. If the problem persists, remove any third-party plug-ins or try reinstalling Photoshop. I've reinstalled and