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 another program from a Dynpro screen

Former Member
0 Likes
499

Hi,

We have a custom screen to create an equipment. When users click on Save, the screen flow goes into BDC and creates the equipment.

After the equipment is created, we need to execute another custom program to create Measuring points.

How can I call this custom program and still get back to my equipment master screen?

I have coded it as follows but the result is the end result of the measuring point screen and not my original equipment master screen.

SUBMIT ZCREATE_MEASURING_POINTS USING SELECTION-SCREEN '1000'

WITH SELECTION-TABLE rspar_tab

AND return.

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
389

I have coded it as follows but the result is the end result of the measuring point screen and not my original equipment master scree

Does it mean that you end up in list output of measuring custom program? If so, you have to export this resulting list to memory, which will suppress showing it.


SUBMIT ZCREATE_MEASURING_POINTS USING SELECTION-SCREEN '1000'
WITH SELECTION-TABLE rspar_tab
EXPORTING LIST TO MEMORY
AND return.

This way you will be back on calling program.

Regards

Marcin

1 REPLY 1
Read only

MarcinPciak
Active Contributor
0 Likes
390

I have coded it as follows but the result is the end result of the measuring point screen and not my original equipment master scree

Does it mean that you end up in list output of measuring custom program? If so, you have to export this resulting list to memory, which will suppress showing it.


SUBMIT ZCREATE_MEASURING_POINTS USING SELECTION-SCREEN '1000'
WITH SELECTION-TABLE rspar_tab
EXPORTING LIST TO MEMORY
AND return.

This way you will be back on calling program.

Regards

Marcin