SAP Reports / Programs

PPE_BAL_COUNT_WEIGHT_DURATION SAP ABAP Report - Program PPE_BAL_COUNT_WEIGHT_DURATION







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PPE_BAL_COUNT_WDUR - Calculation of Weighted Duration


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


Text pool values


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


INCLUDES used within this REPORT PPE_BAL_COUNT_WEIGHT_DURATION

INCLUDE PPE_BAL_COUNT_WDUR_TOP . " GLOBAL DATA


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:

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.



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