-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi Piers,
I am facing a new challenge while using RSAPInvoke.
I want to pass multiple parameters filter with it. The code works fine with single parameters, but not with multiple parameters.
library(RSAP)
con <- RSAPConnect(ashost="-----",sysnr="13",client="600",user="----",passwd="----",lang="EN", trace="1", lcheck="1")
parms <- list(W_SDATE = '20181101', W_EDATE = '20181129', W_MATKL = 'APTC')
data <- RSAPInvoke(con, "YSD_ZSDSR2N_RFC", parms)
Now I want to pass multiple filter for W_MATKL like 'APTC' and 'GATC'. Now the result I am getting for 'GATC' only, or 'APTC' only if I put it second position.
parms <- list(W_SDATE = '20181101', W_EDATE = '20181129', W_MATKL = c('APTC','GATC'))
I did it by running the code twice with changing the filter parameter, but I want to do it at a single go.
Please help how to do it.
Regards,
Sumanta Das
Metadata
Metadata
Assignees
Labels
No labels