SAP Reports / Programs | Contract Billing | SAP Utilities | Contract Billing(IS-U-BI) SAP IS

IEVARMAC SAP ABAP INCLUDE - Macros for Use in Variants







IEVARMAC 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 IEVARMAC 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 IEVARMAC. "Basic submit
SUBMIT IEVARMAC AND RETURN. "Return to original report after report execution complete
SUBMIT IEVARMAC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Macros for Use in Variants


INCLUDES used within this REPORT IEVARMAC

INCLUDE IEVCURRY.


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:

ISU_OUTPUT_IOPER_PROCESS CALL FUNCTION 'ISU_OUTPUT_IOPER_PROCESS' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_ISS = XY_OBJ-ISS X_OP = &1 CHANGING XY_IOPER = XY_OBJ-IOPER XY_OUT_IOPER = OUT_IOPER XY_OUT_OPER = OUT_OPER * xy_idel_erchz_ref = xy_obj-idelerchz EXCEPTIONS REGULAR_ERROR = 1 OTHERS = 2.

ISU_OUTPUT_IOPER_W_PROCESS CALL FUNCTION 'ISU_OUTPUT_IOPER_W_PROCESS' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_ISS = XY_OBJ-ISS X_OP = &1 X_MULTIPLY = MULTIPLY CHANGING XY_IOPER_W = XY_OBJ-IOPER_W XY_OUT_IOPER_W = OUT_IOPER_W XY_OUT_OPER_W = OUT_OPER_W EXCEPTIONS GENERAL_FAULT = 1 REGULAR_ERROR = 2 OTHERS = 3.

ISU_OUTPUT_IPREI_PROCESS CALL FUNCTION 'ISU_OUTPUT_IPREI_PROCESS' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_OP = &1 X_ISS = XY_OBJ-ISS CHANGING XY_IPREI = XY_OBJ-IPREI XY_OUT_IPREI = OUT_IPREI XY_OUT_PREI = OUT_PREI EXCEPTIONS REGULAR_ERROR = 1 OTHERS = 2.

ISU_OUTPUT_IVB_PROCESS CALL FUNCTION 'ISU_OUTPUT_IVB_PROCESS' EXPORTING X_SS = X_SS X_ISS = XY_OBJ-ISS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_OP = &1 CHANGING XY_IVB = XY_OBJ-IVB XY_OUT_IVB = OUT_IVB XY_OUT_VB = OUT_VB EXCEPTIONS REGULAR_ERROR = 1 OTHERS = 2.

ISU_INVOICE_QNT_INFO_WRITE CALL FUNCTION 'ISU_INVOICE_QNT_INFO_WRITE' EXPORTING X_SS = X_SS X_VB = WVB X_DLTCSNO = &2 CHANGING XY_OBJ = XY_OBJ XY_SOBJ = XY_SOBJ EXCEPTIONS OTHERS = 1.

ISU_INVOICE_QNTX_INFO_WRITE CALL FUNCTION 'ISU_INVOICE_QNTX_INFO_WRITE' EXPORTING X_SS = X_SS X_VB = WVB X_VB_EX = WVB_EX X_DLTCSNO = &2 CHANGING XY_OBJ = XY_OBJ XY_SOBJ = XY_SOBJ EXCEPTIONS OTHERS = 1.

ISU_INVOICE_QNT_HIST_WRITE CALL FUNCTION 'ISU_INVOICE_QNT_HIST_WRITE' EXPORTING X_SS = X_SS X_VB = WVB X_DLTCSNO = &1 X_ARTMENGE = &2 X_GEWKEY = GEWKEY X_NETTOBTR = NETTOBTR X_TWAERS = TWAERS X_TIMTYP = TIMTYP X_PREISTYP = PREISTYP X_PREIS = PREIS CHANGING XY_OBJ = XY_OBJ XY_SOBJ = XY_SOBJ EXCEPTIONS OTHERS = 1.

ISU_WRITE_ANCHOR_ERCHZ CALL FUNCTION 'ISU_WRITE_ANCHOR_ERCHZ' EXPORTING X_SS = X_SS CHANGING XY_OBJ = XY_OBJ EXCEPTIONS GENERAL_FAULT = 1.

ISU_INVOICE_INFO_WRITE CALL FUNCTION 'ISU_INVOICE_INFO_WRITE' EXPORTING X_ERCHZ = WERCHZ X_SS = X_SS X_DLTCSNO = &2 CHANGING XY_OBJ = XY_OBJ EXCEPTIONS OTHERS = 1.

ISU_INVOICE_LINE_WRITE CALL FUNCTION 'ISU_INVOICE_LINE_WRITE' EXPORTING X_SS = X_SS X_PDET = PDET X_ZONE = IZONE X_DLTCSNO = &1 X_ARTMENGE = X_SS-ARTMENGE X_GEWKEY = GEWKEY X_FACTOR = GENERAL_FACTOR CHANGING XY_OBJ = XY_OBJ XY_OUT_IOPER = OUT_IOPER XY_SOBJ = XY_SOBJ EXCEPTIONS OTHERS = 1.

