0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【検証】SAP S/4HANA Cloud環境構築|ユーザ作成&環境アクセス編 #2

Posted at

前回の記事:【検証】SAP S/4HANA Cloud環境構築|テスト/デモ/開発環境準備編 #1
https://qiita.com/96sapbasis/items/657302f4e042a7242354

今回の目次

image.png

https://go.support.sap.com/roadmapviewer/#group/658F507A-D6F5-4B78-9EE1-0300C5F1E40F/roadmap/82b2db84548d41209cda972f0fac428b:FA163ED752201EDABFE83D133CFCBD51/node/FA163ED752201EDB9CA4E1818FCF5BB0/
主に上記の内容でロードマップの内容で進めていきます。

ユーザ管理。これが頭に入っていると理解しやすいです。

image.png

SAP Central Business Configuration テナントへのアクセス

image.png
https://help.sap.com/docs/CENTRAL_BUSINESS_CONFIGURATION/3c391b7b79604a608e02d4914f6b1fbf/ad6cf3b8f6054d778a7f40d7f19440f0.html?locale=en-US

ロードマップ内から手順書に飛び、初期ユーザ作成を進めていきます。

Initial User Account Setup -> Creating Business Users and Providing Access Rights

SAP Cloud Identity Servicesにアクセス

image.png

ユーザ作成です。
この際にログインネームは必須になっていないですが、設定しないと後々でエラーになってnoteを探す羽目になるのでログインネームも入力しておきましょう。

image.png

ユーザ有効化メール

image.png

メールが飛んできますのでボタンクリックして有効化。ログイン情報を入れていきます。

image.png

ユーザに権限(SAP_CBC_CONSUMPTION_PROJECT_LEAD)を追加

image.png

image.png

パット見、ALLがついている「SAP_CBC_CONSUMPTION_ACTIVITY_ALL」追加したくなりますが、下記のように書かれています。

We recommend that new customers do not use this role. Both project manager roles have the same authorizations, but the SAP_CBC_CONSUMPTION_PROJECT_LEAD role follows the new naming convention.

翻訳:新規の顧客はこのロールを使用しないことを推奨します。どちらのプロジェクト・マネージャ・ロールにも同じ権限がありますが、SAP_CBC_CONSUMPTION_PROJECT_LEAD ロールは新しい命名規則に従います。

廃止されるロールのため、SAP_CBC_CONSUMPTION_PROJECT_LEADを追加しておきましょう。

image.png

Running Jobs for User Provisioning

Choose Source Systems.

image.png

Open the enabled Identity Authentication system. The name starts with IAS-*.

IAS始まりのシステムを選択します。
image.png

As Job Type, select Read Job and choose Run Now.

image.png

エラー発生(原因はログインネームの設定不足)

上述したログインネームの設定不足によるエラーです。必須項目でもないため、設定時はスキップしていました。
エラーログ調査のスキルが身についたのである意味よかったです。

user:PXXXXXX, system=CBC - - target, time=XXX error=com.sap.security.iag.provisioning.mapping.exceptions.InvalidJsonContentException: Source path: $.userName is not available in content, but is required in defined system transformation Caused by: com.sap.security.iag.provisioning.mapping.MandatorySourcePathNotFoundException: Source path: $.userName is not available in content, but is required in defined system transformation Caused by: com.jayway.jsonpath.PathNotFoundException: No results for path: $['userName'], content= - Set property ips.trace.failed.entity.content=true to display the content of failed entities

3367157 - Identity Provisioning fails with error "Source path: $.userName is not available in content, but is required in defined system transformation" when adding a user to Identity Authentication tenant

設定後エラー解消

image.png

Periodic User Account Setup -> Checking the Subject Name Identifier for the Logon

Choose the application created for SAP Central Business Configuration.

image.png

Type the name of the application in the search field to filter the list items, or choose the application from the list on the left. The name of the application created for SAP Central Business Configuration, starts with XSUAA*.

と書かれているのでXSUAA始まりのものを選択

In the Basic Configuration section, in the Select a basic attribute field, ensure that Login Name is set.

ログインネームは既に設定されており、特に修正するものはありませんでした。初期設定のまま
image.png

Running Jobs for Pushing Roles

これは特にエラーなく、成功しました。
image.png

参考文献

S/4HANA Cloud Public Edition 向け SAP Activate (3 システムランドスケープ)

User Authentication in SAP Central Business Configuration
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/user-authentication-in-sap-central-business-configuration/ba-p/13519066

S/4HANA Cloud 3SL onboarding and initial system set-up series
https://community.sap.com/t5/technology-blogs-by-sap/s-4hana-cloud-3sl-onboarding-and-initial-system-set-up-series/ba-p/13579789

S/4HANA Cloud 社内向け学習環境構築記
https://note.shiftinc.jp/n/n1886dba7d55e

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?