cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Batch Details Missing from XML File

Sabarinathan_K1
Explorer
0 Likes
385

Dear Expertise, 

We have assigned batch management in FG material along with characteristic value maintain in classification, while creating sales order provide batch number manually but Only batch number will appears in XML file instead of characteristic value as below screen shot. 

Kindly provide possible solution and configure step to done for reproduce this issue resolved. 

This is completely related to S4hana Public cloud edition. 

Sabarinathan_K_0-1706601087042.png

 

Thanks and Regards

Prabhat Kumar 

Accepted Solutions (1)

Accepted Solutions (1)

varunvenkat
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Sabarinathan,

I assume you are using the Sales Order (A2X) Inbound API to fetch the sales order payload shown in the screenshot. In the API business documentation, you can see the supported entities that are accessibly via API call:

varunvenkat_0-1723059787670.png

As you can see, only the actual batch number is supported as a field. In case you additionally require the batch characteristic data as well, one option would be to do do a custom development where you receive the sales order payload, extract the value of the <Batch> field, and in the second step, you can call the Batch master record API that will then provide you with the necessary batch characteristic data.

Alternatively, you could also consider creating a custom CDS View (as shown here) where you join the I_SalesOrderItem and I_Batch CDS Views and publish the resulting data set as an external API.

Best regards
Varun

 

Answers (0)