‎2006 Feb 10 5:38 AM
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
‎2006 Feb 10 5:52 AM
HI Anitha
This is sub-routine with two parameters.
This kind if sub-routine is used in priting programs for invoice etc.
regards
kishore
‎2006 Feb 10 5:47 AM
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
‎2006 Feb 10 5:51 AM
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
‎2006 Feb 10 5:52 AM
HI Anitha
This is sub-routine with two parameters.
This kind if sub-routine is used in priting programs for invoice etc.
regards
kishore
‎2006 Feb 10 7:06 AM
hi,
thanks thats correct, but can u show an example prg that has a print prg example.
‎2006 Feb 10 7:09 AM
HI Anitha
check out the standatd sap program to print the invoice RVADIN01.
regards
kishore
reward if helpful