BDC scroll down with OK_CODE '=P+'
I am facing a problem with BDC scoll down. I have written BDC for MB1C with serial numbers. i have 100 serial numbers for my 100 qty. While running BDC i am not able to fill more than 19 rows( max allowed rows for that windaw) . So i have used '=P' OK_CODE.....while excecuting this i am getting error......"P Function not defined".
Can anyone help me ........Following is the my BDC code for looping to enter serial numbers.
MOVE 1 TO v_indx. *DO V_CNT TIMES. LOOP AT IT_EXCEL1 WHERE WERKS = IT_EXCEL-WERKS AND LGORT = IT_EXCEL-LGORT AND MATNR = IT_EXCEL-MATNR AND CHARG = IT_EXCEL-CHARG. perform bdc_dynpro using 'SAPLIPW1' '0200'. CONCATENATE 'RIPW0-SERNR(' v_indx ')' INTO V_FNAM. perform bdc_field using 'BDC_CURSOR' V_FNAM. perform bdc_field using V_FNAM IT_EXCEL1-SERNR. perform bdc_field using 'BDC_OKCODE' '=P+'. v_indx = v_indx + 1. ENDLOOP.