Ansicht
Dokumentation

CNPOC_MODIFY - Modifies the POC values for the Measurement method "Estimate"

CNPOC_MODIFY - Modifies the POC values for the Measurement method "Estimate"

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

POC values can be modified by executing this RFC. The object is locked during modification to avoid any discrepancies. But the Commit work should be done explicitly by calling "BAPI_TRANSACTION_COMMIT", otherwise it is not committed to the database.

To do this, the tables WBSELEMENTPOC ACTIVITYPOC are taken as input.

Notes

The importing parameter WBSELEMENTPOC has the following structure.

WBSNUMBER

PROGRESSVERSION

PLANNEDESTIMATEMETHOD

PLANNEDYEAR

PLANNEDPERIOD

PLANNEDPOC

ACTUALESTIMATEMETHOD

ACTUALYEAR

ACTUALPERIOD

ACTUALPOC

The importing parameter ACTIVITYPOC has the following structure.

NETWORKNUMBER

ACTIVITYNUMBER

ACTIVITYELEMENTNUMBER

PROGRESSVERSION

PLANNEDESTIMATEMETHOD

PLANNEDYEAR

PLANNEDPERIOD

PLANNEDPOC

ACTUALESTIMATEMETHOD

ACTUALYEAR

ACTUALPERIOD

ACTUALPOC

Before the modification is done, the above shown input is checked:

",,Check if it is a valid WBS / Network number.

",,In case of Networks the Activity and/or Activity Element should be present.

",,Activity/ Activity Element should belong to the Network.

" Check if the PS object has an entry for the Measurement method "Estimate" in EVOP table.

",,Progress Version should be populated

",,It should be a valid Progress Version under the Controlling Area.

",,Planned POC, PlannedYear and PlannedPeriod should be entered.

",,Actual POC, ActualYear and ActualPeriod should be entered.

",,POC values should not be greater than 100.

",,The previous periods POC values should be less than the next Period POC value.

",,The current status of the object is checked, if it allows modification.

If all checks are successful, the POC and Earned values are calculated.

The return parameter "RETURN", displays first an error or success message that states whether the project definition could be changed. The first message variable is the object category, the second is the object ID and the GUID (if it was possible to read it) is in the fourth message variable. All messages that were generated during the processing are listed underneath, and the parameters of the individual messages are filled with the object ID.

Parameters

WBSELEMENTPOC

ACTIVITYPOC

ET_RETURN

Function Group

CNPOC

Example

Notes

Further information





Parameters

ACTIVITYPOC
ET_RETURN
WBSELEMENTPOC

Exceptions

Function Group

CNPOC

BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3050 Date: 20240523 Time: 105016     sap01-206 ( 42 ms )