on 12-04-2017 12:08 PM
Hi experts
I had created a FMS to join 2 UDF and the result should be pop up in Unit price in AP credit memo
1. U_GrdPrice
2.U_GrdAmt1
Both are Numeric type
The above given is the tables in SAP
if GrdPrice > 0 then the unit Price should be from Grade amount
Else unit price should be Grade Price
Also pls see my FMS Query
Regards
IF $[RPC1.U_GrdPrice] > 0
THEN $[RPC1.U_GrdPrice]
ELSE
$[RPC1.U_GrdAmt1]
End
SELECT
CASE WHEN $[$38.U_GrdPrice.Number] > 0
THEN $[$38.U_GrdPrice.Number]
ELSE $[$38.U_GrdAmt1.Number]
END as Price
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 query:
IF $[RPC1.U_GrdPrice]>0 THEN select $[RPC1.U_GrdPrice] ELSE select $[RPC1.U_GrdAmt1]
Kind regards
Agustín Marcos Cividanes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
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.