‎2008 Jul 10 12:03 PM
HI ,
i developed BDC program , in that on Table control is there upto 6 rows we can enter after that scroller has to get the below records ,
so how we can do this dynamically in BDC pls help me ,
THX
‎2008 Jul 10 12:10 PM
HI chaaya, can you please elaborate your question a little
Regards,
Bhumika
‎2008 Jul 10 12:11 PM
use code ok_code P+ for page down.
and search in SDN with term bdc table control you will get your answer.
Amit.
‎2008 Jul 10 12:35 PM
hi,
when you are populating the table control... use this logic
LOOP AT itab_fields.
ADD 1 TO w_tabix.
IF w_tabix gt 6.
PERFORM bdc_dynpro USING 'SAPLSD41' '2200'.
PERFORM bdc_field USING 'BDC_CURSOR'
w_fname.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
w_tabix = 2.
ENDIF.
CONCATENATE 'DD03P-FIELDNAME(' w_tabix ')' INTO w_fname.
this should solve your problem
regards
padma
‎2008 Jul 10 1:01 PM
HI,
Ya u r right in general -- Table control can show only 6 or 7 record after that we have to scroll down . Now in BDC also we have to do like that after 6 records are filled in table control u have to enable the scoll down by dyanmically. For this we r passing the function code +p. so that the table will be ready for another 6 records.
Thanks,