cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Fetch Customer Material Number to display in Shipment output message

0 Kudos

There's a requirement to fetch the Customer material number and put them in the Shipment output message.

I'm using the logic to fetch it from the VBAP>KDMAT(Customer Material).

The CMIR is also maintain but somehow it's unable to fetch it and display in the Shipment output message.

We are using a smartform for the output message.

Can someone please help?

anne-petteroe
Community Manager
Community Manager
0 Kudos

Hello Arnab,

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.

Feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html as well, as that will also help you when preparing questions for the community.

Should you wish, you can revise your question by selecting Actions, then Edit.

Kind regards,

Anne

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Go to VBFA table, input the shipment number against VBELN, also VBTYP_V as C and take VBELV value. Now pass this VBELV value to VBAP table against VBELN, from where you can get the KDMAT value