Batch Input Session for Errors

Hello
I'm running a Batch Input (in a FM) and I want to create a session for records with errors. In case of error (output parameter of the FM subrc NE 0) I send it to that session for later running.
Can you explain how do I do this? Thanks!

hi,
Look at the sample program
REPORT Z_BDC_CUSTOMER_R07
       NO STANDARD PAGE HEADING LINE-SIZE 255.
INCLUDE Z_CUSTOMER_BDC_R02.
*-----AT SELECTION-SCREEN
AT SELECTION-SCREEN.
  IF SY-UCOMM = 'ONLI'.
*-----group and user must be filled to create a session
    IF SESSION = 'X' AND
       GROUP = SPACE OR USER = SPACE.
      MESSAGE E613(MS).
    ENDIF.
*----Presentation File name should be entered
    IF SESSION = 'X' AND RB_PRE = 'X'
                     AND P_FILE = '' .
      MESSAGE E004(ZROJA).
    ELSEIF CTU = 'X' AND RB_PRE = 'X'
                     AND P_FILE = '' .
      MESSAGE E004(ZROJA).
    ENDIF.
*----Application File name should be entered
    IF SESSION = 'X' AND RB_APP   = 'X'
                     AND P_FILE_A = '' .
      MESSAGE E004(ZROJA).
    ELSEIF CTU = 'X' AND RB_APP = 'X'
               AND P_FILE_A = '' .
      MESSAGE E004(ZROJA).
    ENDIF.
  ENDIF.
*-----AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
*----When file from Presentation server is selected
  IF RB_PRE = 'X'.
*----To make the application server inactive
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'AAA'.
        SCREEN-ACTIVE = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSE.
*----When file from Presentation server is selected
    RB_APP = 'X'.
*----To make the application server inactive
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'BBB'.
        SCREEN-ACTIVE = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
*-----AT SELECTION-SCREEN ON VALUE-REQUEST
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE_A.
  CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
    EXPORTING
      I_LOCATION_FLAG = 'A'
      I_SERVER        = ' '
      FILEOPERATION   = 'R'
    IMPORTING
      O_PATH          = P_FILE_A
    EXCEPTIONS
      RFC_ERROR       = 1
      ERROR_WITH_GUI  = 2
      OTHERS          = 3.
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
*-----AT SELECTION-SCREEN ON VALUE-REQUEST
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
*-----Function module for value-request
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME  = SYST-CPROG
      DYNPRO_NUMBER = SYST-DYNNR
      FIELD_NAME    = ' '
    IMPORTING
      FILE_NAME     = V_FILE_NAME.
*----Assigning the flatfile to parameter
  P_FILE        = V_FILE_NAME.
*-----START-OF-SELECTION
START-OF-SELECTION.
  DATA: FILENAME TYPE STRING.
*----When file from Presentation Server is selected
  IF RB_PRE = 'X'.
    FILENAME = P_FILE.
*-----Function module to upload data from the presentation server
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                = FILENAME
        FILETYPE                = 'ASC'
        HAS_FIELD_SEPARATOR     = 'X'
      TABLES
        DATA_TAB                = IT_KNA1
      EXCEPTIONS
        FILE_OPEN_ERROR         = 1
        FILE_READ_ERROR         = 2
        NO_BATCH                = 3
        GUI_REFUSE_FILETRANSFER = 4
        INVALID_TYPE            = 5
        NO_AUTHORITY            = 6
        UNKNOWN_ERROR           = 7
        BAD_DATA_FORMAT         = 8
        HEADER_NOT_ALLOWED      = 9
        SEPARATOR_NOT_ALLOWED   = 10
        HEADER_TOO_LONG         = 11
        UNKNOWN_DP_ERROR        = 12
        ACCESS_DENIED           = 13
        DP_OUT_OF_MEMORY        = 14
        DISK_FULL               = 15
        DP_TIMEOUT              = 16
        OTHERS                  = 17.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ELSE.
*----Upload the File from Application Server
    OPEN DATASET P_FILE_A FOR INPUT IN TEXT MODE ENCODING DEFAULT.
*-----to display an error if the file is not in application server
    IF SY-SUBRC NE 0.
      MESSAGE E006(ZROJA).
    ELSE.
      DO.
        READ DATASET P_FILE_A INTO X_KNA1.
        IF SY-SUBRC EQ 0.
          APPEND X_KNA1 TO IT_KNA1.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
    ENDIF.
    CLOSE DATASET P_FILE_A.
  ENDIF.
