cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass header and line item xml body to the CPI Endpoint?

Akash
Participant
0 Kudos
289

Hello,

Please suggest, how to manage the header and multiple line item data dynamically in SAP CPI.

Ryan-Crosby
Active Contributor
0 Kudos
Manage header and multiple line items dynamically with respect to what or part of what process?
Akash
Participant
0 Kudos
order no and its line item
View Entire Topic
SAP_Developer_
Newcomer
0 Kudos

Hi @Akash 

In CPI (Cloud Platform Integration), you can manage multiple headers and line items based on your specific requirements. Here are two examples to illustrate how you might handle these:

1. Data Transformation: If you need to transform or manipulate data from headers and line items, CPI provides options to use message mapping. This allows you to customize how data is processed and formatted.

2. Custom Logging: If your goal is to include header and line-item information in a custom header for logging purposes in message monitoring, you can achieve this using Groovy or JavaScript scripts. These scripting options let you tailor the logging to fit your needs.

Could you please clarify your specific requirements so we can assist you more effectively?

Regards,

AK

SAP Integration Suite | Fiori | ABAP Architect