09-21-2006 9:49 PM
Hi All
I am triggering Custom Pop Up srceen from the initial screen of CC01 using customer exit.
When I enter the values in Pop up screen and hit ENTER, I need to capture the values from Pop up screen and go to the next Screen of CC01.
But I am not able to go the next screen of CC01 ie not able to get rid of Pop up screen.
If I use Set Screen 0. Leave Screen, Leave to Screen in PAI of Pop up screen it is giving dump.
Here is the code for PAI of my Pop up screen.
MODULE user_command_0100 INPUT.
save_ok = ok_code.
clear ok_code.
case save_ok.
when 'ENTER'
append i_ecmdetail.
export i_ecmdetail to memory id 'ECMTAB'.
clear i_ecmdetail. refresh i_ecmdetail.
when Others.
endcase.
Can any one help me how to do this.
Thanks
Bhasker
09-21-2006 11:29 PM
Hi,
The issue is somebody created the screen 1000 in the program SAPLXCCA and deleted it...that is the reason why it is giving a short dump..
The screen is called from the program SAPMC29C screen number 10..
Thanks,
Naren
09-21-2006 9:52 PM
Hi,
Just do LEAVE SCREEN..and don't mention SET SCREEN 0..
Thanks,
Naren
Message was edited by: Narendran Muthukumaran
09-21-2006 10:04 PM
Hi Naren,
Thanks for your reply.
I have tried using Leave Screen, still control is returning to Pop up screen.
Thanks
Bhasker
09-21-2006 10:06 PM
How you are calling custom popup screen..Are you using call screen??
Otherwise try LEAVE PROGRAM...
THanks,
Naren
09-21-2006 10:10 PM
I am calling pop up screen using CALL Screen statement.
Leave Program terminating the entire CC01 Procesiing
Thanks
Bhasker
09-21-2006 10:14 PM
Hi,
Try this..
SET SCREEN 0.
LEAVE SCREEN.
What is the short dump are you getting..
THanks,
Naren
09-21-2006 10:24 PM
Hi Naren,
Here is the dump
Short text
Dynpro does not exist
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPMC29C" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
The system attempted to use dynpro 1000 in program "SAPLXCCA".
This dynpro does not exist.
Thanks
Bhasker
09-21-2006 10:32 PM
Hi,
Are you using the customer subscreen SAPLXCCA '1000' which is called from the program SAPMC29C screen 10??
The program is trying to go back to the screen SAPLXCCA screen 1000 which is not there...
Thanks,
Naren
09-21-2006 10:40 PM
Hi
No, I am not using the customer subscreen SAPLXCCA '1000' .
I have designed a Modal dialog box in screen painter with Z table structure and calling it from the customer enhancement PCCD0005(EXIT_SAPMC29C_006) include ZXCCAU06.
What screen number do we need fill in the NEXT SCREEN attribute of Modal dialog box?
I have tried with the same screen number and 0.
Still it dumps
Thanks
Bhasker
09-21-2006 10:54 PM
Hi,
If you are using CALL SCREEN then the screen has to be created within the program SAPLXCCA...
Did you do a core modification??
Try to comment your CALL SCREEN..and check if it is working without your screen...
THanks,
Naren
09-21-2006 11:06 PM
Hi Naren,
I have created a Custom FM and within this FM using the call screen statememt.
I am calling this custom FM in the enhancement Include
09-21-2006 11:09 PM
Try to comment your code and check if it working without the user exit screen..
THanks,
Naren
09-21-2006 11:26 PM
Hi Naren,
I have commented my code
Strange I am getting the same dump.
Thanks
Bhasker.
09-21-2006 11:29 PM
Hi,
The issue is somebody created the screen 1000 in the program SAPLXCCA and deleted it...that is the reason why it is giving a short dump..
The screen is called from the program SAPMC29C screen number 10..
Thanks,
Naren
09-21-2006 11:38 PM
The enhancement Project includes a screen exit which is causing the dump.
I gonna delete it and check my code again.
Thanks
Bhasker