Skip to Content
avatar image
Former Member

Problems in the first steps with SAP Applications Studio

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 21, 2017 at 10:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded