‎2008 May 08 1:43 PM
Hi,
how can I craete and read out an Environmentvariable ?
Regards
ertas ilhan
‎2008 May 08 1:51 PM
Hi Ilhan Ertas,
System variables have been predefined by SAP.
The ABAP system fields are active in all ABAP programs. They are filled by the runtime environment, and you can query their values in a program to find out particular states of the system. Although they are variables, you should not assign your own values to them, since this may overwrite information that is important for the normal running of the program. However, there are some isolated cases in which you may need to overwrite a system variable. For example, by assigning a new value to the field SY-LSIND, you can control navigation within details lists.
I think we cant create the system variables. we can just use them. All the system variables are stored in table SYST.
Please check this link
http://help.sap.com/saphelp_nw70/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm
Hope this helps...
Best regards,
raam
‎2008 May 08 1:46 PM
pls explain what ur trying to do?
syst table Is this what u want?
‎2008 May 08 1:47 PM
‎2008 May 08 1:51 PM
Hi Ilhan Ertas,
System variables have been predefined by SAP.
The ABAP system fields are active in all ABAP programs. They are filled by the runtime environment, and you can query their values in a program to find out particular states of the system. Although they are variables, you should not assign your own values to them, since this may overwrite information that is important for the normal running of the program. However, there are some isolated cases in which you may need to overwrite a system variable. For example, by assigning a new value to the field SY-LSIND, you can control navigation within details lists.
I think we cant create the system variables. we can just use them. All the system variables are stored in table SYST.
Please check this link
http://help.sap.com/saphelp_nw70/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm
Hope this helps...
Best regards,
raam
‎2008 May 08 1:53 PM
‎2008 May 08 7:29 PM
Hello Ertas,
perhaps the following report can help you!?
RSPARAMS
This report shows you the actual and default settings for the system variables.
Best regards
Stephan