‎2005 Oct 27 10:01 AM
Hi all,
I have a doubbt on how the SAP SCRIPT is woorking.
I call a particular Output type from a standard transaction.
For example
Output type : ALTR.
Program : RV56TD00.
Form : HIPMENT_DOC
How these are related and how the program flow is when an output type is called from the SAP standard transaction.
‎2005 Oct 27 10:25 AM
Hi Arul,
table TNAPR links output type with program name and form name.
When you choose an output type , the system calls the routine from table TNAPR.
For example:
perform (TNAPR-RONAM) in program (TNAPR-PGNAM).
at this point, the routine can call FM OPEN_FORM passing the name of the form (TNAPR-FONAM)
You can also check in customizing.
Regards, Manuel
PS:please remember to reward points and close thread when the question is answered.
Message was edited by: Manuel Bassani
‎2005 Nov 02 4:32 AM
Hi Arul,
From the standard transaction when you call the output type, system will call report program 'RSNAST00' and in that from the table TNAPR it will pick the Form, Program and Subroutine name based on output type and it will call that program subroutine.
In that program subroutine, it will have code to handle the Form.
You can test this by putting a break point in the Report 'RSNAST00' at line 811(around this place).Here you need to remember is if you select 'send immediatly' in the message control then it will not stop at the break point. If you want to stop at break point then you have select 'Send Own transaction' and you have to come out of that transaction and select from initial screen of transaction.