Hi Experts,
Facing the below error when trying to access MSS Homepage:
ST22 says:
My ABAP person told me that there is a problem in
This is the code in above program:
METHOD update_appl_log.
*****************Application Log**********************
DATA : ls_log TYPE bal_s_log.
DATA : lv_log_handle TYPE balloghndl.
DATA : lt_log_handle TYPE bal_t_logh.
DATA : ls_msg TYPE bal_s_msg.
DATA : ls_message TYPE bapiret2.
ls_log-object = iv_object.
ls_log-subobject = iv_subobject.
ls_log-extnumber = text-001.
*Application Log for Test Scenarios
ls_log-aluser = sy-uname.
ls_log-alprog = sy-repid.
CALL FUNCTION 'BAL_LOG_CREATE'
EXPORTING
i_s_log = ls_log
IMPORTING
e_log_handle = lv_log_handle
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE x015(hrpdv).
* Unable to Create Application log.
ENDIF.
LOOP AT it_messages INTO ls_message.
ls_msg-msgty = ls_message-type.
ls_msg-msgid = ls_message-id.
ls_msg-msgno = ls_message-number.
ls_msg-msgv1 = ls_message-message_v1.
ls_msg-msgv2 = ls_message-message_v2.
ls_msg-msgv3 = ls_message-message_v3.
ls_msg-msgv4 = ls_message-message_v4.
CALL FUNCTION 'BAL_LOG_MSG_ADD'
EXPORTING
i_s_msg = ls_msg
i_log_handle = lv_log_handle
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e016(hrpdv).
* Addition of exception/message to the application log failed.
ENDIF.
ENDLOOP.
CALL FUNCTION 'BAL_DB_SAVE_PREPARE'
EXPORTING
i_replace_in_all_logs = 'X'
EXCEPTIONS
log_not_found = 0
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE x018(hrpdv).
ENDIF.
INSERT lv_log_handle INTO TABLE lt_log_handle.
IF sy-subrc NE 0.
RAISE update_error.
ENDIF.
CALL FUNCTION 'BAL_DB_SAVE'
EXPORTING
i_in_update_task = iv_update_task
i_save_all = 'X'
i_t_log_handle = lt_log_handle
EXCEPTIONS
log_not_found = 1
save_not_allowed = 2
numbering_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE x018(hrpdv).
* Unable to save Application log to the DB.
ENDIF.
COMMIT WORK.
ENDMETHOD.
Could Someone guide where might the problem ?
Regards,
Srikanth Naidu. Akula
Hi All,
I am out of Soup after a long time:
Reason for the issue:
Either the requests were not properly moved to Quality and some standard entries were missing by default, then I have moved the entire Org.chart visu & OADP related table to QAS then it got resolved.
Thank you for your wonderful support.
Add a comment