Skip to Content
0

Problems in the first steps with SAP Applications Studio

Nov 21, 2017 at 09:11 AM

38

avatar image
Former Member

I'm trying to do a simple task: - I've created a new BO and I'm trying to add some simple logic like in https://www.youtube.com/watch?v=ApmmzBs2H_E&t=259s This is my BO definition:

but, when I go to the generated script file and type "this.", I can't see my bo fields (elements):

Do you know where is my mistake?

Thanks in advance!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Nathanael Mangold Nov 21, 2017 at 10:36 AM
2

Hello,

I think it has to do with the fact the script is Mass Enabled. So if you want to access your BO you need to specify which instance of it you want to access:

(If there is only one)
this.GetFirst().Key = ...


(If there is more than one)
foreach (var IC in this){
    IC.Key = ...
}

Kindest Regards

N.Mangold

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

Thank you very much!!!

0