bs Default Placeholder

Placeholders are definded between < and >

The following standard placeholders available :

Placeholder

Description

cr_lf

carriage line-feed

tab

insert a tab (char 9)

rowcount

count of lines in datawindow dw_1

getrow

current row in datawindow dw_1

dataobject

file name of datawindow dw_1

user

current user

currentlanguage

current language

currentpers_id

current personnel id

currentusersign

current SAP user sign

currenttime

current company time

today

current company date

Example: Didplay Today in local format

messagebox=Today: <today,date>

 

computername

name of computer

kl

char "<"

gr

char ">"

char xx

char which you defined with xx, exaple <char 65> = "A"

rgb:r:g:b

convert RGB to color, example <rgb:255:0:0> is red

parent.x

return placeholder "x" from parent window

child.x

return placeholder "y" form parent window

translate:x

translate word "x", example <translate:Artikel> return "Item"

utranslate:x

translate, first letter is always upper case

global.x

return global variable

setup:x

return mandant (database) related settings

msetup;x

same, but from memory (faster)

counter:x

return a counter for x

 

 

 

settings

setup:[value]                Content of the Setup-Database. Example:  

                 setitem=artgrp_vorgabe=<setup:artsetupvorgabe>

                 If you need a setting more then one time, you can work with the cache function

                 setitem=artgrp_vorgabe=<msetup:artsetupvorgabe>

                 You can set values in the SETUP-table like this:

                 setsetup=parameter=value

setup2:[value]        Content of the Setup-Database for long values (to 32000 chars=. Example:  

                 setitem=artgrp_vorgabe=<setup:artsetupvorgabe>

                 You can set values in the SETUP-table like this:

                 setsetup2=parameter=value        

zaehler:[value]        Returns a counter and increases the counter

                 setitem=id=<zaehler:idcounter>

 

localset:[setting]        Return a local setting (station-setting)

                 setlocal=mysetting=hello world

                 messagebox <localset:mysetting>