Textfile Locked while uploading in LSMW

Hi,
When read data step, I am getting this locked textfile error in LSMW.
Please Help me out.
Thanks in advance.
Regards,
Phani.

hi can u check what path u specified in Specify files option, If you choose on the PC make sure you have give right path. after giving the path if you save it should not throw any error.
Reward if useful

Similar Messages

  • Error Messages While Uploading through LSMW

    I was uploading a file containing around 30000 line items through lsmw by using a recording of the transaction ie01. The upload is quite slow and it gives me an error that the "EQUIPMENT COULD NOT BE BLOCKED" or "LOCK TABLE OVER FLOW" or "RUNTIME ERROR" What do these errors signify? What is the mistake i am making?

    Dear ,
    Not a worry Equipment No table have capacity 30000 to 120000 entries. U can check it thr SE13 t code with table name here equi
    Regards,
    Avinash

  • Issue with clearing previous record while uploading through LSMW

    Hi friends,
    I have created lsmw for hiring action using transaction PA40. i have a tab delimited flat file, when i run the lsmw script the first record is uploaded perfectly. However the upload halts for the second record, coz the previous record still remanins, is there an issue with the recording or do i need to clear anything?. How do i resolve  this one and continue uploading other records.
    Regards,
    Quavi

    Hi Friend,
    In the LSMW, Under the User menu you have Display Read Program and Display Conversion Program select this and open the respective program you feel having problem and put a break point in the Loop statement and debug. I will help you to identify the problem to resolve.
    Rgds,
    Jey

  • Error while uploading the file from Allpcation server in LSMW-7th step

    Hi Experts,
    what should be the specific CODE PAGE should be maintained while uploading the file from application server in LSMW-7th Step
    Thanks in advance,
    KSR

    Hi
    I mean that there is any seperate CODE PAGE which comes at the bottom of screen while uploading the file from the application server in 7th step.
    Is there any specific CODE PAGE to be maintained...
    Thanks in advance
    Oarsk

  • Error While Uploading GL Master Data in LSMW

    Hello Experts,
    I am running into error while uploading GL master data in LSMW, I created recording through FS00, then I mapped the fields, it all went good till 13th step, but last step got stuck(Run Batch Input Session), when I am running batch input session, system is showing this message "Function Code cannot be selected"
    Your help would be highly appreciated.
    Regards
    Muhammad Yousuf Ali
    SAP FI Consultant

    Hi,
    first can you pls check your Hierarchy mode setting in FS00 -  before executing Batch input session -
    Open FS00 - go to settings - and Do not display navigation tree select radio button and save it
    then Now Run fresh LSMW - your issue will resolve
    Mahesh

  • Installation Locked error while uploading meter readings in background

    Hi,
    Following is the process followed:-
    Execute EL35 transaction to generate MRO Print in SAP ISU.
    at back end a Meter readings are fetched from a data server and uploaded in the sap isu using BAPI BAPI_MTRREADDOC_UPLOAD as a background process after a propogation delay of a minute.
    If the el35 requesting is closed the meter readings get uploaded.
    However if the transaction is kept open then we get an error that installation is locked.
    Please advice if there is a way to dequeue this lock while trigerring the EL35 transaction in first place..
    Regards,
    Sarvesh
    <Removed contact details>
    Edited by: Suhas Saha on Jul 25, 2011 11:24 AM

    Hi,
    Message - 'Format of MR 17737 not valid (MR document number 105677 ) signifies that number of pre-decimal places and number of post decimal places do not match with your register group configuration.
    Since, you are suggesting that your logic works in most of the cases, I think when meter overflow happens and while you are converting it to actual read - this reading do not match with pre-decimal and post decimal places.
    You need to double click on register group for a device, where you are facing this issue and then compare your calculated read in your code.
    Hope this helps.
    Regards,
    Avinash

  • Installation lock error while uploading meter readings in sap isu

    Hi,
    Following is the process followed:-
    Execute EL35 transaction to generate MRO Print in SAP ISU.
    at back end a process is triggered where Meter readings are fetched from a data server and uploaded in the sap isu using BAPI BAPI_MTRREADDOC_UPLOAD as a background process after a propogation delay of a minute after executing EL35.
    If the el35 requesting is closed the meter readings get uploaded.
    However if the transaction is kept open then we get an error that installation is locked.
    Please advice if there is a way to dequeue this lock while trigerring the EL35 transaction in first place..
    Regards,
    Sarvesh
    9920722958

    Hi,
    Message - 'Format of MR 17737 not valid (MR document number 105677 ) signifies that number of pre-decimal places and number of post decimal places do not match with your register group configuration.
    Since, you are suggesting that your logic works in most of the cases, I think when meter overflow happens and while you are converting it to actual read - this reading do not match with pre-decimal and post decimal places.
    You need to double click on register group for a device, where you are facing this issue and then compare your calculated read in your code.
    Hope this helps.
    Regards,
    Avinash

  • Enter G/L account error while uploading open contracts using lsmw

    Hi Experts,
    I have a flat file for Open Contracts.While trying to upload using LSMW -BAPI method(BUS2014), it is throwing error as 'Enter G/L account' though G/L is present in the flat file.I have done with the mapping in the 5th step.
    Checked all the configuration settings of G/L.everything is fine. Not getting where is it going wrong.
    please help me out.

    I've tried regarding Helmut's advise and it works.
    10 points (if i was a thread owner)

  • Problems while uploading Task List - Service Pack with LSMW

    We are trying to upload General Maintenance Task List using LSMW. We are using Standard Batch/Direct Input method with Object 0490.
    We need to upload task list header, operations, maintenance pack, component and service pack for operations.
    We have created separate files containing data for different structures and they are linked using Group, group counter and operation number according below
    Header
    |----Operations
    .......... |----Long Text
    ..........|----Maintenance Pack
    ..........|----Components
    ..........|----Service Pack
    We have multiple operations per task list and multiple services per operation. The service pack is required only for a specific control key - PM03.  As per the configuration this screen (PROGRAM - SPLMLSP, Screen Number - 0200) is accessible only when the value PM03 is entered in the operation. We are able to upload all other details except service pack details. We have tried using structure IBIPBDCD for the same.
    While uploading the task list in foreground, when control key is entered as PM03 in an operation, service pack screen is displayed with error u201CNo batch input data for screen SAPLMLSP 0200u201D. The data provided in structure IBIPBDCD does not get processed at this time.
    On exiting the screen using back button, the data in IBIPBDCD structure is passed incorrectly to fields in screen 3400 (SAPLCPDI)
    Are we doing something incorrect? Is there a way to use this standard functionality to upload task lists with service packs?
    Thanks
    Edited by: jvalitp on Dec 15, 2011 12:46 PM

    Hi,
    When loading the tasklists you need to define a source structure as per the IBIP structure. You have different levels for example level 1 - header then below that level 2 - Operations, Header Long text then below that you have level 3 - Operation Long text, Operation Package assignments, operation component allocation.
    For each of these levels you need an identifier that links then together. In your source file specify identifier 1 for header, Identifier 1 and Identifier 2 for operations, identifier 1 identifier 2 and identifier 3 for packages. This way the system can create the correct structure when it reads the data from the text file.
    The identifiers are numeric and will dissapear once the files are loaded. specify then in the source structure as 2 characters and remember to set the xcel file up to have a 2 character field.
    For the header file each line will be a new identifier 1,2,3,etc.
    The operations are assigned to the header and have 2 identifiers. The first corresponds to the header identifier the next is a sequential number stating at 1 and incrementing for each line e.g Header 1 op 1, header 1 op 2, header 2 op 3, header 2 op 4, header 2 op 5 (this would be 2 header records. The first with 2 operations on it the second with 3 operations)
    The package is assigned to the operation and as such needs to have a third identifier. Header (identifier 1), Operation (identifier 2), Package (identifier 3) Example Header 1 op 1 pack 1, header 1 op 2 pack 2, header 2 op 3 pack 3, header 2 op 4 pack 4, header 2 op 5 pack 5
    I have a loading file for each of the items i.e. Header file, Operation file, maintenance package file. This is then assigned to the respective source structure.
    Regards,
    ravi

  • 'Create' Push button is not working in BDC and LSMW while uploading G/L master data

    Hello Experts:
    I am facing the following problem:
    While uploading G/L master data with the BDC program, 'create' push button is not working  even after executing following lines.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    Create G/L account  screen is not coming in BDC. Please suggest me what to do.
    Thanks !!

    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Hi Glen Anthony
    Thank you for the reply Glen Anthony please take a look at the following code.
    REPORT  ZFI_BDC_FS00
            NO STANDARD PAGE HEADING LINE-SIZE 255.
    *INCLUDE BDCRECX1.
    TYPES : BEGIN OF STR,
       BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS,        "Company Code
       SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR,        "G/L Account Number
       KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS,        "G/L Account Group
       XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT,    "P&L statement account
       XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK,        "Indicator: Account is a balance sheet account?
       TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML,  "G/L account short text
       TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML,  "G/L account short text
       WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS,      "Account currency
       XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH,      "Indicator: Only Manage Balances in Local Currency
       MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ,      "Tax Category in Account Master Record
       XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO,      "Indicator: Tax code is not a required field
       MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ,      "Account is reconciliation account
       XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW,      "Indicator: Open item management?
       XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES,      "Indicator: Can Line Items Be Displayed by Account?
       ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA,      "Key for sorting according to assignment numbers
       FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG,      "Field status group
       XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB,      "Indicator: Is account only posted to automatically?
       END OF STR.
    DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
            IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
            TXT(4096) TYPE C OCCURS 0,
            MSG TYPE STRING,
            COUNT(5) TYPE N.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
       PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
    CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME        = SYST-CPROG
        DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
      IMPORTING
        FILE_NAME           = MY_FILE
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
         I_TAB_RAW_DATA             = TXT
         I_FILENAME                 = MY_FILE
       TABLES
         I_TAB_CONVERTED_DATA       = ITAB[]
      EXCEPTIONS
        CONVERSION_FAILED          = 1
        OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * IMPLEMENT SUITABLE ERROR HANDLING HERE
    ENDIF.
    START-OF-SELECTION.
    COUNT = 0.
    LOOP AT ITAB.
    *PERFORM OPEN_GROUP.
    REFRESH  IT_BDCDATA.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    *PERFORM BDC_FIELD       USING 'BDC_CURSOR'
    *                              'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                   ITAB-SAKNR. "'5'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                   ITAB-BUKRS. "'TATA'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_GROUP'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_BS_PL'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-XBILK'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "''.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB02'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                   ITAB-TXT20_ML. "'G/L ACCOUNT'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                   ITAB-TXT50_ML. "'G/L ACCOUNT'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB03'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                   ITAB-WAERS. "'INR'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                   ITAB-XSALH. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                   ITAB-MWSKZ. "'*'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
                                   ITAB-XMWNO. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                   ITAB-MITKZ. "''.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                   ITAB-XOPVW. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                   ITAB-XKRES. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                   ITAB-ZUAWA. "'1'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=SAVE'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-XINTB'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                   ITAB-FSTAG. "'G019'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                   ITAB-XINTB. "'X'.
    *PERFORM BDC_TRANSACTION USING 'FS00'.
    CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
    COUNT = COUNT + 1.
    *PERFORM CLOSE_GROUP.
    ENDLOOP.
    CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
    MESSAGE MSG TYPE 'I'.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
       CLEAR IT_BDCDATA.
       IT_BDCDATA-PROGRAM  = PROGRAM.
       IT_BDCDATA-DYNPRO   = DYNPRO.
       IT_BDCDATA-DYNBEGIN = 'X'.
       APPEND IT_BDCDATA.
    ENDFORM.
    *        INSERT FIELD                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    *  IF FVAL <> NODATA.
         CLEAR IT_BDCDATA.
         IT_BDCDATA-FNAM = FNAM.
         IT_BDCDATA-FVAL = FVAL.
         APPEND IT_BDCDATA.
    *  ENDIF.
    ENDFORM.

  • What are the difficulties that we face while uploading data in lsmw

    what are the difficulties that we face while uploading data in lsmw

    I've used LSMW extensively for all implementation projects. Most complex problem is when you have to deal with a lot of structures (for example in routings), where you have header/line item/sub-items/long texts/etc relationship. Still, LSMW can pull it fine.

  • Getting error while uploading gl master data using LSMW batch input data

    Hi Experts,
    I am getting error while uploading the GL master data through lsmw using batch input recording.
    After completion of all steps at the time of running batch input session error i am getting is "maintain EN language discription"
    and Pls tell me is it possible to upload transactional data using lsmw? if yes pls explaing briefly.

    Hello,
    Kindly post in the FI forum to get a better response.
    Regarding the issue you might check whether the correct column is being picked up where you have maintained the description.
    Kind Regards // Shaubhik

  • Error while uploading text file....

    Halo Friends,
    I am uploading 4 text files which contain three columns separated by a tab, but when i am trying to upload those files using WS_UPLOAD Function Module i am getting a runtime error saying 'error while uploading/downloading'.
    Please solve this problem as soon as possible.
    Thanks in Advance,
    rama

    Halo again,
    Now that i am able to upload the files, i need to update the database table the update statement is executing correctly but when i debug i see that the sy-subrc value is 4 but not 0.
    and hence the it is not committed.
    Any suggestions. i am pasting my code here for your reference:
    Tables: qmfe.
    data: begin of gt1_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr20 like qmfe-/itml/usr20,
          end of gt1_qmfe.
    data: begin of gt2_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr21 like qmfe-/itml/usr21,
          end of gt2_qmfe.
    data: begin of gt3_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr19 like qmfe-/itml/usr19,
          end of gt3_qmfe.
    data: begin of gt4_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr07 like qmfe-/itml/usr07,
          end of gt4_qmfe.
    data: gs1_qmfe like line of gt1_qmfe,
          gs2_qmfe like line of gt2_qmfe,
          gs3_qmfe like line of gt3_qmfe,
          gs4_qmfe like line of gt4_qmfe.
    data: ls_lines1 type i,
          ls_lines2 type i,
          ls_lines3 type i,
          ls_lines4 type i.
    parameters: ip_file1 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\StoDt.txt'     obligatory,
                ip_file2 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\RcDtCust.txt'  obligatory,
                ip_file3 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\DockDate.txt'  obligatory,
                ip_file4 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\AWB.txt'       obligatory.
    field-symbols: <fs1> like gs1_qmfe,
                   <fs2> like gs2_qmfe,
                   <fs3> like gs3_qmfe,
                   <fs4> like gs4_qmfe.
    perform upload_gt1_qmfe.
    perform upload_gt2_qmfe.
    perform upload_gt3_qmfe.
    perform upload_gt4_qmfe.
    perform update_qmfe.
    *&      Form  upload_gt1_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt1_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file1
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt1_qmfe.
    describe table gt1_qmfe lines ls_lines1.
    write: / ls_lines1.
    ENDFORM.                    " upload_gt1_qmfe
    *&      Form  upload_gt2_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt2_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file2
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt2_qmfe.
    describe table gt2_qmfe lines ls_lines2.
    write: / ls_lines2.
    ENDFORM.                    " upload_gt2_qmfe
    *&      Form  upload_gt3_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt3_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file3
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt3_qmfe.
    describe table gt3_qmfe lines ls_lines3.
    write: / ls_lines3.
    ENDFORM.                    " upload_gt3_qmfe
    *&      Form  upload_gt4_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt4_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file4
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt4_qmfe.
    describe table gt4_qmfe lines ls_lines4.
    write: / ls_lines4.
    ENDFORM.                    " upload_gt4_qmfe
    *&      Form  update_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM update_qmfe .
    data ls_cnt type i.
    loop at gt1_qmfe assigning <fs1>.
    update qmfe set    /itml/usr20 = <fs1>-/itml/usr20
                where  qmnum       = <fs1>-qmnum
                and    fenum       = <fs1>-fenum.
    if sy-subrc = 0.
    commit work.
    add 1 to ls_cnt.
    endif.
    endloop.
    write: / ls_cnt.
    ENDFORM.                    " update_qmfe

  • Dump While uploading the data in RSA1 from R3 system

    Hi All,
    We are getting a dump in st22 while uploading the data in RSA1,pls find the details below-:
    Error analysis
        Short text of error message:
        Password logon no longer possible - too many faile d attempts
        Long text of error message:
        Technical information about the message:
        Message class....... "RSAR"
        Number.............. 051
        Variable 1.......... "Password logon no longer possible - too many faile"
        Variable 2.......... "d attempts"
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLRSSM" or "LRSSMU17"
        "RSSM_CALL_RSAR_DATA_REQUEST_1"
    I have checked both R3 and BI system there is no user which is currently locked.
    also I have checked the SAP Notes 1088927,1066180 ,these notes recommends to upgrade the SAP_BW component to 16 level but we are already running at 18.
    Pls suggest
    Regards,
    Prashant

    Hi Prashant
    Your system user is unable to authenticate access on the remote system. This may be an issue for RFC user locking. Check the RFC from SM59 for the commection between the two systems. Check for the User ID and password that is saved on the RFC logon.
    Also check the system user ALEREMOTE.
    I hope this helps
    Regards
    Chen

  • Multiple line items upload in LSMW

    There are 265 line items in an entry. I have around 50 such entries to be uploaded vis LSMW.
    The problem is that, while creating a recording, do i need to record 165 line items (164 line items are of debit and only 165th line item is credit)??
    I am creating the recording for Tcode FB05 ie GL entry.
    PLEASE SUGGEST ME THE SIMPLE WAY TO UPLOAD THE LARGE SUM OF ENTRIES IN LSMW.

    Hi.
    You need not record for 165 line items. You can just record One entry in FB05, with 2 line items alone (one Debit and one credit). The Debit/ Credit indicator will be one of the fields in Recording.
    Now you need to structure this field in your template and create the Field Mapping.
    So, in the Excel template, you maintain all the multiple line items you want - against each line item you can mark this indicator as Debit/ Credit.
    Let me know if this works.
    Regards
    Srini

