cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BO Automation Framework - Change Owner

former_member341172
Participant

Hi Experts,

I am getting an error when trying to change the owner of the BO WebI document using the automation framework.

IDs:

  1. CSV Dokument ID on SAP BO: 748038
  2. Owner User ID: 7158
  3. Report si_id=723274

Steps taken to create the AF scenario:

  • Created a csv file with one column - ownerid

  • Uploaded the following file on SAP BI Platform (Documents/Folders)
  • Chose a standard workflow "Change Document Owner" and create a task with the following specifications:

SAP BO 4.2 SP 05 (no patches)

OS: Red Hat Enterprise Linux Server release 6.8 (Santiago)

Do you have any ideas how to solve this issue?

Thank you in advance,

Vytautas Thienel

Accepted Solutions (1)

Accepted Solutions (1)

vamshidharmitta
Employee
Employee

Hi,

This standard workflow template use case is little different. It includes a query to get the info objects and then we change property of the objects.

For a simple task of changing owner ship of a document, try to create a custom workflow template using standard templates and then execute the scenario.

Custom workflow template: Logon->Get Properties->Set Properties-Logout.

In the above choose the landscape as a input for Logon, For Get Properties just select the info objects(Documents from using Repository Explorer, And For Set Properties again select same info objects or type @ and select previous component as input and for Property&Value field provide input as "ownerid;10838" where 10838 is id of the new owner.

Execute this scenario and ownership of documents will get changed.(Here to 10838)

Thanks,

Vamshidhar

former_member341172
Participant
0 Kudos

Hi vamshidhar.mitta ,

Thank you very much for the quick and very detailed answer. The solution works fine.

Do you know how to change the report author (SI_AUTHOR from ci_infoobjects) or last modified by, etc?

Best regards,

Vytautas

former_member341172
Participant
0 Kudos
vamshidharmitta
Employee
Employee
0 Kudos

Hi Vytautas,

Not all properties can be changed using this Task. There are some restrictions on what all can be modified using set properties Task template.

User always have an option to write his own Custom task templates. Please refer to :https://blogs.sap.com/2017/12/08/how-to-create-a-custom-task-template-for-bi-automation-framework/


Thanks,

Vamshidhar

Answers (0)