cancel
Showing results for 
Search instead for 
Did you mean: 

The item table update always ends with runtime error in RAP action

Jacky_Liu
Product and Topic Expert
Product and Topic Expert
0 Kudos
198

Hi, RAP Experts,

The item table update always ends with runtime error in RAP action. But the similiar update for header table works. The following is the screenshots. Would you please help me on this ?

 

Jacky_Liu_0-1718270408859.png

Jacky_Liu_1-1718270442787.png

Jacky_Liu_2-1718270459251.png

Jacky_Liu_3-1718270473745.png

Jacky_Liu_4-1718270652793.png

Jacky_Liu_5-1718270668050.png

 

 

 

junwu
Active Contributor
0 Kudos
what's the error msg?
View Entire Topic
Jacky_Liu
Product and Topic Expert
Product and Topic Expert
Short Text The current program has intentionally triggered a termination with a short dump. Runtime Error RAISE_SHORTDUMP Exception CX_CSP_ACT_INTERNAL Program CL_CSP_ACT_SAVE_TO_DB=========CP Application Component BC-ESI-RAP-CSP Date/Time 06/13/2024 08:25:01 (System) User CB9980000000 (Jacky Admin) Client 100 Host appserver-l5gdx What happened? The current program has recognised an error that it could not handle adequately. To reverse any database changes made and to save information for further analysis, the program has intentionally triggered a short dump using the language elements RAISE SHORTDUMP or THROW SHORTDUMP. For more information follow the link:ABAP Keyword Documentation. Error analysis The program has indicated exception "CX_CSP_ACT_INTERNAL" as the reason for the termination: SQL operation 'UPDATE' returned unexpected sy-subrc '4'. Information on where terminated The termination occurred in ABAP program or include "CL_CSP_ACT_SAVE_TO_DB=========CP", in "LIF_SINGLE_ENTITY_HANDLER~PERFORM_DB_OPERATIONS". The main program was "SAPMSSY4". In the source code, the termination point is in line 1317 of include "CL_CSP_ACT_SAVE_TO_DB=========CCIMP". include "CL_CSP_ACT_SAVE_TO_DB=========CCIMP". Source Code Extract 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 >>>> 1318 1319 1320 1321 1322 1323 1324 1325 1326 CATCH cx_dynamic_check INTO lx_dynamic. RAISE SHORTDUMP lcl_exception_provider_factory=>get_instance( )->create_exception_provider( iv_entity_name = is_modify_db-entity_name iv_persistence_name = lv_persistence_name )->create_exception_from_previous( ix_previous = lx_dynamic io_update_scheme = io_update_scheme it_instance = is_modify_db-updates_ref->* )->enrich( ). ENDTRY. IF ls_sql_return-subrc <> 0. RAISE SHORTDUMP lcl_exception_provider_factory=>get_instance( )->create_exception_provider( iv_entity_name = is_modify_db-entity_name iv_persistence_name = lv_persistence_name )->create_subrc_ne_0_exception( iv_subrc = ls_sql_return-subrc iv_sql_operation_name = c_sql_operation_name-update )->enrich( ). ENDIF. ENDIF. Active Calls/Events No. Event Program Include Line 13 LIF_SINGLE_ENTITY_HANDLER~PERFORM_DB_OPERATIONS CL_CSP_ACT_SAVE_TO_DB=========CP CL_CSP_ACT_SAVE_TO_DB=========CCIMP 1317 12 LIF_IMPLEMENTATION~EXECUTE CL_CSP_ACT_SAVE_TO_DB=========CP CL_CSP_ACT_SAVE_TO_DB=========CCIMP 1402 11 IF_CSP_PRC_ACT_PERSIST_RAW~EXECUTE CL_CSP_ACT_SAVE_TO_DB=========CP CL_CSP_ACT_SAVE_TO_DB=========CM007 3 10 IF_CSP_RT_PROCESS~EXECUTE_ACTIVITY CL_CSP_PRC_PERSIST_RAW========CP CL_CSP_PRC_PERSIST_RAW========CM002 2 9 IF_CSP_RT_PROCESS_ENGINE~RUN CL_CSP_RT_PROCESS_ENGINE======CP CL_CSP_RT_PROCESS_ENGINE======CM001 34 8 IF_CSP_RT_CATALOG_PROCESS_STRT~RUN CL_CSP_CATALOG_PROCESS_START==CP CL_CSP_CATALOG_PROCESS_START==CM002 12 7 RUN CL_CSP_CATALOG_PROCESS_START==CP CL_CSP_CATALOG_PROCESS_START==CM004 2 6 IF_CSP_PRC_PERSIST_RAW~PERSIST CL_CSP_PRC_PERSIST_RAW========CP CL_CSP_PRC_PERSIST_RAW========CM001 6 5 SCSP_PERSIST_RAW SAPLSCSP_UPDATE LSCSP_UPDATEU01 17 4 SCSP_PERSIST_RAW SAPLSCSP_UPDATE LSCSP_UPDATEU01 5 3 %_UPDATES_NO_UTASK SAPMSSY4 SAPMSSY4 136 2 LOCAL_UPDATE_TASK SAPMSSY4 SAPMSSY4 42 1 START-OF-SELECTION SAPMSSY4
Jacky_Liu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi, RAP experts,I know the issue comes from the following sentence . The attachment is the content of it_instance . But I don’t know why this table can not be updated

Jacky_Liu_0-1718289419005.png

TRANSPORTATIONORDERITEM TRANSPORTATIONORDERUUID TRANSPORDITEM TRANSPORDITEMTYPE TRANSPORDITEMCATEGORY TRANSPORDITEMDESC SOURCESTOPUUID DESTINATIONSTOPUUID SHIPPERUUID SHIPPER SHIPPERADDRESSID CONSIGNEEUUID CONSIGNEE CONSIGNEEADDRESSID TRANSPBASEDOCUMENT TRANSPBASEDOCUMENTTYPE TRANSPBASEDOCUMENTITEM TRANSPORTATIONEQUIPMENTG TRANSPORTATIONEQUIPMENTT TRANSPEQUIPMENTPLATENUM TRANSPEQUIPREGISTRATION TRANSPORDITEMPACKAGEID PRODUCTID MATERIALFREIGHTGROUP TRANSPORTATIONGROUP TRANSPORDITEMQUANTITY TRANSPORDITEMQUANTITYU TRANSPORDITEMGROSSWEIG TRANSPORDITEMGROSSWE2 TRANSPORDITEMGROSSVOLU TRANSPORDITEMGROSSVO2 TRANSPORDITEMNETWEIGHT TRANSPORDITEMNETWEIG2 TRANSPORDITEMDNGRSGDS REPOSITORYID FILEOBJECTID %CONTROL
9500B914D0251EDF8AA9F165C84D3386 9500B914D0251EDF8AA9F165C84D1386 1000000 TRUC AVR 9500B914D0251EDF8AA9F165C84D5386 9500B914D0251EDF8AA9F165C84D7386 00000000000000000000000000000000 00000000000000000000000000000000 STR STR012 0.000 0.000 TO 0.000 M3 0.000 TO zfoattachment001 ATgBV0T_lnIa3SmZhVtdSnU1QfmuFCHgXxmlj_v17L4 Structure: flat, not charlike0