on 02-11-2016 7:03 AM
Hi
I have done the below setup
1. Created Approval Stage (Administration > Approval Procedures > Approval Stages). The No of stage is 1 and the approver is 1
2. Created user defined field Inspection in item master. The value is either 'Y' or 'N'.
My requirement is
Whenever the GRPO is created and item "inspection flag is set to 'Y'" the GRPO should be submitted for approval.
I have created the below query and assigned in the approval template
SELECT DISTINCT 'true'
FROM PDN1 T0
INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
INNER JOIN OITM T2 ON T0.ITEMCODE = T2.ITEMCODE AND U_Inspection = 'Y'
WHERE T1.DocNum = $[OPDN.DocNum]
My issue is
The document is not submitted for approval.
Please help.
Hi,
Approval procedure will work only on header level not on row level. This is standard system design.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
SELECT DISTINCT 'true'
FROM PDN1 T0
INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
INNER JOIN OITM T2 ON T0.ITEMCODE = T2.ITEMCODE AND variable <> 'N'
Note:-
In the place of variable you need to put SAP variable syntax of Inspection UDF.
Thanx and Regds,
Dhanraj K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.