SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Workflow(SRM-EBP-WFL) SAP SRM

/SAPSRM/OFFLINEAPPROVALSEND SAP ABAP Report - Report /SAPSRM/OFFLINEAPPROVALSEND







/SAPSRM/OFFLINEAPPROVALSEND is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program /SAPSRM/OFFLINEAPPROVALSEND E-mail notification for new work items in the Business Workplace The report sends notifications for work items via e-mail to e-mail recipients...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter /SAPSRM/OFFLINEAPPROVALSEND 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 /SAPSRM/OFFLINEAPPROVALSEND. "Basic submit
SUBMIT /SAPSRM/OFFLINEAPPROVALSEND AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSRM/OFFLINEAPPROVALSEND VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: X_BUTTON = Buttons
Selection Text: X_ATT_PV = Attach Print Vers. of Document
Selection Text: X_ATT_AT = Attach Document Attachments
Selection Text: X_ALW_TR = All
Selection Text: X_14ALL = One E-Mail per User
Selection Text: P_WI_ID = D .
Selection Text: P_USER = Users (Blank = All)
Selection Text: P_TEXT9 = Line 9
Selection Text: P_TEXT8 = Line 8
Selection Text: P_TEXT7 = Line 7
Selection Text: P_TEXT6 = Line 6
Selection Text: P_TEXT5 = Line 5
Selection Text: P_TEXT4 = Line 4
Selection Text: P_TEXT3 = Line 3
Selection Text: P_TEXT2 = Line 2
Selection Text: P_TEXT1 = Line 1
Selection Text: P_TEXT0 = Line 10
Selection Text: P_TASKS = Tasks (Blank = All)
Selection Text: P_JOBSUF = Job Suffix
Selection Text: P_FROMT = Work Item Creation Time From
Selection Text: P_FROMD = Work Item Creation Date From
Selection Text: P_EMAIL = E-Mail Address
Selection Text: P_BO_TY = D .
Selection Text: X_ENCRPT = Encrypted
Selection Text: X_W_HTML = HTML Format
Selection Text: X_W_DEC = Available
Selection Text: X_WI_TXT = Short Text
Selection Text: X_WI_LNG = Work Item Language
Selection Text: X_T_DESC = Full Text
Selection Text: X_SY_LNG = System Language
Selection Text: X_SIGN = Signed
Selection Text: X_PR_LNG = Recipient's Language
Selection Text: X_PRIO_9 = Priority 9
Selection Text: X_PRIO_8 = Priority 8
Selection Text: X_PRIO_7 = Priority 7
Selection Text: X_PRIO_6 = Priority 6
Selection Text: X_PRIO_5 = Priority 5
Selection Text: X_PRIO_4 = Priority 4





Selection Text: X_PRIO_3 = Priority 3
Selection Text: X_PRIO_2 = Priority 2
Selection Text: X_PRIO_1 = Priority 1
Selection Text: X_O_HTML = Plain Text Format
Selection Text: X_O_DEC = Not Available
Selection Text: X_NO_TR = None
Selection Text: X_N14ALL = One E-Mail per Work Item
Selection Text: X_LINK = Links
Selection Text: X_ERR_TR = Errors Only
Title: Report /SAPSRM/OFFLINEAPPROVALSEND
Text Symbol: T25 = Cancel
Text Symbol: T24 = Reject
Text Symbol: T23 = Approve
Text Symbol: T22 = To approve or reject directly from this e-mail, click on one of the following buttons (allow program to send e-mail in background):
Text Symbol: T21 = User WF-BATCH does not have an e-mail address
Text Symbol: T20 = Technical information:
Text Symbol: T19 = Please do not change this automatically generated e-mail
Text Symbol: T18 = Approval of the work item
Text Symbol: T17 = Rejection of the work item
Text Symbol: T13 = Log on
Text Symbol: T12 = Reject by e-mail
Text Symbol: T11 = Approve by e-mail
Text Symbol: T10 = To approve or reject directly from this e-mail, click on one of the following buttons (allow program to send e-mail in background):
Text Symbol: T09 = Security
Text Symbol: T08 = Return Address
Text Symbol: T06 = Approval Buttons in HTML Mail
Text Symbol: T05 = Log
Text Symbol: T04 = Data for a single run; the timestamp is not reset when this field is used
Text Symbol: T03 = Standard Notification Text
Text Symbol: T26 = Warning! The 'Forward' function is not suitable for approving a work item. Do you want to continue?
Text Symbol: T27 = Operation Description
Text Symbol: T28 = E-mail Language
Text Symbol: T29 = Document incomplete; log on to the system to process the document
Text Symbol: T30 = To approve or reject directly from this e-mail, click on one of the following buttons (allow program to send e-mail in background):
Text Symbol: T31 = To approve or reject directly from this e-mail, click on one of the following buttons (allow program to send e-mail in background):
Text Symbol: T32 = To accept the changes, click on the following button:
Text Symbol: T33 = Accept Changes
Text Symbol: T34 = Accept
Text Symbol: T35 = Accept by E-mail





