Friday, September 18, 2020

Dynamic Text of Pushbutton

In the following example we are demonstrating how to create a pushbutton which contains dynamic text based on the logon language. Create a module pool program where we have PBO & PAI as follows.


In the Layout, create a pushbutton by giving a name (OPEN_FIORI) and check the Output Field option. Do not enter any Text here. 


Go to PBO module.


Enter the following code. Here declare the data of OPEN_FIORI with character 50 length. Create the PF-Status as well. We can use the include text as well. 


Activate the function of BACK button so that we can leave the program. 

Now, login with English language and execute the T-code. Everything is in English. 


On the same way login with French language and execute the same t-code. We have this following here.



No comments: