Hi Experts..
How to Handle the table controls in BDC for Tcode ME31K.
Actually i created one counter and i put like
if lv_counter_items GE 14."gc_max_item.
perform bdc_dynpro using 'SAPMM06E' '0220'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EBELP'. "'EKPO-MATKL'.
perform bdc_field using 'BDC_OKCODE'
'P+'. "'=NP'.
clear lv_field.
concatenate 'EKPO-KTMNG(' lv_item_lineno ')' into lv_field.
perform bdc_field using lv_field
wa_f_itab-KTMNG.
above code is in the items loop.
But its not working...Plz Guide me