Fiori Client Copies Un-assign Alias - SAP

12
EXTERNAL Jorge “Javier” Baltazar November 2017 Fiori Client Copies Un-assign Alias

Transcript of Fiori Client Copies Un-assign Alias - SAP

EXTERNAL

Jorge “Javier” Baltazar November 2017

Fiori Client CopiesUn-assign Alias

2EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyUn-assign Alias

Challenges:

▪ Once Fiori Client Copy has finished a manual deletion of system alias assignments needs to be executed.

o Currently this means the user must execute transaction “/IWFND/MAINT_SERVICE” and manually delete the assignments one by one.

▪ Accelerate Fiori Client Copy Post-processing steps.

▪ Fiori Administrators often need to maintain multiple OData assignments. This is currently done manually.

Solution:

▪ Create custom program based on standard:

o INCLUDE /IWFND/R_MGW_REGISTRATION_F01 Form UNASSIGN_SYSTEM_ALIAS

▪ Add logging capabilities (not included in standard)

▪ Offers 4 options:

o Delete single assignments

o Delete all assignments related to system alias

o Replace assignments

o Download list of active services

• Tested in S/4HANA 1709, 1610, 1511

3EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyUn-assign Alias

Run program ZFIO_CLNTCPY_ODATA_UNASGN_NEW

Define “unassign” criteria

✓ Delete single assignments

✓ Delete all assignments by system alias

✓ Replace alias assignment

✓ Download list of active services

4EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyDelete Single Assignments

Select OData services

▪ Select Single Values Multiple Selection

Define System Alias to be unassigned

▪ Use “*” (Search for all available aliases and attempt to delete from

service)

▪ Define system alias name (1:1 relationship for deletion)

Run program and verify log

▪ Log is saved in transaction SLG1

5EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyDelete all assignments by system alias

Identify services assigned to alias. Use:

▪ Transaction: /IWFND/MAINT_SERVICE

▪ Table: /IWFND/C_MGDEAM

▪ Download list of active services

Enter System Alias to be unassigned

▪ Activate checkbox “Delete for selected alias”

▪ Enter Transport Request

Run program and verify log

▪ Log is saved in transaction SLG1

6EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyReplace System Alias Assignment

Identify services assigned to alias. Use:

▪ Transaction: /IWFND/MAINT_SERVICE

▪ Table: /IWFND/C_MGDEAM

▪ Download list of active services

Replace system alias

▪ Enter current system alias

▪ Enter replacing system alias

▪ Enter Transport Request

▪ Activate checkbox “Delete for selected alias”

Run program and verify log

▪ Log is saved in transaction SLG1

7EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyDownload List of Active Services

Activate checkbox “Download List”

▪ Select Download Folder

▪ File name is set automatically

▪ Download file (filename will include date and time of download)

8EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyDownload List of Active Services

Analyze file contents

▪ ID : In this column you will find the technical name of the service

▪ S : In this column you will find the status flag of the service ”active”

(A) or “inactive” (I)

▪ Alias : In this column you will find the name of the system alias

assigned to the service

▪ Act_Method : In this column you will find details on how the

service was activated: entries

“/IWFND/CL_MGW_ACTIVATION_API” mean activation was done

via Task List; entries “/IWFND/MAINT_SERVICE” mean activation

was done via transaction.

In some cases you may find an active service without a system

alias assignment, this may be caused by a manual or

programmatical (with this program) system alias un-assignment

9EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyEnsure Consistency

Compare results against

transaction

/IWFND/MAINT_SERVICE

10EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fiori Client CopyInstallation

To easily install the program, try cloning the repository using ABAPGit.

Repository: https://github.com/javs1287/zfio_odata_unassign

*Forks and comments are always welcome

Jorge “Javier” Baltazar Vázquez

Enjoy!

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components

of other software vendors. National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated

companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are

set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release

any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products,

and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The

information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various

risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements,

and they should not be relied upon in making purchasing decisions.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company)

in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies.

See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

© 2017 SAP SE or an SAP affiliate company. All rights reserved.