Text Symbol: T36 = Message to Approver
Text Symbol: T37 = Message from Approver
Text Symbol: T69 = E-mail attachments; not possible for 'Collected Work Items'
Text Symbol: T70 = Overview of Contract No. &, $
Text Symbol: T71 = Target Quantity
Text Symbol: T72 = Target Value
Text Symbol: T73 = Overview of Purchase Order No. &, $
Text Symbol: T74 = Set Priority
Text Symbol: T75 = Background Email
Text Symbol: T76 = Decision Forms
Text Symbol: 126 = Invoice Name:
Text Symbol: 125 = Invoice Number (supplier):
Text Symbol: 124 = Recipient:
Text Symbol: 123 = Supplier:
Text Symbol: 122 = Total Amount:
Text Symbol: 121 = Item
Text Symbol: 120 = Overview of Confirmation No. &, $
Text Symbol: 119 = Limit
Text Symbol: 118 = Net Order Price
Text Symbol: 117 = Purchase Order / Item
Text Symbol: 116 = Net Value
Text Symbol: 115 = Net Price
Text Symbol: 114 = Overview of Invoice No. &, $
Text Symbol: 113 = Overview of Shopping Cart No. &, $
Text Symbol: 112 = Inform system administrator
Text Symbol: 111 = User WF-BATCH does not have an e-mail address
Text Symbol: 110 = Approval or rejection by e-mail is not possible
Text Symbol: 109 = Rejected
Text Symbol: 108 = Shopping Cart
Text Symbol: 107 = Per
Text Symbol: 106 = Currency
Text Symbol: 105 = Price
Text Symbol: 104 = Requested Delivery Date
Text Symbol: 103 = Unit
Text Symbol: 102 = Quantity
Text Symbol: 101 = Product
Text Symbol: 100 = Description
Text Symbol: 016 = Add attachment error
Text Symbol: 015 = Print preview is not supported for business object type:



Text Symbol: 014 = Attachments are not supported for business object type:
Text Symbol: 013 = Error retrieving business object print preview
Text Symbol: 012 = Error retrieving business object with GUID
Text Symbol: 011 = Error retrieving business object for work item ID
Text Symbol: 010 = Attachment to item
Text Symbol: 009 = Mail Body Description
Text Symbol: 008 = Mail Body
Text Symbol: 007 = Preview
Text Symbol: 006 = SC print preview for review
Text Symbol: 005 = SC print preview for approval
Text Symbol: 004 = Execute this work item by opening the attachment
Text Symbol: 003 = Message
Text Symbol: 002 = SAPOFFICE
Text Symbol: 001 = BCS error type
Text Symbol: 127 = Acc. Category
Text Symbol: T02 = E-mail Format
Text Symbol: T01 = Message Frequency
Text Symbol: S12 = Click on the following link to log on to the system and carry out the approval online:
Text Symbol: S11 = The following requires processing:
Text Symbol: S08 = Log on to the R/3 system and check your inbox
Text Symbol: S07 = Work item in R/3 system:
Text Symbol: S06 = Display work item
Text Symbol: S05 = Integrated inbox
Text Symbol: S04 = Execute the work item
Text Symbol: S02 = &: You have received $ new work items
Text Symbol: S01 = The following requires processing:
Text Symbol: M14 = No recipients found for work item
Text Symbol: M13 = Code
Text Symbol: M12 = Failed to send to:
Text Symbol: M11 = Transmission successful
Text Symbol: M10 = A total of & work items scanned
Text Symbol: M09 = Address:
Text Symbol: M08 = No work items found that required forwarding
Text Symbol: M06 = This work item has no description
Text Symbol: M05 = Transmission failed
Text Symbol: M04 = E-mail sent to:
Text Symbol: M03 = Work Item:
Text Symbol: M02 = The SAPform-task was not found
Text Symbol: M01 = Customizing or System Error:
Text Symbol: 146 = Distribution
Text Symbol: 145 = Price/Limit
Text Symbol: 144 = Required on
Text Symbol: 143 = Distribution %
Text Symbol: 142 = Account split position
Text Symbol: 141 = Subject
Text Symbol: 140 = From
Text Symbol: 139 = To
Text Symbol: 138 = Approvers
Text Symbol: 137 = Status
Text Symbol: 136 = Approval Type
Text Symbol: 135 = Approval Process
Text Symbol: 134 = Supplier Data
Text Symbol: 133 = Account Data
Text Symbol: 132 = Item Data
Text Symbol: 131 = Product Supplier No. EBP
Text Symbol: 130 = Product Supplier
Text Symbol: 129 = GL_Acc.
Text Symbol: 128 = Cost Object


