on 08-16-2017 8:41 AM
Hello,
I need a query that whenever a purchase request is made for Item type 'F' i.e. Fixed assets item then an Approval should be generated. Am using SAP 9.2 PL 04
Thanks
Kalli
Hi Kali,
Try this
SELECT distinct 'true' from OPRQ T0 inner join PRQ1 T1 ON T0.[DocEntry] = T1.[DocEntry] INNER JOIN OITM T2 ON T1.[ItemCode] = T2.[ItemCode]
WHERE T2.[ItemType] ='F'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this approval query:-
SELECT Distinct 'True' FROM OPRQ T0 INNER JOIN PRQ1 T1 ON T0.[DocEntry] = T1.[DocEntry] WHERE $[$38.1.0] IN (select T2.itemcode from OITM T2 where T2.[ItemType] = 'F')
Please note approval procedure will work only for header level not at row level. But approval procedure will work, if you document have only one row.
Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Balaji, but the Purchase Request adds directly without going into Approval Stages. I tried this query earlier with Purchase Order with OPOR table but it did not work for Approval in Purchase Order also.
Regards
Kalli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.