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

calling sub-screen

Former Member
0 Likes
1,680

Hi All,

I have an alv report,after selecting a line and pressing a button,i have to call a subscreen ( i have created subscreen with some fields) and fill the fields in the subcreen with values for the line being selected in the alv.

am using call screen prog...but its throwing drump.

Pls. help me out with posible solution.

Points wil be given

Thanks n Regards,

John

16 REPLIES 16
Read only

Former Member
0 Likes
1,663

it is not possible to call a subscreen. instead make that subscreen as normal screen and call that screen as popup if you want using starting at and ending at additions.

Read only

0 Likes
1,663

Hi Vijay,

Thanks alot for ur kind suggestion.

I was ur colleague in Deloitte.

Anyway can u pls give me a small example vijay regarding the same..

Basically am its a purchase order report , am selecting a line and after that am pressing a button , the fields in subscreen/popup screeen should be filled with the line being selected..

and after which am calling a BAPI_PO_YY_CHANGE to update the purchase order and item..

pls give me an example for call screen starting at ...ending at

Points wil be given vijay

Thanks,

John

Read only

0 Likes
1,663

offering points is violation of rules. and i don't need points also.

Just press F1 on call screen

Read only

0 Likes
1,663

Hi Vijay,

Sory vijay i never meant to say that.

anyway am using the following stmt in my program

call screen 1000 starting at 10 10.

but its showing some other screen but not the screen which i created.

Thanks.

-John

Read only

0 Likes
1,663

Hi John

If you have just created a subscreen u need to change the attribute of it: u need to set MODAL DIALOG BOX instead of SUBSCREEN, and the calling it as popup:

call screen <popup screen> starting at 10 10.

Don't assign 1000 to your popup screen, because it's the number assigned to selection-screen: use a different number.

Max

Read only

0 Likes
1,663

1000 is the selection screen, why did you choose that.

Read only

0 Likes
1,663

Hi

now am using

call screen 3214 starting 10 10.

but its now throwing dump.

thanks

John

Read only

0 Likes
1,663

what is the Dump says..?

Read only

0 Likes
1,663

Hi

Check the attribute of 3214: it has to be a MODAL DIALOG screen

Max

Read only

0 Likes
1,663

Hi Max,

as per ur advise i have selected modal dialog box only..but even its throwing dump.

thanks

-John

Read only

0 Likes
1,663

Hi Vijay,

the dump says that the screen 3214 is not found..but i have a screen with screen number 3214.

thanks

-John

Read only

0 Likes
1,663

Hi

Have you activated that screen?

Max

Read only

0 Likes
1,663

call screen '3214' ......, Before that check the screen is activated or not.

Read only

0 Likes
1,663

Max,

Thanks yar,

but when i select the screen as subscreen ,,its showing dump,,,,but when i select it as modal-dialog ,,am getting the modal dialog in the output..but how to come out of the pop-up screen ,,and how to fill the fields in the pop-up screen with the values for the line which i have selected..

Pls. solution!

Thanks

-John

Read only

0 Likes
1,663

Hi Vijay

Thanks yar,

when i select the screen as subscreen ,,its showing dump,,,,but when i select it as modal-dialog ,,am getting the modal dialog/popup screen in the output..but how to come out of the pop-up screen ,,and how to fill the fields in the pop-up screen with the values for the line which i have selected in the alv.

Pls. solution!

Thanks

-John

Read only

Former Member
0 Likes
1,663

answered