on 02-27-2013 3:11 PM
Hello,
I'm planning to use SWT2DB to accelerate a custom ABAP report.
Here's the difference:
At the time of the SELECT, SY-REPID has the value of the current main program, in this case the main program of the class pool, /GKV/CM00_CL_ICLESRCH_ALLG====CP.
See the documentation (http://help.sap.com/saphelp_nw73ehp1/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm😞
"SY-REPID - Name of current ABAP program. With externally called procedures this is the name of the procedure’s main program."
At the same time, SY-CPROG has the value of the first main program, which in this case is a report named /GKV/CM00ICLE. (I think SY-CPROG changes when CALL TRANSACTION and SUBMIT are executed but not when CALL FUNCTION, CALL METHOD, and PERFORM IN PROGRAM are executed. Special variants of CALL FUNCTION might form an exception.)
See the documentation:
"SY-CPROG - In externally called procedures, the name of the calling program, otherwise the name of the current program. If an externally called procedure calls another external procedure, SY-CPROG keeps the name of the first main program and is not given the name of the main program of the further caller."
I'm aware of note 1696402 (https://service.sap.com/sap/support/notes/1696402) about the installation of SWT2DB but not of any further documentation of the tool, report RDA_MAINTAIN, and so on. Are you aware of any further documentation?
Thanks,
Thorsten
Old post, but might be interesting for others;
From the Customer Guide:
If a query on <tabname> takes place in the main program <mainprog>
(value of SY-CPROG) ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.