RMPS_POST_API_DEMO is a standard Executable ABAP Report 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 RMPS_POST_API_DEMO into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: PG_ARCH = Create Archive Link Document
Selection Text: PG_MAIL = Create E-Mail
Selection Text: P_ACTIV = 1st Process Route Activity
Selection Text: P_AGENT = 1st Process Route Agent
Selection Text: P_ATTN1 = Attribute Name
Selection Text: P_ATTN2 = Attribute Name
Selection Text: P_ATTN3 = Attribute Name
Selection Text: P_ATTV1 = Attrib.Value
Selection Text: P_ATTV2 = Attrib.Value
Selection Text: P_ATTV3 = Attrib.Value
Selection Text: P_CHATT = Change attributes
Selection Text: P_CHPTH = Change Process Route
Selection Text: P_DECL = Declare IPI
Selection Text: P_DELE = Delete Incoming Post Item
Selection Text: P_DOCTYP = D Document Type
Selection Text: P_FILE = D File Path
Selection Text: P_FOLDER = Case
Selection Text: P_NOPATH = No Process Route
Selection Text: P_PCLASS = Document Class Part
Selection Text: P_PDOCID = Document Key Part
Selection Text: P_PESDIS = Display Incoming Post Item
Title: Demo Report for Incoming Post Item APIs
Text Symbol: T12 = Test Mail for API Demo
Text Symbol: T11 = Create E-Mail for API Demo
Text Symbol: T10 = Select File for Incoming Post Item
Text Symbol: T06 = Declare (TNA only)
Text Symbol: A01 = Attribute 1
Text Symbol: A02 = Attribute 2
Text Symbol: A03 = Attribute 3
Text Symbol: A04 = Record Bank
Text Symbol: A05 = Case
Text Symbol: M01 = Error when creating e-mail
Text Symbol: M02 = E-mail
Text Symbol: M03 = Successfully Created
Text Symbol: M04 = No file specified for creating the archive link document
Text Symbol: M05 = Incoming post item could not be created
Text Symbol: M06 = Errors:
Text Symbol: M07 = Incoming post item created successfully
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RMPS_POST_CREATE_SAPMAIL_API CALL FUNCTION 'RMPS_POST_CREATE_SAPMAIL_API' EXPORTING im_subject = 'Testmail für API Demo'(t12) " Add a mail subject IMPORTING ex_send_request_id = l_mail_id " Unique Key of the created E-Mail TABLES im_file_tab = lt_files ex_return_tab = lt_return im_mail_text = lt_mail_text.
RMPS_POST_CREATE_API CALL FUNCTION 'RMPS_POST_CREATE_API' EXPORTING im_doctype = p_doctyp " document type that determines the customizing (Tab.: RMPSPEINDOCTYP)
RMPS_POST_EDIT_FIRST_POS_API CALL FUNCTION 'RMPS_POST_EDIT_FIRST_POS_API' EXPORTING im_actarea = 'RMPSPE' " The activity area of the process route is always 'RMPSPE' for inbound documents im_path_id = l_pes_pathid " Unique Id of the created process route im_new_agent = p_agent " New agent of the first process route step im_activity = p_activ " New activity of the first process route step IMPORTING ex_return = ls_return.
RMPS_POST_CHANGE_PROPS_API CALL FUNCTION 'RMPS_POST_CHANGE_PROPS_API' "#EC * EXPORTING im_objectid = l_bapi_docid " PES key field document id im_documentclass = l_bapi_class " PES key field document class * IM_WHOLE_DOCUMENT = ' ' " Set this parameter to 'X' if you want so change LOIO Props * IM_DOC_CONTEXT = " Not used at the moment IMPORTING ex_return = ls_return TABLES tab_properties = lt_props " new property values EXCEPTIONS internal_error = 1 OTHERS = 2 .
RMPS_API_DECLARE_KPRO CALL FUNCTION 'RMPS_API_DECLARE_KPRO' EXPORTING im_object_class = l_bapi_class " PES key field document class im_object_id = l_bapi_docid " PES key field document id im_folder_guid = p_folder " Folder means take the first open part of this folder im_part_class = p_pclass " if you specify the part by document class and id im_part_id = p_pdocid " the document is assigned to exactly this part IMPORTING ex_return = ls_return.
RMPS_POST_DELETE_API CALL FUNCTION 'RMPS_POST_DELETE_API' EXPORTING im_doc_id = l_bapi_docid " PES key field document id im_doc_class = l_bapi_class " PES key field document class im_check_authority = if_srm=>false " bypass the authority check IMPORTING ex_return = ls_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RMPS_POST_API_DEMO - Demo Report for Incoming Post Item APIs RMPS_POST_API_DEMO - Demo Report for Incoming Post Item APIs RMPS_PATH_MAINT_POST - Program RMPS_PATH_MAINT_POST RMPS_PATH_MAINT_POST - Program RMPS_PATH_MAINT_POST RMPS_PARAM_700 - Convert Parameter Table SCMGPARAM RMPS_PARAM_700 - Convert Parameter Table SCMGPARAM