What does this part of code do in the driver program of each smart form if the output is triggered using some output type.Say If I go to a delivery and issue the output of the delivery the control comes to this part of code.I want to know the reason or rather the flow of control in this code.
FORM ENTRY USING RETURN_CODE US_SCREEN.
XSCREEN = US_SCREEN.
PERFORM PROCESSING USING US_SCREEN.
IF RETCODE NE 0.
RETURN_CODE = 1.
RETURN_CODE = 0.
Any pointers are welcome.
Goto NACE transaction and select your application type and then select your output type.
after selecting output type double click on the Processing routines folder on the left hand side of the screen.
Then you will find something like this......
Medium Program FORM routine Form etc...
Print output RVADOR01 ENTRY RVORDER01
so according to this your output type is of medium Print Output and
Print Program : RVADOR01
SAP Script : RVORDER01
and you the other one is the FORM routine named ENTRY.
This statement states that then particular output type is executed it should go to the Print program and execute the form ENTRY first.