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

No batch data input for screen using the BDC

Hi Experts,

i am doing a mass transfer action for the employees and for that i am uploading the data from file and then using PA30 , call transaction method.... updates are done to infotypes 0000, 0001,0006, 0007,0008... My problem is infotype 0000 is updating correctly but for rest of infotypes i am getting error as No batch data input for screen MP000100 2000 for 0001 , MP000600 2010 . Below is the code i am writing for 0000, 0001. Any help is appreciated .

Infotype 0000

PERFORM fill_bdcdata USING:

'X' 'SAPMP50A' '1000',

' ' 'BDC_OKCODE' '=INS',

' ' 'RP50G-PERNR' it_itab-pernr,

' ' 'RP50G-TIMR6' 'X'.

PERFORM fill_bdcdata USING:

' ' 'RP50G-BEGDA' l_date,

' ' 'BDC_CURSOR' 'RP50G-CHOIC',

' ' 'RP50G-CHOIC' c_0000,

' ' 'RP50G-SUBTY' p_massn,

'X' 'MP000000' '2000',

' ' 'BDC_OKCODE' '/00',

' ' 'P0000-MASSG' p_massg,

' ' 'P0000-BEGDA' l_date,

' ' 'PSPAR-PLANS' '99999999',

'X' 'MP000000' '2000',

' ' 'PSPAR-PLANS' it_itab-plans,

' ' 'BDC_OKCODE' '/00',

'X' 'MP000000' '2000',

' ' 'BDC_OKCODE' '=UPD'.

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

  • INFOTYPE 0001

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

PERFORM fill_bdcdata USING:

'X' 'MP000100' '2010',

' ' 'P0001-BEGDA' l_date,

' ' 'P0001-PLANS' it_itab-plans,

' ' 'BDC_OKCODE' '/00',

'X' 'MP000100' '2010',

' ' 'BDC_OKCODE' '=UPD'.

Thanks,

Latha.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2007 at 03:20 AM

    Hi Latha,

    Do the recording again for PA30 and this time make sure you record for filling the data for all infotypes.

    Reward points if useful.

    Regards,

    Atish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2007 at 03:32 AM

    Looks like bdcdata does not have data for second record,,i mean ur first record is repeating for second item,so use after call transaction or bdc_insert ,use refresh bdcdata,then you will not get this type of error.

    reward points if it is helpful

    Thanks

    Seshu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2007 at 03:31 AM

    when it gives you the error @ that point please go to the system and status see the screen no and screen Prgram name ..... then replace with exsisting one ....becuause now i had seen in my PA30 for 2010 infotype create screen it was

    Program (screen) MP200000

    Screen number 2450

    and 0001 infotype ...

    Program (screen) MP000100

    Screen number 2000

    Regards ,

    Girish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2007 at 03:37 AM

    Hello Latha,

    Try searching for OSS notes.

    Regards,

    Sowmya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2007 at 03:49 AM

    Hi Latha,

    Have you simulate manually by using PA30 with the data that hits the error in the program. FYI, different kind of data may lead to system behave differently. For eg, an additional popup screen will come out that required you to key in data where this popup is not appear during your BDC recording.

    Hence, this additional popup was not catered into your BDC coding and will lead to the problem that you mentioned.

    My suggestion is simulate manually on PA30 with the data that hits error. For sure it will give you a clearly picture on what is going on.

    Hope it helps.

    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.