05-11-2009 12:49 PM
Hello,
we're upgrading to ECC6 and while running ALV report i get a dump that says that i'm trying to edit a control created with ABAP objects techniques using a function module.
It worked just fine in version 46C.
Is it possible to solve the problem without re-writing the program?
Thanks
Moshe
05-11-2009 1:01 PM
Can you put piece of code ...here so that we can analyse the problem
05-11-2009 1:28 PM
this code is part of SAP standard code in program: LCNTLF01
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.
the message is from class dc
Thanks
08-17-2012 12:06 AM
I'm getting the same error when calling the below BAPI. When the BAPI gets an error, I get a shortdump.
This is being when the user selects a convert planned orders button in a custom developed report that uses the SALV_OM alv grid.
"Call BAPI to convert planned orders to production orders
CALL FUNCTION 'BAPI_PRODORD_CREATE_FROM_PLORD'
EXPORTING
planned_order = <s_output>-plnum
order_type = 'ZEPR'
* ORDER_NUMBER =
IMPORTING
production_order = ld_production_order
* PROD_ORDER_TYPE =
return = ld_return
EXCEPTIONS
OTHERS = 1.