Skip to Content
author's profile photo
Former Member

No batch input data for screen MP100100 2000

hi all,

i am geting the fallowing error " No batch input data for screen MP100100 2000"

while running bdc for the transaction PP01.

the main thing is i have to delimit the existing relationships from transaction pp01 ,

please verify my trasaction code..

perform bdc_dynpro using 'SAPMH5A0' '5000'.

perform bdc_field using 'BDC_CURSOR'

'PM0D1-SEARK'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'PPHDR-PLVAR'

'01'.

perform bdc_field using 'PPHDR-OTYPE'

wa_delimit-otype.

perform bdc_field using 'PM0D1-SEARK'

wa_delimit-ostxt.

perform bdc_dynpro using 'SAPMH5A0' '5000'.

perform bdc_field using 'BDC_CURSOR'

'PM0D1-SEARK'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'PPHDR-PLVAR'

'01'.

perform bdc_field using 'PPHDR-OTYPE'

wa_delimit-otype.

perform bdc_field using 'PM0D1-SEARK'

wa_delimit-ostxt.

*perform bdc_dynpro using 'SAPMSSY0' '0120'.

*perform bdc_field using 'BDC_CURSOR'

  • '04/04'.

*perform bdc_field using 'BDC_OKCODE'

  • '=PICK'.

perform bdc_dynpro using 'SAPMH5A0' '5000'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'PPHDR-PLVAR'

'01'.

perform bdc_field using 'PPHDR-OTYPE'

'O'.

perform bdc_field using 'PM0D1-SEARK'

'50000250'.

perform bdc_field using 'BDC_CURSOR'

'TT_T777T-ITEXT(02)'.

perform bdc_field using 'PPHDR-BEGDA'

'01.01.1800'.

perform bdc_field using 'PPHDR-ENDDA'

'31.12.9999'.

perform bdc_field using 'PM0D1-TIMRD'

'X'.

perform bdc_field using 'MARKFELD(02)'

'X'.

perform bdc_dynpro using 'SAPMH5A0' '5000'.

perform bdc_field using 'BDC_OKCODE'

'=CUTI'.

perform bdc_field using 'PPHDR-PLVAR'

'01'.

perform bdc_field using 'PPHDR-OTYPE'

'O'.

perform bdc_field using 'PM0D1-SEARK'

'50000250'.

perform bdc_field using 'BDC_CURSOR'

'TT_T777T-ITEXT(02)'.

perform bdc_field using 'PPHDR-BEGDA'

'01.01.1800'.

perform bdc_field using 'PPHDR-ENDDA'

delimit_date.

perform bdc_field using 'PM0D1-TIMRD'

'X'.

  • convert date into normal format *******************************************

concatenate p_date6(2) p_date4(2) p_date+0(4) into

delimit_date separated by '.'.

**********************************************************************************************

*perform bdc_dynpro using 'MP100100' '2000'.

*perform bdc_field using 'BDC_CURSOR'

  • 'P1001-ENDDA'.

*perform bdc_field using 'BDC_OKCODE'

  • '/00'.

*perform bdc_field using 'P1001-ENDDA'

  • delimit_date.

*perform bdc_field using 'PPHDX-RECORD_NR'

  • '1'.

perform bdc_dynpro using 'MP100100' '2000'.

perform bdc_field using 'BDC_CURSOR'

'P1001-ENDDA'.

perform bdc_field using 'P1001-ENDDA'

delimit_date.

perform bdc_field using 'BDC_OKCODE'

'=CUTI'.

perform bdc_field using 'PPHDX-RECORD_NR'

'1'.

perform bdc_dynpro using 'SAPMH5A0' '5000'.

perform bdc_field using 'BDC_OKCODE'

'=BACK'.

perform bdc_field using 'PPHDR-PLVAR'

'01'.

perform bdc_field using 'PPHDR-OTYPE'

'O'.

perform bdc_field using 'PM0D1-SEARK'

'50000250'.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on Aug 21, 2007 at 06:15 AM

    Hi,

    the more simple, is to start an SHDB, record with the parameter: simulate background.

    You will maby show the screen sequence is not the same as your program.

    PS: you could replace things like that

                  • convert date into normal format *******************************************

                  ...

                  with

                  write p_date to delimit_date.

                  that works for date, amount, quantity ....

                  Fred

                  Add comment
                  10|10000 characters needed characters exceeded