Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with FACTOR in *REC statement

Hi all,

I am trying to get this bit of script logic to work

*WHEN ACCDETAIL
*IS NON_FLOW                                                                                
*WHEN CONSOLVIEW
*IS LC                                                                                
*WHEN ACCOUNTL.RATETYPE
*IS END

*REC(FACTOR=0.6,ACCDETAIL=F_CLO_INTCO,ACCOUNTL=ACCOUNTL.PMATCH_ACCOUNT,CONSOLVIEW=EUR,ENTITY=INTCO.ENTITY,INTCO=ENTITY.INTCO)

*ENDWHEN

*ENDWHEN

*ENDWHEN

The problem is the factor. I can use any numeric value with no decimals (i.e. 1 or 2 or 20) and it works fine. If I try 0.6 as above, the calculation returns a 0 (as if the factor was 0) and if I try 0,6 the script won't validate. I also tried (0,6) which let me validate the script but also returned a calculated value of zero.

Surely there must be a way to use decimals in a factor.

Thanks,

Arnold

Former Member
Not what you were looking for? View more on this topic or Ask a question