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

sapscripts & smartforms

Former Member
0 Likes
552

is all commands in sapscript works well in smartforms.

4 REPLIES 4
Read only

Former Member
0 Likes
517

Hi uma,

1. Both are totally different.

2. Commands used in sapscript will not work in

smartforms, (if you are talking about the

standard system variables)

regards,

amit m.

Read only

Former Member
0 Likes
517

hi,

most of the commands from sapscript are included in smartform like protect-endprotect, box, like this..

and for systems commands like sy-page changes to sfsy-page like that..

the address command is same in smartform too. but we have node facility to use for address and we can fetch the address from DB table directly.

system variables in smartforms..

&SFSY-DATE&

Displays the date. You determine the display format in the user master record.

&SFSY-TIME&

Displays the time of day in the form HH:MM:SS.

&SFSY-PAGE&

Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.

&SFSY-FORMPAGES&

Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.

&SFSY-JOBPAGES&

Contains the total page number of all forms in the currently processed print request.

&SFSY-WINDOWNAME&

Contains the name of the current window (string in the Window field)

&SFSY-PAGENAME&

Contains the name of the current page (string in the Page field)

&SFSY-PAGEBREAK&

Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])

&SFSY-MAINEND&

Is set as soon as processing of the main window on the current page ends

Regards

Read only

Former Member
0 Likes
517

hi,

We don't have command in smartforms. we can get the same output similar to scripts by various options provided in smartforms.

Ex: insted of address.. endaddress , we have address node in smartform

Regards,

Sailaja.

Read only

Former Member
0 Likes
517

This message was moderated.