INCLUDES used within this REPORT /SAPSRM/OFFLINEAPPROVALSEND

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:

SWU_GET_TRACE_HANDLE CALL FUNCTION 'SWU_GET_TRACE_HANDLE' EXCEPTIONS trace_not_active = 1 could_not_create_handle = 2 OTHERS = 3.

SO_USER_ADDRESS_READ_API1 CALL FUNCTION 'SO_USER_ADDRESS_READ_API1' TABLES user_address = user_addresses EXCEPTIONS enqueue_errror = 1 parameter_error = 2 x_error = 3 OTHERS = 4.

ENQUEUE_E_RSWUWFMLEC CALL FUNCTION 'ENQUEUE_E_RSWUWFMLEC' EXPORTING mode_swu_wlscan = 'E' client = sy-mandt curr_numb = p_jobsuf EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_RSWUWFMLEC CALL FUNCTION 'DEQUEUE_E_RSWUWFMLEC' EXPORTING mode_swu_wlscan = 'E' client = sy-mandt curr_numb = p_jobsuf.

SWW_WI_HEADER_READ CALL FUNCTION 'SWW_WI_HEADER_READ' EXPORTING wi_id = wi_id IMPORTING wi_header = ls_wi_header EXCEPTIONS read_failed = 1 OTHERS = 2.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = recipients-user_name IMPORTING address = ls_address TABLES return = return.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = recipients-user_name IMPORTING address = ls_address TABLES return = return.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = recipients-user_name TABLES return = return addsmtp = mailadress.

SWD_PROPS_GET CALL FUNCTION 'SWD_PROPS_GET' EXPORTING im_workflow_props = lv_wf_type im_prop = swfco_type_reviewer EXCEPTIONS property_not_set = 1 OTHERS = 2.

SWL_WI_TEXT_TRANSLATE CALL FUNCTION 'SWL_WI_TEXT_TRANSLATE' EXPORTING i_langu = l_langu CHANGING c_wi_header = ls_wi_header EXCEPTIONS wi_read_failed = 1 container_read_failed = 2 OTHERS = 3.

SCMS_BINARY_TO_XSTRING CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' EXPORTING input_length = lv_size IMPORTING buffer = attachment_lst-content TABLES binary_tab = ls_attach-phio_content[].

SO_NAME_CONVERT_API1 CALL FUNCTION 'SO_NAME_CONVERT_API1' EXPORTING name = readable_recipients TABLES names = readable_recipients EXCEPTIONS user_not_exist = 1 parameter_error = 2 x_error = 3 OTHERS = 4.

SO_NAME_CONVERT_API1 CALL FUNCTION 'SO_NAME_CONVERT_API1' EXPORTING name = readable_recipients TABLES names = readable_recipients EXCEPTIONS user_not_exist = 1 parameter_error = 2 x_error = 3 OTHERS = 4.

MESSAGE_PREPARE CALL FUNCTION 'MESSAGE_PREPARE' EXPORTING msg_id = 'WZ' msg_no = p_msgno msg_var1 = p_msgv1 IMPORTING msg_text = msg_text EXCEPTIONS function_not_completed = 1 message_not_found = 2 OTHERS = 3.

RH_WI_AGENTS_GET CALL FUNCTION 'RH_WI_AGENTS_GET' EXPORTING act_wi_id = wi_id_tab TABLES wi_agent_list = user_tab EXCEPTIONS no_active_plvar = 1 no_agent_found = 2 general_task = 3 background_task = 4 OTHERS = 5.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = user_name TABLES return = return addsmtp = mailadress.

BBP_PDH_WFL_OBJECT_WI_GET CALL FUNCTION 'BBP_PDH_WFL_OBJECT_WI_GET' EXPORTING iv_workitem_id = lv_wi_id IMPORTING ex_reqno = lv_object_id ex_guid = lv_guid ev_obj_type = lv_object_type.

BBP_PROCDOC_GETDETAIL CALL FUNCTION 'BBP_PROCDOC_GETDETAIL' EXPORTING i_guid = lv_guid i_object_id = lv_object_id i_object_type = lv_object_type i_with_itemdata = space TABLES e_longtext = lt_longtext e_messages = lt_messages.

