Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

AMDP ranges and normal operators in where clause?

$
0
0


Hi,

 

I creating a AMDP in order to utilize the ROW_NUMBER function.

 

My "base" sql that I need in the AMDP is shown below. As you see will MATERIAL and /BIC/TRADE_ID have to be replaced by ranges (it is just example values that are shown). As well are there constant values for BILL_TPE and DOC_TYPE. For DATEFROM, DATETO and BILL_DATE will I have to se >= and <= opererators - the date is not fixed and will set on basis of a variable that I pass to the AMDP class.

 

Will that be possible in a AMDP? As off now I have done as you see below - I expect that will work for the range and constant value, but how about dates, how do I get that as part of the where clause as well?:

 

where_clause.PNG

 

The "base" sql that has to be executed in the AMDP where trade id and material has to be replaced by ranges and datefrom, dateto and bill_date has to be replaced by a variable.

 

amdp_sql.PNG

Thanks in advance.

KR

Torben


Viewing all articles
Browse latest Browse all 3280

Trending Articles