‎2014 Jul 28 2:02 PM
Hi Expert,
Am getting below DUMP while trying to map data source in SEGW transaction.
Could you please suggest what could be possible cause for this?
Category ABAP Programming Error
Runtime Errors SYNTAX_ERROR
ABAP Program CL_SADL_GW_UI_ALV_SADL_MAPPINGCP
Application Component BC-ESI-ESF-GW
Date and Time 28.07.2014 18:30:59
Short Text
Syntax error in program "CL_SADL_GW_UI_ALV_SADL_MAPPINGCP ".
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_SADL_GW_UI_PLUG============CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
In include "CL_SADL_GW_UI_ALV_SADL_MAPPINGCM005 ", in line 14 of program
"CL_SADL_GW_UI_ALV_SADL_MAPPINGCP ", the following syntax errors
have occurred:
Thanks & Regards,
Girdhari
‎2014 Jul 28 3:17 PM
Hi Girdhari,
can you please attach the complete dump information?
BTW: Are you following the E2E guide? If yes, you might hit the problem descibed in the guide "Windows does not like to many windows inside windows" :-). In this case you might just open an "external" windows in your ADT installation (using the okcode /osegw) as described in the document.
Cheers,
Jasmin
‎2014 Jul 28 3:17 PM
Hi Girdhari,
can you please attach the complete dump information?
BTW: Are you following the E2E guide? If yes, you might hit the problem descibed in the guide "Windows does not like to many windows inside windows" :-). In this case you might just open an "external" windows in your ADT installation (using the okcode /osegw) as described in the document.
Cheers,
Jasmin
‎2014 Jul 29 11:30 AM
Thanks Jasmin for the reply.
Yes.. Am following the E2E guide.
I tried by opening another external window by executing ok-code osegw but still getting same dump.
Below is the complete dump info.
Category ABAP Programming Error
Runtime Errors SYNTAX_ERROR
ABAP Program CL_SADL_GW_UI_ALV_SADL_MAPPINGCP
Application Component BC-ESI-ESF-GW
Date and Time 29.07.2014 15:44:03
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Short Text |
| Syntax error in program "CL_SADL_GW_UI_ALV_SADL_MAPPINGCP ". |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|What happened? |
| Error in the ABAP Application Program |
| |
| The current ABAP program "CL_SADL_GW_UI_PLUG============CP" had to be |
| terminated because it has |
| come across a statement that unfortunately cannot be executed. |
| In include "CL_SADL_GW_UI_ALV_SADL_MAPPINGCM005 ", in line 14 of program |
| "CL_SADL_GW_UI_ALV_SADL_MAPPINGCP ", the following syntax errors |
| have occurred: |
| "CS_TABLE_LAYOUT" is not type-compatible with formal parameter "CS_TAB |
| LE_LAYOUT". |
| |
| |
| |
| Author and last person to change the include are: |
| Author SAP |
| Last changed by "SAP " |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Error analysis |
| The following syntax error has occurred in program |
| CL_SADL_GW_UI_ALV_SADL_MAPPINGCP : |
| "CS_TABLE_LAYOUT" is not type-compatible with formal parameter "CS_TAB |
| LE_LAYOUT". |
| |
| " " |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Trigger Location of Runtime Error |
| Program CL_SADL_GW_UI_PLUG============CP |
| Include CL_SADL_GW_UI_PLUG============CM002 |
| Row 11 |
| Module Type (METHOD) |
| Module Name /IWBEP/IF_SBUI_PLUGIN~CREATE_VIEW |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Source Code Extract |
----------------------------------------------------------------------------------------------------
|Line |SourceCde |
----------------------------------------------------------------------------------------------------
| 1| METHOD /iwbep/if_sbui_plugin~create_view. |
| 2| CASE iv_name. |
| 3| WHEN if_sadl_gw_ui_c=>gc_dialog-mapping_container. " custom container for the ALV Grid|
| 4| CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_map_ds_sadl_c |
| 5| EXPORTING |
| 6| io_controller = io_controller |
| 7| iv_plugin = if_sadl_gw_ui_c=>gc_ui_plugin |
| 8| iv_name = iv_name. |
| 9| |
| 10| WHEN if_sadl_gw_ui_c=>gc_dialog-entity_set_prop_map_alv_grid. " ALV GRID mapping table|
|>>>>>| CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_alv_sadl_mapping |
| 12| EXPORTING |
| 13| io_controller = io_controller |
| 14| iv_plugin = if_sadl_gw_ui_c=>gc_ui_plugin |
| 15| iv_name = iv_name. |
| 16| |
| 17| WHEN if_sadl_gw_ui_c=>gc_dialog-entity_set_assoc_map_alv_grid. " ALV GRID mapping tabl|
| 18| CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_alv_map_assoc |
| 19| EXPORTING |
| 20| io_controller = io_controller |
| 21| iv_plugin = if_sadl_gw_ui_c=>gc_ui_plugin |
| 22| iv_name = iv_name. |
| 23| |
| 24| WHEN if_sadl_gw_ui_c=>gc_dialog-data_source_tree. " SADL entity ALV tree |
| 25| CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_tree_ds_sadl_c |
| 26| EXPORTING |
| 27| io_controller = io_controller |
| 28| iv_plugin = if_sadl_gw_ui_c=>gc_ui_plugin |
| 29| iv_name = iv_name. |
| 30| ENDCASE. |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Active Calls/Events |
----------------------------------------------------------------------------------------------------
|No. Ty. Program Include Line |
| Name |
----------------------------------------------------------------------------------------------------
| 23 METHOD CL_SADL_GW_UI_PLUG============CP CL_SADL_GW_UI_PLUG============CM002 11 |
| CL_SADL_GW_UI_PLUG=>/IWBEP/IF_SBUI_PLUGIN~CREATE_VIEW |
| 22 METHOD /IWBEP/CL_SBUI_SETUP==========CP /IWBEP/CL_SBUI_SETUP==========CM00E 7 |
| /IWBEP/CL_SBUI_SETUP=>/IWBEP/IF_SBUI_SETUP_FACTORY~CREATE_COMPONENT_VIEW |
| 21 METHOD /IWBEP/CL_SBUI_VIEW_COMPOSITE=CP /IWBEP/CL_SBUI_VIEW_COMPOSITE=CM004 6 |
| /IWBEP/CL_SBUI_VIEW_COMPOSITE=>CREATE_COMPONENT_VIEW |
| 20 METHOD CL_SADL_GW_UI_MAP_DS_SADL_C===CP CL_SADL_GW_UI_MAP_DS_SADL_C===CM00B 2 |
| CL_SADL_GW_UI_MAP_DS_SADL_C=>_ADD_COMPONENT_VIEW |
| 19 METHOD CL_SADL_GW_UI_MAP_DS_SADL_C===CP CL_SADL_GW_UI_MAP_DS_SADL_C===CM008 11 |
| CL_SADL_GW_UI_MAP_DS_SADL_C=>DO_SETUP_INSTANCE |
| 18 METHOD /IWBEP/CL_SBUI_VIEW===========CP /IWBEP/CL_SBUI_VIEW===========CM003 58 |
| /IWBEP/CL_SBUI_VIEW=>/IWBEP/IF_SBUI_COMMAND_HANDLER~EXECUTE_COMMAND |
| 17 METHOD /IWBEP/CL_SBUI_SETUP==========CP /IWBEP/CL_SBUI_SETUP==========CM00E 12 |
| /IWBEP/CL_SBUI_SETUP=>/IWBEP/IF_SBUI_SETUP_FACTORY~CREATE_COMPONENT_VIEW |
| 16 METHOD /IWBEP/CL_SBUI_SETUP==========CP /IWBEP/CL_SBUI_SETUP==========CM00I 17 |
| /IWBEP/CL_SBUI_SETUP=>CREATE_FRAMESET_EDITOR |
| 15 METHOD /IWBEP/CL_SBUI_SETUP==========CP /IWBEP/CL_SBUI_SETUP==========CM00G 59 |
| /IWBEP/CL_SBUI_SETUP=>/IWBEP/IF_SBUI_SETUP_FACTORY~CREATE_ELEMENT_EDITOR |
| 14 METHOD /IWBEP/CL_SBUI_CONTROLLER=====CP /IWBEP/CL_SBUI_CONTROLLER=====CM015 22 |
| /IWBEP/CL_SBUI_CONTROLLER=>GET_ASSIGNED_EDIT_TOOL |
| 13 METHOD /IWBEP/CL_SBUI_CONTROLLER=====CP /IWBEP/CL_SBUI_CONTROLLER=====CM00A 33 |
| /IWBEP/CL_SBUI_CONTROLLER=>/IWBEP/IF_SBUI_CONTROLLER~ON_NAVIGATION_REQUESTED |
| 12 METHOD /IWBEP/CL_SBUI_DP_CMD_CREA_MA=CP /IWBEP/CL_SBUI_DP_CMD_CREA_MA=CM001 53 |
| /IWBEP/CL_SBUI_DP_CMD_CREA_MA=>DO_EXECUTE_COMMAND |
| 11 METHOD /IWBEP/CL_SBUI_COMMAND========CP /IWBEP/CL_SBUI_COMMAND========CM002 4 |
| /IWBEP/CL_SBUI_COMMAND=>/IWBEP/IF_SBUI_COMMAND_HANDLER~EXECUTE_COMMAND |
| 10 METHOD /IWBEP/CL_SBUI_CONTROLLER=====CP /IWBEP/CL_SBUI_CONTROLLER=====CM00E 9 |
| /IWBEP/CL_SBUI_CONTROLLER=>HANDLE_COMMAND_OF_PLUGIN |
| 9 METHOD /IWBEP/CL_SBUI_CONTROLLER=====CP /IWBEP/CL_SBUI_CONTROLLER=====CM00Y 97 |
| /IWBEP/CL_SBUI_CONTROLLER=>HANDLE_COMMAND |
| 8 METHOD /IWBEP/CL_SBUI_CONTROLLER=====CP /IWBEP/CL_SBUI_CONTROLLER=====CM00C 138 |
| /IWBEP/CL_SBUI_CONTROLLER=>/IWBEP/IF_SBUI_CONTROLLER~ON_COMMAND_REQUESTED |
| 7 METHOD /IWBEP/CL_SBUI_SCREEN=========CP /IWBEP/CL_SBUI_SCREEN=========CM001 18 |
| /IWBEP/CL_SBUI_SCREEN=>ON_PAI_COMMAND |
| 6 MODULE (PAI) /IWBEP/SAPLFG_SBUI_SB_MAIN /IWBEP/LFG_SBUI_SB_MAINI01 14 |
| PAI_0100_COMMAND |
| 5 METHOD /IWBEP/SAPLFG_SBUI_SB_MAIN /IWBEP/LFG_SBUI_SB_MAINCI1 34 |
| LCL_SCREEN_0100=>DO_CALL_SCREEN |
| 4 METHOD /IWBEP/CL_SBUI_SCREEN=========CP /IWBEP/CL_SBUI_SCREEN=========CM003 17 |
| /IWBEP/CL_SBUI_SCREEN=>START_SCREEN |
| 3 METHOD /IWBEP/CL_SBUI_CONTROLLER=====CP /IWBEP/CL_SBUI_CONTROLLER=====CM00U 50 |
| /IWBEP/CL_SBUI_CONTROLLER=>START_SCREEN |
| 2 METHOD /IWBEP/CL_SBUI_CONTROLLER=====CP /IWBEP/CL_SBUI_CONTROLLER=====CM004 33 |
| /IWBEP/CL_SBUI_CONTROLLER=>/IWBEP/IF_SBUI_SERVICE_BUILDER~START |
| 1 EVENT /IWBEP/R_SBUI_SERVICE_BUILDER /IWBEP/R_SBUI_SERVICE_BUILDER 19 |
| START-OF-SELECTION |
----------------------------------------------------------------------------------------------------
Thanks,
Girdhari
‎2014 Jul 31 10:06 AM
Hi Girdhari,
let me do an assumption . Did you create a entity type+entity set, generated the artefacts, and did the "Map to Datasource" and did you then change something in the entity set and tried to "re-generate"? If yes, can you please try the following workaround:
1. Delete the entity type, the entity set, and the service implementation
2. Save the GW Project and restart the GW Service Builder Transaction (/nsegw)
3. Create the Entity Types/Set again (via the "Import DDIC Structure") etc.
4. Repeat all the necessary steps from the E2E guide, i.e. Map To Datasource, Generate, ...
Let me know if the issue persists.
Cheers,
Jasmin
‎2014 Jul 31 4:35 PM
Hi Jasmin,
I tried by deleting the project and creating a fresh one but still getting same dump.
I noticed two things which i would like to share with you.
1: In the guide there is separate step to create Entity Sets: But in my case Entity set and Entity type are getting created at the same time.
2: Am getting a success message(Mapping To Data Source Was Created Successfully) as well along with the short dump.
Thanks ,
Girdhari
‎2014 Aug 01 1:19 PM
Hi Girdhari,
talked to the SADL experts.
You can either check and provide information about the support package applied in your system or just try directly whether SAP note 1979766 is applicable in your system. This should solve the issue.
Cheers,
Jasmin