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

call Program from an other one

Former Member
0 Likes
1,722

Hallo,

I wonder if it is possible to call a standard Programm from my Report without leaving it. I have created a docking container that docks itself on each new Dynpro. Now if i call an extra Programm i don't have the d.container any more. I would like to see the d.container on the Dynpros of the new Programm as well. Is it possible?

Thank you very much,

Anton

Hallo,

I wonder if it is possible to call a standard Programm from my Report without leaving it. I have created a docking container that docks itself on each new Dynpro. Now if i call an extra Programm i don't have the d.container any more. I would like to see the d.container on the Dynpros of the new Programm as well. Is it possible?

Thank you very much,

Anton

8 REPLIES 8
Read only

Former Member
0 Likes
1,473

Hi,

Use the submit statement like below you can use use F1 help on the submit command for further queries.

SUBMIT STANDARD_PROGRAM and return.

Regards,

Himanshu

Read only

Former Member
0 Likes
1,473

Hi,

Use Submit Stmt.

For Example, for scheduling a program,

SUBMIT ztest123 VIA JOB g_job

NUMBER g_jobcount

  • USING SELECTION-SCREEN

WITH SELECTION-TABLE gt_rspar

TO SAP-SPOOL WITHOUT SPOOL DYNPRO

SPOOL PARAMETERS gs_params

AND RETURN.

U can also do it by following Stmt,

Call Transaction TCODE NAME.

Only if you T code for the program u can do above one.

Thanks & regards,

ShreeMohan

Read only

0 Likes
1,473

If i use submit via job, the standard program runs in background, doesn't it? But I want to see this program and dock the container on the dynpro of this program.

Read only

Former Member
0 Likes
1,473

Hi,

We can call a program from another program using SUBMIT command.

SUBMIT<program name> return... see sytax for more details

Regards,

Ganesh

Read only

Former Member
0 Likes
1,473

HI

You can use SUBMIT Statement or if you know th TCode You can use the CALL TRANSACTION key word

Take F1 help on these key words for further info

Regards

Ramchander Rao.K

Read only

Former Member
0 Likes
1,473

Hi,

SDBILLDL is the std program for transaction VF04. This program is being called by other program as mentioned in the below code.

submit sdbilldl via job jobname

number jobcount

with p_vkorg = vkor1

with s_vtweg in so_vtweg

with s_spart in so_spart

with s_vstel in so_vstel

with p_fkdat = fkdat

with p_fkdab = fkdab

with p_kunnr in kunnr_sel

with p_fkart in x_fkart

with p_lland in x_lland

with s_vbeln in x_vbeln

with p_sort in x_sortk

with p_allea = allea

with p_allel = allel

with p_alleb = alleb

with p_allei = allei

with p_allef = allef

with no_faksk = no_faksk

with p_pdstk = p_pdstk

with p_samml = 'X'

WITH P_ANZEI = ANZEI

WITH P_VARNR = GS_SD_ALV-variant

and return .

Read only

Former Member
0 Likes
1,473

hi

For all Key word documentation Search in ABAPDOCU Tcode for further details on how to use it ..

surya

Read only

Former Member
0 Likes
1,473

Sorry, i had to write that i've already tried to use "submit" as well as "call transaction", the point is that these commands do leave my report and the object "docking container" isn't active till i leave the called transaction. How can i dock the container on the Dynpros of the standard Programm?

Edited by: Anton Kharitonov on Aug 5, 2009 11:56 AM