SAP Reports / Programs | Project System | Costs(PS-COS) SAP PS

RKPSYNCSTAT_FORMS SAP ABAP INCLUDE - RKPSYNCSTATFORMS







RKPSYNCSTAT_FORMS is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RKPSYNCSTAT_FORMS into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RKPSYNCSTAT_FORMS. "Basic submit
SUBMIT RKPSYNCSTAT_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT RKPSYNCSTAT_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RKPSYNCSTAT_FORMS

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RSTH_PART_OF_HIERARCHY_GET CALL FUNCTION 'RSTH_PART_OF_HIERARCHY_GET' EXPORTING node = ls_rsthie TABLES i_rsthie = gt_rsthie ip_rsthie = lt_rsthie_part.

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = ld_subrc.

K_OBJECT_BUFFER_FETCH CALL FUNCTION 'K_OBJECT_BUFFER_FETCH' EXPORTING selart = 'PR' TABLES it_objnr = lt_objnr EXCEPTIONS OTHERS = 1.

STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES jsto_pre_tab = lt_objnr.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_objnr = ld_objnr no_mesg_collect = on IMPORTING e_prps = ls_prps EXCEPTIONS not_found = 1.

KPEP_WLA_ANALYZE_OBJECT CALL FUNCTION 'KPEP_WLA_ANALYZE_OBJECT' EXPORTING object = ld_objid IMPORTING needs_processing = flg_needs_processing.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = ld_objid(22) status = 'I0001' "opened EXCEPTIONS object_not_found = 1 status_not_active = 2.

KPEP_WLA_SET_OBJECT_STATUS CALL FUNCTION 'KPEP_WLA_SET_OBJECT_STATUS' EXPORTING object = ld_objid status = ld_processing_status TABLES smsg_messages = lt_mesg.

KPEP_WLA_SET_OBJECT_STATUS CALL FUNCTION 'KPEP_WLA_SET_OBJECT_STATUS' EXPORTING object = ld_objid status = ld_processing_status TABLES smsg_messages = lt_mesg.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = ld_objid(22) status = 'I0046' "closed EXCEPTIONS status_not_active = 1.

KPEP_WLA_SET_OBJECT_STATUS CALL FUNCTION 'KPEP_WLA_SET_OBJECT_STATUS' EXPORTING object = ld_objid status = ld_processing_status TABLES smsg_messages = lt_mesg.

KPEP_WLA_SET_OBJECT_STATUS CALL FUNCTION 'KPEP_WLA_SET_OBJECT_STATUS' EXPORTING object = ld_objid status = ld_processing_status TABLES smsg_messages = lt_mesg.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_objnr = lt_top-objnr no_mesg_collect = on IMPORTING e_prps = ls_prps EXCEPTIONS not_found = 1.

KPEP_WLA_SET_OBJECT_STATUS CALL FUNCTION 'KPEP_WLA_SET_OBJECT_STATUS' EXPORTING object = ld_objid status = ld_processing_status TABLES smsg_messages = lt_mesg.

OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' EXPORTING i_objnr = ls_assigned_vb-objnr IMPORTING e_ionra = ls_ionra.

KPEP_WLA_SET_OBJECT_STATUS CALL FUNCTION 'KPEP_WLA_SET_OBJECT_STATUS' EXPORTING object = ld_objid status = ld_processing_status TABLES smsg_messages = lt_mesg.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = v_objnr IMPORTING ident_objid = l_ident_objid ident_txt20 = l_ident_txt20.

MESSAGE_LINE_SET





CALL FUNCTION 'MESSAGE_LINE_SET' EXPORTING zeile = ls_mesg_rel-line.

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' EXPORTING line_from = gs-mesg_line line_to = gs-mesg_line IMPORTING count = ld_count.

MESSAGE_LINE_SET CALL FUNCTION 'MESSAGE_LINE_SET' EXPORTING zeile = gs-mesg_line.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = msgid msgty = msgty txtnr = txtnr msgv1 = par1 msgv2 = par2 msgv3 = par3 msgv4 = par4 zeile = p_mesg_line modify = 'X'.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' EXPORTING i_zeile = gs-mesg_line TABLES t_mesg = et_mesg.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = p_msgid exception_if_not_active = space msgty = p_msgty msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4 txtnr = ld_txtnr zeile = gs-mesg_line IMPORTING act_severity = ld_severity.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = v_objnr IMPORTING identification = c_ident.

OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' EXPORTING i_objnr = v_objnr IMPORTING e_ionra = ls_ionra.

