2023 May 08 4:06 AM
Hi, I'm trying to get the outline agreement of a purchase order. I have checked the EKKO,EKPO via se16 but the outline agreement is not being displayed.
My outline agreement is stored in RM06E but I'm not sure if I can use RM06E in Select SQL statement. The common fields between EKPO and RM06E is the vendor.ab
2023 May 08 9:02 AM
The 'Outline Agreement' field in PO item should be the EKPO-KONNR, isn't it? the RM06E you mentioned should be a structure instead of a table.
2023 May 08 9:21 AM
It's possible that the outline agreement is stored in a different table than EKKO and EKPO. From what you've mentioned, it looks like the outline agreement may be stored in table RM06E.
To retrieve the data from table RM06E using a SQL select statement, you can try the following steps:
Here is an example SQL select statement that you can use as a starting point:
SELECT field1, field2, field3
FROM RM06E
WHERE vendor.ab = 'your_vendor_id'
Replace field1, field2, and field3 with the actual field names you want to retrieve data for. Also, replace 'your_vendor_id' with the relevant vendor ID.
2023 May 08 12:02 PM
RM06E is a structure, not a database table.