on 06-10-2010 3:18 PM
Hello,
I have to modify a form that contains a bunch of floating fields. I more or less understand how they work but some of them are not text fields but only text component and have a blue icon in the object type.
I cannot see any properties while doing a double click on them and no definition can be found in the form context. In the form layout you can see them like this {#floatingField011478}.
Can anyone explain me where are they populated and how can I see their properties?
Thank you in advance for your help.
Best regards,
Sylvain
Hi
1) In form builder layout, From the menu ; View-> XML source
2) copy the xml to a note pad, and search for this floating field, say #floatingField011478.You will be able to see the script behind it.
To understand it better, copy the 'Page n of m' object from Library->Custom to the forms, and search for the place holders.You will find a code like below.
<field h="7.5mm" name="CurrentPage" presence="hidden" w="55mm" x="114.917mm" y="6.078mm" access="readOnly" id="floatingField000041">
..........
</event>
<?templateDesigner floatingFieldPlaceholder #?>
<bind match="none"/>
</field>
3) You will be able to find details of binding in the object-binding tab or when you click on the floating field, you will be able to see the script in the script window.
Regards
Deepa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thank you guys for your answers. I was able to go further in understanding the floating fieldu2019s principle.
I just have another question, how are floating fields populated or initialized? I would like to know which value will be printed when the Form is executed. Is it in the calling ABAP program, the Interface or somewhere else? I cannot find anything in the Form Interface so I guess the print value must come from another place.
Thanks again for your help.
Sylvain
Hello Sylvain,
Try to access the floating field via the hierarchy. If you place a text and place a floating field in it then the floating field will be placed right above or below of your text in the hierarchy. You can select the floating field in the hierarchy and set the properties in the object tab.
Cheers,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.