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

Urgent : Help required......

Former Member
0 Likes
858

Hi all,

I have a requirement to call a standard transaction 'VL71' from a custom module-pool program using SUBMIT...AND RETURN, which i have done succesfully. Is there any way to return to the calling program, from VL71, without manul operation viz. back, exit or cancel.

Regards,

Mainak.

Hi all,

I have a requirement to call a standard transaction 'VL71' from a custom module-pool program using SUBMIT...AND RETURN, which i have done succesfully. Is there any way to return to the calling program, from VL71, without manul operation viz. back, exit or cancel.

Regards,

Mainak.

5 REPLIES 5
Read only

Former Member
0 Likes
826

Mainak,

check wheather sy-calld is 'X', if so, leave the screen and set screen 0.

else leave it like that.

Hope it may help u.

Regards,

Sujatha.

Read only

Former Member
0 Likes
826

Hi,

Use LEAVE or LEAVE PROGRAM to return to the calling program.

Regards

Subramanian

Read only

Former Member
0 Likes
826

hi mainak.

I feel that you need to have some Manual operation when you are using Custome Module pool programs. Refer to the link below if you need some explanation..

Programs that are partially or wholly dialog-driven cannot be executed in the background. They are therefore sometimes referred to as dialog programs.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9d7535c111d1829f0000e829fbfe/frameset.htm

Lemme know if you get any solution beyond this..

Thanks

-Santosh

Read only

Former Member
0 Likes
826

Hi ,

You can use LEAVE PROGRAM .

please reward if helpful.

Read only

Former Member
0 Likes
826

hi,

Leave program is the best option.

try it.