Ansicht
Dokumentation

HRPAYAT_SV_287 - BAdI: mBGM Target Generator/SI Notifications

HRPAYAT_SV_287 - BAdI: mBGM Target Generator/SI Notifications

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

You can use the Business-Add-In 'mBGM Target Generator/SI Notifications' to override various information. There are several methods available for this, which are described in more detail in the following.

This BAdI is filter-dependent. You need to define the filter value when implementing the BAdI. Possible filter values:

  • MBGA - mBGM in the DM org. environment
  • MBGB - mBGM in the DB org. environment
  • I367 - for master data (infotype SI Notifications A (3670))

The BAdI interface uses the following methods:

  • Method FILL_INF12 -
    You use this method to fill the information fields INF1 and INF2 according to your requirements.
  • Method FILL_GRP_PKT_DTA - T5A75/6-SOLL / T5A1O_ELDA - GRP_PKT_DTA
The changing parameter CH_DTRID Data Medium Groupingof the method FILL_GRP_PKT_DTA controls the
  • granularity of the ELDA data medium
    This enables you to specify that or how ELDA records are grouped by certain organizational features in the ELDA dataset and ensure that the data records of the individual corporate entities are transferred to separate ELDA data mediums.

  • Information in the lead record of the ELDA data medium
    By grouping data mediums, you specify what the information is to look like in the lead record of the ELDA data medium. By grouping data mediums, table T5A1O_DTRID is accessed; report variants are now stored here, from which the contents of the individual lead record fields (for example, manufacturer name / company name of the reporting authority) are derived.

The changing parameter CH_GRP_PKT_DTA Package Grouping of method FILL_GRP_PKT_DTA enables a larger mBGM package to be split into smaller mBGM packages.
mBGMs are modelled as a hierarchical structure in the ELDA dataset, whereby the mBGM package forms the logical bracket across all following mBGMs. An mBGM package is defined by a contribution account number and a contribution period. If one of these criteria changes, this marks the start of a new package, which results in mBGM packages having the potential to become very large.
  • Method VP_BEITRAG_TOL(tolerance value between wage types and pay scale contribution in the clearing item of an mBGM (default setting 2 cents))
    You can use the method to increase the tolerance value between wage types and pay scale contribution from the default value of 2 cents to 3 cents, for example.
  • Method SPLIT_STRAS_HSNMR_FLOOR (split into street, house number, floor)
    You can use this method to adjust the formatting of certain address fields (street, house number, floor) to meet ELDA specifications.
    The screen for IT0006 contains one field for street and house number, however, more than one field is intended for the transfer to ELDA (street, house number, floor).

In the standard SAP system, the free information fields and the groupings are not filled.

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.

The tolerance value between wage types and pay scale contribution is 2 cents according to the default setting. You want to increase the tolerance value between wage types and pay scale contribution from the standard value of 2 cents to 3 cents.






CPI1466 during Backup   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 5973 Date: 20240523 Time: 203504     sap01-206 ( 93 ms )