RV12L000 is a standard Executable ABAP Report 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 RV12L000 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: VOR = at start of validity period
Selection Text: P_PRINT = Display conditions
Selection Text: P_DAT = Valid On
Selection Text: PAR_STAF = Display scales
Selection Text: PAR_POS = Additional condition fields
Selection Text: PAR_L = Cond. marked for deletion
Selection Text: PAR_EXCL = Exclusive
Selection Text: PAR_DAT = Display validity period
Selection Text: NACH = at end of validity period
Selection Text: MAX_LINE = Max. hits per table
Selection Text: DATUM = Validity range
Selection Text: DATE_AS = Retain validity
Title: Generation for Main Program for Pricing Report
Text Symbol: 902 = Records were deleted.
Text Symbol: 901 = No records to delete
Text Symbol: 900 = Do you really want to delete all cond. records?
Text Symbol: 103 = Specify send parameters
Text Symbol: 102 = Condition records exceeding interval named above
Text Symbol: 100 = Validity period
Text Symbol: 00E = To...
Text Symbol: 00D = From
Text Symbol: 00C = Items
Text Symbol: 00B = Group header
Text Symbol: 00A = Page header
Text Symbol: 000 = List screen
INCLUDE V12LCOM.
No SAP DATABASE tables are accessed within this REPORT code!
VALIDITY_PERIOD_CHECK *+ CALL FUNCTION 'VALIDITY_PERIOD_CHECK' *+ TABLES *+ DATE = DATUM *+ EXCEPTIONS *+ WRONG_INTERVALL = 01 *+ WRONG_OPTION = 02 *+ WRONG_SIGN = 03.
SD_GET_ALL_CONDTYPE_FROM_KOTAB *+ CALL FUNCTION 'SD_GET_ALL_CONDTYPE_FROM_KOTAB' *+ EXPORTING *+ KVEWE = '&KVEWE' *+ KAPPL = '&KAPPL' *+ KOTABNR = '&TABNR' *+ TABLES *+ KOTAB_T685 = ITAB_KSCHL.
SD_COND_AUTH_CHECK *+ CALL FUNCTION 'SD_COND_AUTH_CHECK' *+ EXPORTING *+ I_VKORG = AUTH_CHECK-VKORG *+ I_VTWEG = AUTH_CHECK-VTWEG *+ I_SPART = AUTH_CHECK-SPART *+ i_kschl = auth_check-kschl *+ i_kvewe = auth_check-kvewe *+ i_kappl = auth_check-kappl *+ i_kotabnr = auth_check-kotabnr *+ i_ekorg = auth_check-ekorg *+ I_ACTIVITY = '03' " Display read *+ EXCEPTIONS *+ NO_AUTHORITY = 1 *+ OTHERS = 2.
ALE_MODEL_DETERMINE_IF_TO_SEND CALL FUNCTION 'ALE_MODEL_DETERMINE_IF_TO_SEND' EXPORTING message_type = p_mestyp receiving_system = p_logsys validdate = sy-datum IMPORTING idoc_must_be_sent = idoc_to_send EXCEPTIONS own_system_not_defined = 1 OTHERS = 2.
MASTERIDOC_CREATE_COND_A CALL FUNCTION 'MASTERIDOC_CREATE_COND_A' EXPORTING pi_mestyp = p_mestyp pi_logsys = p_logsys pi_direkt = 'X' TABLES pit_conditions = gt_knumh EXCEPTIONS idoc_could_not_be_created = 1.
REUSE_ALV_FIELDCATALOG_MERGE *+COM CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' *+COM EXPORTING *+COM I_PROGRAM_NAME = '&RPTNM' *+COM I_INTERNAL_TABNAME = 'T_POS_&KOTAB' *+COM CHANGING *+COM CT_FIELDCAT = FIELDCAT_&KOTAB *+COM EXCEPTIONS *+COM OTHERS = 1.
SD_SET_LIST_STATUS *+ CALL FUNCTION 'SD_SET_LIST_STATUS' *+ EXPORTING *+ EXTAB = EX_FCODE *+ EXCEPTIONS *+ OTHERS = 0.
SD_JUMP_TO_COND *+ CALL FUNCTION 'SD_JUMP_TO_COND' *+ EXPORTING *+ KNUMH = &1-KNUMH *+ DATBI = &1-%%DATBI *+ KOPOS = &1-KOPOS *+ CONDITION_USE = 'A' *+ FIRST_SCREEN = 'A' *+ MAINTAIN_MODE = &2 *+ EXCEPTIONS *+ OTHERS = 0.
SD_COND_AUTH_CHECK *+ CALL FUNCTION 'SD_COND_AUTH_CHECK' *+ EXPORTING *+ I_VKORG = KOMG-VKORG *+ I_VTWEG = KOMG-VTWEG *+ I_SPART = KOMG-SPART *+ i_kschl = auth_check-kschl *+ i_kvewe = auth_check-kvewe *+ i_kappl = auth_check-kappl *+ i_kotabnr = auth_check-kotabnr *+ i_ekorg = auth_check-ekorg *+ I_ACTIVITY = &1 *+ EXCEPTIONS *+ NO_AUTHORITY = 1 *+ OTHERS = 2.
RV_KONDITION_SICHERN_V13A *+ CALL FUNCTION 'RV_KONDITION_SICHERN_V13A' *+ EXPORTING *+ CHANGE_DOCS_WRITE = 'X' ##lit_compatible *+ USE_OUTBOUND_CALL = 'X' ##lit_compatible *+ TABLES *+ db_time = lt_time_vake_db *+ db_xkonh = lt_xkonh *+ db_xkonp = lt_xkonp *+ db_xstaf = lt_xstaf *+ db_ykonh = lt_ykonh *+ db_ykonp = lt_ykonp *+ db_xkondat = lt_xkondat *+ db_ykondat = lt_ykondat *+ DB_XVAKE = lt_xvake.
POPUP_TO_CONFIRM *+ CALL FUNCTION 'POPUP_TO_CONFIRM' *+ EXPORTING *+ text_question = text-900 *+ DEFAULT_BUTTON = '2' *+ DISPLAY_CANCEL_BUTTON = ' ' *+ IMPORTING *+ ANSWER = lv_answer *+ EXCEPTIONS *+ OTHERS = 1.
POPUP_GET_VALUES_USER_HELP *+ call function 'POPUP_GET_VALUES_USER_HELP' *+ exporting *+ popup_title = popup_title *+ programname = 'RV130004' *+ formname = 'EXAMPLE_EXIT' *+ f4_programname = 'RV130004' *+ f4_formname = 'EXAMPLE_F4' *+ importing *+ returncode = returncode *+ tables *+ fields = fields.
ALE_MODEL_DETERMINE_IF_TO_SEND *+ call function 'ALE_MODEL_DETERMINE_IF_TO_SEND' *+ exporting *+ message_type = p_mestyp *+ receiving_system = p_logsys *+ validdate = sy-datum *+ importing *+ idoc_must_be_sent = idoc_to_send *+ exceptions *+ own_system_not_defined = 1 *+ others = 2.
RV_CONDITION_GET_CUA_REPO *+ CALL FUNCTION 'RV_CONDITION_GET_CUA_REPO' *+ EXPORTING *+ PFKEY_I = 'NONO' *+ TITLE_I = 'R'.
RV_CONDITION_SET_CUA_REPO *+ CALL FUNCTION 'RV_CONDITION_SET_CUA_REPO'.
MASTERIDOC_CREATE_COND_A *+ call function 'MASTERIDOC_CREATE_COND_A' *+ exporting *+ pi_mestyp = p_mestyp *+ pi_logsys = p_logsys *+ pi_direkt = 'X' *+ tables *+ pit_conditions = gt_knumh *+ exceptions *+ idoc_could_not_be_created = 1.
REUSE_ALV_COMMENTARY_WRITE *+ CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' *+ EXPORTING *+ IT_LIST_COMMENTARY = IT_LIST_COMMENTARY *+ EXCEPTIONS *+ OTHERS = 1.
REUSE_ALV_COMMENTARY_WRITE *+ CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' *+ EXPORTING *+ IT_LIST_COMMENTARY = IT_LIST_COMMENTARY *+ EXCEPTIONS *+ OTHERS = 1.
*+ CALL FUNCTION 'SD_GET_DESCRIPTION_OF_FIELD' *+ EXPORTING *+ i_fieldname = BEGRIFF *+ i_tabname = L_TABNAME *+ IMPORTING *+ E_DD04V = L_DD04V *+ EXCEPTIONS *+ OTHERS = 1.
REUSE_ALV_HIERSEQ_LIST_DISPLAY *+ CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' *+ EXPORTING * I_INTERFACE_CHECK = 'X' *+ I_CALLBACK_PROGRAM = '&RPTNM' *+ I_CALLBACK_USER_COMMAND = 'CALLBACK_USER_COMMAND' *+ I_CALLBACK_PF_STATUS_SET = 'CALLBACK_STATUS' *+ IT_FIELDCAT = FIELDCAT_AXXX *+ IT_EXCLUDING = EX_FCODE *+ IS_LAYOUT = LAYOUT_AXXX *+ IT_SORT = IT_SORT_AXXX *+ IT_EVENTS = ET_EVENTS_AXXX *+ IT_EVENT_EXIT = ET_EVENT_EXIT *+ I_TABNAME_HEADER = TABNAME_HEADER_AXXX *+ I_TABNAME_ITEM = TABNAME_ITEM_AXXX *+ IS_KEYINFO = KEYINFO *+ IS_PRINT = IS_PRINT_AXXX * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = *+ TABLES *+ T_OUTTAB_HEADER = SORTTAB_AXXX *+ T_OUTTAB_ITEM = T_POS_AXXX *+ EXCEPTIONS *+ PROGRAM_ERROR = 1 *+ OTHERS = 2.
REUSE_ALV_LIST_DISPLAY *+ CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' *+ EXPORTING * I_INTERFACE_CHECK = 'X' *+ I_CALLBACK_PROGRAM = '&RPTNM' *+ I_CALLBACK_PF_STATUS_SET = 'CALLBACK_STATUS' *+ I_CALLBACK_USER_COMMAND = 'CALLBACK_USER_COMMAND' *+ I_STRUCTURE_NAME = TABNAME_ITEM_AXXX *+ IS_LAYOUT = LAYOUT_AXXX *+ IT_FIELDCAT = FIELDCAT_AXXX *+ IT_EXCLUDING = EX_FCODE * IT_SPECIAL_GROUPS = *+ IT_SORT = IT_SORT_AXXX * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' *+ IT_EVENTS = ET_EVENTS_AXXX *+ IT_EVENT_EXIT = ET_EVENT_EXIT *+ IS_PRINT = IS_PRINT_AXXX * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 *+ TABLES *+ T_OUTTAB = T_POS_AXXX *+ EXCEPTIONS *+ PROGRAM_ERROR = 1 *+ OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY *+ CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' *+ EXPORTING *+ I_CALLBACK_PROGRAM = '&RPTNM' *+ I_CALLBACK_PF_STATUS_SET = 'CALLBACK_STATUS' *+ IS_LAYOUT = LAYOUT *+ IT_FIELDCAT = FIELDCAT_AXXX *+ IT_EXCLUDING = EX_FCODE *+ IT_SORT = IT_SORT_AXXX *+ IT_EVENTS = ET_EVENTS_AXXX *+ I_TABNAME_HEADER = TABNAME_HEADER_AXXX *+ I_TABNAME_ITEM = TABNAME_ITEM_AXXX *+ IS_KEYINFO = KEYINFO *+ IS_PRINT = IS_PRINT_AXXX *+ TABLES *+ T_OUTTAB_HEADER = SORTTAB_AXXX *+ T_OUTTAB_ITEM = T_POS_AXXX *+ EXCEPTIONS *+ PROGRAM_ERROR = 1 *+ OTHERS = 2.
REUSE_ALV_LIST_DISPLAY *+ CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' *+ EXPORTING * I_INTERFACE_CHECK = 'X' *+ I_CALLBACK_PROGRAM = '&RPTNM' *+ I_CALLBACK_PF_STATUS_SET = 'CALLBACK_STATUS' *+ I_CALLBACK_USER_COMMAND = 'CALLBACK_USER_COMMAND' *+ I_STRUCTURE_NAME = TABNAME_ITEM_AXXX *+ IS_LAYOUT = LAYOUT *+ IT_FIELDCAT = FIELDCAT_AXXX *+ IT_EXCLUDING = EX_FCODE * IT_SPECIAL_GROUPS = *+ IT_SORT = IT_SORT_AXXX * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' *+ IT_EVENTS = ET_EVENTS_AXXX * IT_EVENT_EXIT = ET_EVENT_EXIT *+ IS_PRINT = IS_PRINT_AXXX * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 *+ TABLES *+ T_OUTTAB = T_POS_AXXX *+ EXCEPTIONS *+ PROGRAM_ERROR = 1 *+ OTHERS = 2.
K_KKB_FIELDCAT_COMPLETE *+COM CALL FUNCTION 'K_KKB_FIELDCAT_COMPLETE' *+ ENDFORM. " GET_MIN_LINESIZE
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 RV12L000 or its description.
RV12L000 - Generation for Main Program for Pricing Report RV12L000 - Generation for Main Program for Pricing Report RV12EXIT_AKE - CO-PA: User-Exits Conditions Tool RV12EXIT_AKE - CO-PA: User-Exits Conditions Tool RV12DUM2 - XPRA: Sets the KKOPF field correctly RV12DUM2 - XPRA: Sets the KKOPF field correctly