Skip to Content
0
Sep 04, 2008 at 02:22 PM

Screen has no field while doin BDC?

88 Views

hie guys

im doin a bdc for tcode F-53 and i want to clear against multiple line items...i have the following code and it seems the variables have the correct values at run time however when the next screen is called up it complains that the screen has no field RFO5A-SEL01.

the screen field seems to be indexed as i noticed from my recording. how can i then handle this??

LOOP AT itab.

num = num + 1.

IF num < 10.

CONCATENATE '0' num INTO num.

ENDIF.

amount = itab-amount.

CONDENSE amount NO-GAPS.

PERFORM bdc_field USING 'DF05B-PSSKT(num)'

amount.

CLEAR: amount.

ENDLOOP.