Skip to Content
-1

Calling ‘CMM_MAT_STOCK_EXPOSURE_LOAD’ in a report via SUBMIT and fetching values into internal table

Nov 18, 2017 at 10:15 AM

56

avatar image
Former Member

While Calling ‘CMM_MAT_STOCK_EXPOSURE_LOAD’ in a report via SUBMIT, empty alv appear and by going back SHORT DUMP appears. I have tried LIST_TO_MEMORY and cl_salv_bs_runtime_info but still the dump appears.

DUMP:

Category ABAP programming error

Runtime Errors MESSAGE_TYPE_X ABAP

Program SAPLCNTL

Error analysis Short text of the error message: Control Framework: Invalid editing of ABAP Objects control Long text of the error message: Diagnosis You want to edit a control created with ABAP objects techniques (class-based Control Framework) using a function module (function module-based Control Framework). The system does not support this. The Class ID of the control is . System Response The transaction is terminated. Procedure Contact the person responsible for the SAP System. Technical information about the message: Message class....... DC Number.............. 007

form check_OO using p_handle type cntl_handle.
*  check sy-uname = 'KSCHMIDT'.
  call method cl_gui_cfw=>get_subscriber_by_id
       exporting shellid = p_handle-shellid
       exceptions others = 1.
  if sy-subrc = 0.
    message X007 with p_handle-clsid.
  endif.
endform.
10 |10000 characters needed characters left characters exceeded
Former Member

Is there any other way to call this program and get the o/p into an internal table.

0
Former Member

any other way to call this profran and retrive value

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers