SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Purchase Document Methods(SRM-EBP-PD) SAP SRM

_TRANSFORM_SCS_SAVE_STATUSF01 SAP ABAP INCLUDE - TRANSFORMSCSSAVESTATUSF01







_TRANSFORM_SCS_SAVE_STATUSF01 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 _TRANSFORM_SCS_SAVE_STATUSF01 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 _TRANSFORM_SCS_SAVE_STATUSF01. "Basic submit
SUBMIT _TRANSFORM_SCS_SAVE_STATUSF01 AND RETURN. "Return to original report after report execution complete
SUBMIT _TRANSFORM_SCS_SAVE_STATUSF01 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 _TRANSFORM_SCS_SAVE_STATUSF01

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:

CRM_STATUS_OBJECT_CREATE CALL FUNCTION 'CRM_STATUS_OBJECT_CREATE' EXPORTING chgkz = c_on objnr = it_status-p_guid obtyp = c_so_shop stsma = ls_proc_type-user_stat_proc EXCEPTIONS obtyp_invalid = 1 status_object_already_exists = 2 stsma_invalid = 3 stsma_obtyp_invalid = 4 error_ocurred = 5 OTHERS = 6.

CRM_STATUS_CHANGE_INTERN CALL FUNCTION 'CRM_STATUS_CHANGE_INTERN' EXPORTING objnr = ls_header-guid TABLES status = lt_jstat EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4.

CRM_STATUS_OBJECT_CREATE CALL FUNCTION 'CRM_STATUS_OBJECT_CREATE' EXPORTING chgkz = c_on objnr = it_status-p_guid obtyp = c_so_shop_item EXCEPTIONS obtyp_invalid = 1 status_object_already_exists = 2 stsma_invalid = 3 stsma_obtyp_invalid = 4 error_ocurred = 5 OTHERS = 6.

CRM_STATUS_CHANGE_INTERN CALL FUNCTION 'CRM_STATUS_CHANGE_INTERN' EXPORTING objnr = it_items-guid TABLES status = lt_jstat EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING header = l_header TABLES lines = l_lines EXCEPTIONS id = 1 language = 2 name = 3 object = 4 OTHERS = 5.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING header = l_header TABLES lines = l_lines EXCEPTIONS id = 1 language = 2 name = 3 object = 4 OTHERS = 5.

ADDR_CONVERT_FROM_BAPIADDR1 CALL FUNCTION 'ADDR_CONVERT_FROM_BAPIADDR1' EXPORTING addr1_complete_bapi = ls_conv_bapiaddr1_in IMPORTING addr1_complete = ls_conv_addr1.

ADDR_MAINTAIN_COMPLETE CALL FUNCTION 'ADDR_MAINTAIN_COMPLETE' EXPORTING updateflag = c_ad_insert addr1_complete = ls_conv_addr1 address_group = c_ad_group check_address = c_off EXCEPTIONS parameter_error = 1 address_not_exist = 2 handle_exist = 3 internal_error = 4 OTHERS = 5.

ADDR_NUMBER_GET CALL FUNCTION 'ADDR_NUMBER_GET' EXPORTING address_handle = c_address_handle address_reference = ls_address_ref_type_1 IMPORTING address_number = ct_partner-addr_no EXCEPTIONS address_handle_not_exist = 1 internal_error = 2 parameter_error = 3 OTHERS = 4.

ADDR_CHECK CALL FUNCTION 'ADDR_CHECK' EXPORTING address_object_type = c_ad_org TABLES error_table = lt_error_tab CHANGING address_data_1 = ls_addr1_data EXCEPTIONS parameter_error = 1 OTHERS = 2.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE





CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_set_guid.

