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

MV13AF0S SAP ABAP INCLUDE - documentation and ABAP source code







MV13AF0S 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 MV13AF0S 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 MV13AF0S. "Basic submit
SUBMIT MV13AF0S AND RETURN. "Return to original report after report execution complete
SUBMIT MV13AF0S 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 MV13AF0S

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:

SD_SALES_HEADER_READ CALL FUNCTION 'SD_SALES_HEADER_READ' IMPORTING EVBAK = VBAK_DUMMY.

SD_SALES_DOCUMENT_SAVE CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE' IMPORTING EVBAK = VBAK_DUMMY EXCEPTIONS ERROR_MESSAGE = 01.

SD_COND_VARA_ACTIVE_TEST CALL FUNCTION 'SD_COND_VARA_ACTIVE_TEST' EXPORTING ABTYP_I = T6B1-ABTYP KAPPL_I = RV130-KAPPL KVEWE_I = KVEWE EXCEPTIONS ERROR = 01.

CONVERSION_EXIT_MATN1_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING INPUT = MATNR_TMP IMPORTING OUTPUT = MATNR_TMP EXCEPTIONS OTHERS = 2.

DEQUEUE_EVKONAE CALL FUNCTION 'DEQUEUE_EVKONAE' EXPORTING MANDT = SY-MANDT KNUMA = SKA_KNUMA.

ENQUEUE_EVKONAE CALL FUNCTION 'ENQUEUE_EVKONAE' EXPORTING MANDT = SY-MANDT KNUMA = SK_KNUMA EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.

RV_CHECK_CONDITION_VALUE CALL FUNCTION 'RV_CHECK_CONDITION_VALUE' EXPORTING CHECK_KRECH = KONP-KRECH CHECK_VALUE = STAFFEL-KBETR CHECK_CURRENCY = KONP-KONWA CHECK_PRICE_QUANTITY = KONP-KPEIN CHECK_QUANTITY_UNIT = KONP-KMEIN ONLY_NEGATIVE = T685A-KNEGA CONDITION_CLASS = T685A-KOAID CONDITION = KONP PRODUCT = KOMG-MATNR BASIC_QUANTITY_UNIT = TEXT_DEFAULT-MEINS MESSAGE_FOR_SCALE_VALUE = YES exceptions error_message = 8.

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING DATE = SY-DATLO FOREIGN_CURRENCY = KONP-KWAEH LOCAL_CURRENCY = S071-STWAE TYPE_OF_RATE = 'M' IMPORTING EXCHANGE_RATE = EXCHANGE_RATE EXCEPTIONS NO_RATE_FOUND = 4.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = SY-DATLO FOREIGN_AMOUNT = KONP-KOMXWRT FOREIGN_CURRENCY = KONP-KWAEH LOCAL_CURRENCY = S071-STWAE RATE = EXCHANGE_RATE TYPE_OF_RATE = 'M' IMPORTING EXCHANGE_RATE = EXCHANGE_RATE LOCAL_AMOUNT = S071-KWERT EXCEPTIONS NO_RATE_FOUND = 4.

SD_WORD_PROCESSING CALL FUNCTION 'SD_WORD_PROCESSING' EXPORTING OBJECT = U_TDOBJECT GROUP = U_TXTGR APPLICATION_DATA = U_TVCOM NAME_ROUTINE_NUMBER = U_GRPNO DISPLAY_LANGUAGE = SY-LANGU DISPLAY_FLAG = DA_DISPLAY_FLAG RESET_FLAG = NO APPL_OBJECT_DESCR = U_TITEL EXCEPTIONS OTHERS = 4.

CONTROL_LINK CALL FUNCTION 'CONTROL_LINK' EXPORTING H_CONTROL = G_DOCKING REPID = REPID DYNNR = DYNNR.

CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING H_CONTROL = G_DOCKING PROPID = PROP_VISIBLE VALUE = CNTL_TRUE EXCEPTIONS CNTL_SYSTEM_ERROR = 1 CNTL_ERROR = 2.

RS_HDSYS_SET_SC_VARIANT CALL FUNCTION 'RS_HDSYS_SET_SC_VARIANT' EXPORTING PROGNAME = 'SAPMV13A' DYNPRO = '3011' SCVARIANT = RV13A-SCVARIANT OVERWRITE_SCVARIANT = 'X' * BATCH_INPUT = .

RV_T681_SELECT_AND_GENERATE CALL FUNCTION 'RV_T681_SELECT_AND_GENERATE' EXPORTING CAA_KVEWE = IVAKE-KVEWE CAA_KOTABNR = IVAKE-KOTABNR IMPORTING CAA_TMC1T = WA_TMC1T EXCEPTIONS OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = 'ICON_SELECT_DETAIL' INFO = TEXT-X01 * ADD_STDINF = SPACE IMPORTING RESULT = LINK.



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 MV13AF0S or its description.