Application Development 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: 

Custom pop up screen

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

14 REPLIES 14

Former Member
0 Kudos

Hi,

Just do LEAVE SCREEN..and don't mention SET SCREEN 0..

Thanks,

Naren

Message was edited by: Narendran Muthukumaran

0 Kudos

Hi Naren,

Thanks for your reply.

I have tried using Leave Screen, still control is returning to Pop up screen.

Thanks

Bhasker

Former Member
0 Kudos

How you are calling custom popup screen..Are you using call screen??

Otherwise try LEAVE PROGRAM...

THanks,

Naren

0 Kudos

I am calling pop up screen using CALL Screen statement.

Leave Program terminating the entire CC01 Procesiing

Thanks

Bhasker

Former Member
0 Kudos

Hi,

Try this..

SET SCREEN 0.

LEAVE SCREEN.

What is the short dump are you getting..

THanks,

Naren

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

Try to comment your code and check if it working without the user exit screen..

THanks,

Naren

0 Kudos

Hi Naren,

I have commented my code

Strange I am getting the same dump.

Thanks

Bhasker.

Former Member
0 Kudos

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

0 Kudos

The enhancement Project includes a screen exit which is causing the dump.

I gonna delete it and check my code again.

Thanks

Bhasker