cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI/PO (If Message enter in SAP PI system how message will further Proceed)?

Sanju2
Newcomer
0 Kudos
38

Dear experts,

I have a question. One of my interviewers asked me, "The message has entered in your SAP Pi system. What will you do?" like what will we further process.

I'm new to this field, so I don't understand the question. Could you please help me figure out what response he was expecting from me?

I told him that if the target side wants a message of this type, we will map it accordingly and move forward with the message. Was this the right answer?

Thanks,

Sanju.

Accepted Solutions (0)

Answers (1)

Answers (1)

ShaikAzmathulla
Active Participant
0 Kudos

Hi ,

When a message enters the SAP PI system, it follows a series of steps to ensure it reaches its target system successfully. Here's a brief outline of the process:

Message Arrival:Adapter Engine (AE):
The message enters the system through an adapter (e.g., File Adapter, JDBC Adapter, etc.) based on the sender system's configuration. The communication channel associated with the sender agreement picks up the message.

Message Conversion:
The message is in its native format when it enters SAP PI. The adapter processes the message and converts it into the SAP XI message format, using an internal module that performs the conversion. This conversion ensures the message can be understood by the Integration Engine.

Message ID Generation & CPA Lookup:
A unique Message ID is generated, and a Collaboration Partner Agreement (CPA) lookup is performed to fetch the relevant configuration details from the Integration Builder. This ensures the sender's system, message interface, and other metadata are correctly identified.

Message Processing:
The message then passes through various modules for further processing, such as structure conversion, protocol handling, and any necessary transformations. These modules ensure that the message conforms to the target system's format.

Queueing & Delivery:
After processing, the message is placed in the Send Queue, which is monitored by the Integration Server (IS). The message is then picked up by the XI Adapter, and its status is updated to DLNG (Delivery Pending). It is then sent to the target system’s endpoint.

Audit Log & Monitoring:
Every stage of the message lifecycle is logged in the Audit Log. You can view the audit log in the Runtime Workbench (RWB) to track the status and any issues in the message processing flow.

Successful Delivery:
Once the message has been successfully processed and delivered to the target system (e.g., DB, HTTP endpoint, etc.), the message status is updated to DLVD (Delivered).

Error Handling (if any):
In case of any issues, such as an error in message processing, an alert is triggered, and the message is placed in the error queue for troubleshooting and reprocessing.

Note : 

 

  • Adapter Engine (AE):

    • Handles message reception from the sender system via adapters.
    • Converts messages into SAP XI format.
    • Executes transformation and routing using the module processor.
    • Places the message in the Send Queue for further processing by the Integration Engine.
  • Integration Engine (IE):

    • Responsible for routing messages to the appropriate receiver system.
    • Performs Receiver Determination, Interface Mapping, and Message Mapping.
    • Logs the status and ensures successful delivery to the target system.
    • Provides detailed logs in the Audit Log to track message flow.

Regards ,