PPE_BAL_COUNT_WEIGHT_DURATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for If a model mix is assigned to the line balance and a complex product structure has been maintained for the model mix items, the calculation of the weighted mode duration may take a long time...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter PPE_BAL_COUNT_WEIGHT_DURATION into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PPE_BAL_COUNT_WDUR - Calculation of Weighted Duration
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: EXPLDATE = Explosion Key Date
Selection Text: LBNAME = D .
Title: Program PPE_BAL_COUNT_WEIGHT_DURATION
Text Symbol: 000 = The Line Structure to be Exploded is Incorrect
Text Symbol: 001 = Inconsistencies Found for Line Balance to be Explided
Text Symbol: 002 = The Allocated Line Object of the Line Balance to be Exploded is Incorrect
Text Symbol: 003 = The Explosion Key Date was Not Specified
Text Symbol: 004 = No Model Mix Allocated, No Explosion Necessary
Text Symbol: 005 = No Model Mix Item Defined, No Explosion Necessary
Text Symbol: 006 = Key Date
Text Symbol: 007 = Line Balancing
Text Symbol: 008 = Line Structure
Text Symbol: 009 = Line Object
Text Symbol: 010 = The Line Balance Specified was not Found
Text Symbol: 011 = Evaluation of the Parameter Validity is Incorrect
Text Symbol: 012 = Internal Error While Reading the Mode Information
Text Symbol: 013 = Internal Error While Reading the Model Mix Information
Text Symbol: 014 = Error Exploding the Model Mix
Text Symbol: 015 = Error Reading the Class Information
INCLUDE PPE_BAL_COUNT_WDUR_TOP . " GLOBAL DATA
No SAP DATABASE tables are accessed within this REPORT code!
PPEEXPLEFF_INIT_ECM CALL FUNCTION 'PPEEXPLEFF_INIT_ECM' EXPORTING iv_date = expldate iv_no_popup = ppet_true iv_msg_handling = ppet_msg_options-do_none CHANGING cs_cppecntl = ls_ppecntl EXCEPTIONS OTHERS = 1.
PPEEXPLEFF_EVALUATE CALL FUNCTION 'PPEEXPLEFF_EVALUATE' EXPORTING is_cppecntl = ls_ppecntl iv_status_active = ppet_true it_aennr = lt_aennr IMPORTING et_aennr = lt_aennr_filt.
PPEEXPL_EXPLOSION_LINEBAL CALL FUNCTION 'PPEEXPL_EXPLOSION_LINEBAL' EXPORTING iv_ppeguid = ls_modmixp-ppeguid iv_planid = ls_modmixp-planid iv_date = expldate iv_use_memory = ppet_true IMPORTING et_result = lt_result[] es_op = ls_operations EXCEPTIONS OTHERS = 1.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PPEUIBAL_0300_FCAT_EXT' CHANGING ct_fieldcat = lt_fieldcat.
PVSCUST_PNTYPE_READ CALL FUNCTION 'PVSCUST_PNTYPE_READ' EXPORTING im_pntype = 'S_ACTST' IMPORTING ex_pntype = ls_pntype EXCEPTIONS unknown_pnode_type = 1 OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'PPEREBAL_ACTIVITIES' i_structure_name = 'PPEUIBAL_0300_FCAT_EXT' i_grid_title = lv_gridttl it_fieldcat = lt_fieldcat i_default = ppet_true i_save = 'A' is_variant = ls_variant TABLES t_outtab = lt_outgrid EXCEPTIONS * program_error = 1 OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PPE_BAL_COUNT_WEIGHT_DURATION - Program PPE_BAL_COUNT_WEIGHT_DURATION PPE_BAL_COUNT_WEIGHT_DURATION - Program PPE_BAL_COUNT_WEIGHT_DURATION PPE_BAL_COUNT_WDUR_TOP - PPEBALCOUNTWDURTOP PPE_ARCHIVE_FLO_WRITE_TOP - PPEARCHIVEFLOWRITETOP PPE_ARCHIVE_FLO_WRITE_S01 - PPEARCHIVEFLOWRITES01 PPE_ARCHIVE_FLO_WRITE_F03 - PPEARCHIVEFLOWRITEF03