Runtime Error CONNE_IMPORT_WRONG_COMP_LENG In Method CL_SALV_BS_RUNTIME_INFO=>GET_DATA
While executing the report, you run into runtime error CONNE_IMPORT_WRONG_COMP_LENG (Exception CX_SY_IMPORT_MISMATCH_ERROR) in Method CL_SALV_BS_RUNTIME_INFO=>GET_DATA.
One of the fields in the ALV data table is defined with of ABAP type C with length greater than 255 characters.
field1(1000) TYPE c.
The problem doesn't occur while using type from DDIC (Dictionary).
The dump occurs in case at least one of data table's fields (even fields which aren't available in ALV field catalog) is of type C (CHAR) with length greater than 255.
In such case, when ALV data is imported, corresponding field is created as CHAR 255 instead of actual field's length, what leads to structure inconsistency issues..
The problem results from bug in method CL_SALV_BS_DDIC->DESCRIBE_ELEMENT (which is called by cl_salv_bs_ddic=>create_data_from_components): When field isn't from DDIC, ls_dfies-leng is set as lr_elemdescr->output_length, which is limited to 255 chars (Check note 777826 - "Output length of data elements with more than 255 characters").
The problem doesn't occur when field type is from DDIC (i.e. Data element or table field).
Replace the definition of the field to DDIC (data element/table field) instead of simple ABAP type.
field1 TYPE text1000.
Exception LCX_PROGRAM_ERROR In Method LCL_FUNCTIONAL=>ARGNAMES_GET
Symptom After you have updated the interface of a customer (Z) formula function, any execution of Rainbow variant which makes use of this formula function leads to runtime error due to uncaught exception LCX_PROGRAM_ERROR in ...
Exception CNTL_ERROR (Control Framework: Fatal error - GUI cannot be reached)
Symptom A background job of Publisher terminates with runtime error due to uncaught exception CNTL_ERROR (Error message "Control Framework: Fatal error - GUI cannot be reached" is written in the job log). Reason The original report doesn't support ...
Dump (Runtime Error)
In case of dump (runtime error), please attach the complete dump to the ticket (as described in the OSS note 1896868 – How to save a short dump in text format: When a user receives a short dump at runtime mode, pay attention to the fact that the dump ...
Runtime Error SET_HANDLER_FOR_NULL In Transaction FBL3H
Symptom When you run transaction FBL3H via Publisher/Rainbow, runtime error SET_HANDLER_FOR_NULL occurs in method CL_SALV_TREE_ADAPTER=>CREATE_TREE. Reason By default, transaction FBL3H displays an ALV tree of History. Submit of transaction with ALV ...
Dump (Runtime Error) in Publisher
In case a dump (runtime error) occurs during execution of Publisher, the problem may lie in the original report. Please execute the original report in background and review the spool (in transaction SM37). Verify that ALV list is available on the ...