‎2010 Feb 24 3:09 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.
Kindly advise.
Thanks.
‎2010 Feb 24 4:26 AM
Hi Manju,
I can understand your problem as I have implemented similar thing with CJ02 Tcode BDC prg, there was also table control
and i used page down - OK CODE '=P+'.
One key thing for you to recognise here is that OK CODE is always for the previuos screen,
so after page down have anotherdynpro for same screen like this :
PERFORM xx060_dynpro_field USING: 'BDC_OKCODE' '=P+'.
PERFORM xx050_new_dynpro USING: 'SAPLCJWB' '0901' 'X'.
Please let me know if you still have problems, I can share my code for reference.
Regards,
Salil
‎2010 Feb 24 3:49 AM
HI Manju,
[Check this thread|http://wiki.sdn.sap.com/wiki/display/Snippets/bdc(bom)tablecontrol]
http://wiki.sdn.sap.com/wiki/display/Snippets/bdc(bom)tablecontrol
Cheerz
Ram
‎2010 Feb 24 4:26 AM
Hi Manju,
I can understand your problem as I have implemented similar thing with CJ02 Tcode BDC prg, there was also table control
and i used page down - OK CODE '=P+'.
One key thing for you to recognise here is that OK CODE is always for the previuos screen,
so after page down have anotherdynpro for same screen like this :
PERFORM xx060_dynpro_field USING: 'BDC_OKCODE' '=P+'.
PERFORM xx050_new_dynpro USING: 'SAPLCJWB' '0901' 'X'.
Please let me know if you still have problems, I can share my code for reference.
Regards,
Salil