‎2009 Apr 29 11:06 AM
Hi,
I'm trying to run the BDC for material master with call transaction. In call transaction I have selected processing mode as Background Processing. When I execute I get the following error:
CALL_TRANSACTION MM01 Return code = 1,001 RECORD: 0
S No batch input data for screen SAPLMGMM 0080
CALL_TRANSACTION MM01 Return code = 1,001 RECORD: 0
S No batch input data for screen SAPLMGMM 0080
CALL_TRANSACTION MM01 Return code = 1,001 RECORD: 0
S No batch input data for screen SAPLMGMM 0080
CALL_TRANSACTION MM01 Return code = 1,001 RECORD: 0
S No batch input data for screen SAPLMGMM 0080
CALL_TRANSACTION MM01 Return code = 1,001 RECORD: 0
S No batch input data for screen SAPLMGMM 0080
Please help...
Thanks in advance...
Regards,
Sriram.
‎2009 Apr 29 11:45 AM
Hi
You are not passing data for the mentioned screen.
You must transfer all screens that the dialog user sees to the selected screen sequence. This applies even if the screen itself is not used to input data.
Also check http://help.sap.com/saphelp_47x200/helpdata/en/9b/91c9c4546611d1a7020000e829fd11/frameset.htm
Regards,
Hakim
‎2009 Apr 29 11:59 AM
Hi Hakim,
Thanks for the reply. I'm using excel file to up load data. I have all the data in the file. Now l'm selecting Display all screens (A) in Call transaction. But it is not taking the values for Material description from excel file automatically. It is prompting me to enter the value for the same. I have checked the code and I'm passing the value for material desc. from internal table. Why is this happening?
Thanks and regards,
Sriram
‎2009 Apr 29 12:02 PM
Hi
Check whether you are passing the value for material description field in your BDC.
Have you recorded the material description field?
Cheers,
Hakim
‎2009 Apr 29 12:14 PM
Hi,
Please find below my internal table definition.
TYPES: BEGIN OF I_MM01,
MATNR(018), "Material Number
MBRSH(001), "Industry Sector
MTART(004), "Material Type
KZSEL(001), "Checkbox
WERKS(004), "Plant
MAKTX(040), "Material description
MEINS(003), "UOM
MATKL(009), "Material Group
BKLAS(004), "Valuation Class
VPRSV(001), "Price control indicator
PEINH(005), "Price Unit
END OF I_MM01.
DATA: T_MM01 TYPE TABLE OF I_MM01,
W_MM01 TYPE I_MM01.
‎2009 Apr 29 11:59 AM
try to run with mode A, then you have to find some of mandatory files not getting the values from call transaction method......
‎2009 Apr 29 12:00 PM
Hi Chenna Kesava Reddy,
Thanks for the reply. I'm using excel file to upload data. I have all the data in the file. Now l'm selecting Display all screens (A) in Call transaction. But it is not taking the values for Material description from excel file automatically. It is prompting me to enter the value for the same. I have checked the code and I'm passing the value for material desc. from internal table. Why is this happening?
Thanks and regards,
Sriram
‎2009 Apr 29 12:02 PM
Hi,
Check the Field mapping between the BDC and internal table fields.
‎2009 Apr 29 12:17 PM
Hi,
Please find below my recording code. I have shown the material desc mapping in bold.
-
Recording Code----
perform open_group.
LOOP AT T_MM01 INTO W_MM01.
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RMMG1-MATNR'
W_MM01-MATNR.
perform bdc_field using 'RMMG1-MBRSH'
W_MM01-MBRSH.
perform bdc_field using 'RMMG1-MTART'
W_MM01-MTART.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(09)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MSICHTAUSW-KZSEL(01)'
W_MM01-KZSEL.
perform bdc_field using 'MSICHTAUSW-KZSEL(02)'
W_MM01-KZSEL.
perform bdc_field using 'MSICHTAUSW-KZSEL(09)'
W_MM01-KZSEL.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(14)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(13)'
W_MM01-KZSEL.
perform bdc_field using 'MSICHTAUSW-KZSEL(14)'
W_MM01-KZSEL.
perform bdc_dynpro using 'SAPLMGMM' '0080'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-WERKS'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'RMMG1-WERKS'
W_MM01-WERKS.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field *using 'MAKT-MAKTX'*
*W_MM01-MAKTX.*
perform bdc_field using 'BDC_CURSOR'
'MARA-MATKL'.
perform bdc_field using 'MARA-MEINS'
W_MM01-MEINS.
perform bdc_field using 'MARA-MATKL'
W_MM01-MATKL.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field *using 'MAKT-MAKTX'*
*W_MM01-MAKTX.*
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field *using 'MAKT-MAKTX'*
*W_MM01-MAKTX.*
perform bdc_field using 'MARA-MEINS'
W_MM01-MEINS.
perform bdc_field using 'MARA-MATKL'
W_MM01-MATKL.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field *using 'MAKT-MAKTX'*
*W_MM01-MAKTX.*
perform bdc_field using 'MARA-MEINS'
W_MM01-MEINS.
perform bdc_field using 'BDC_CURSOR'
'MBEW-BKLAS'.
perform bdc_field using 'MBEW-BKLAS'
W_MM01-BKLAS.
perform bdc_field using 'MBEW-VPRSV'
W_MM01-VPRSV.
perform bdc_field using 'MBEW-PEINH'
W_MM01-PEINH.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field *using 'MAKT-MAKTX'*
*W_MM01-MAKTX.*
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
perform bdc_transaction using 'MM01'.
ENDLOOP.
perform close_group.
‎2009 Apr 30 6:06 AM
Hi,
run the program in debugging mode first and check the description field is coming to the internal table,and check with the recording mostly that field is not recorded .
Regards,
Madhu