ISU_PRICE_DETERMINE CALL FUNCTION 'ISU_PRICE_DETERMINE' EXPORTING X_IN = &1 X_TN = &2 X_PREI = &3 X_SS = X_SS X_OPER = WPARA X_CURRDEC = XY_OBJ-ST-CURRDEC X_FACTOR = GENERAL_FACTOR CHANGING XY_ZONE = IZONE XY_PDET = PDET EXCEPTIONS OTHERS = 1.

ISU_DEMAND_PREPARE CALL FUNCTION 'ISU_DEMAND_PREPARE' EXPORTING X_SS = X_SS X_OP = X_OP X_VARCONT = &1 X_DLTCSNO = &2 X_RED_IVB = X_RED-IVB IMPORTING Y_IDEMAND = IDEMAND CHANGING XY_OBJ = XY_OBJ XY_SOBJ = XY_SOBJ EXCEPTIONS OTHERS = 1.

ISU_DEMANDX_PREPARE CALL FUNCTION 'ISU_DEMANDX_PREPARE' EXPORTING X_SS = X_SS X_OP = X_OP X_VARCONT = &1 X_DLTCSNO = &2 X_RED_IVB = X_RED-IVB X_RED_IVB_EX = X_RED-IVB_EX IMPORTING Y_IDEMAND = IDEMAND CHANGING XY_OBJ = XY_OBJ XY_SOBJ = XY_SOBJ EXCEPTIONS OTHERS = 1.

ISU_INIT_IVB_FOR_OUTPUT CALL FUNCTION 'ISU_INIT_IVB_FOR_OUTPUT' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_OP = &2 CHANGING XY_IVB = XY_OBJ-IVB EXCEPTIONS OTHERS = 1.

ISU_INIT_IOPER_FOR_OUTPUT CALL FUNCTION 'ISU_INIT_IOPER_FOR_OUTPUT' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_OP = &2 X_ISS = XY_OBJ-ISS CHANGING XY_IOPER = XY_OBJ-IOPER EXCEPTIONS OTHERS = 1.

ISU_INIT_IPREI_FOR_OUTPUT CALL FUNCTION 'ISU_INIT_IPREI_FOR_OUTPUT' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_OP = &2 CHANGING XY_IPREI = XY_OBJ-IPREI EXCEPTIONS OTHERS = 1.

ISU_INIT_IOPER_W_FOR_OUTPUT CALL FUNCTION 'ISU_INIT_IOPER_W_FOR_OUTPUT' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_OP = &2 X_ISS = XY_OBJ-ISS CHANGING XY_IOPER_W = XY_OBJ-IOPER_W EXCEPTIONS GENERAL_FAULT = 1 OTHERS = 2.

ROUND CALL FUNCTION 'ROUND' EXPORTING DECIMALS = &1 SIGN = &2 INPUT = &3 IMPORTING OUTPUT = &3 EXCEPTIONS INPUT_INVALID = 1 OVERFLOW = 2 TYPE_INVALID = 3 OTHERS = 4.

ISU_INST_FACT_PROCESS





CALL FUNCTION 'ISU_INST_FACT_PROCESS' EXPORTING X_CSNO = X_SS-CSNO X_OPERAND = &1 X_OPTYP = &2 X_AB = AB X_BIS = BIS X_UPDTYPE = UPDTYPE X_VALUE = VALUE X_ISS = XY_OBJ-ISS CHANGING XY_IFACTUPD = XY_OBJ-IFACTUPD EXCEPTIONS PARAMETER_FAULT = 1 DUPLICATE_PROCESSING = 2 OTHERS = 3.

ISU_PRICE_ZONES_CORRECT_LOCAL CALL FUNCTION 'ISU_PRICE_ZONES_CORRECT_LOCAL' EXPORTING X_TIMECONTRL = X_SS-TIMECONTRL CHANGING XY_OBJ = XY_OBJ XY_RED_IPREI = TEMP_IPREI EXCEPTIONS GENERAL_FAULT = 1 OTHERS = 2.

ISU_X_RED_IVB_COMPRESS CALL FUNCTION 'ISU_X_RED_IVB_COMPRESS' CHANGING XY_IVB = XY_IVB EXCEPTIONS GENERAL_FAULT = 1 OTHERS = 2.

ISU_INIT_IVB_FOR_OUTPUT CALL FUNCTION 'ISU_INIT_IVB_FOR_OUTPUT' EXPORTING X_SS = X_SS X_IOUTSTEPS = XY_OBJ-IOUTSTEPS X_OP = &2 CHANGING XY_IVB = XY_OBJ-IVB EXCEPTIONS OTHERS = 1.



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