BDC - Session Method - No batch input data for screen  SAPMZ_TPSCREEN02 100

Hi ABAP Experts,
I have written a Dialog Program For a Screen Which contains 5 fields namely,
carrid,
connid,
fldate,
price,
planetype.
I have written the PAI logic to insert whatever entries entered in the fields, into Database Table SFLIGHT.
I created a Transaction and Tested whether the entries are succesfully entetered into the Database Table and it works just fine.
Now i planned to write a BDC program for the above Transaction so that i can upload data to the Database table from a flat file.
I went to SHDB transaction and created a new recording and transferred the program to generate a source code.
include bdcrecx1.
start-of-selection.
loop at itab.
perform open_group.
perform bdc_dynpro      using 'SAPMZ_TPSCREEN02' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=CREA'.
perform bdc_field       using 'BDC_CURSOR'
                              'SFLIGHT-PLANETYPE'.
perform bdc_field       using 'SFLIGHT-CARRID'
                              'AA'.
perform bdc_field       using 'SFLIGHT-CONNID'
                              '0017'.
perform bdc_field       using 'SFLIGHT-FLDATE'
                              '11/01/2007'.
perform bdc_field       using 'SFLIGHT-PRICE'
                              '767'.
perform bdc_field       using 'SFLIGHT-PLANETYPE'
                              'A310-200F'.
perform bdc_transaction using 'Z_TPSCREEN02'.
perform close_group.
Then i defined an internal table which contains the same fields as those in my Screen and Transaction.
I populated the internal table from a flat file using GUI_UPLOAD function module.
I want to clarify - I got this flat file by using the GUI_DOWNLOAD module and later i uploaded the same file using GUI_UPLOAD.
I tested whether the internal table is populated or not using LOOP  AT ITAB. WRITE Statements.
Its working just fine.
Finally my code look like this.
report ZVMREC
       no standard page heading line-size 255.
TABLES: sflight.
DATA: BEGIN OF itab OCCURS 0,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price TYPE sflight-price,
planetype TYPE sflight-planetype,
      END OF itab.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename                      = 'C:\users\vamc\documents\flightinfo.txt'
    FILETYPE                      = 'ASC'
    HAS_FIELD_SEPARATOR           = 'X'
  tables
    data_tab                      = itab.
include bdcrecx1.
start-of-selection.
loop at itab.
perform open_group.
perform bdc_dynpro      using 'SAPMZ_TPSCREEN02' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=CREA'.
perform bdc_field       using 'BDC_CURSOR'
                              'SFLIGHT-PLANETYPE'.
perform bdc_field       using 'SFLIGHT-CARRID'
                              'AA'.
perform bdc_field       using 'SFLIGHT-CONNID'
                              '0017'.
perform bdc_field       using 'SFLIGHT-FLDATE'
                              '11/01/2007'.
perform bdc_field       using 'SFLIGHT-PRICE'
                              '767'.
perform bdc_field       using 'SFLIGHT-PLANETYPE'
                              'A310-200F'.
perform bdc_transaction using 'Z_TPSCREEN02'.
perform close_group.
endloop.
I checked for errors, activated and executed.
I gave session name and executed, it generated same number of sessions as number of records.
I went to SM35 and Processed one of the sessions in foreground.
It brought my screen up with all fields fill up by the fields of first record in the internal table and with
OK Code popping up.
I check the OK Code.
Now the problem has come up, its says
*No batch input data for screen SAPMZ_TPSCREEN02 1000 *
My session was now incorrectly processed,
Please help me to fix this problem.
I searched so many forums and google it a lot.
But i didn't find any clue.
Kindly take your time and have a look at this problem and let me know how can i fix it.
Thank you very much all.
Shiv
Edited by: Sivaram  Naga on Apr 15, 2008 5:57 AM

I used this code to convert the date format. I'm still getting the short dump.
   DATA: v_yyyy(4) TYPE c,
       v_mm(2) TYPE c,
       v_dd(2) TYPE c,
       v_date(8) TYPE c.
