Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap script

Former Member
0 Likes
565

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

5 REPLIES 5
Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

Hi Murthy,

Mention like &sy-datum&

Hope this helps you, reply for queries, Shall post you the updates.

Regards.

Kumar

Read only

Former Member
0 Likes
534

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./