*-----To open a batchinput session
  IF SESSION = 'X'.
    CALL FUNCTION 'BDC_OPEN_GROUP'
      EXPORTING
        CLIENT              = SY-MANDT
        GROUP               = GROUP
        KEEP                = KEEP
        USER                = USER
        PROG                = SY-CPROG
      EXCEPTIONS
        CLIENT_INVALID      = 1
        DESTINATION_INVALID = 2
        GROUP_INVALID       = 3
        GROUP_IS_LOCKED     = 4
        INTERNAL_ERROR      = 6
        QUEUE_ERROR         = 7
        RUNNING             = 8
        SYSTEM_LOCK_ERROR   = 9
        USER_INVALID        = 10
        OTHERS              = 11.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDIF.
*-----Filling the BDCDATA using the Internal Table
  LOOP AT IT_KNA1 INTO X_KNA1.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0100'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'RF02D-KTOKD'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_FIELD       USING 'RF02D-KUNNR'
                                  X_KNA1-KUNNR.
    PERFORM BDC_FIELD       USING 'RF02D-KTOKD'
                                  X_KNA1-KTOKD.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0110'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'KNA1-SPRAS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_FIELD       USING 'KNA1-NAME1'
                                  X_KNA1-NAME1.
    PERFORM BDC_FIELD       USING 'KNA1-SORTL'
                                  X_KNA1-SORTL.
    PERFORM BDC_FIELD       USING 'KNA1-ORT01'
                                  X_KNA1-ORT01.
    PERFORM BDC_FIELD       USING 'KNA1-PSTLZ'
                                  X_KNA1-PSTLZ.
    PERFORM BDC_FIELD       USING 'KNA1-LAND1'
                                  X_KNA1-LAND1.
    PERFORM BDC_FIELD       USING 'KNA1-SPRAS'
                                  X_KNA1-SPRAS.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0120'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'KNA1-LZONE'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_FIELD       USING 'KNA1-LZONE'
                                  X_KNA1-LZONE.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0125'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'KNA1-NIELS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0130'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'KNBK-BANKS(01)'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=ENTR'.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0340'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'RF02D-KUNNR'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=ENTR'.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0370'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'RF02D-KUNNR'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=ENTR'.
    PERFORM BDC_FIELD       USING 'KNA1-CIVVE'
                                  'X'.
    PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0360'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'KNVK-NAMEV(01)'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=ENTR'.
*----If Session is selected
    IF SESSION = 'X'.
*----To insert data into batch input session
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE     = 'XD01'
        TABLES
          DYNPROTAB = IT_BDCDATA.
      REFRESH IT_BDCDATA.
      AT LAST.
        SKIP.
        WRITE:/ TEXT-001.
      ENDAT.
    ELSE.
*----Calling the transaction
      CALL TRANSACTION 'XD01' USING IT_BDCDATA
                              MODE     CTUMODE
                              UPDATE   CUPDATE
                            MESSAGES INTO IT_BDCMSGCOLL.
      CLEAR IT_BDCDATA.
      REFRESH IT_BDCDATA.
    ENDIF.
  ENDLOOP.
*----If Session is Selected
  IF SESSION = 'X'.
*----To close the session
    CALL FUNCTION 'BDC_CLOSE_GROUP'
      EXCEPTIONS
        NOT_OPEN    = 1
        QUEUE_ERROR = 2
        OTHERS      = 3.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDIF.
*-----END-OF-SELECTION
END-OF-SELECTION.
*----To display the success messages
  LOOP AT IT_BDCMSGCOLL INTO X_BDCMSGCOLL WHERE MSGTYP = 'S' .
*-----If Message Type Differs
    ON CHANGE OF X_BDCMSGCOLL-MSGTYP.
      WRITE:/ TEXT-002.
      SKIP.
      ULINE (58).
      WRITE:/01 SY-VLINE,02 TEXT-003,
             14 SY-VLINE,15 TEXT-004,
             21 SY-VLINE,22 TEXT-005,
             35 SY-VLINE,36 TEXT-006,
             58 SY-VLINE,/01 SY-ULINE(58).
    ENDON.
    WRITE:/01 SY-VLINE,02 X_BDCMSGCOLL-MSGTYP,
           14 SY-VLINE,15 X_BDCMSGCOLL-TCODE,
           21 SY-VLINE,22 X_BDCMSGCOLL-MSGV1,
           35 SY-VLINE,36 TEXT-007,
           58 SY-VLINE,/01 SY-ULINE(58).
  ENDLOOP.
  SKIP 2.
