Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 15, 2016 at 07:11 PM

    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

    Add comment
    10|10000 characters needed characters exceeded