Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CL_ORGANIZER Refreshing

Former Member
0 Likes
518

Hi,

I am using the class CL_ORGANIZER in a bespoke transaction. I have the user calendar displayed at the bottom of the SAP Screen.

In the transaction, the user (using selection parameters) creates an activity in CRM. This activity will be visible in the calendar after creation.

I am using the methods REFRESH and REFRESH_DISPLAY from the CL_ORGANIZER class after the activity has been successfully created.

It doesn't matter how many times I call these methods, the activity does not appear in the calendar.

However, if I click on the refresh icon on the calendat, the activities appear !

I would have thought the refresh icon executes the same refresh methods but I cannot get it to work.

Has anyone got any ideas on this?

Cheers

James

Hi,

I am using the class CL_ORGANIZER in a bespoke transaction. I have the user calendar displayed at the bottom of the SAP Screen.

In the transaction, the user (using selection parameters) creates an activity in CRM. This activity will be visible in the calendar after creation.

I am using the methods REFRESH and REFRESH_DISPLAY from the CL_ORGANIZER class after the activity has been successfully created.

It doesn't matter how many times I call these methods, the activity does not appear in the calendar.

However, if I click on the refresh icon on the calendat, the activities appear !

I would have thought the refresh icon executes the same refresh methods but I cannot get it to work.

Has anyone got any ideas on this?

Cheers

James

2 REPLIES 2
Read only

matt
Active Contributor
0 Likes
467

Try: cl_gui_cfw=>flush( ). after you've created the activity.

matt

Read only

Former Member
0 Likes
467

Hi Mat,

No, didn't work.

However, I've just found a way to make it work. I clear the appointments, refresh and then re-select the appointments.

Seems to work fine doing that.

Cheers