*----To display the error messages
  LOOP AT IT_BDCMSGCOLL INTO X_BDCMSGCOLL WHERE MSGTYP = 'E'.
*-----If Message Type Differs
    ON CHANGE OF X_BDCMSGCOLL-MSGTYP.
      WRITE:/ TEXT-008.
      SKIP.
      ULINE (58).
      WRITE:/01 SY-VLINE,02 TEXT-003,
             14 SY-VLINE,15 TEXT-004,
             21 SY-VLINE,22 TEXT-005,
             35 SY-VLINE,36 TEXT-006,
             58 SY-VLINE,/01 SY-ULINE(58).
    ENDON.
    WRITE:/01 SY-VLINE,02 X_BDCMSGCOLL-MSGTYP,
           14 SY-VLINE,15 X_BDCMSGCOLL-TCODE,
           21 SY-VLINE,22 X_BDCMSGCOLL-MSGV1,
           35 SY-VLINE,36 'Customer Already Exits',
           58 SY-VLINE,/01 SY-ULINE(58).
  ENDLOOP.
*-----FORM fill_bdcdata
FORM FILL_BDCDATA USING L_DYNPRO TYPE ANY
                        L_FNAME  TYPE ANY
                        L_FVALUE TYPE ANY.
  CLEAR X_BDCDATA.
  IF L_DYNPRO = 'X'.
    X_BDCDATA-DYNBEGIN = 'X'.
    X_BDCDATA-PROGRAM  = L_FNAME.
    X_BDCDATA-DYNPRO   = L_FVALUE.
  ELSE.
    X_BDCDATA-FNAM = L_FNAME.
    X_BDCDATA-FVAL = L_FVALUE.
  ENDIF.
  APPEND X_BDCDATA TO IT_BDCDATA.
ENDFORM.                    "BDC_FIELD
*-----Start new screen
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.                    "BDC_DYNPRO
*-----Insert field
FORM BDC_FIELD USING FNAM FVAL.
  IF FVAL <> SPACE.
    CLEAR IT_BDCDATA.
    IT_BDCDATA-FNAM = FNAM.
    IT_BDCDATA-FVAL = FVAL.
    APPEND IT_BDCDATA.
  ENDIF.
ENDFORM.                    "BDC_FIELD

