cancel
Showing results for 
Search instead for 
Did you mean: 

Need to read Substitution object in BYD

Rudhra
Participant
0 Kudos

Hi All,

Need to Read the Substitution BO, can any one help me what is the BO name.

Scenario

we have Custom BO with two fields target employee and created employee. for the same BO we have created two OWL screen for target employee and created employee.

Target employee OWL shows records if logon employee and target person are same by field transformation in controller area.

Created Employee OWL shows records if logon employee and created person are same by Access control action.

Now there is an process Substitution, for example if john is substitution for the Thomas then,

if John logon to the system he need to see the Thomas records in the Target Employee OWL view,

for this we need to read the substitution can anyone help how to read the substitution BO or any other work around

regards

Rudhra

Accepted Solutions (1)

Accepted Solutions (1)

anant_acharya
Advisor
Advisor
0 Kudos

Dear Rudra,

I see that you have already created an incident for this. As explained please use the below API which is PSM enabled to achieve your scenario.

You should implement the code like,
EmployeeSubstitutions.GetFullScopeSubstitutions( input parameters )
Please find the attachment for your reference.

employee-substitutions.png

Regard

Anant

Rudhra
Participant
0 Kudos

Dear Anant,

Yes i got the answer from the SAP 🙂 the same you mentioned.

Regards

Rudhra

Answers (2)

Answers (2)

anant_acharya
Advisor
Advisor
0 Kudos

Dear Rudra,

Business Object name is EMPLOYEE_SUBSTITUTIONS.

This cannot be found in Repository View as this BO is not PSM enabled.( Read or Write).

NOTE ->

If you can create an incident with PSM request for this BO with your business use case, we check with our application development team about the feasibility.

Regard

Anant

former_member186648
Active Contributor
0 Kudos

Hi Rudhra,

Find the UI path: https://blogs.sap.com/2016/05/25/how-toknow-ui-path-configuration-explorer-path/
Go to UI designer and find the BO.

Thanks, Pradeep.

Rudhra
Participant
0 Kudos

Hi Pradeep,

Im working on SAP Bydesign and this option is not available for it.

In the help developer information is not available.

Regards

Rudhra