SSFC_BASE64_DECODE CALL FUNCTION 'SSFC_BASE64_DECODE' EXPORTING b64data = text IMPORTING bindata = lv_x_text.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = lv_tech_wf_user TABLES return = ret addsmtp = lt_email_adr.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = 'WF-BATCH' TABLES return = ret addsmtp = lt_email_adr.

RH_SUBSTITUTES_GET CALL FUNCTION 'RH_SUBSTITUTES_GET' EXPORTING act_plvar = space act_otype = p_user_tab-otype act_objid = p_user_tab-objid act_endda = sy-datum TABLES subst_str = subst_str EXCEPTIONS no_substitute_found = 1 OTHERS = 2.

RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = subst_str-otype act_objid = subst_str-objid act_wegid = 'SAP_TAGT' TABLES result_tab = l_agents_tab EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.

SWW_WI_HEADER_READ CALL FUNCTION 'SWW_WI_HEADER_READ' EXPORTING wi_id = gt_wi_one4all-wi_id IMPORTING wi_header = ls_wi_header EXCEPTIONS read_failed = 1 OTHERS = 2.

SWL_WI_TEXT_TRANSLATE CALL FUNCTION 'SWL_WI_TEXT_TRANSLATE' EXPORTING i_langu = lv_langu CHANGING c_wi_header = ls_wi_header EXCEPTIONS wi_read_failed = 1 container_read_failed = 2 OTHERS = 3.

BBP_READ_ATTRIBUTES CALL FUNCTION 'BBP_READ_ATTRIBUTES' EXPORTING iv_user = lv_user_name iv_scenario = lv_scenario it_attr_list = attr_list IMPORTING et_attr = lt_attr_return EXCEPTIONS object_id_not_found = 1 no_attributes_requested = 2 attributes_read_error = 3 OTHERS = 4.

SWW_WI_HEADER_READ CALL FUNCTION 'SWW_WI_HEADER_READ' EXPORTING wi_id = lv_wi_id IMPORTING wi_header = lt_wi_header EXCEPTIONS read_failed = 1 OTHERS = 2.

SWW_WI_CONTAINER_READ CALL FUNCTION 'SWW_WI_CONTAINER_READ' EXPORTING wi_id = lv_wi_id TABLES wi_container = lt_wi_container EXCEPTIONS container_does_not_exist = 1 OTHERS = 2.

BBP_PDH_WFL_RESET_DBBUFFER CALL FUNCTION 'BBP_PDH_WFL_RESET_DBBUFFER' EXPORTING iv_language = lv_langu.

SWU_GET_TASK_TEXTLINES CALL FUNCTION 'SWU_GET_TASK_TEXTLINES' EXPORTING task = lt_wi_header-wi_rh_task usage = 'D' language = lv_langu wiheader = lt_wi_header TABLES ascii_text_lines = lt_text_lines container = lt_wi_container EXCEPTIONS wrong_usage = 01 text_not_found = 02 text_system_error = 03.

SWU_GET_TASK_TEXTLINES CALL FUNCTION 'SWU_GET_TASK_TEXTLINES' EXPORTING task = lt_wi_header-wi_rh_task usage = 'W' language = lv_langu wiheader = lt_wi_header TABLES ascii_text_lines = lt_text_lines container = lt_wi_container EXCEPTIONS wrong_usage = 01 text_not_found = 02 text_system_error = 03.

SWW_WI_HEADER_READ CALL FUNCTION 'SWW_WI_HEADER_READ' EXPORTING wi_id = lv_wi_id IMPORTING wi_header = ls_wi_header EXCEPTIONS read_failed = 1 OTHERS = 2.

BBP_PDH_WFL_RESET_DBBUFFER CALL FUNCTION 'BBP_PDH_WFL_RESET_DBBUFFER' EXPORTING iv_language = lv_langu.

SWL_WI_TEXT_TRANSLATE CALL FUNCTION 'SWL_WI_TEXT_TRANSLATE' EXPORTING i_langu = lv_langu CHANGING c_wi_header = ls_wi_header EXCEPTIONS wi_read_failed = 1 container_read_failed = 2 OTHERS = 3.

BBP_PD_CTR_GETDETAIL CALL FUNCTION 'BBP_PD_CTR_GETDETAIL' EXPORTING i_guid = lv_guid i_attach_with_doc = ' ' i_with_itemdata = 'X' IMPORTING e_header = ls_header TABLES e_item = lt_items e_partner = lt_partner.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

