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

Copied screen program not working

Former Member
0 Likes
1,029

Dear experts,

There is one screen program which is already created.

I have to remove One push button from text box.

I had this program and removed the push button .

Now when I test the program through SE51 the other pushbuttons are not working.

When I debugged It . The program is not calling my screen but it is calling SAPLSCR0 and screen Number 0401.

My doubt is from where this program is called.

After copying the program which screen numbers I have to give to copied program.

Can I give the same screen numbers Or I have to change screen number.

how to check the available screen numbers which I can use.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
752

hi,

first of all screen numbers are dependent on program. so even if you copy a program to another program there is no need to change the screen numbers. you may need to rename include names if required.if all the push buttons are disabled once you deleted one push button, i think u might have not activated the status bar. Again go back to the screen PF STATUS and check there which push buttons are deleted and which are avialable,and u activated the PF status or not.

4 REPLIES 4
Read only

Former Member
0 Likes
753

hi,

first of all screen numbers are dependent on program. so even if you copy a program to another program there is no need to change the screen numbers. you may need to rename include names if required.if all the push buttons are disabled once you deleted one push button, i think u might have not activated the status bar. Again go back to the screen PF STATUS and check there which push buttons are deleted and which are avialable,and u activated the PF status or not.

Read only

0 Likes
752

and also the program and screen number you specified for any module pool program that is the sequnce from which sap follows debugging

Read only

Former Member
0 Likes
752

Hi,

What Raghavender said is exactly correct. Also Besides this, You have to create Transaction since it is the module pool program. While creation of the transaction code, make sure that you have to provide the main screen number. I mean the initial screen number. This effects the screen execution alot.

Cheers,

Murali Krishna T

Read only

Former Member
0 Likes
752

Thank a Lot Guys .

Solved Myself .But the solution given by muarali is correct. I was actually testing without creating transaction code.