cancel
Showing results for 
Search instead for 
Did you mean: 

use of form routine entry

Former Member
0 Kudos

i have seen the delivery print form in nace .

program : RLE_DELNOTE and form RVDELNOTE and form routine :ENTRY.

what is the use of this statement in the sapscript program.

FORM ENTRY USING RETURN_CODE US_SCREEN.

can anyone explain why we need RETURN_CODE and US_SCREEN.

is it necessary for the forms that we design.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

RETURN_CODE : Return code is always returns the True (1) or False(0) value of any Routine to be executed correctly or not.

US_SCREEN : Is tells about active screen input.

Former Member
0 Kudos

Hi,

Before execution of REL_DELNOTE, there is another standard program RSNAST00 that is trigered.

This Program links REL_DELNOTE and form RVDELNOTE by the subroutine entry.

Refer line no 1267 from program RSNAST00.Set a debugger at this point & issue o/p from your invoice.

Check the form & program entries at runtime.

You will get your solution.

finally to know about " FORM ENTRY USING RETURN_CODE US_SCREEN " refer this link

Regards,

Rishikesh

Former Member
0 Kudos

thank you rishi. in the program RSNAST00 we have only 1085 lines.

so tell me the statment you are refering to so that i can place the debugger at that point and check it.

and the thread you have provided is not very clear.

Former Member
0 Kudos

Hi Ramesh,

Search for this string"perform (tnapr-ronam) in program (tnapr-pgnam) using returncode us_screen" in RSNAST00.

Refer the below link from SAP library.

http://help.sap.com/saphelp_sem40bw/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/frameset.htm

Regards,

Rishikesh