thinkbrazerzkidai.blogg.se

Singletext
Singletext








singletext

Usually we use to read the data created in standard text using READ_TEXT function module, but in smart form we have the flexibility to directly use it. This text type is used to display the standard text that is created in the T-CODE SO10. Here GV_HEADER is a variable to display the required value, please note that this variable is used locally and valid only within the smartform which concludes that this text type is for variables confined within the smartforms. The below screen shot will help you better on how it needs to be assigned. It will continue to display the value in the field whichever is mentioned explicitly, using this text type we can only display one field value at a time. This is generally used in most instances. This text type is used for displaying the values where we have to either explicitly mention the variable name or the field name if it is a workarea.

#Singletext driver

Now this field which is assigned as L_TEXT shoud be declared in global definitions of smartforms whose type is of some Table type created in SE11.Īlso all the fields in L_TEXT will be filled either in smartform or in driver program and the values will get displayed accordingly based on the number of fields in the structure of the table type. Now in the below screen shot you can find how the dynamic text is assigned in smartforms. Hope You will get a better understanding once you go through the below screen shot and example.

singletext

Using the dynamic text type we can display the complete table type which ever is assigned to it. Usually we use to display each field explicitly using text element by mentioning the field name. Now let us look into the purpose of each text types: You can see the same in the below screen shot which gives you a better idea(Marked in Red below): To start with there are four types of text types available, they are: Hope this gives a good idea to the beginners and others who seek knowledge on the same. Well in this blog i would like explain the different text types and make you familiar on this. Have you ever seen the different options avaialable while creating the text elements in smartforms? Do you know the purpose of each? We all use text element node to display data via smartforms. In this blog i would like to explain briefly on the different text types that are used in smarforms.










Singletext