v_yyyy = itab-fldate(4).
v_mm = itab-fldate+4(2).
v_dd = itab-fldate+6(2).
concatenate v_yyyy v_mm v_dd  into v_date. 
I'm once again, putting my code.
report ZVMREC
       no standard page heading line-size 255.
TABLES: sflight.
DATA: BEGIN OF itab OCCURS 0,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price TYPE sflight-price,
planetype TYPE sflight-planetype,
      END OF itab.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename                      = 'C:\users\vamc\documents\flightinfo.txt'
    FILETYPE                      = 'ASC'
    HAS_FIELD_SEPARATOR           = 'X'
  tables
    data_tab                      = itab.
include bdcrecx1.
start-of-selection.
loop at itab.
DATA: v_yyyy(4) TYPE c,
       v_mm(2) TYPE c,
       v_dd(2) TYPE c,
       v_date(8) TYPE c.
v_yyyy = itab-fldate(4).
v_mm = itab-fldate+4(2).
v_dd = itab-fldate+6(2).
concatenate v_yyyy v_mm v_dd  into v_date.
perform open_group.
perform bdc_dynpro      using 'SAPMZ_TPSCREEN02' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=CREA'.
perform bdc_field       using 'BDC_CURSOR'
                              'SFLIGHT-PLANETYPE'.
perform bdc_field       using 'SFLIGHT-CARRID'
                               ITAB-CARRID.
perform bdc_field       using 'SFLIGHT-CONNID'
                               ITAB-CONNID.
perform bdc_field       using 'SFLIGHT-FLDATE'
                              V_DATE.
perform bdc_field       using 'SFLIGHT-PRICE'
                               ITAB-PRICE.
perform bdc_field       using 'SFLIGHT-PLANETYPE'
                              ITAB-PLANETYPE.
perform bdc_transaction using 'Z_TPSCREEN02'.
perform close_group.
endloop.
Kindly take a look at it and please help me out. I tried very hard. But i dont understand why?
Thanks
Shiv
Edited by: Sivaram  Naga on Apr 15, 2008 5:46 PM

