on 05-18-2011 3:13 PM
Hi All,
I am new to web dynpro for abap. I am trying to display system date in the Requisition date in ESS screen. I have created an attribute for req date as attribute of type datum in context under a node . In wddoinit what should I do to retrieve the date and how can I map it to the UI element??? Please give some suggestions.
Thnaks,
Reddy.
Edited by: ksr_sudhir on May 18, 2011 4:13 PM
Hi Sudhir,
Check the below link. Hope it solves your query
And my suggestions would be you should set the type of the attribute to 'DATS'. And the coding in WDOINIT method should be like this
lo_el_nd_data->set_attribute(
EXPORTING
name = `DATE`
value = sy-datum ).
Hope this resolves your issue
Regards
Anand Sekar
Regards
Anand Sekar
Edited by: Anand SAP on May 23, 2011 9:55 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the context insted of Datum use SY-DATUM and in WDDOINIT from the wizard just map it to the context element.
Hope this helps.
Cheers-
Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.