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

About Return Parameters with Submit Statement....

Former Member
0 Likes
456

Hi Frenz...,

In a ZProg1 I am Submitting few parameters to another ZProg2(output is a Form print) using Submit and Reuturn.

If ZProg2 does't give any out put(I mean printout) how will I know it in ZProg1. Is the any Return Paramenters where we can know whether ZProg2 executed successful or not.

welcome to all Suggestions .

Regards,

Sg

3 REPLIES 3
Read only

Former Member
0 Likes
421

No,

If reqd. you can set a flag and use EXPORT stmt to export that flag from Prg2.

In Prg1 use Import stmt to import the flag after the SUBMIT and RETURN stmt. check the flag and raise error if reqd.

Regards,

Subramanian

Edited by: Subramanian PL on Jul 17, 2008 8:16 PM

Read only

0 Likes
421

Hi Subramanian and Chandra Sekhar..

Let me try wht all the things mentioned by You both..And Come back to You..

Regards,

Sg

Read only

Former Member
0 Likes
421

Hi Suneel,

Along with the zprog1 pass a variable to the second zprog2 and try to modify it in zprog2 , when zprog2 is successful.

On return to the program zprog1, check the value of that variable. If it has been successfully modified then the second zprog has been successfully executed.

Or if you have any other program variables passed to the zprog2 fro zprog1, check the values of those.

Hope this helps you.

Regards,

Chandra Sekhar