cancel
Showing results for 
Search instead for 
Did you mean: 

Need default value of Toolbar Element in List UIBB

haibin_yuan
Explorer
0 Kudos

Hi Experts,

I have a 'calendar' toolbar element on my List UIBB.

For now I want it to display the current system date by default when I start my application.

Could anyone please help? Thanks a lot.

Thanks and Regards,

Haibin Yuan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Haibin,

You can set calendar toolbar element value in the GET_DATA method of list UIBB with parameter

CT_ACTION_USAGE type FPMGB_T_ACTIONUSAGE.

There is a field name "CONTENT" will contain your date element value,set it with the sy-datum.

it will display the date at runtime.

Note :  Flag EV_ACTION_USAGE_CHANGED should be filled as abap_true.

Thanks

Praveen Gupta

haibin_yuan
Explorer
0 Kudos

Thank you! Praveen. It works!

Former Member
0 Kudos

Hello Haibin,

could you please tell me how you got this calender into your toolbar? I have the problem I have a Tree UIBB and I want to insert date and time (like a label, ordinary text) into the toolbar.

I have no change in selecting this kind of toolbar element, just elements like link or button.

Can you help me here please?

Best regards, Dominik

Answers (0)