Similar Messages

  • Batch input session for Recurring Entry

    Hello All,
    i have created Batch input session for Posting document's for recurring entries creted and job executed in background through SM35 and done successfully, but i am unable to find the Batch input session in SM35 which i have created to run the job.
    i want to see the log file for this Batch Input session.
    Please help me how to get the batch Input Session.
    Thanks
    Shankar

    Hi Murali...
    Thank you a lot for your answer, i have created the Batch input session without selecting the "HOLD Session" Check box..
    Issue Resolved
    Thanks Again
    Shankar

  • LSMW- Batch Input session getting error

    Hi All,
    I created LSMW object for Tcode KO01 and its creating the Internal order as expceted.But even after creating the document the Batch Input session status is showing incorrect.No messages are also displayed in the log.
    Please let me know why this is happening.
    Thanks in Advance,
    Savitha

    Hi,
    Detail Error Message is as follows:
    No batch input data for screen SAPLIMR0 1110
    Message no. 00344
    Diagnosis
    The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.
    Possible reasons:
    1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.
    2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).
    3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.
    System Response
    None.
    Procedure
    For 1: Either re-create the session or process it in expert mode. Correct the batch input program.
    For 2. It is very difficult to analyze this problem, particularly in the case that the screen sequence or the display-only options of fields differ according to whether the transaction is being processed in the background or as an online dialog. It could also be that this kind of transaction cannot run with batch input.
    For 3: Have the creator of the session process it. If no error occurs now, then this is a program with user-specific Customizing.
    Regards,
    ababfk

  • Batch Input Session for RFUMSV50 is not getting processed.

    Dear All,
    When i am trying to transfer the Service Tax Inetrim account to Service tax final account with the help of the program RFUMSV50 the batch input session is getting generated without any error. But when i process the same in SM35 it is not getitng processed.
    Please advice on this.
    Regards,
    Rajeswari Shankar.

    Hello Rajeswari,
    Yes, this is normal.
    When batch input sessions is generated with any error, this does not mean that you can execute it after via SM35 without any error
    Moreover, you have the option in SM35 to execute it and with option "display error only", so this means that it can happen that there is no error
    For example, the profit center is mandatory, and it is missing in the document. In that case the system will display error and ask you to fulfill the profit center
    Please tell me, which error you have (message number)
    Thanks
    Tarek

  • Batch input session for FI postings

    At the time of batch input session processing for FI postings (Transaction FB01), session is terminated due to following error message -
    Message no. 00349
    Field BSEG-PRZNR. does not exist in the screen SAPMF05A 0302
    Batch session has been created using LSMW for data upload. As per field status of the GL account, some of the line items may or may not require an entry for particular field. How can we ignore this error during batch input session when a field is not required to be input for a particular GL account. However, flat file format contains this field because it is required for some of the GL accounts.
    Let me know if you need more information / example. I desperately need a solution.
    Regards,

    Dear Abhilasha,
    Lets assume you have two gl accounts gl1 and gl2. gl1 requires this field to be entered, whereas gl2 does not allow you to enter value.
    In this case, modify your logic as below:
    I believe you can write code in LSMW as well.
    However, if you are using BDC you can write logic as follows:
    if gl_account_field = gl1.
      PERFORM bdc_field       USING 'BSEG-PRZNR'
                                           value.
    endif.
    Hope this will help.
    Regards,
    Naveen.

  • Batch Input Session - Display Error Only - SM35

    Dear all,
    Need to do material master extension in MM01 and considering batch input session using mode 'display error' only.
    However,do have a concern on its performance or run time. In SM35, running in display error only mode - will there be any time out error like the ones encounter in abap reporting ?
    This is because, we will be dealing with a huge volume of data (round 2,000). Therefore would like to know, if there would be any possibility that the bdc session in sm35 will experience a time out or not .
    Appreciate it if you could shed some lights on this. Thanks in advance.

    Hello there,
    Executing MM01's batch job in background wasn't really an option. This is because, this error was encountered "Control Framework: Fatal error - GUI cannot be reached".
    Had done a search on this -- and it indicates that in background mode there isn't GUI involved. Searched result also shows that this error appears when its comes to screens with text ie. Purchase Text or Sales text. Nope, no BDC on entering text involved.
    http://www.sapfans.com/forums/viewtopic.php?f=13&t=164902&hilit=ControlFramework%3AFatalerrorGUIcannotbe+reached
    Therefore the option am considering is executing the batch job in "Display Error Only". Nonetheless, am not too sure if this will cause time out. The other reason as to this option is that -- we initially introduced CALL TRANSACTION for extending material in MM01. However, functional feedback that it was slow.
    Kindly advise - thanks in advance.

  • Creation of batch input session for mass reversal of payment documents

    Hello FI experts,
    There is a business requirement in which the users want to reverse the payments en-masse. This can be achieved by creating a batch input session via a custom program to upload the documents from excel . Then calling FBRA and FB08 to do the resetting and reversal.
    My issue is how to create the batch input session ? Please help.
    Regards,
    Van

    Hi,
    I have got developed such program earlierr.
    You can define your custom program specification as below:-
    (A) Based on the selection screen, the program will read all the records (field document number VBLNR, company code ZBUKR and year from field ZALDT) from table REGUH. (Proposal Run Indicator XVORL should be blank.)
    (B) If Paying company code (REGUH-ZBUKR) is equal to Sending company code (REGUH-ABSBU):-
           Step 1:- For each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) it will call transaction FBRA and will reset the clearing of the document.
           Step 2:- Then call transaction FB08 and pass the data as below:-
                  Document Number     =     Payment Document Number (REGUH-VBLNR)
                  Company Code     =     Company code (REGUH-ZBUKR)
                  Fiscal Year               =     Fiscal Year (REGUH-ZALDT)
                  Reversal Reason, Posting Date and Posting period will be defaulted from the selection screen of out program.
    (C) If Paying company code (REGUH-ZBUKR) is not equal to Sending company code (REGUH-ABSBU):-
           Step 1:- For each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) it will call transaction FBRA and will reset the clearing of the document.
            Step 2:- for each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) get the cross company code document number (BKPF-BVORG) and
                   (ii) Then find out the Document number (BKPF-BELNR) from BKPF matching BUKRS = Sending company code (REGUH-ABSBU) and GJAHR = Fiscal Year (REGUH-ZALDT) and BVORG = cross company code document number (BKPF-BVORG) as obtained above in
                  (iii) Then call transaction FBRA and will reset the clearing of the document passing BKPF-BELNR, BKPF-BUKRS and BKPF-GKAHR as obtained in (ii) above.
           Step 3:- Then call transaction FBU8 and pass the data as below:-
                  Cross CC Doc. Number=     Blank
                  Document Number     =     Payment Document Number (REGUH-VBLNR)
                  Company Code     =     Company code (REGUH-ZBUKR)
                  Fiscal Year               =     Fiscal Year (REGUH-ZALDT)
                  Reversal Reason, Posting Date and Posting period will be defaulted from the selection screen of out program.
    Regards,
    Gaurav

  • Batch input session for 'MB1C' is different from TC 'MB1C'

    hi all,
           I processed my bdc in sm35 in 'process/foreground' mode , and I find the screen is different from front-end screen. what's wrong? In 'SHDB', I already click the 'not a batch input session' checkbox.

    Hi Liang,
    Please check whether you are processing the bdc session for the same transaction 'MB1C' or is it session created for some other transaction. I don't think there can be separate screens for the same.
    Regards,
    Chetan.
    PS:Reward points if this is helpful.

  • Error when running Batch Input session for T code F.05

    When I am executing Foreign Currency Revaluation using the T Code F.05, I am unable to post the documents for Foreign Loss or gain, as these GL accounts have been defined as cost Element.
    Can any one suggest how to generate postings.
    Phani

    Hi Phani,
    This error could be becuase you have created the P&L gl accounts for forex gain and loss as cost element and you have not done the automatic assignment of cost Center to these GL accounts. Please do the necessary cost center assignment to T Code OKB9. Identify the PL gl accounts related to forex gain and loss and assign cost center.
    Hope this solves the problem
    Regards
    Paul

  • Issue With Batch input Session for VA01

    Hi,
    We Created a BDC for Sales order creation using Call Transaction Using and it Ran fine and as a result a sales order got created.
    When we converted the same BDC into session method wherein we created a session using open grp then filled the bdc tab afterwards used BDC insert and then finally closed the session.
    the session gets successfully created but the issue is after processing two screens the session just finishes and it shows as processed with no Sales order being created.This looked very strange issue to us.we also tried using parameters of CTU_PARAMS like NOBINPT but no success yet.
    Searched on SDN forums also but finally i had to post this .
    Please share your solutions or any smilar experinces.
    thanks
    Sachin Soni
    Edited by: Rob Burbank on May 18, 2010 9:33 AM

    Hi Sachin,
    Please tell us that whether your session is having all the records as much as your upload file is having.
    If yes, then probably your BDCDATA table is not getting populated properly.
    Try to debug the routine which you have written for BDC_INSERT then you could find the reason. Apart from that try to run the session in foreground mode for 2-3 records as well.
    Please revert back in case of any doubts.
    Cheers
    VJ

  • LSMW - Error in Inventory - Create batch input session

    Hello good day.
    I'm trying to create a batch input session for inventory upload (Standard Batch Input program - RM07MMBL) and when I select the Name of logical file = "MM_INVENTORY_MANAGEMENT_GOODS_MOVEMENT" and press F8, the following error occurs:
    <b>Sequential file mmgoods cannot be opened
    Message no. M7 850</b>
    Now as the legend says.... I've contacted my system administrator and he keeps telling me everything is ok, but the error keeps appearing, where can I see if I have authorization for this "file" ???
    Where is it created ??
    I need more info on this.
    Your help is very much appreciated.
    Thank you.
    Juan

    go to file transaction n check for the logical file path and logical file weather it is defined correctly r not?
    if it is correctly defined check for the file, weather the flat file is defined at the correct location which is defined in the logical file path
    u can refer the below link also
    Re: Logical file
    Regards,
    Naveen

  • RFUMSV50- Error during batch input session

    Hello Experts,
    I am getting an error after creation of batch input session for program RFUMSV50.
    If I run the session in foreground it gives velow error
    program successfully worked 3 months back without any error but after that I am facing this type of issues.
    Can anyone please guide what exactly missing in the configuration.
    Regards,
    ps

    Hi Salvatore,
    I'm in the same situation. I execute a BI, but it stops after a waring appears.
    If I proceed the transaction manually, the warning appears, but if I press ENTER the transaction ends successful.
    Did you solved your Problem or did you have an hint for me.
    Kind regards
    Yvonne Adler

  • NO Batch input data for screen SAPLKACB 0002.

    Hi,
    When i am trying to post recurring entry document in background processing.
    One error is coming as NO batch input data for screen SAPLKACB 0002.
    but if i run same document in foreground its getting posted.
    Provide your valuable inputs.

    Hi,
    Some account assignments are seems like missing while performing back ground posting for the batch input session for recurring entries. Purely these assignments are dependent on what modules you have implemented in your system.
    Check with your ABAPer, who can help you out.
    Regards,
    Srinu

  • Table control lines cannot be controlled in Batch Input session ?

    I am using a program which creates Batch Input sessions for the transaction FCHR (Online cashed checks) . The second screen is that of a table control where the check number is entered.
         I observed that while doing SHDB, if we tick the default size then changing the desktop resolution has no effect on the number of lines in table control - we see 14 lines in both cases.However, when the batch input session is processed, the number of table control lines varies according to the resoution(9 lines for 800600 and approx 15 for 1024768). Selecting the 'Dynpro standard size' option while processing the session has no effect.
      I know call transaction with 'default' parameter in optparam will take care of this problem. But I want to know whether Batch Input Session is known to have a problem with different resolutions.

    HI..
    i had the same problem once.... i dealt in the following way
    while entering values in table control
    1) enter value in the first line
    2) look for button on application toolbar using which you can increment line
    3) you will not find difference for first line but you will find it when you insert second line and go for next line.
    4) now for every increment you will get table conrol as (02) if you are going for recording.
    this will surely solve all issue related to table control as it solved for me
    regards
    Edited by: Mohit Kumar on Feb 19, 2009 12:04 PM

  • Problem while executing Batch Input session

    HI All,
           I am creating batch input session for transaction FB01.After creating the sesson when I am trying to execute it, its giving me the pop up "Session XYZ is being processed by user" and doesnt allow to excute it.
      Pease suggest me the solution on this.
      I have tried using "COMMIT WORK" , " COMMIT WORK AND WAIT", but it is not working.
    Regards
    Saurabh

    HI Saurabh
      I guess you are trying to process a session which already being processed. You can check the session that are currently in processing state via tab <b>"In Processing".</b> We an process the sessions that are in <b>"New"</b> or <b>"Incorrect"</b> State.
    Kind Regards
    Eswar

Maybe you are looking for

  • What's the best way to setup new iMac i7 coming on Monday?

    So here's a question for everyone of the very smart people who monitor this thread. I have a G5 tower with Leopard on it and a Macbook Pro (1 generation ago) with Snow on it. First I was planning on starting up the iMac to see if everything worked we

  • E3000 video streaming problem

    Hello, I just bought the E3000 router and I tried to set up a home network. I have a WD TV Live hooked up with a 150 Mbps wireless adapter (Airties 2310),when I try to stream 1080p (mkv, 10557 Kbps) video from my desktop which is connected by gigabit

  • Problem in installing Solaris 10 under VMware

    I am installing Solaris 10 under VMware (VMware ESX 2.5.1) but after it skipped configuring the interface pcn0, nothing comes up on my window again.

  • To Synchronize time in the webmail

    Hi, I have a problem with the time in my webmail. When I send email with my WebMail, the time is 1 hour less that the server where the webmail was installed. How I Can to synchronize the server with the webmail ? Regards, Marcos.

  • Communication channel Authorization in rwb

    Hi all Could you please to help me.. How we can set up authorization for communication channel in rwb? like a user A can start/stop channel A but cannot for channel B or user B can start/stop for channel B but cannot for channel A. Thanks and Regards