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

this is for forms

Former Member
0 Likes
746

hi,

what is this used for.

FORM SUB_FORM using RETURN_CODE US_SCREEN.

I need to solve this issue can u tell me fow what this is used for.

Regards,

anitha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
725

HI Anitha

This is sub-routine with two parameters.

This kind if sub-routine is used in priting programs for invoice etc.

regards

kishore

5 REPLIES 5
Read only

Former Member
0 Likes
725

Hi,

- Subroutines defined by FORM can have parameters and local fields. i.e SUB_FORM is Subroutine.

- RETURN_CODE and US_SCREEN are formal parameters which are replaced by actual parameters when the subroutine is called.

- for more details see the Subroutines help.

Regards,

Digesh Panchal

Read only

Former Member
0 Likes
725

hi anitha,

<b>form sub_form using return_code us_screen.</b>

sub_form is the form name.

return_code and us_screen are the two parameters you are passing.

check this help..

http://help.sap.com/saphelp_47x200/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm

regards

vijay

Message was edited by: Vijay Babu Dudla

Read only

Former Member
0 Likes
726

HI Anitha

This is sub-routine with two parameters.

This kind if sub-routine is used in priting programs for invoice etc.

regards

kishore

Read only

0 Likes
725

hi,

thanks thats correct, but can u show an example prg that has a print prg example.

Read only

0 Likes
725

HI Anitha

check out the standatd sap program to print the invoice RVADIN01.

regards

kishore

reward if helpful