BBP_IV_PARTNER_FUNCTIONS_GET CALL FUNCTION 'BBP_IV_PARTNER_FUNCTIONS_GET' IMPORTING partner_fct = ls_partner_fct TABLES return = lt_bapiret2.

BBP_PD_SC_GETDETAIL CALL FUNCTION 'BBP_PD_SC_GETDETAIL' EXPORTING i_object_id = lv_object_id i_attach_with_doc = ' ' i_with_itemdata = 'X' IMPORTING e_header = ls_header TABLES e_item = lt_items e_account = lt_account e_limit = lt_limit e_partner = lt_partner.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

BBP_IV_PARTNER_FUNCTIONS_GET CALL FUNCTION 'BBP_IV_PARTNER_FUNCTIONS_GET' IMPORTING partner_fct = ls_partner_fct TABLES return = lt_bapiret2.

BBP_PD_INV_GETDETAIL CALL FUNCTION 'BBP_PD_INV_GETDETAIL' EXPORTING i_guid = lv_guid IMPORTING e_header = ls_header TABLES e_item = lt_items e_partner = lt_partner e_status = lt_status e_messages = lt_messages.

BBP_PDH_INV_GET_KIND CALL FUNCTION 'BBP_PDH_INV_GET_KIND' EXPORTING iv_src_object_type = ls_header-src_object_type IMPORTING ev_inv_kind = lv_invoice_kind.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

BBP_PD_CONF_GETDETAIL CALL FUNCTION 'BBP_PD_CONF_GETDETAIL' EXPORTING i_guid = lv_guid IMPORTING e_header = ls_header TABLES e_item = lt_items e_status = lt_status e_messages = lt_messages.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

BBP_IV_PARTNER_FUNCTIONS_GET CALL FUNCTION 'BBP_IV_PARTNER_FUNCTIONS_GET' IMPORTING partner_fct = ls_partner_fct TABLES return = lt_return.

BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner_guid = ls_vendor_guid IMPORTING ev_partner = ls_vendor_id.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = ls_vendor_id IMPORTING output = ls_vendor_id.

BBP_PD_PO_GETDETAIL CALL FUNCTION 'BBP_PD_PO_GETDETAIL' EXPORTING i_guid = lv_guid i_attach_with_doc = ' ' i_with_itemdata = 'X' IMPORTING e_header = ls_header TABLES e_item = lt_items e_account = lt_account e_limit = lt_limit e_partner = lt_partner.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = lt_items-unit language = lv_langu IMPORTING output = lv_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.

BBP_IV_PARTNER_FUNCTIONS_GET CALL FUNCTION 'BBP_IV_PARTNER_FUNCTIONS_GET' IMPORTING partner_fct = ls_partner_fct TABLES return = lt_bapiret2.

BBP_PDH_WFL_MAINWI_FROM_WI_GET CALL FUNCTION 'BBP_PDH_WFL_MAINWI_FROM_WI_GET' EXPORTING iv_workitem_id = p_wi_id iv_direct_main_wiid = 'X' IMPORTING ev_main_workitem_id = lv_main_wi_id.

SWW_WI_CONTAINER_READ CALL FUNCTION 'SWW_WI_CONTAINER_READ' EXPORTING wi_id = lv_main_wi_id IMPORTING wi_container_handle = lv_wi_container_handle EXCEPTIONS container_does_not_exist = 1 read_failed = 2 OTHERS = 3.

BBP_PDH_WFL_OBJECT_WI_GET CALL FUNCTION 'BBP_PDH_WFL_OBJECT_WI_GET' EXPORTING iv_workitem_id = p_wi_id IMPORTING ex_reqno = p_object_id ex_guid = p_guid ev_obj_type = p_object_type.

BBP_PDH_CONV_TSTMP_TO_DATE CALL FUNCTION 'BBP_PDH_CONV_TSTMP_TO_DATE' EXPORTING iv_timestamp = -timestmp iv_tzone = sy-zonlo IMPORTING ev_date = lv_wi_date ev_time = lv_wi_time.

SAP_WAPI_READ_CONTAINER CALL FUNCTION 'SAP_WAPI_READ_CONTAINER' EXPORTING workitem_id = wi_id_tab TABLES simple_container = lt_container.

SWW_WI_CONTAINER_READ CALL FUNCTION 'SWW_WI_CONTAINER_READ' EXPORTING wi_id = iv_main_workitem_id IMPORTING wi_container_handle = lv_wi_container_handle EXCEPTIONS container_does_not_exist = 1 read_failed = 2 OTHERS = 3.



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 /SAPSRM/OFFLINEAPPROVALSEND or its description.