0% found this document useful (0 votes)
461 views

BAPI - BUS2054 - CREATE - MULTI - Populating Custom Fields PDF

Uploaded by

José Robles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
461 views

BAPI - BUS2054 - CREATE - MULTI - Populating Custom Fields PDF

Uploaded by

José Robles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 58

Mickael QUESNOT ©

SAP S/4HANA FIORI On premise 2021

BAPI_BUS2054_CREATE_MULTI - Populating custom


fields in Migration cockpit

Extending the Migration Cockpit WBS Element Object with EXTENSIONIN

1.1 Introduction

The requirement is to mass load new WBS Element. The SAP S/4 Migration Cockpit is being
used; however, the WBS Element migration object does not include the Customer
Enhancement to WBS Element (CI_PRPS).

CJ20N

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
1
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
2
Mickael QUESNOT ©

SE11

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
3
Mickael QUESNOT ©

WBS_ELEMENT 1 Types PS_POSID CHAR 24 0 0 Work


Breakdown Structure Element (WBS Element)

.INCLUDE 1 Types CI_PRPS 0 0 0 PRPS


ENHANCEMENT

ZZAKSTL 1 Types PS_AKSTL CHAR 10 0 0 Requesting cost


center

ZZABUKR 1 Types IM_ABUKRS CHAR 4 0 0 Requesting


company code

This tutorial will show step-by-step how to extend the standard-delivered Customer
Enhancement to WBS Element migration object in the SAP S/4HANA Migration Cockpit to
handle the Customer Enhancement fields.

Areas of focus will be:


• LTMOM (Migration Object Modeler)
• Migrate your data app

1.2 Intended Audience:


Data Migration Analyst

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
4
Mickael QUESNOT ©

No ABAP Programmer required

1.3 System Setup:


Tutorial is based on the following system: On-premise SAP S/4HANA 2021.

1.4 Steps:

LTMOM

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
5
Mickael QUESNOT ©

Select the migration object “WBS”

Double-click on Source Structures

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
6
Mickael QUESNOT ©

Note: The default names on “Source Structures” shows the structure descriptions, and not
the technical names like shown above. If you want to switch between descriptions and
technical names, then click on Settings > Technical Names On/Off

Click on the Display<->Change button to switch from Display to Change mode

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
7
Mickael QUESNOT ©

Right-click on S_* and then select “Append Structure to Lower Level”

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
8
Mickael QUESNOT ©

Add a Name and Description for the structure

Click on the Continue button

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
9
Mickael QUESNOT ©

Structure gets added

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
10
Mickael QUESNOT ©

Add rows to the structure by clicking on the “Add Field

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
11
Mickael QUESNOT ©

Result shown below

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
12
Mickael QUESNOT ©

Why rows?

Map BAPI_TE_WBS_ELEMENT <> BAPIPAREX

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
13
Mickael QUESNOT ©

Result shown below

Select the field of the S_EXTENSIONIN structure

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
14
Mickael QUESNOT ©

Click on the “Foreign key relationship” button

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
15
Mickael QUESNOT ©

Click on the drop-down list on the “Field of Check Table or Literal” field, and select *

This creates a link between S_*and S_EXTENSIONIN

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
16
Mickael QUESNOT ©

No action needed on the STRUCTURE field

Click on the Continue button

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
17
Mickael QUESNOT ©

No changes are needed to the Target Structures because EXTENSIONIN already exists

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
18
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
19
Mickael QUESNOT ©

Double-click on Structure Mapping

Drag the S_EXTENSIONIN Source Structure to the EXTENSIONIN Target Structure


Before

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
20
Mickael QUESNOT ©

After

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
21
Mickael QUESNOT ©

Double-click on Field Mapping

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
22
Mickael QUESNOT ©

Map source fields WBS, STRUCTURE, and VALUEAPART1 of S_EXTENSIONIN to the target
fields of EXTENSIONIN. Note: VALUEPART1 will be sufficient for the three SOM fields

Result

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
23
Mickael QUESNOT ©

Click on the “Generate Runtime Object” button

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
24
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
25
Mickael QUESNOT ©

The Migration Object Modeler (LTMOM) work is complete. Great job! You can proceed the
app Migrate your data.

Run app Migrate your data

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
26
Mickael QUESNOT ©

Open the project

Find the WBS object, and click the “Download Template” button

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
27
Mickael QUESNOT ©

Open the file in Excel

Notice there is now an EXTENSIONIN tab

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
28
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
29
Mickael QUESNOT ©

Populate the Basic Data, Maintenance Status Setting, and Structure for Extensionin tabs

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
30
Mickael QUESNOT ©

A few things to note on the Extensionin tab:


• Last Column has the concatenated values for WBS_ELEMENT, ZZAKSTL, ZZABUKR.
These fields take a total of 38 characters.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
31
Mickael QUESNOT ©

• CHAR 24, CHAR 10, and CHAR 4, respectively. The values for those fields must start in
the correct position.
o WBS_ELEMENT – Position 1
o ZZAKSTL – Position +24
o ZZABUKR – Position +34

Save the file

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
32
Mickael QUESNOT ©

Return to the Migration Cockpit

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
33
Mickael QUESNOT ©

Click on Upload File

Provide the file location and a description to be shown in the Migration Cockpit

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
34
Mickael QUESNOT ©

Click on the Upload button

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
35
Mickael QUESNOT ©

Select the file in the list of Source Files

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
36
Mickael QUESNOT ©

Review the notifications from the Validate Data step

If errors appear, then correct data and re-load; else, click Next to continue to the Convert
Values step.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
37
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
38
Mickael QUESNOT ©

Prepare

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
39
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
40
Mickael QUESNOT ©

On the Convert Values step, confirm the mapping values and click Next to run Simulate
Import.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
41
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
42
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
43
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
44
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
45
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
46
Mickael QUESNOT ©

Review the notifications from the Simulate Import step

If errors appear, then correct data and re-load; else, click Next to continue to the Execute
Import step.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
47
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
48
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
49
Mickael QUESNOT ©

Reload

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
50
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
51
Mickael QUESNOT ©

On the Migration Project screen, select the relevant migration object and choose the
action Migrate. The system will migrate the migration object instances in the staging tables
for the migration object. Note that any instances that have already been migrated will not be
migrated again.
Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
52
Mickael QUESNOT ©

You can also migrate specific migration object instances. You can do this on the Migration
Object Instances screen by selecting the relevant migration object instances and choosing
the Migrate button.

On the Monitoring screen, you can cancel the migration process. Under Activities, select the
relevant activity, for example Migrate Data. In the Options field, you can then choose the
option Cancel.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
53
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
54
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
55
Mickael QUESNOT ©

Result

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
56
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
57
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
58

You might also like