Skip to Content
author's profile photo Former Member
Former Member

BDC Error

Hi all,

i am running a BDC program for tcode MM01, but when i run the program through SM35, i get an error saying "<b>No batch input data available for screen 0060</b>"

How to resolve it.?

have a txt file i presentation server, an itab which fills data from tht txt file.

The program is running fine in the fore ground mode.

<b>Points will be rewared</b>

Message was edited by:

Runal Singh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 06:09 AM

    Hi,

    The error "No batch input data available for screen 0060" is displayed when ever u don't code u r program to fill bdcdata table for a particular screen.

    So, in ur bdc code u have missed particular screen. Check u r file on presentation server whether any data available for particular fields on the screen.

    Regards,

    Sankar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      How to include bdcdata itab in my program......?

      In my program i am just using upload FM to load data to itab, and then in then looping through itab, and placing the respective fields of the work area.

      this is my code.

      types : begin of t_mat,

      matnr(20),

      desc(50),

      uom(5),

      end of t_mat.

      internal table and workarea declaration.......................................

      data : i_mat type table of t_mat.

      data : wa_mat type t_mat.

      include bdcrecxx.

      start-of-selection.

      moving the flat file content to internal table................................

      CALL FUNCTION 'UPLOAD'

      EXPORTING

      FILETYPE = 'DAT'

      TABLES

      data_tab = i_mat

      .

      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 open_group.

      loop at i_mat into wa_mat.

      perform bdc_dynpro using 'SAPLMGMM' '0060'.

      perform bdc_field using 'BDC_OKCODE'

      '/00'.

      perform bdc_field using 'BDC_CURSOR'

      'RMMG1-MTART'.

      perform bdc_field using 'RMMG1-MATNR'

      wa_mat-matnr.

      perform bdc_field using 'RMMG1-MBRSH'

      'W'.

      perform bdc_field using 'RMMG1-MTART'

      'FERT'.

      perform bdc_dynpro using 'SAPLMGMM' '0070'.

      perform bdc_field using 'BDC_OKCODE'

      '=ENTR'.

      perform bdc_field using 'BDC_CURSOR'

      'MSICHTAUSW-KZSEL(01)'.

      perform bdc_field using 'MSICHTAUSW-KZSEL(01)'

      'X'.

      perform bdc_dynpro using 'SAPLMGMM' '4000'.

      perform bdc_field using 'BDC_OKCODE'

      '/00'.

      perform bdc_field using 'BDC_SUBSCR'

      'SAPLMGMM'

      & '200TABFRA1 '.

      perform bdc_field using 'BDC_SUBSCR'

      'SAPLMGD1'

      & '1002SUB1 '.

      perform bdc_field using 'MAKT-MAKTX'

      wa_mat-desc.

      perform bdc_field using 'BDC_SUBSCR'

      'SAPLMGD1'

      & '2001SUB2 '.

      perform bdc_field using 'BDC_CURSOR'

      'MARA-MEINS'.

      perform bdc_field using 'BDC_CURSOR'

      'MARA-MEINS'.

      perform bdc_field using 'MARA-MEINS'

      wa_mat-uom.

      PERFORM bdc_field USING 'BDC_SUBSCR'

      'SAPLMGD1'

      & ' 2561SUB3'.

      PERFORM bdc_field USING 'BDC_SUBSCR'

      'SAPLMGD1'

      & ' 2007SUB4'.

      PERFORM bdc_field USING 'BDC_SUBSCR'

      'SAPLMGD1'

      & ' 2005SUB5'

      PERFORM bdc_field USING 'BDC_SUBSCR'

      'SAPLMGD1'

      & ' 2011SUB6'.

      PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.

      PERFORM bdc_field USING 'BDC_OKCODE'

      '=YES'.

      perform bdc_transaction using 'MM01'.

      endloop.

      PERFORM close_group.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 10:36 AM

    Hi Runal.

    When ur executing the BDC in foreground, check for any warning messages below, because the Screen flow gets disturbed when there is a warning and it can result to a particular field not being available on the screen..say in ur case 0060. If there is no warning during foreground processing then you have to check whether the fileds you are trying to populate are available on the screen.

    Regards,

    GV

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 06:02 AM

    hi runal,

    that means for that screen u rare not populating the BDC OK_CODE.

    Populate the bdc ok_code and try it..

    <b>Reward ppoints if useful</b>

    Chandra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 06:04 AM

    Hi,

    Please check the Recording of BDC Once based on Screen no 0060.

    Hopefully we can delete the code in screen no 0060..

    Hope this info will help you.

    Rewards points if useful.

    With regards,

    K K V

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.