Attachment API configuration
This section describes the steps to follow to connect with the Attachments API that we will use to attach the invoice with the QR to the SAP FI document.
This task will be carried out in the “Communication Arrangement” Tile and will need to be done manually in each of the systems.
The user who performs this task must have access to the Tile Communication Arrangements , to do so they must have one of these three roles assigned: SAP_BR_ADMINISTRATOR or SAP_BR_APPL_SUP_ENG_DEV_SUP or SAP_BR_CONF_EXPERT_BUS_NET_INT.
If the system has multiple clients, this task will be performed on the work client, which is usually client 100.
Below are the steps to perform on each system to expose and consume this API locally.
Create Communication Arrangements that expose the FI Attachments service
To create the communication arrangement, we navigate to the Tile in question and press the new button.
Next, we select the scenario ID SAP_COM_0002 - Finance - Posting Integration and complete the field with the name to create the Communication Arrangement.
Create the Communication System
In order to create the Communiation Arragement , a communication system must be created in which the host data and the data of the user enabled to use the service will be indicated. To do this, we press the new button and give a name to the communications system created.
We can also use a system that already exists and points to our local system.
Create the incoming communication user.
Next we create an Inbound Communication user with the name and password we want, we must save it because we will use it in the next step.
We save and configure it for our Communication System.
We save and return to the Communication Arrangement . that will already have the system assigned.
We assign the input user that we have previously created, with this we enable only that user to use this Communication Arrangement.
Finally, we must deactivate the output services since they will not be used and thus avoid exposing them. We can now save the Communication Arrangement and we would finish this configuration block .
Configure the Communication System with the exit user.
To create the Communication Arrangement that consumes the service that we have exposed in the previous step, the system that we created in step 2 must be selected, but first, we must access the Communication System to add the user enabled to consume this service.
In the Communication System tile, we select the system that we created in step 2 and create an exit user that will be the entry user that we created in step 3.
We save the Communication System .
Create Communication Arrangements that consume the FI Attachments service.
In order to consume the exposed service with the previous Communication Arrangement (SAP_COM_0002), we must configure a Communication Arrangement of the product that will be responsible for consuming this service.
Next, we select the scenario ID /TBAI/CS_ATTACHMENTS and complete the field with the name to create the Communication Arrangement.
We select the system created previously and the user that we created in the previous step.
We activate the output service and save.
We can validate the service using the Check Connection button.
If everything went well, it will return a message like this:
If we have an error in the communications user we would see a message like this:
To solve it, you just have to verify that the entry and exit user have the same name and password so that the user enabled in the service exposure matches with the user who will consume said service from this last Communication Arrangement.
Avvale 2024