on 09-27-2007 2:12 PM
Hi friends,
Data is loaded upto PSA but from PSA to cube it shows "Exceptions in Substep: Rules" when i runs DTP. and it shows following abap code.
cube : zsd_c03
No of records : 10
data source: 2LIS_12_VCITM
========
if l_rc ne 0 and l_t006flag = ruom_c_t006_mode-t006_iobj. " conversion_not_found
uom_iobj( exporting i_objvers = i_objvers
i_uomnm = i_uomnm
i_input_value = i_input_value
i_unit_in = IS_UOM_val-unit_in
i_unit_out = IS_UOM_val-unit_out
is_uom_val = ls_uom_val
is_uom_prop = is_uom_prop
ir_msg = ir_msg
importing es_output = es_output
changing cs_buffer = cs_buffer ).
endif.
if l_rc ne 0.
Keine Mengenumrechnung möglich
message e065(rsuom) into l_dummy_msg.
->>>> raise exception type cx_rs_msg exporting msgid = sy-msgid msgno = sy-msgno msgty = sy-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4.
endif.
========
points will be assigned for the ans.
suyash
Hi Experts
I have received the error message at the step
RSDS Y_VIC_SAP_PRIM_CNTR_GRP ZISSCOM -> IOBJ YECTNRTPM
Error: Exceptions in Substep: Transformation Start
When i clicked on the red exclamation mark. i was taken into the following code. is this start routine and do we have any problem in this?
***************************************
METHOD get_object_ref.
DATA:
l_cx_root TYPE REF TO cx_root,
l_seconds TYPE i,
lr_exe TYPE REF TO object,
ls_tranid TYPE ty_s_tranid,
lr_model TYPE REF TO cl_rstran_model,
l_uid TYPE rssguid25,
l_prog_class TYPE rssg_progclass,
l_progname TYPE sy-repid.
READ TABLE gt_r_tranid INTO ls_tranid
WITH KEY tranid = i_tranid.
IF sy-subrc <> 0.
TRY.
CALL METHOD cl_rstran_model=>factory
EXPORTING
i_tranid = i_tranid
i_with_cto_check = rs_c_false
i_with_authority = rs_c_false
RECEIVING
r_r_model = lr_model.
CATCH cx_rstran_exception INTO l_cx_root.
RAISE EXCEPTION TYPE cx_rs_error
EXPORTING
previous = l_cx_root.
ENDTRY.
IF rs_c_false = lr_model->check_expert( ).
l_prog_class = gc_tran_progclas.
ELSE.
l_prog_class = gc_tran_progclas_expert.
ENDIF.
*-- Get program_UID for TRANID
CALL METHOD lr_model->get_progid
IMPORTING
e_progid = l_uid.
CALL FUNCTION 'RSS_PROGRAM_GET_NAME'
EXPORTING
i_uni_idc25 = l_uid
i_program_class = l_prog_class
IMPORTING
e_program_name = l_progname
EXCEPTIONS
invalid_unique_id = 1
invalid_program_class = 2
template_not_found = 3
OTHERS = 4.
IF sy-subrc <> 0.
DATA: l_r_exception TYPE REF TO cx_rs_failed,
l_r_root TYPE REF TO cx_root.
CALL FUNCTION 'RS_SYMESSAGE_TO_EXCEPTION'
EXPORTING
i_exception = 'CX_RS_FAILED'
IMPORTING
e_r_exception = l_r_root.
l_r_exception ?= l_r_root.
RAISE EXCEPTION l_r_exception.
ENDIF.
l_seconds = 120.
CALL FUNCTION 'RSS_PROGRAM_GENERATE'
EXPORTING
i_uni_idc25 = l_uid
i_program_class = l_prog_class
I_CLIENT =
I_PROGRAM_TITLE =
I_MAX_GENSTATUS = '00'
I_TIMESTAMP =
I_FORCE_GENERATION = RSSG_C_FALSE
I_DEBUG_LEVEL =
I_NO_SYNTAX_CHECK = RSSG_C_FALSE
I_NO_PRETTY_PRINTER = RSSG_C_FALSE
i_db_commit = rssg_c_true
i_seconds_to_wait = l_seconds
I_NO_RDIR_CHECK = RSSG_C_FALSE
I_BUFFERED = RSSG_C_FALSE
i_use_metaclass = rssg_c_true
I_GENFLAG =
I_WITH_HEADER_COMMENT = RSSG_C_FALSE
I_PROGRAM_NAME =
I_FORCE_RELOAD = RSSG_C_FALSE
I_SCOPE = '2'
IMPORTING
E_PROGRAM_NAME =
E_PROGRAM_GENERATED =
E_ERROR_LINE =
E_ERROR_MESSAGE =
E_CLSNAME =
E_TEMPLATE =
EXCEPTIONS
invalid_program_class = 1
invalid_unique_id = 2
generation_error = 3
template_not_found = 4
template_syntax_error = 5
program_syntax_error = 6
foreign_lock = 7
system_failure = 8
internal_error = 9
load_program_invalid = 10.
IF sy-subrc <> 0.
RAISE EXCEPTION TYPE cx_rs_error.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM get_runtime_ref IN PROGRAM (l_progname)
CHANGING lr_exe.
*-- Get ref to local runtime class
ls_tranid-tranid = i_tranid.
ls_tranid-ref = lr_exe.
APPEND ls_tranid TO gt_r_tranid.
ENDIF.
r_ref_runtime = ls_tranid-ref.
ENDMETHOD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
plz help....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.