CJDW_ENQUEUE CALL FUNCTION 'CJDW_ENQUEUE' EXPORTING object_id = ls_object_id otype = 'H' EXCEPTIONS foreign_lock = 1 OTHERS = 2.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_pspnr = ls_ionra-pspnr IMPORTING e_psphi = ld_psphi.

CJDW_ENQUEUE CALL FUNCTION 'CJDW_ENQUEUE' EXPORTING object_id = ls_object_id * OTYPE = 'P' shared = 'X' EXCEPTIONS foreign_lock = 1 OTHERS = 2.

CO_ZF_ORDER_LOCK CALL FUNCTION 'CO_ZF_ORDER_LOCK' EXPORTING aufnr = ls_ionra-aufnr EXCEPTIONS order_already_locked = 1 OTHERS = 2.

CO_SF_AFVG_OBJECT_GET CALL FUNCTION 'CO_SF_AFVG_OBJECT_GET' EXPORTING aplzl = ls_ionra-aplzl aufpl = ls_ionra-aufpl exp_only_aufkv = on IMPORTING aufkv_exp = ls_aufkv.

CO_ZF_ORDER_LOCK CALL FUNCTION 'CO_ZF_ORDER_LOCK' EXPORTING aufnr = ls_aufkv-aufnr EXCEPTIONS order_already_locked = 1 OTHERS = 2.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = p_objnr IMPORTING ident_objid = ld_ident_objid ident_txt20 = ld_ident_txt20.

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' EXPORTING line_from = gs-mesg_line line_to = gs-mesg_line IMPORTING count = ld_count.

MESSAGE_LINE_SET CALL FUNCTION 'MESSAGE_LINE_SET' EXPORTING zeile = gs-mesg_line.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = 'KA' msgty = 'S' txtnr = '159' msgv1 = ld_ident_objid msgv2 = ld_ident_txt20 zeile = gs-mesg_line modify = space.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = 'KA' msgty = 'S' txtnr = '159' msgv1 = ld_ident_objid msgv2 = ld_ident_txt20 zeile = gs-mesg_line modify = on.

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = ld_max.




OBJ_PROCESSING_SET_PARAMETERS CALL FUNCTION 'OBJ_PROCESSING_SET_PARAMETERS' EXPORTING i_test = gd-test CHANGING log_data = ls_log_data.

OBJ_PROCESSING_LOG_DISPLAY CALL FUNCTION 'OBJ_PROCESSING_LOG_DISPLAY' EXPORTING display_mode = '03' log_data = ls_log_data callback_program = ld_cprog callback_form = ld_callback_form.

SCWF_WORKLISTID_TEXT_GET CALL FUNCTION 'SCWF_WORKLISTID_TEXT_GET' EXPORTING i_worklist = gd-worklistid IMPORTING e_wltxt = ld_wltxt.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = p_act_top status = con_status_i0097 EXCEPTIONS object_not_found = 1 status_not_active = 2.

STATUS_CHECK_MULTI CALL FUNCTION 'STATUS_CHECK_MULTI' EXPORTING status = con_status_i0097 IMPORTING objects_deleted = ls_flags-not_all TABLES objects = p_objnr.

SD_ORDER_GET_DATA CALL FUNCTION 'SD_ORDER_GET_DATA' EXPORTING i_document_number = p_vbkey-vbeln i_item_number = p_vbkey-posnr IMPORTING e_all_posted = ld_status_enfa EXCEPTIONS document_not_found = 1.

STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = gd-test objnr = p_act_top vrgng = ld_vrgng zeile = gs-mesg_line IMPORTING activity_not_allowed = ls_flags-activity_not_allowed error_occurred = ls_flags-error_occured status_not_allowed = ls_flags-status_not_allowed warning_occurred = ls_flags-status_not_allowed EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 warning_occured = 5.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING batch_list_type = ld_type i_use_grid = 'X' EXCEPTIONS no_messages = 1 inconsistent_range = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_interface_check = ' ' i_callback_program = ld_self i_callback_pf_status_set = ld_callback_pf_status_set i_callback_user_command = ld_callback_user_command i_structure_name = 'GT_LIST_DATA' is_layout = ls_layout it_fieldcat = p_fieldcat_data[] it_sort = p_sortinfo_data[] i_default = 'X' i_save = 'A' is_variant = ls_variant it_events = lt_events[] is_print = ls_print TABLES t_outtab = gt_list_data.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_events.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = p_objnr IMPORTING e_ionra = ld_ionra ident_objid = l_ident_objid.

K_OBJECT_MASTER_SHOW CALL FUNCTION 'K_OBJECT_MASTER_SHOW' EXPORTING i_coiob = ls_coiob.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RKPSYNCSTAT_FORMS or its description.