Skip to Content

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

Need help in validating the script logic

Hi,

Currently we are working on NW BPC 10.0

I need a help in modifying my script logic. Below code is my current script logic.

My requirement is:


From the above screen shot,

if TOT_COMP_YTD<FUT_LIMIT then TOT_COMP*FUT_RATE should be done

if TOT_COMP_YTD>FUT_LIMIT then subtract current month FUT_LIMIT with previous month TOT_COMP_YTD(only   for first occurrence of                                                                                                                              TOT_COMP_YTD>FUT_LIMIT, remaining all should be ZEROs)

I have changed my script as below and executed in UJKT, but I am getting some validation error.

Can anybody help me how to achieve this.

Regards

Anitha

replied

It is working.. I forgot to put braces.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question