This website is not affiliated with, sponsored by, or approved by SAP AG.

SAPScript Counter

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

SAPScript Counter

Postby Poster2007 » Mon Sep 28, 2009 3:59 pm

Hi,

I'm attempting to count the number of lines displayed on the main window by issuing the following commands:

...
/: DEFINE &SAPSCRIPT-COUNTER_9& = 0
/: &SAPSCRIPT-COUNTER_9(+)&
....

The system recognizes the definition; however, when it attempts to add 1 to the counter the system returns the following message in the debugger " Text command &SAPSCRIPT-COUN is not defined". What is wrong?

Thanks,

G
Poster2007
 
Posts: 6
Joined: Thu Aug 30, 2007 12:37 pm

Re: SAPScript Counter

Postby bisonye » Mon Nov 30, 2009 4:39 am

You must Define the addition:

/: DEFINE &COUNTER& = &Counter& + 1.

Saludos
bisonye
 
Posts: 33
Joined: Thu Aug 23, 2007 6:03 am


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 6 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.