BBP_REQREQ_GETDETAIL CALL FUNCTION 'BBP_REQREQ_GETDETAIL' EXPORTING reqno = iv_reqno with_enqueue = c_on with_deleteind_set = c_on IMPORTING req_header = ls_reqhead req_header_srv = ls_reqheads TABLES req_reference = lt_reqref req_line = lt_reqline req_line_mat = lt_reqlinema req_line_srv = lt_reqlinesr req_text = lt_reqtext req_acct = lt_reqacct req_att = lt_reqatt req_address = lt_reqaddress EXCEPTIONS not_found = 1 foreign_lock = 2 no_enqueue_possible = 3 OTHERS = 4.

BBP_SC_MAP_REQ_TO_PD CALL FUNCTION 'BBP_SC_MAP_REQ_TO_PD' EXPORTING is_req_header = ls_reqhead is_req_header_srv = ls_reqheads IMPORTING es_header = ls_new_header et_attach = lt_attach TABLES it_req_reference = lt_reqref it_req_line = lt_reqline it_req_line_mat = lt_reqlinema it_req_line_srv = lt_reqlinesr it_req_text = lt_reqtext it_req_acct = lt_reqacct it_req_att = lt_reqatt it_req_address = lt_reqaddress et_item = lt_item et_account = lt_account et_partner = lt_partner et_longtext = lt_longtext et_limit = lt_limit et_orgdata = lt_orgdata et_messages = lt_messages et_actval = lt_actval et_itmlim_rel = lt_itmlim_rel et_status = et_status.

BBP_SC_MAP_PD_TO_DB CALL FUNCTION 'BBP_SC_MAP_PD_TO_DB' EXPORTING is_header = ls_new_header it_attach = lt_attach IMPORTING es_hdradm = es_db_hdradm es_hdrhgp = es_db_hdrhgp et_attach = et_db_attach TABLES it_item = lt_item it_account = lt_account it_partner = lt_partner it_longtext = lt_longtext it_limit = lt_limit it_orgdata = lt_orgdata it_actval = lt_actval it_itmlim_rel = lt_itmlim_rel it_status = et_status et_itmadm = et_db_itmadm et_itmigp = et_db_itmigp et_itmpset = et_db_itmpset et_itmbei = et_db_itmbei et_account = et_db_account et_bup = et_db_bup et_partner = et_db_partner et_limit = et_db_limit et_orgdata = et_db_orgdata et_longtext = et_db_longtext et_itmlim_rel = et_db_itmlim_rel.

BBP_PD_PO_RESET_BUFFER CALL FUNCTION 'BBP_PD_PO_RESET_BUFFER'.

BBP_ITMPROC_INTERNAL_SAVE CALL FUNCTION 'BBP_ITMPROC_INTERNAL_SAVE'.

BBP_PD_PO_SAVE CALL FUNCTION 'BBP_PD_PO_SAVE' exporting iv_header_guid = lv_po_guid.

BBP_PD_PO_RESET_BUFFER CALL FUNCTION 'BBP_PD_PO_RESET_BUFFER'.

BBP_ITMPROC_GETDETAIL CALL FUNCTION 'BBP_ITMPROC_GETDETAIL' EXPORTING i_guid = it_objrel-GUID i_obj_type = c_po CHANGING e_itmigp = ls_itmigp e_itmpset = ls_itmpset e_itmbei = ls_itmbei.

BBP_ITMPROC_UPDATE CALL FUNCTION 'BBP_ITMPROC_UPDATE' EXPORTING i_guid = it_objrel-GUID i_obj_type = c_po i_itmigp = ls_itmigp i_itmpset = ls_itmpset i_itmbei = ls_itmbei i_com = ls_com iv_without_checks = c_on.

BBP_ITMPROC_INTERNAL_SAVE CALL FUNCTION 'BBP_ITMPROC_INTERNAL_SAVE'.

BBP_PD_PO_SAVE CALL FUNCTION 'BBP_PD_PO_SAVE' exporting iv_header_guid = lv_po_guid.

BBP_PD_PO_RESET_BUFFER CALL FUNCTION 'BBP_PD_PO_RESET_BUFFER'.



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 _TRANSFORM_SCS_SAVE_STATUSF01 or its description.