Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MFBF bdc upload ERROR

Former Member
0 Likes
787

hie gurus , can anyone help me , i have created a bdc upload for transaction MFBF repetitive manufacturing backflush

, when i upload a material with multiple production version i get an error , production version for material could not be

determined. initially its supposed to give a pop up window that allows me to select the production version, in the bdc recording so the pop window is not being called in the program for some reason i have not modified the recording

in anyway this is straight from sm35 recording to my z program :

perform bdc_dynpro using 'SAPLBARM' '0800'.

perform bdc_field using 'BDC_OKCODE'

'=GOON'.

perform bdc_field using 'RM61B-RB_BAUGR'

'X'.

perform bdc_field using 'RM61B-BUDAT'

'06.06.2011'.

perform bdc_field using 'RM61B-BLDAT'

'06.06.2011'.

perform bdc_field using 'BDC_CURSOR'

'RM61B-MATNR'.

perform bdc_field using 'RM61B-MATNR'

'900-03-000'.

perform bdc_field using 'RM61B-WERKS'

'1200'.

perform bdc_field using 'RM61B-ERFMG'

'1111'.

                                                                                                                              • error screen not being called

perform bdc_dynpro using 'SAPLBARM' '0160'.

perform bdc_field using 'BDC_CURSOR'

'MKAL-VERID(02)'.

perform bdc_field using 'BDC_OKCODE'

'=GOON'.

perform bdc_field using 'RM61B-SELEK(02)'

'X'.

2 REPLIES 2
Read only

Former Member
0 Likes
533

if the error screen no. is 0160 then it should alled over there. else u need to call bdc_dynpro using error screen number.

may be condition satisfied so error not happened , or else u can cehck into debug mode why this screen is not being called.

thanks,

jo

Read only

Former Member
0 Likes
533

Hi Daniel,

Please check the BAPIs available in Function group 2127 if you can use any. That way you do not have to manipulate the screens in BDC.

Regards,

Shyam