Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Documents connected with the Warranty Claim?

szelbi
Participant
0 Kudos

Hello all,

I have this Warranty Claim which I open in the `WTY` Transcation which has multiple documents connected to it. They are visible to me after clicking on the "Document Flow" button in the top bar.

How am I able to get those documents numbers within the ABAP code? Is there any Function Module allowing me to do so? Or should I use some database table which holds the relations?

I was looking for some database tables which contain the data but didn't succeed.

Thanks in the advance.

1 REPLY 1

szelbi
Participant
0 Kudos

I've been looking and have found the way to get those documents myself.

You can use the `WTY16_AC_DOCUMENTS` Function Module where you pass the Number of Warranty Claim and its Version Number.