Run end to end Business Process Workflow, Monitor and Troubleshoot
Run end to end business process starting for previewing RAP Travel Application, creating a Travel, Checking the Inbox in SBPA for triggered workflow process, Actioning the Approval form. Also check for Travel Overall Status Update during workflow trigger and call back.
Step 1Go to SAP Build Process Automation to Action the workflow.
—
From the SAP Build Process Automation Lobby, choose My Inboxalt textto access the Approval Form.
ApprovalForm
Here you can see the Workflow Task created.
Please note the Description of the Task. It is coming from the Approval form you Created.
a. Choose the Task for Travel ID that you created e.g., 1234. This will display the Approval Form with the Travel Details.
b. Enter Approved in Comments.
c. Choose Approved.
TravelTask
Your travel task in now Approved.
Step 2Go back to the Travel Application Preview.
+
Refresh the page to see the updates. Overall Travel should now be set to Approved (A).
TravelApproved
Step 3Monitor and troubleshoot in BTP ABAP Environment
+
The Application Interface Framework (AIF) Monitoring tools enable you to monitor and troubleshoot communication between BTP ABAP Environment and SAP Build Process Automation.
Enable your User for monitoring. (Administrator User required for this enablement).
Click on the BTP ABAP environment instance in your BTP sub account to navigate to the Fiori launchpad using Administrator User.
FioriLaunchpad
Go to Maintain Business Roles App. Choose New > Enter Name & Description > Choose Create.
MaintainBusinessRole
Navigate to Business Catalogs > Choose Add.
Add the below 3 Communication Management Business Catalogs.
SAP_CA_BC_COM_CONF_PC
SAP_CA_BC_COM_ERR_PC
SAP_CA_BC_COM_OP_ERR_PC
AIFMessageMonitoring
Navigate to Users > Choose Add to select add your User > Choose Save.
AddUser
Go to Assign Recipients to User App > Choose your User > Select Assign.
Assign Recipients (Processes) to your User. This is to make sure that the user can monitor only the processes assigned.
Depending upon users roles and responsibilities, Recipients (processes) can be assigned.
For monitoring workflow communication with SAP Build Process Automation Assign the below Recipients:
Name Space
Recipient
/SWFCP (for workflow capability)
REC_PROC_BGRFC (process bgRFC)
REC_RAISE_EVT (Recipient for raise of event)
Repeat the process and assign each Recipient.
AssignRecipient
Your User is now Enabled for Workflow Communication Monitoring with SAP Build Process Automation via. AIF Communication Management Applications.
Open Message Monitoring Overview app or Message Dashboard app to monitor processes and check messages in case of failures/errors for troubleshooting.
Navigate Message Monitoring Overview > Choose /SWFCP – PROC_BGRFC – 1 > Choose the process you triggered > Check the message log and other details.
MessageDashboard
Select > on the line item to display further details.
Below error usually comes when the interface fields do not match.
InterfaceError
Debugging your code.
In case you are not able to figure out why the call is failing using the monitoring tools you might want to troubleshoot by debugging the code. Note the below users you are debugging.
Process
Debugger User
Workflow Trigger (Outgoing Call)
User Performing the actionCreate Travel
Process Completion Notification Method if_swf_cpwf_callback~workflow_instance_completed (Inbound call)
Activate the breakpoint for SAP_WFRT user
In case the call is successful in BTP ABAP Environment but fail in SAP Build Process Automation causing the below issues. You would have to check if the process on the SAP Build Process Automation side is successful or not. The same have been explained in the next step.
a. You still do not see your approval form in SAP Build Process Automation.
b. You can see the Approval form but post actioning the form (Reject/Approve), you do not see a status update to (A) in BTP ABAP Environment
Step 4Monitor and troubleshoot in SAP Build Process Automation.
+
You have monitoring tools available on the SAP Build Process Automation side which show detailed log for each step in your Business Process as no debugging is possible here.
Navigate to the Monitor tab and choose Process and Workflow Instances.
WorkflowInstances
Choose ALL status > Choose your Project > Choose the workflow instance and click >.
ChooseWorkflowInstance
Choose Logs to see the messages at each step. Choose Context to see the data transformation at each step and finally the outgoing context during the callback to BTP ABAP environment.
Share feedback on this tutorial or join the conversation in SAP Community.
Submit detailed feedbackDiscuss in Community
Steps
Step 1 of 5
1. Go to SAP Build Process Automation to Action the workflow.2. Go back to the Travel Application Preview.3. Monitor and troubleshoot in BTP ABAP Environment4. Monitor and troubleshoot in SAP Build Process Automation.5. Test yourself
Joule
AI Notice
Joule is an AI assistant. Generative AI may produce inaccurate, incomplete, or biased information. Always verify important details before acting on them.
Conversations are sent to SAP-hosted large language models for processing. Do not include personal data, credentials, or confidential information in your messages.
Joule's responses are based on the SAP tutorial catalog and may not reflect the latest product changes. For authoritative guidance, consult the linked tutorials and official SAP documentation.