‎2007 Apr 04 3:30 PM
hi all,
in script design,
i am using only main window,in that main window,i insertd sap standard symbol.(syst-datum).
my aim iz without writing driver program,i want output in form.iz it possible.
i alredy done,but problem iz, output came like xx.xx.xxxx
plz give reply asap.
bye guys
‎2007 Apr 04 3:32 PM
If you want to test the layout, using the Utilities->test layout, you cannot get the variable data.
You have to write the driver program in order to get the variable data like dates, times etc.
Regards,
Ravi
‎2007 Apr 04 3:34 PM
Hi,
No you can not. SAPScript does not give output without print program. It is not executable by itself. It show you some value in print preview, if you have initialize that variable using DEFINE statement in SAPScript and you are writing same variable.
Like,
/: DEFINE &date& = '20070404'.
/: &date&
Regards,
RS
‎2007 Apr 04 3:41 PM
It is not possible to display the data without writing a print program.
Print program provides the data to SAP Script layout. Layout defines how the data to be displayed. Print program defines what data is to be provided.
You can only preview the layout desing but not the actual data. Thats the reason u get xx.xx.xxxx
SKJ
‎2007 Apr 05 5:34 AM
Hi Murthy,
Mention like &sy-datum&
Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar
‎2007 Apr 05 5:39 AM
Hi Murthy,
You need to write driver program to display the data.
or else in the printing test it will display as XX.XX.XXXX
instead of actual date.
Hope this helps you,
keerthi./