cancel
Showing results for 
Search instead for 
Did you mean: 

Data srf XML

Former Member
0 Kudos

Hi,

How do i set a date icon in my textbox for date in B1?

I like to select a date in my textbox and like to display the date selection box.

I assume it is a code ID in the XML form I has to set; see my xml code below.

Thank you,

Rune

<item uid="txtDateF" type="16" left="596" tab_order="0" width="80" top="50" height="19" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                            <AutoManagedAttribute/>
                            <specific TabOrder="0">
                                <databind databound="0" table="" alias=""/>
                            </specific>
                        </item>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi rune,

Add a user data source in the SRF file, then assign it to your text box for the date.

<userdatasources>
     <action type="add">
          <datasource uid="txtDate" type="10" size="4"/>
     </action>
</userdatasources>

........

<item uid="txtDateF" type="16" left="596" tab_order="0" width="80" top="50" height="19" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
     <AutoManagedAttribute/>
     <specific TabOrder="0">
          <databind databound="1" table="" alias="txtDate"/>
     </specific>
</item>

Chris

Former Member
0 Kudos

Thank you very much!

It works!

You made my day!

I really like XML...no code behind!

Beautiful!

SAP is Wonderful!

Edited by: Rune Brattas on Aug 25, 2009 2:04 PM

Answers (0)