cancel
Showing results for 
Search instead for 
Did you mean: 

Error in loading Archieved Data

Former Member
0 Kudos

Hello experts,

I am facing an issue while reloading archives. I am facing a dump CREATE_DATA_UNKNOWN_TYPE

CX_SY_CREATE_DATA_ERROR

I have created a Custom Archive Object to archive the SFLIGHT data. (Snaphsot Attached)

Write Program Code:

REPORT ZBSSFLIGHT_WRI.

CONSTANTS: g_con_aobj TYPE typ_ar_object VALUE 'ZBSSFLIGHT'.

DATA: g_str_params TYPE typ_f_sara_write.

include zbssflight_sel_in.

INCLUDE arch_write_prg_standard2.

INITIALIZATION.

   PERFORM standard_opt_writeprg_init.

   AT SELECTION-SCREEN OUTPUT.

     PERFORM standard_opt_writeprg_atoutput USING g_con_aobj.

START-OF-SELECTION.

   g_str_params-object                           = g_con_aobj.

   g_str_params-run_comment                      = p_coment.

   g_str_params-options-write_prodmode           = p_wriprd.

   g_str_params-options-write_and_deletetestmode = p_deltst.

   g_str_params-options-write_testmode           = p_writst.

   g_str_params-options-detail_log               = p_prot.

   g_str_params-options-obj_prot_output          = p_prot_o.

   cl_ar_sara=>write( g_str_params ).

AT LINE-SELECTION.

   CALL FUNCTION 'ARCHIVE_PROTOCOL_LINE_DETAIL'.

While executing using SARA Tcode, Background Job got cancelled and saying that short dump occurred.

I know there is some error in program code, but not exactly able to find it.

Please give your inputs on the same.

Best regards,

Bhupinder

Accepted Solutions (0)

Answers (1)

Answers (1)

hugo_amo
Employee
Employee
0 Kudos

Hi Bhupinder,

Usually the short dumps point to the line in the source code where the dump is raised at. Please, attach the complete short dump from ST22 here.

Regards,

hugo

Former Member
0 Kudos

Hi Hugo,

I have attached the ST22 DUMP details.

Basically, Dump is occurring inside FM-AF_CONGLOMERATE_PREPARE at statement

CREATE DATA F_CONGLOMERATE-F_BUSINESSKEY TYPE (P_BUSINESSKEY).


Here P_BUSINESSKEY is empty due to which this dump has occurred. But after going through many thread what i understood is , i am missing something in program code or Archive Object setting due to which this dump has occurred.


I am not able to find the place where i can specify this key.


Please help.


Best Regards,

Bhupinder