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

Problem in Upload data

Former Member
0 Likes
445

Hi,

I am trying to upload data to MI04 transaction. I have recorded through SHDB and processed it once again with new document number and it went well. I have noticed on thing when i am processing recording if i am removing the check for not a batch in put session i am getting this error 'Background processing not possible for material with serial number reqmt'.

I have taken the code from recording and run the same in se38 also i am getting this error.

just check this code:

report ZPRG1
       no standard page heading line-size 255.

include bdcrecx1.

start-of-selection.

perform open_group.

perform bdc_dynpro      using 'SAPMM07I' '0701'.
perform bdc_field       using 'BDC_CURSOR'
                              'RM07I-ZLDAT'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RM07I-IBLNR'
                              '100000047'.
perform bdc_field       using 'RM07I-GJAHR'
                              '2008'.
perform bdc_field       using 'RM07I-ZLDAT'
                              '14.04.2008'.
perform bdc_dynpro      using 'SAPMM07I' '0731'.
perform bdc_field       using 'BDC_CURSOR'
                              'ISEG-ERFMG(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'ISEG-ERFMG(01)'
                              '4.000'.
perform bdc_dynpro      using 'SAPLIPW1' '0200'.
perform bdc_field       using 'BDC_CURSOR'
                              'RIPW0-SERNR(04)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=RWS'.
perform bdc_field       using 'RIPW0-SERNR(01)'
                              'RING08-001'.
perform bdc_field       using 'RIPW0-SERNR(02)'
                              'RING08-013'.
perform bdc_field       using 'RIPW0-SERNR(03)'
                              'RING08-014'.
perform bdc_field       using 'RIPW0-SERNR(04)'
                              'RING08-015'.
perform bdc_dynpro      using 'SAPMM07I' '0731'.
perform bdc_field       using 'BDC_CURSOR'
                              'ISEG-ERFMG(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BU'.
perform bdc_transaction using 'MI04'.

perform close_group.

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
411

hi chandra,

if u send me the error what u 'r getting then i can help u more

regards,

Swamy

Read only

0 Likes
411

This is Error: 'Background processing not possible for material with serial number reqmt'.