Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg Page Down in table control for Customised TCODE.

Former Member
0 Likes
438

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
367

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

2 REPLIES 2
Read only

Former Member
0 Likes
367

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

Read only

Former Member
0 Likes
368

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