on 12-05-2017 1:17 PM
Hi experts
i had created a FMS to auto populate Next check Number in the Outgoing payment >> Payment means
According to the Bank is selected in Check option
Pls help to Resolve the issue
Regards
SELECT
CASE WHEN $[$3.Account] = $[$28.AcctNum]
THEN $[$3.NextCheck]
END as NextCheck
Hi,
For formatted searches, you should use one of these two types
$[TABLE.Field] or $[$ITEM.COLUMN.TYPE]
You are mixing both ways.
Here another similiar question
https://archive.sap.com/discussions/thread/778904
This, should help you, the Bank field mix Country and bank, I don`t know why, so I did this replace statement to be able to get the bank code.
You will need to have the manual field selected as well
SELECT NextChckNo FROM ODSC WHERE BankCode = REPLACE($[$28.2], rtrim($[$28.11]) + '^', '') AND CountryCod = rtrim($[$28.11])
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have no idea what you are trying to achieve with this query.
If you are in payment means form, I can`t find any item with ID = 3 on Check tab, besides you are getting the NextChckNo based on the NextChckNo? It doesn`t make sense.
Please, provide some screenshots explaining what you are trying to do
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.