Ansicht
Dokumentation

SIMG_SSR_0148 - Business add-in for retail network margin report

SIMG_SSR_0148 - Business add-in for retail network margin report

General Material Data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

The business add-in OIRI_MARGIN_CALC_REP allows you to customize the retail network margin report.

  • CALCULATE_MARGINS allows you to specify all the elements used in the calculation of the margin values. For each element you need to specify the sign, the descriptive text and the source field.
  • DETERMINE_REL_MRGN_BASIS allows you to specify the calculation basis used for calculation of 'relative' margins.
    Example: If you always want to display the margin per 100 liters, you would have only one line of coding in this exit:
    e_basis = 100.
  • DETERMINE_MARGIN_NAMES allows you to write over the names of the four supported margin fields with your own names. If you do not implement this exit, the names are MARGIN 1, MARGIN 2, etc.
  • DETERMINE_MATNR_COL_ASSGNMNT allows you to fix the assignment of materials to columns in the margin calcualtion screen of the report. If this exit is not implemented, the system would always take the first ten material numbers found in the reporting data, and assign them to the columns.
  • FORMAT_MARGIN_SCREEN allows you to influence the margin screen output table.
  • DETERMINE_STRUCTURE_NAME allows you to specify an LIS structure name different from structure S412 which is used per default. The table you specify here as export parameter E_STRUCTURE needs to have the same structure as S412 however the data aggregation over time can differ. In S412 you might hold the data on a daily level. In an own created LIS structure you might have the data monthly aggregated, copied over from S412 via the LIS copy management after the data reached a certain age. In this method therefore you can decide which LIS structure to select from based on the entered selection period.

Examine the example implementation OIRI_MRGN_CALC_01.






rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2094 Date: 20240523 Time: 154105     sap01-206 ( 47 ms )