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

FB02 Batch input problem - updating BSID-ZUONR

Former Member
0 Likes
1,238

Hello Experts,

I have created a batch input program to update field BSID-ZUONR. I'm using trx FB02 for this purpose.

My problem is that with some documents (BELNR), after the call transaction, I see that the field is not getting updated.

I'm getting error 'No batch input data for screen 0303'.

If you see my recording below, I'm using screen 0301 (this was automatically created while recording in SM35).

Do you know why this is happening?

Do you know how to prevent this from happening?

'X' 'SAPMF05L' '0100',

' ' 'BDC_CURSOR' 'RF05L-BELNR',

' ' 'BDC_OKCODE' '/00',

' ' 'RF05L-BELNR' gs_bi_data-belnr,

' ' 'RF05L-BUKRS' gs_bi_data-bukrs,

' ' 'RF05L-GJAHR' gs_bi_data-gjahr,

'X' 'SAPMF05L' '0700',

' ' 'BDC_CURSOR' 'RF05L-ANZDT(01)',

' ' 'BDC_OKCODE' '=PK',

'X' 'SAPMF05L' '0301',

' ' 'BDC_OKCODE' '=AE',

' ' 'BSEG-ZUONR' gs_bi_data-zuonr.

CALL TRANSACTION c_trx USING bdc_tab MODE 'N' MESSAGES INTO gt_msg.

Thank you very much in advance!!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
748

please try to run the transaction in all sceens mode.Some time entries are missing.

CALL TRANSACTION c_trx USING bdc_tab MODE 'A' MESSAGES INTO gt_msg.

watch the posted entries carefull and may a note of errors in it.Try to check the test data entries with the char values of the screen.

use /bend or /00 if you want to terminate the process in middle of screen or try to exit and try again.

Thanks,

AMS

Edited by: SAP@AMS on Sep 3, 2009 4:47 AM

Hello Experts,

I have created a batch input program to update field BSID-ZUONR. I'm using trx FB02 for this purpose.

My problem is that with some documents (BELNR), after the call transaction, I see that the field is not getting updated.

I'm getting error 'No batch input data for screen 0303'.

If you see my recording below, I'm using screen 0301 (this was automatically created while recording in SM35).

Do you know why this is happening?

Do you know how to prevent this from happening?

'X' 'SAPMF05L' '0100',

' ' 'BDC_CURSOR' 'RF05L-BELNR',

' ' 'BDC_OKCODE' '/00',

' ' 'RF05L-BELNR' gs_bi_data-belnr,

' ' 'RF05L-BUKRS' gs_bi_data-bukrs,

' ' 'RF05L-GJAHR' gs_bi_data-gjahr,

'X' 'SAPMF05L' '0700',

' ' 'BDC_CURSOR' 'RF05L-ANZDT(01)',

' ' 'BDC_OKCODE' '=PK',

'X' 'SAPMF05L' '0301',

' ' 'BDC_OKCODE' '=AE',

' ' 'BSEG-ZUONR' gs_bi_data-zuonr.

CALL TRANSACTION c_trx USING bdc_tab MODE 'N' MESSAGES INTO gt_msg.

Thank you very much in advance!!!

2 REPLIES 2
Read only

daixiong_jiang3
Active Participant
0 Likes
748

Pls run transaction SHDB to record FB02 correctly

Read only

Former Member
0 Likes
749

please try to run the transaction in all sceens mode.Some time entries are missing.

CALL TRANSACTION c_trx USING bdc_tab MODE 'A' MESSAGES INTO gt_msg.

watch the posted entries carefull and may a note of errors in it.Try to check the test data entries with the char values of the screen.

use /bend or /00 if you want to terminate the process in middle of screen or try to exit and try again.

Thanks,

AMS

Edited by: SAP@AMS on Sep 3, 2009 4:47 AM