Similar Messages

  • No batch input data for screen  occured in Call Transaction method for PA40

    Hi,
    I creatred an interface to update an employee action data ( Change of position )  PA40 by using  Call transaction method.
    while executing the  interface, I got the below error.
    No batch input data for screen MP049100 200 
    this interface updated the first employee from file,  then after it is giving the below error frequently.
    No batch input data for screen MP049100 200
    regards,
    Ashok Reddy Revoori

    The infogroup of action Change Position may be having infotype 0491. The infotypes screen sequence is decided based on employee's country grouping and user group. For the employee where you are receiving error, infotype 0491 screen is appearing for which you do not have BDC data.

  • "no batch input data for screen SAPLMR!M 6220  in BDC while holding Invoice

    Hi
         I am facing a problem while uploading Invoice data and to hold the data in miro transaction I am getting the error
         "no batch input data for  screen SAPLMR!M  6220 " . It is for non PO data only I am facing this problem using BDC.
         But for  Po based Invoice  I am getting Invoice number while holding the Invoice. I am  Using SHBDB to record the    
          transaction   details
        Please give me some solution regrading this.
    Samir

    Krish ,
                I am doing it in same transaction MIRO  for both  PO and NON-PO. I am able to generate an Invoice number while holding   the Invoice  For NON-PO taking vendor as invoice Party .While I am recording it in SHDB and trying to use the
    same in my BDC Programe it is throughing this error and also by testing the program which has been generated by the 
    SHDB trnasaction i am getting the same Error . Is there any diferrent trnasaction that is used to hold NON_PO invoice ?
    Where Invoice number will be generated automatically ?

  • No batch input data for screen SAPMSSY0 0120 when running BDC in background

    Hi Experts,
    I am facing an  issue "No batch input data for screen SAPMSSY0 0120" when running a BDC for VA01 in background.
    The scenario is like we have EDI orders coming into SAP in the form Idocs. These EDI orders are processed by Function module
    IDOC_INPUT_ORDERS. This FM module internally calls VA01 (Call Transaction) to create Sales Orders in SAP.
    Now we have a scenario in which we want a popup screen to come up  & ask for selection of record from list of records displayed on popup screen. In background since we can not show up a screen, we are programatically selecting the record we want & going ahead.
    Now what is happening is during foerground the functionality is working abosultely fine, that is incoming idoc is getting posted successfully in SAP with status of 53. Incase of back ground processing of the same we are getting an error
    No batch input data for screen SAPMSSY0 0120
    I have checked this screen through screen painer(SE51) & i did not find any element on this screen but Element list
    shows one field Syst-Xcode.
    Kindly guide me how to fix the issue so that the same can work as expected in background.
    Regards,
    Chetan.

    Hi Chetan,
    List screens utilize SAPMSSY0/0120. Please check within your ABAP coding if you have any customer exit that tries to issue WRITE statements. If so, either remove them or add logic to not issue them in background (e.g. SY-BATCH = 'X'). Another culprit might be a SUBMIT statement in a user exit, which triggers a report with list output. I'm not completely sure, but I think the screen is also used for some value helps (do you have any coding forcing a value help popup?).
    Hope this helps, harald

  • NO BATCH INPUT DATA FOR SCREEN SAPMV50A ERROR FROM BDC

    HI
    I get the following error when my program runs inforeground, using a BDC(VL02N)- 'NO BATCH INPUT DATA FOR SCREEN SAPMV50A SCREEN 1000.'
    i am trying to attach a serial number to the sales order and it seems that the warning message is causing the error. i have recorderd the transaction to death, and as mentioned, when i run in debug mode, it works fine.
    Can anyone tell me how i can overcome\suppress the warning message? i have inserted 2 okcodes before the warning is Issued and that did not help Please see below for an excerpt of the coding:.
      PERFORM bdc_dynpro USING 'SAPLIPW1'      '0200'.
      PERFORM bdc_field  USING 'BDC_CURSOR'    'RIPW0-SERNR(01)'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '/00'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '/00'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '=RWS'.
      PERFORM bdc_field  USING 'RIPW0-SERNR(01)'  itab_chas_data-chas_no     .
    PERFORM bdc_dynpro USING 'SAPMSSY0'      '0120'.
    PERFORM bdc_field  USING 'BDC_OKCODE'    '/00'.
    PERFORM bdc_field  USING 'BDC_OKCODE'    '=ENTE'.
      PERFORM bdc_dynpro USING 'SAPLIPW1'      '0200'.
      PERFORM bdc_field  USING 'BDC_CURSOR'    'RIPW0-SERNR(01)'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '=RWS'.
    Thanks a Million..

    Hi,
    Try this link.
    No batch input data for screen SAPMP50A 1000
    Thank you,

  • Error "No batch input data for screen" in BDC for Tcode CN22

    Hi,
    The issue is When teh BDC code is run by Functional guys we are facing the error as "No batch input data for screen SAPLCONW 1100", when I am trying teh change the Network Activity Level User field in Tcode CN22. When I execute the same BDC code with Developer User id, it is executing perfectly.
    I have checked the User Profiles for both functional and Technical and both are same. What is my solution now?
    Regards,
    Deepthi.

    Hi
    Take Recording using the functional guy log in there might be user depended screen  sequence
    Regards
    Nilesh Gaikwad
    Edited by: Nilesh  Gaikwad on Jan 26, 2010 10:49 AM

  • Error: No batch input data for screen SAPLSTRD 0300 for BDC OB52

    Hello,
    I have created one program, where i am just calling transaction OB52 using batch input.
    CALL TRANSACTION 'OB52' USING bdcdata
                              MODE  input_method
                              UPDATE 'S'
                              MESSAGES INTO itb_msg.
    When I run my program in background the it is giving me Error "No batch input data for screen SAPLSTRD 0300 ", but I am changing the MODE to 'A' in foreground then it is working perfectly without any Errors.
    Can you guide me why i am getting the above error only when i am executing the program in MODE = 'N'...
    Regards,
    Sujeet Mishra

    Hello,
    Actually recording is perfect and it was working fine earlier on production server. now the error i am getting is related to transport request. like when we do the changes in transaction OB52 online is will ask you for transport request, but in my recording we are not taking care of this transport request pop-up screen, but it was working fine earlier.
    the code which was working fine is written below:
    LOOP AT itb_type.
        PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
        PERFORM bdc_field USING 'BDC_OKCODE' '=POSI'.
    * Ecran Positionner, fonct Suite
        PERFORM bdc_dynpro USING 'SAPLSPO4' '0300'.
        PERFORM bdc_field USING 'SVALD-VALUE(01)' p_bukrs.
        PERFORM bdc_field USING 'SVALD-VALUE(02)' itb_type-mkoar.
        PERFORM bdc_field USING 'SVALD-VALUE(03)' itb_type-bkont.
        PERFORM bdc_field USING 'BDC_OKCODE' '=FURT'.
    * Ecran principal, fonction Sauvegarde
        PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
    *   Période 1
        IF ( p_etape1 = 'X' ).
    *     Si Jour J+1
          PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_sppe1-low.
          PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_sppe1-high.
          PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_spye1-low.
          PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_spye1-high.
        ELSEIF ( p_etape2 = 'X' ).
    *     Si Jour J+6
          PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_frpe1-low.
          PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_frpe1-high.
          PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_frye1-low.
          PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_frye1-high.
        ENDIF.
    *   Période 2
        PERFORM bdc_field USING 'V_T001B-FRPE2(01)' s_frpe1-low.
        PERFORM bdc_field USING 'V_T001B-TOPE2(01)' s_frpe1-high.
        PERFORM bdc_field USING 'V_T001B-FRYE2(01)' s_frye1-low.
        PERFORM bdc_field USING 'V_T001B-TOYE2(01)' s_frye1-high.
    *   Gpe d'autorisation
        PERFORM bdc_field USING 'V_T001B-BRGRU(01)' itb_type-brgru.
        PERFORM bdc_field USING 'BDC_OKCODE'  '=SAVE'.
    ENDLOOP.
        PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
        PERFORM bdc_field USING 'BDC_OKCODE' '=BACK'.
    * Appel de la transaction OB52
      CALL TRANSACTION 'OB52' USING bdcdata
                              MODE  input_method
                              UPDATE 'S'
                              MESSAGES INTO itb_msg.
    Regards,
    SUjeet

  • Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"

    I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
    I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
    Regards
    Fawaaz

    Hi Guys,
    Thanks so much for all the prompt responses. My issue is now resolved.
    The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
    Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
    Thanks again.
    Regards
    Fawaaz

  • Error: No batch input data for screen SAPMZVKDIALOGDEMO 1000 Help Needed

    Hi Experts!
    I wrote a program for BDC. I am attaching the code herewith. When i am trying to process the session in SM35, i was getting the error: No batch input data for screen SAPMZVKDIALOGDEMO 1000. Can anyone please tell me, what am i doing wrong.
    Thanks.
    REPORT  zvkbdcdemo01.
    DATA: bdc_tab LIKE bdcdata OCCURS 6 WITH HEADER LINE.
    DATA: session LIKE apqi-groupid VALUE 'Session #1'.
    CALL FUNCTION 'BDC_OPEN_GROUP'
      EXPORTING
        client                    = sy-mandt
    *   DEST                      = FILLER8
        group                     = session
    *   HOLDDATE                  = FILLER8
    *   KEEP                      = FILLER1
        user                      = sy-uname
    *   RECORD                    = FILLER1
    *   PROG                      = SY-CPROG
    * IMPORTING
    *   QID                       =
    * EXCEPTIONS
    *   CLIENT_INVALID            = 1
    *   DESTINATION_INVALID       = 2
    *   GROUP_INVALID             = 3
    *   GROUP_IS_LOCKED           = 4
    *   HOLDDATE_INVALID          = 5
    *   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.
    PERFORM fill_bdc_tab.
    CALL FUNCTION 'BDC_INSERT'
      EXPORTING
        tcode                  = 'ZVKTR001'
    *   POST_LOCAL             = NOVBLOCAL
    *   PRINTING               = NOPRINT
    *   SIMUBATCH              = ' '
    *   CTUPARAMS              = ' '
      TABLES
        dynprotab              = bdc_tab
    * EXCEPTIONS
    *   INTERNAL_ERROR         = 1
    *   NOT_OPEN               = 2
    *   QUEUE_ERROR            = 3
    *   TCODE_INVALID          = 4
    *   PRINTING_INVALID       = 5
    *   POSTING_INVALID        = 6
    *   OTHERS                 = 7
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    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.
    *&      Form  fill_bdc_tab
    *       text
    FORM fill_bdc_tab.
      REFRESH bdc_tab.
      PERFORM populate_bdc_tab USING:
      '1' 'SAPMZVKDIALOGDEMO' '1000',
      ' ' 'SFLIGHT-CARRID' 'LH',
      ' ' 'SFLIGHT-CONNID' '0400',
      ' ' 'SFLIGHT-FLDATE' '07/07/2007',
      ' ' 'SFLIGHT-PRICE' '1982',
      ' ' 'SFLIGHT-CURRENCY' 'EUR',
      ' ' 'SFLIGHT-PLANETYPE' 'A310-300',
      ' ' 'BDC_OKCODE' 'CREA'.
    ENDFORM.                    "fill_bdc_tab
    *&      Form  POPULATE_BDC_TAB
    *       text
    *      -->FLAG       text
    *      -->VAR1       text
    *      -->VAR2       text
    FORM populate_bdc_tab USING flag var1 var2.
      CLEAR bdc_tab.
      IF flag = '1'.
        bdc_tab-program = var1.
        bdc_tab-dynpro = var2.
        bdc_tab-dynbegin = 'X'.
      ELSE.
        bdc_tab-fnam = var1.
        bdc_tab-fval = var2.
      ENDIF.
      APPEND bdc_tab.
    ENDFORM.                    "POPULATE_BDC_TAB

    This normally means that you are trying to insert data on a screen for which a particular field is not available.
    So check screen number, screen fields and report name. In case of screen fields, use F1, F9 (technical information), and check the name of the screen field for batch processing (all the way at th bottom of the pop-up). This can differ from actual name of the screen field.
    If all this is ok, try to create a recording of the transaction with SM37.

  • "No batch input data for screen RKPEP012 1000 " in SM35

    Hi Experts,
      I have BDC program which uploads data through transaction "CJIC- settlement of WBS elements".
    Issue is my BDC program creates sessions in SM35 and user processes this sessions in SM35.And Updation happens fine in SM35 sometimes and sometime it generates error ""No batch input data for screen RKPEP012 1000 ".
      Even i had tried to process this in SM35 expert mode and could see the error sometimes.
    And sometimes updation happens fine without creating any errors, but sometimes it creates this error " No batch input data for screen ".
        Can anyone please explani me why this abnormal behaviour happens in SM35 updation process.
    Thanks,
    Hemanth.

    Hi
    Try to run the session in the foreground mode and check .It may be due to some data condition one more screen may be populating ,so i thing u need to check the data for which the difeerent screen is popup and add a conditional bdc code for it.
    Hope this hint helps.
    Cheers
    Joginder

  • Error Message "No batch input data for screen SAPMF05A 0700" for FV60&FB60

    Dear All,
      I doing a BDC Upload program for Create Vendor Invoice and Park using FV60 ,But i can't upload successfully by Batch Input method and i am gettin the Error Message "No batch input data for screen SAPMF05A 0700'.I tried using FB60 and got the same error message. When i do in the direct method i can able to do it ,But can't park the document successfully and can do it untill sumilate only.
    How to overcome this issue and if you already encounter this kind of problem please advice me.
    Thanks in Advance.
    Deesanth

    Hi,
      Below is my recording.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'INVFO-ACCNT'  gwa_inv_up-lifnr.
        perform bdc_field       using 'INVFO-BLDAT'  gwa_inv_up-bldat.
        perform bdc_field       using 'INVFO-XBLNR'  gwa_inv_up-xblnr.
        perform bdc_field       using 'INVFO-BUDAT'  gwa_inv_up-budat.
        perform bdc_field       using 'INVFO-MONAT'  '9'.
        perform bdc_field       using 'INVFO-BLART'  gwa_inv_up-blart.
        perform bdc_field       using 'INVFO-WRBTR'  gwa_inv_up-dmbtr.
        perform bdc_field       using 'INVFO-WAERS'  gwa_inv_up-waers.
        perform bdc_field       using 'INVFO-XMWST'  gwa_inv_up-xmwst.
        perform bdc_field       using 'INVFO-MWSKZ'  'P0'.
        perform bdc_field       using 'INVFO-SGTXT'  gwa_inv_up-sgtxt.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=PAYM'.
        perform bdc_field       using 'INVFO-GSBER'  gwa_inv_up-gsber.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=BS'.
        perform bdc_field       using 'INVFO-ZLSCH'  gwa_inv_up-zlsch.
        cnt = 1.
        cnt1 = 1.
        clear gwa_inv_line.
        loop at gt_inv_up  into gwa_inv_line  where indic = 'D'
                                       and count = gwa_inv_up-count.
          if cnt1 gt 1.
            concatenate 'ACGL_ITEM-MARKSP(' cnt ')' into fld.
            perform bdc_field using fld 'X'.
            perform bdc_dynpro using 'SAPMF05A' '1100'.
            perform bdc_field using 'BDC_OKCODE' '=0005'.
          endif.
          concatenate 'ACGL_ITEM-HKONT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-lifnr.
          concatenate 'ACGL_ITEM-SHKZG(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-shkzg.
          concatenate 'ACGL_ITEM-WRBTR(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-dmbtr.
          concatenate 'ACGL_ITEM-MWSKZ(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-mwskz.
          concatenate 'ACGL_ITEM-SGTXT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-sgtxt.
          concatenate 'ACGL_ITEM-GSBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-gsber.
          concatenate 'ACGL_ITEM-KOSTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-kostl.
          concatenate 'ACGL_ITEM-PROJK(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-posid.
          concatenate 'ACGL_ITEM-FISTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fistl.
          concatenate 'ACGL_ITEM-FIPOS(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fipos.
          concatenate 'ACGL_ITEM-GEBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-geber.
          perform bdc_field       using 'BDC_CURSOR' fld.
          cnt1 = cnt1 + 1.
        endloop.
        perform bdc_dynpro using 'SAPMF05A' '1100'.
        perform bdc_field  using 'BDC_OKCODE' '=BS'.
        perform bdc_dynpro      using 'SAPMSSY0' '0120'.
        perform bdc_field       using 'BDC_OKCODE' '=BP'.
        call transaction 'FB60' using gt_bdcdata mode 'N' pdate 'S'
                                        messages into gt_bdc_messages.
    Thanks,
    Deesanth

  • No batch input data for screen  for VF01

    Hi All,
    Iam trying to to create billing document using  BDC for VF01 with  sales order. For single line item it is working fine and that to in Mode 'A'. But while  creating invoices using multiple sales orders  , Iam getting the following error.
    No batch input data for screen 'SAPMV60A' '0102' . Error  - 0344. 
    Kindly help me as I was strucked here.
    My code .
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0102'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'KOMFK-VBELN(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'KOMFK-VBELN(01)'
                                      gwa_bdc-vbeln.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
        REFRESH messtab[].
        CALL TRANSACTION 'VF01' USING bdcdata
                         OPTIONS FROM wa_options
                         MESSAGES INTO messtab.
    Please <removed by moderator> help.
    Thanks ,
    Srikanth.A
    Edited by: Thomas Zloch on Sep 15, 2011 1:47 PM

    Hi Jurgen
      LOOP AT git_bdc INTO gwa_bdc.
       refresh messtab[].
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0102'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'KOMFK-VBELN(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'KOMFK-VBELN(01)'
                                      gwa_bdc-vbeln.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
        REFRESH messtab[].
        CALL TRANSACTION 'VF01' USING bdcdata
                         OPTIONS FROM wa_options
                         MESSAGES INTO messtab.
    Error message population....
    REFRESH bdcdata[].
    ENDLOOP.
    Thanks,
    Srikanth.A

  • No batch input data for screen SAPMSSY3 0131 in Sales order IDOC

    I am processing Sales order IDOCS in status 64 using RBDAPP01 .Some of them error out to status 51 with the message -
    No batch input data for screen SAPMSSY3 0131 .
    I know the standard IDOC inbound process tries to simulate the posting in a BDC like process.
    Now, I went to we19 and the screen hangs up in a pop up in the partners tab with partner type 'WE' and my shipto (which is actually filled in the IDOC), missing..upon repeatedly hitting enter, it goes thru and an idoc is posted in status 53. But still unable to get through the root of this issue.
    Any, insight will help.

    Hi,
    I think the pop-up is generated through and user-exit for which recording is missing. This is why your idoc stays in status 64...
    Handle the screen recording in the user exit IDOC_INPUT_ORDERS
    user exit routine
    PERFORM customer_function_dynpro.
    FORM CUSTOMER_FUNCTION_DYNPRO.
      CALL CUSTOMER-FUNCTION '002'
        EXPORTING DXVBAK   = XVBAK
                  DVTCOMAG = VTCOMAG
                  DLAST_DYNPRO = LAST_DYNPRO
                  DXMESCOD = IDOC_CONTRL-MESCOD
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DIDOC_DATA = IDOC_DATA
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        EXCEPTIONS
                  USER_ERROR = 01.
    Regards,
    Krishnakumar

  • FBRA: No batch input data for screen SAPMF05A 0700

    Hi Gurus,
    I am processing transaction code FBRA on foreground. The document that i am trying to reset involves a foreign currency transations which revaluated periodically.
    When I try to reset the document it gives me noteice that "exchange rate differences were posted, clearing document will be reversed. do you want to continue?"
    When I press OK, it ask me to enter ther reversal reason "02". Then it gives me an error that "no batch input data for screen SPAMF05A 0700"
    Please help me to solve this.
    Many thanks!
    -JUN-

    Dear JUN,
    All this is telling you is that there is some piece of information that you are not supplying the batch input session. You can analyse the session in SM35 to see what's missing.
    Reward points if it is helpful.
    Thanks and Regards,
    Naveen.

  • LSMW - No batch input data for screen SAPLMGMM 0060

    Hi,
    I'm using LSMW to extend the MRP 4view of material master, but when I execute the batch input
    session, I got the error message:
    "No batch input data for screen SAPLMGMM 0060"
    What happened?
    Kindly please advise.
    Thanks.

    Please let me know for all the Material your Plant & Stor Locn is same. If same do like this:
    Before Recording Go to MM01 and Click on Views and select all only MRP views and set them as default and mark the option View Selection only on request and save. Then click on Orgn levels Here also do the same thing give Extending Plant & Stor Locn, Reference Plant & Stor locn Default them and Mark the option Orgn/Levels only on Request and save.
    So that when you try to create material master it wont ask views / orgn levels.
    Now in Flat file remove input Industry Sector, Material Type and Copy from Values and MRP Values and try to upload.
    Or Try as Kiran said.
    Hope you will understand this process.
    Regards,
    Ashok

Maybe you are looking for

  • MB5B Report for Date Wise Stock and Value

    Hi, I am Taking MB5B Report for Date Wise Stock and Value. But I have one doubt all stocks is coming or not in these report like Unrestrected Stock,Return Stock.Blocked stock,Transist stock,Restrected Stock,qty Inspection Stock. I have another Doubt

  • How insert photo in album from stack

    There is a way to put in an album only one photo from stacked imagines? I have try, but the whole stack is put into album. Thanks.

  • Can't sync/can't load Palm conduit. Why?

    Well I'm in a bind. My Palm desktop and User Data were corrupted and/or deleted. All of the data survive on the 500-series handheld only, and I need to back them up. Unfortunately the latest Palm Desktop software download is faulty when loaded on OS

  • DocumentFilter Ignored when using Formatter?

    I am shooting myself in the foot but I can't see the bullet. I can't use a Formatter and a DocumentFilter in the same class. I want the pattern of the Formatter but want to constrain the individual numbers as well. I can get one or the other but not

  • Database with JAR binding..!

    Dear friends, i have one Jar file contains database(Ms Access) and other java classes and utilities.... when i run java -jar myJarFile.jar am getting following exception java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Not a valid fil