SAP Reports / Programs | Sales and Distribution | Master Data | Conditions(SD-MD-CM) SAP SD

MV13AF0P SAP ABAP INCLUDE - documentation and ABAP source code







MV13AF0P is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MV13AF0P into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MV13AF0P. "Basic submit
SUBMIT MV13AF0P AND RETURN. "Return to original report after report execution complete
SUBMIT MV13AF0P VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MV13AF0P

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = SY-DATLO FOREIGN_AMOUNT = RV13A-KBETRAE FOREIGN_CURRENCY = RV13A-KONWAAE LOCAL_CURRENCY = XKONP-KONWA IMPORTING LOCAL_AMOUNT = MERK_KBETR EXCEPTIONS NO_RATE_FOUND = 4.

SD_RATES_MASS_CHG_FILL CALL FUNCTION 'SD_RATES_MASS_CHG_FILL' EXPORTING I_KONP = XKONP CHANGING C_RATES_MODIFY = COPY_STAF[] C_DONE = L_DONE.

SD_RATES_MASS_CHG_UPD CALL FUNCTION 'SD_RATES_MASS_CHG_UPD' CHANGING C_RATES_MODIFY = COPY_STAF[].

SD_RATES_MASS_CHG_END CALL FUNCTION 'SD_RATES_MASS_CHG_END' EXPORTING I_STAFFEL_OK = STAFFEL_OK.

RV_CHECK_CONDITION_VALUE CALL FUNCTION 'RV_CHECK_CONDITION_VALUE' EXPORTING CHECK_KRECH = KONP-KRECH CHECK_VALUE = TS_KBETR CHECK_CURRENCY = KONP-KONWA CHECK_PRICE_QUANTITY = KONP-KPEIN CHECK_QUANTITY_UNIT = KONP-KMEIN ONLY_NEGATIVE = SPACE(1) CONDITION_CLASS = T685A-KOAID CONDITION = *KONP PRODUCT = KOMG-MATNR BASIC_QUANTITY_UNIT = KONP-MEINS IMPORTING CHECK_VALUE = TS_KBETR EXCEPTIONS LOWER_LIMIT_RECORD = 01 LOWER_LIMIT_TYPE = 02 NEGATIVE_PRICE = 03 UPPER_LIMIT_RECORD = 04 UPPER_LIMIT_TYPE = 05.

RV_INCLUDE_CHECK CALL FUNCTION 'RV_INCLUDE_CHECK' EXPORTING HGRPNO = RV13A-KRUND HGRPZE = 'PRUN' EXCEPTIONS NO_INCLUDE = 04.

RV_HELP_TVCPT CALL FUNCTION 'RV_HELP_TVCPT' EXPORTING HGRPZE = 'PRUN' HSYPFKEY = SY-PFKEY IMPORTING HTABWA = HT_WA.

ME_CHECK_POINTS CALL FUNCTION 'ME_CHECK_POINTS' EXPORTING I_UNIT = VP_MEINS.

ME_GET_UNIT_FOR_POINTS CALL FUNCTION 'ME_GET_UNIT_FOR_POINTS' IMPORTING E_UNIT = VV_MEINS.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '-' DATE = PV_PADAT FACTORY_CALENDAR_ID = PV_IDENT3 IMPORTING DATE = PV_PADAT EXCEPTIONS OTHERS = 0.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '+' DATE = PV_PADAT FACTORY_CALENDAR_ID = PV_IDENT3 IMPORTING DATE = PV_PADAT EXCEPTIONS OTHERS = 0.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '-' DATE = PV_PADAT FACTORY_CALENDAR_ID = PV_IDENT3 IMPORTING DATE = PV_PADAT EXCEPTIONS OTHERS = 0.

SD_BONUS_MANUAL_PAYMENT_CHECK CALL FUNCTION 'SD_BONUS_MANUAL_PAYMENT_CHECK' EXPORTING AGREEMENT_KNUMA = PV_KNUMA PERIOD_DATAB = PV_NEXT_DAY PERIOD_DATBI = '99991231' BRING_DIALOG = ' ' TABLES CONDITION = XKONP EXCEPTIONS MANUAL_PAYMENT_EXISTS = 1 OTHERS = 2.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '+' DATE = PV_NEXT_DAY FACTORY_CALENDAR_ID = PV_IDENT3 IMPORTING DATE = PV_PADAT EXCEPTIONS OTHERS = 4.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MV13AF0P or its description.