SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost Planning(CO-PC-PCP) SAP CO

SAPBAPITESTALLOWMARK1 SAP ABAP Report - BAPI Test Program: Organizational Measure for Cost Estimates







SAPBAPITESTALLOWMARK1 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 SAPBAPITESTALLOWMARK1 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 SAPBAPITESTALLOWMARK1. "Basic submit
SUBMIT SAPBAPITESTALLOWMARK1 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPBAPITESTALLOWMARK1 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: MANUELL = D Additive Cost Estimate
Selection Text: LAKA = D Current Std Cost Estimates
Selection Text: KAOHREF = D Not Marked and Not Released
Selection Text: KALAID = D Costing Run
Selection Text: KALADAT = D Costing Run Date
Selection Text: MASCHIN = D Automatic Cost Estimates
Selection Text: ZUKA = D Future Standard Cost Estimates
Selection Text: VEKA = D Previous Std Cost Estimates
Selection Text: TEST = D Test Run
Selection Text: P_WERKS = D Plant
Selection Text: P_TVERS = D Costing Version
Selection Text: P_MATNR = D Material
Selection Text: P_LISTAU = D With List Output
Selection Text: P_KLVAR = D Costing Variant
Selection Text: P_KADAT = D Costing Date From
Selection Text: P_FEH_ST = D Costing Status
Selection Text: P_BUKRS = D Company Code
Selection Text: P_BIDAT = Interval for Validity to
Selection Text: OHMEGER = D Cost Ests w/o Qty Structure
Selection Text: NO_TEST = Reorganization Run
Selection Text: MIMEGER = D Cost Ests with Qty Structure
Title: BAPI Test Program: Organizational Measure for Cost Estimates
Text Symbol: 001 = Restriction of Cost Estimates to Reorganize
Text Symbol: 003 = @96@ Log
Text Symbol: 005 = Processing Opts
Text Symbol: 012 = Automatic Cost Estimates
Text Symbol: 013 = With Qty Struct.
Text Symbol: 014 = W/o Qty Structure
Text Symbol: 015 = Additive Cost Ests
Text Symbol: 016 = Control Parameters
001 Plant Material LowLvlCod Status CstVt CstgVersion CstDateFrm CstDate_to Manual WithQtyStructure


INCLUDES used within this REPORT SAPBAPITESTALLOWMARK1

INCLUDE BAPITESTALLOWMARK1F01.


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:

BAPI_COSTESTIMATE_GETLIST CALL FUNCTION 'BAPI_COSTESTIMATE_GETLIST' * EXPORTING * COST_ESTIMATE = '01' IMPORTING RETURN = F_RETURN TABLES COSTING_VARIANT = P_KLVAR MATERIAL = T_MATNR PLANT = P_WERKS VALIDITY_FROM = P_KADAT COSTING_STATUS = P_FEH_ST COSTING_VERSION = P_TVERS COST_ESTIMATE_LIST = T_COST_ESTIMATE_LIST COSTINGRUN = KALAID COSTINGRUN_DATE = KALADAT.

BAPI_COSTESTIMATE_ALLOW_MARK CALL FUNCTION 'BAPI_COSTESTIMATE_ALLOW_MARK' EXPORTING TESTRUN = TEST COSTESTIM_ID = F_COSTESTIM_ID IMPORTING RETURN = F_RETURN2.

BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING WAIT = 'X' * IMPORTING * RETURN = .



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