Quantcast
Channel: SCN : Discussion List - SAP NetWeaver Technology Platform
Viewing all articles
Browse latest Browse all 1520

Error in loading Archieved Data

$
0
0

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)

Aobj.JPG

SD_OBJ.JPG

 

 

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.

 

ST22.JPG

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


Viewing all articles
Browse latest Browse all 1520

Trending Articles