Maybe you are looking for

  • Itunes wont open runtime error :\

    Everytime I try to open iTunes I get this even after reinstalling and repairing it: Application popup: iTunes.exe - Application Error : The instruction at "0x10001040" referenced memory at "0x10001040". The memory could not be "read". Click on OK to

  • How to retrieve the 'Where Clause' text?

    Hello all, I have created a package to retrieve all the DML's executed against the database for the day, for a particular user. DBMS_LOGMNR package was used to retrieve DMLs. But the DMLs retrieved have their 'WHERE' clause text converted to ROWID's.

  • [JS CS3] A question about clearing scriptArgs

    Do parameters remain in the app object until they are cleared? I'm invoking scripts from indesign server, supplying parameters which the scripts read using app.scriptArgs.getValue(). Should I call app.scriptArgs.clear() in all scripts, after the "arg

  • CLIPBOARD_EXPORT from class CL_GUI_FRONTEND_SERVICES and string table - sh

    Hi Gurus, I have a problem with this method. When I'm passin to it table of strings I'm getting short dump. Something about RFC and XML. In my opinion this is error in SAP coding, but maybe I'm wrong. Has anyone this kind of problems with this method

  • Itunes wont play the right song

    When i select a song to play from my library i get a different song to the one selected. Usually the same 3 or 4 are played every time. If i select a song from my purchased playlist  that plays the selected song!!