Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BRFplus problem in comparing two currency fields

Former Member
0 Likes
498

Hi Experts,

We are facing prolem in comparing two decimal values in BRFplus rule.

The requirement is to compare two decimal fields. field1 is type of decimal 23(element type: EKGPR_BAPI), Field 2 is with the type of DECIMAL 23(element type :ENDPR_BAPI).

the rule used is given below,

For Ex:

IF endpr GREATER THAN endpr_bapi

THEN startdate = 02.02.2012 (any date)

when we run from BRF+ that time the comparion happening properly and the result field STARTDATE is updated with the given date.

But when we call BRF+ in function module enhancement, that time the field STRTDATE is not updated with the value. i doubt that the comparision is not happening properly. STARTDATE is just '00000000' after the BRFPLUS call.

We are using NW7.2. is ther any note or workaround to complete this scenario. pls let me know.

Thanks,

Kavitha

2 REPLIES 2
Read only

paul_bakker2
Active Contributor
0 Likes
365

Hi,

It sounds like your function module is not passing the ENDPR dates to BRFPlus. Can you debug into BRFPlus?

Otherwise, maybe you could try the BRFPlus forum?

cheers

Paul B

Read only

Former Member
0 Likes
365

Thanks for your response.

Yup, we have opened one more for same in BRFPLUS.