cancel
Showing results for 
Search instead for 
Did you mean: 

Reading signeddata in script logic BPC NW 10.1

Former Member
0 Kudos

Hello experts,

I'm working on BPC NW 10.1 SP 11.

I would want to know if it is possible to read the signeddata/amount in script logic. My purpose is, if certain account (AST) has a signeddata < 0 (credit balance), then write in another account (LEQ) and delete the original account.

I managed this once, but it was with BPC MS 7.5. There I had:

7.5 MS

However, the same logic in NW is causing me problems. This is my current script:

10.1 NW

I tested with "AMOUNT" instead "SIGNEDDATA", but nothing.

One curious point is that the error appears in row 9, not in the row 8.

Now I am not sure that this point could be possible with NW version.

I would appreciate your help!

Kind regards,

Manu

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor

Script logic in BPC NW is significantly different compared to BPC MS.

You can't use when signeddata is... - not supported!

But you can use ternary operator in REC. Please search "Vadim ternary". I have explained it number of times.

Former Member
0 Kudos

Hello Vadim,

I found your documentation and I managed it.

Now, I have another doubt related with the same script with the use of *SELECT. I am going to create a new post with this discussion.

Thank you so much, once again.

Kind regards,

Manu

former_member186338
Active Contributor
0 Kudos

OK, please also read https://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues/

It's better to concentrate on the logic you want to achieve, not on the code...

Former Member
0 Kudos

Okay Vadim, understood.

Thanks.

Manu

Answers (0)