cancel
Showing results for 
Search instead for 
Did you mean: 

Problems in the first steps with SAP Applications Studio

ferspk1
Participant
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

nmangold
Explorer

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

ferspk1
Participant
0 Kudos

Thank you very much!!!

Answers (0)