‎2008 Oct 21 4:51 PM
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
‎2008 Oct 21 4:58 PM
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.
‎2008 Oct 21 5:08 PM
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
‎2008 Oct 21 5:13 PM
offering points is violation of rules. and i don't need points also.
Just press F1 on call screen
‎2008 Oct 21 5:18 PM
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
‎2008 Oct 21 5:24 PM
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
‎2008 Oct 21 5:25 PM
‎2008 Oct 21 5:35 PM
Hi
now am using
call screen 3214 starting 10 10.
but its now throwing dump.
thanks
John
‎2008 Oct 21 5:37 PM
‎2008 Oct 21 5:37 PM
Hi
Check the attribute of 3214: it has to be a MODAL DIALOG screen
Max
‎2008 Oct 21 5:41 PM
Hi Max,
as per ur advise i have selected modal dialog box only..but even its throwing dump.
thanks
-John
‎2008 Oct 21 5:42 PM
Hi Vijay,
the dump says that the screen 3214 is not found..but i have a screen with screen number 3214.
thanks
-John
‎2008 Oct 21 5:43 PM
‎2008 Oct 21 5:43 PM
call screen '3214' ......, Before that check the screen is activated or not.
‎2008 Oct 21 5:52 PM
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
‎2008 Oct 21 5:54 PM
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
‎2008 Nov 02 8:57 AM