Skip to Content
0
Former Member
May 29, 2007 at 03:05 AM

No batch data input for screen using the BDC

320 Views

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.