Skip to Content
0

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

Oct 14, 2016 at 03:38 PM

82

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Anton Kozhin Oct 15, 2016 at 07:11 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded