cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to determinate case type: Usage of CL_SCMG_BUFFER_HELPER_CASEATTR->SELECT_AND_BUFFER

former_member184588
Active Participant
0 Kudos

Hi,

I am trying to add a document to a case in FM. The problem is that he is not able to determine the case type. The case guid exists but the parameter table entries is empty when I call the method. Therefore the method is not able to determine the case type.

What is required to have "entries" filled?

Kind regards, Vanessa

Accepted Solutions (1)

Accepted Solutions (1)

AntonKozhin
Participant

Hi Vanessa,

You should try to call this method like that:

ls_case_attr = cl_scmg_buffer_helper_caseattr=>select_and_buffer( im_case_guid = im_case_guid
                                                 im_use_attr_static_buf = if_srm=>true ).

As structure "entries" which you mention in above is filled-in only when static_buffer is used (set to TRUE).

Hope that helps!

Cheers,

Anton

Answers (0)