Uploaded by Rajesh Lingadurai

SAP Synchronization: BAdI Implementation for Business Checks

advertisement
2019-06-07
2780288
2780288 - During synchronization, default BAdI
implementation called up in the direction
Customer/Supplier to Business partner to bypass the
business checks:
Version
Language
Priority
Release Status
Component
6
English
Correction with medium priority
Released for Customer
LO-MD-BP ( Business Partners )
Type
Master Language
Category
Released On
SAP Note
English
Program error
17.06.2019
Please find the original document at https://launchpad.support.sap.com/#/notes/ 2780288
Symptom
During synchronization from MDS_LOAD_COCKPIT, Business Partner would not get created if
Customer/Vendor has errors.
Other Terms
SUPPRESSION CHECKS, MDS_LOAD_COCKPIT, SYNCHRONIZATION,
CVI_UPGRADE_CHECK_RESOLVE
Reason and Prerequisites
Suppression of business checks during synchronization
Solution
Perform the following steps:
1. Implement the notes 2345087, 2344034 and 2749015 prior to the current note.
2. Perform the manual pre implementation steps.
3. Implement this note.
4. After implementation, perform the manual post-implementation steps.
During synchronization from MDS_LOAD_COCKPIT, there is default BAdI implementation
(CVI_CUSTOM_MAPPER) called up in the direction Customer/Supplier to Business partner, to bypass the
following checks:
•
•
•
•
•
•
•
Postal Code check
Address Regional check
Mandatory Field checks
Country- specific checks
Bank checks
Tax Jusrisdiction checks
Email checks
Note: Only the Mandatory check suppression is logged and can be viewed from CVI Synchronization.
© 2019 SAP SE or an SAP affiliate company. All rights reserved
1 of 7
2019-06-07
2780288
Note: By default the checks are enabled and unless the checks are disabled explicitly in the customizing
delivered for controlling the suppression checks
After Synchronization:
1. Go to se38 and execute the report CVI_UPGRADE_CHECK_RESOLVE.
For CVI_UPGRADE_CHECK_RESOLVE documentation, kindly look into SAP Note 2265093 >
BP_Conversion Document.PDF (attachment) > Appendix > CVI_UPGRADE_CHECK_RESOLVE.
2. Choose the radio button CVI Synchronization.
3. Once the synchronization is final, click the Complete button. This reverts the checks those were
suppressed during synchronization.
Note: You have to de-implement the BAdI using Note 2651202 to disable the suppression checks.
Manual Activities
-----------------------------------------------------------------------|Manual Pre-Implement. |
-----------------------------------------------------------------------|VALID FOR |
|Software Component SAP_APPL SAP Application |
| Release 600 All Support Package Levels |
| Release 602 All Support Package Levels |
| Release 603 All Support Package Levels |
| Release 604 All Support Package Levels |
| Release 605 All Support Package Levels |
| Release 606 All Support Package Levels |
| Release 616 All Support Package Levels |
| Release 617 All Support Package Levels |
| Release 618 Until SAPK-61812INSAPAPPL |
-----------------------------------------------------------------------Perform the following pre-implementation steps:
1. Call up transaction se80.
2. Choose Function Group from the value help.
3. Enter CVI_SUPPRESS_CHECKS in the drop down. If the function
group does not exist, a dialog box appears with the option to create a new function group.
Follow the instructions and create the function group with the description 'Suppress Checks'.
4. Save the function group in the package CVI_MAPPING.
5. Activate the newly created function group.
6. Call up transaction SM30
7. Give table/view name as "TPARA".
8. Click on Maintain.
9. Give Set/Get parameter ID as "MIG_CHECK" and give package as CVI_MAPPING.
10. Create the following DDICs
1) In the transaction SE11, create domains CVI_PRECHK_SUP_IND and CVI_PRECHK_SUP_TYPE with the
following attributes:
a) CVI_PRECHK_SUP_IND
Short Description Scenarios for Migration Precheck Run
Data Type CHAR
© 2019 SAP SE or an SAP affiliate company. All rights reserved
2 of 7
2019-06-07
2780288
No. Characters 1
Output Length 1
Package CVI_MAPPING
Value Range:
X = Suppress
= Dont Suppress
Save and activate.
b) CVI_PRECHK_SUP_TYPE
Short Description Suppression check type
Data Type CHAR
No. Characters 2
Output Length 2
Package CVI_MAPPING
Value Range:
01 = Country
02 = Region
03 = Postal Code
04 = Tax Jurisdiction
05 = Email
06 = Bank
Save and activate.
2) In the transaction SE11 create data elements CVI_PRECHK_SUP_IND and CVI_PRECHK_SUP_TYPE with
the following attributes:
a) CVI_PRECHK_SUP_IND
Short Description Suppression indicator: functional checks
Domain CVI_PRECHK_SUP_IND
Package CVI_MAPPING
Field Label:
Short 10 Sup. Ind.
Medium 15 Sup. Indicator
Long 30 Suppression Indicator
Heading 35 Suppression Indicator
Save and activate.
b) CVI_PRECHK_SUP_TYPE
Short Description: Functional checks need to be configured for suppressing
Domain CVI_PRECHK_SUP_TYPE
Package CVI_MAPPING
Field Label:
Short 10 Sup. Chk.
Medium 15 Sup. Check
Long 30 Suppression Check
Heading 35 Suppression Check
Save and activate.
3) In the transaction SE11, Create database table CVI_PRECHK_SUP with the following attributes:
a) Short Description Activate Suppression Checks
b) Delivery Class C
c) Fields:
Field name Data element Key field
MANDT MANDT Yes
CHECK_TYPE CVI_PRECHK_SUP_TYPE Yes
CHECKED CVI_PRECHK_SUP_IND No
d) Data class APPL2
e) Size category 0
f) Buffering Not Allowed
g) Enhancement category Cannot be enhanced
h) Package CVI_MAPPING
Save and activate.
4) Table maintenance generator:
a) Go to transaction SE11.
© 2019 SAP SE or an SAP affiliate company. All rights reserved
3 of 7
2019-06-07
2780288
b) Give Database Table name as "CVI_PRECHK_SUP".
c) Click on Display.
d) Click on the "Utilities" option and choose "Table Maintenance Generator".
e) Generate the maintenance view with following details.
Authorization Group &NC&
Function group FG_PRECHK_SUP
Package CVI_MAPPING
Maintenance type one step
Overview screen 1
f) Generate and Save.
g) In the maintenance screen "1" generated above for the maintenance view, In the "layout"
section, change the Heading to "Checks" and "Activate" respectively. Activate the same.
-----------------------------------------------------------------------|Manual Post-Implement. |
-----------------------------------------------------------------------|VALID FOR |
|Software Component SAP_APPL SAP Application |
| Release 600 All Support Package Levels |
| Release 602 All Support Package Levels |
| Release 603 All Support Package Levels |
| Release 604 All Support Package Levels |
| Release 605 All Support Package Levels |
| Release 606 All Support Package Levels |
| Release 616 All Support Package Levels |
| Release 617 All Support Package Levels |
| Release 618 Until SAPK-61812INSAPAPPL |
-----------------------------------------------------------------------1) Go to transaction SE54.
2) In the "Table/View" field type "CVI_PRECHK_SUP" and click on "Test".
3) Click on the "Maintain" button.
4) In the "Checks" column, add the following entries from the drop down one at a time and save
them sequentially
a. 01 Country
b. 02 Region
c. 03 Postal Code
d. 04 Tax Jurisdiction
e. 05 Email
f. 06 Bank
5) Leave the "Activate" checkbox empty as this should be maintained on a need basis by the
customer.
6) Save the entries.
To perform the below steps, it is mandatory to logon in DE(German) language.
Adding SPRO Node – Activate Field Check Suppression
1. Go to transaction SIMGH.
2. Select structure Customer Master/Vendor Master Integration.
3. Click on edit button and add node using button Insert Activity as Sub node.
4. On next screen, under IMG Activity, specify ID as CVI_PRECHK_SUP and Name as Activate
Field Check Suppression.
5. Under Assigned Objects, Click on Document tab and specify Document Class as SIMG and a
Document name as CVI_PRECHK_SUP.
6. Click on Create button. In the pop-up Document Editor screen, add the below content.
Activate Field Check Suppression
© 2019 SAP SE or an SAP affiliate company. All rights reserved
4 of 7
2019-06-07
2780288
(Note on setting the title style: Go to Styles and in the drop-down select U1 Heading(only for
F1 Doc!))
&Use&
Using this activity, you can activate suppression for field checks that you want to bypass,
during conversion of Customer/Vendor to Business Partner, while migrating to SAP S/4HANA.
&Standard settings&
There is a default BAdI implementation (CVI_CUSTOM_MAPPER) called up in the direction
Customer/Vendor to Business partner, to bypass the following checks:
• Postal code
• Tax jurisdiction
• Country
• Region
• E-Mail
• Bank
• Geo code
• Mandatory fields
&Activities&
Select the Activate check box against relevant field checks that you need to suppress.
Note: Keep the tags ‘&PRECONDITIONS&’ and ‘&EXAMPLE&’, as blank. Do not delete them.
Next, click on Save Active.
NOTE: the standard documentation will be delivered only with service packs.
7. Next, go to Attribute tab and specify ID as CVI_PRECHK_SUP and Name as Activate Field
Check Suppression.
8. Under Business Attributes section, specify ASAP Roadmap ID as 105 and select Optional
Activity and Uncritical options. Under Assigned Application Components table, maintain the
component as PAB0000028.
9. Next, go to Maint.Objects tab and specify ID as CVI_PRECHK_SUP and Name as Activate
Field Check Suppression.
10. On Assigned Object table, under Customizing Object column enter CVI_PRECHK_SUP, in Ty
column enter S and in Transaction column enter SM30.
11. Save everything.
Note: As an alternative, you can use transaction SM30 to edit the entries of table
CVI_PRECHK_SUP.
Software Components
Software Component
© 2019 SAP SE or an SAP affiliate company. All rights reserved
Release
5 of 7
2019-06-07
2780288
SAP_APPL
600 - 600
SAP_APPL
602 - 602
SAP_APPL
603 - 603
SAP_APPL
604 - 604
SAP_APPL
605 - 605
SAP_APPL
606 - 606
SAP_APPL
616 - 616
SAP_APPL
617 - 617
SAP_APPL
618 - 618
S4CORE
100 - 100
Correction Instructions
Software Component
From
To
Version
Changed on
ID
SAP_APPL
600
618
3
22.04.2019 12:31:54
0000529183
SAP_APPL
600
618
2
22.04.2019 11:58:06
0000529187
Prerequisites
Software
Component
SAP_APPL
From
600
To
618
SAP
Note/KBA
2780288
Title
Component
During synchronization, default BAdI
implementation called up in the direction
Customer/Supplie
r to Business partner to bypass the business
checks:
LO-MD-BP
Support Package
Software Component
SAP_APPL
Release
618
Support Package
SAPK-61813INSAPAPPL
© 2019 SAP SE or an SAP affiliate company. All rights reserved
6 of 7
2019-06-07
2780288
This document refers to
SAP Note/KBA
2344034
Title
SAP S/4HANA Automation for Master Data Migration
This document is referenced by
SAP Note/KBA
2265093
Title
S4TWL - Business Partner Approach
© 2019 SAP SE or an SAP affiliate company. All rights reserved
7 of 7
Download