‎2010 Mar 08 5:52 AM
Hi,
When I did the recording for customised TCODE I obtained the value of PageDown to be /00.But when tried in the BDC program it did not trigger a page break.I have set the default size of the Window as well.
After the max no of entries (7 ) for the table control is obtained the program again starts over writing from the first record.
I tried various options of p+,np,pgba,POAN_T,POAN ETC ETC.
how can I handle this.
Also I note that in the customised TCODE the pagedown option is being disabled (in the tool bar ).Does this have any impact on the page down I am trying to do.If so how can I enable the page down option for the custmised TCOde.
Kindly advise.
Thanks.
‎2010 Mar 08 6:43 AM
Hai
same problem occured for me for standard tcode. But i solved.
inside the loop use the code like this. I think in your case only 7 records is viewable. so that use 7 instead 15.
call screen before and after using =P+ like the below code. Replace the program name and screen no according to your requirement.
if l_count = '15'.
PERFORM bdc_dynpro USING 'SAPLCPDI' '3400'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
PERFORM bdc_dynpro USING 'SAPLCPDI' '3400'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PLPOD-VORNR(02)'.
CLEAR l_count.
l_count = l_count + 1.
ENDIF.
Please try this and let me know. If it was not solved explain your requirement clearly. let me help you.
Regards,
Prabu S.
‎2010 Mar 08 6:43 AM
Hai
same problem occured for me for standard tcode. But i solved.
inside the loop use the code like this. I think in your case only 7 records is viewable. so that use 7 instead 15.
call screen before and after using =P+ like the below code. Replace the program name and screen no according to your requirement.
if l_count = '15'.
PERFORM bdc_dynpro USING 'SAPLCPDI' '3400'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
PERFORM bdc_dynpro USING 'SAPLCPDI' '3400'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PLPOD-VORNR(02)'.
CLEAR l_count.
l_count = l_count + 1.
ENDIF.
Please try this and let me know. If it was not solved explain your requirement clearly. let me help you.
Regards,
Prabu S.
‎2010 Mar 08 6:58 AM
Hi,
Check if scroll is getting captured in the recording. Means after entering 1 record press scroll, check if it is getting captured.
Otherwise check if there is any option to set position in the table control.
Which tcode you are working on?
Thanks,
Archana