The alignright option for inputfields is used to align the value entered in a field with the right-hand edge of that field.
The alignright option is used to align the value entered in a given inputfield with the right hand edge of that same inputfield. The syntax for this command is as follows:
{"alignright":true}
To demonstrate the alignright option, please do the following:
Open the Easy Access script file (SAPLSMTR_NAVIGATION.E0100.sjs) and enter the following code. Create the script file if it does not already exist.
inputfield([4,5], "Inputfield Test", [4,20], {"name":"inpfld_1", "size":14});
The screen now appears as follows:
Change the code by adding the alignright option as shown below:
inputfield([4,5], "Inputfield Test", [4,20], {"name":"inpfld_1", "size":14, "alignright":true});
The Easy Access screen will now appear as shown below.