Skip to Content
0

Reading signeddata in script logic BPC NW 10.1

Jun 01, 2017 at 09:35 AM

162

avatar image
Former Member

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

script-ms-75.png (10.3 kB)
script-nw-101.png (20.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vadim Kalinin Jun 01, 2017 at 04:13 PM
1

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.

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0

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...

0
Former Member
Vadim Kalinin

Okay Vadim, understood.

Thanks.

Manu

0