cancel
Showing results for 
Search instead for 
Did you mean: 

How do I retrieve Associated Employee in custom script in SAP Cloud studio ?

nsetab
Explorer
0 Kudos
75

I have created a Business object and one of the elements is an association to Employee  : -

[Label("EmployeeID")] element EmployeeID : EmployeeID;
association ToEmployee to Employee;

So I am not able to retrieve the employee in my custom script using the below code : -

var retrieveEmployee=BusinessPartner.Retrieve(this.ToEmployee.UUID);

The error is UUID does not exist.

Help. 

 

Accepted Solutions (0)

Answers (0)