Ansicht
Dokumentation
/CPD/CREATE_MP_FP - Create Master Project/Financial Plan
BAL_S_LOG - Application Log: Log header data rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
This function module is used to create master projects, master project items, and financial plans.
Parameters
Importing Parameters
- IS_WS_MP_HDR: Master project header structure
,,This consists of:
- MP_ID: Master Project ID
- MP_TYPE: Master Project Type
- MP_STAGE: Master Project Stage
- START_DATE: Master Project (Start Date)
- END_DATE: Master Project (End Date)
- CUSTOMER: Customer Number
- ORG_ID: Organization
- CONFIDENTIAL: Confidentiality
,,MP_ID: This is a mandatory parameter for the creation of master projects.
,,MP_TYPE: If this is not passed, the system defaults the value to 1105.
,,CONFIDENTIAL: If this is not passed, the system defaults the value to N (No).
,,
- The rest of the fields are left blank, if not passed.
2.,,IS_CONTACT_PERSON: Contact person of master project
,,For a contact person to be assigned to a master project, it is mandatory to provide the following details:
- Title
- First name
- Last name
3.,,IT_WS_MP_REPT_ATTR: Master project reporting attributes
,,This parameter is used to assign reporting attributes to a master project header. If not provided, no reporting ,,attributes are assigned to the master project. This table consists of:
- REP_ATTR_NAME: Reporting attribute field name
- REP_ATTR_VALUE: Reporting attribute value
4.,,IT_DESCRIPTION: Master project description
,,The description is blank if no values are provided.
5.,,IV_SAVE_IMMEDIATELY: The default value for this parameter is ABAP_TRUE.
6.,,IT_MP_ITEMS: Master project items
,,This parameter is used to assign related business objects to a master project. It consists of:
- MP_ITM_OTYP: Related object link
- MP_ITEM_OKEY: Object key
- If not provided, the value of MP_ITM_OTYP is defaulted to 0OPC, and the value of MP_ITEM_OKEY is defaulted to the master project ID.
7.,,IT_MOD_ITEM: Master project items with reporting attributes.
8.,,IV_PLAN_DESC: Financial plan description
,,The description is blank if no values are provided.
9.,,IV_PLAN_SCEN_ID: Plan scenario ID
,,If no values are provided, 0ECD (Plan Scenario for WBS & NWA - Daily) is set as the default value.
10.,,IV_PLAN_TYPE_ID: Plan type ID
,,If no values are provided, 0PTM (Plan Type for Monthly Planning) is set as the default value.
11.,,IV_CURRENCY: Plan currency
- If no values are provided, EUR is set as the default value.
12.,,IV_START_DATE: Plan start date
,,If no values are provided, the current date is set as the default.
13.,,IV_END_DATE: Plan end date
,,If no values are provided, the current date is set as the default.
14.,,IV_PLAN_STRUCTURE: Plan hierarchy structure
,,The default value is 'E' for engagement structure.
15.,,IV_VERSION_TYPE_ID: Version type ID
,,The parameter is blank if no values are provided.
16.,,IV_VERSION_DESC: Version description
,,The parameter is blank if no values are provided.
17.,,IT_BID_STRUCTURE: Table for bid structure
,,This parameter has to be provided only if the value of IV_PLAN_STRUCTURE = 'O' (Bid Structure).
Exporting Parameters:
- ES_WS_MP_HDR: Master project header structure
- EV_MP_GUID: Master project GUID
- EV_URL: Master project URL
- ET_MP_ITEMS: Master project items
Note
- You require the necessary authorizations to create master projects.
- This method uses BOPF services to complete the processing.
Example
Notes
Further information
Parameters
ES_WS_MP_HDRET_MESSAGES
ET_MP_ITEMS
EV_MP_GUID
EV_PLAN_ID
EV_TAG_TEXT
EV_URL
IS_CONTACT_PERSON
IS_WS_MP_HDR
IT_BID_STRUCTURE
IT_DESCRIPTION
IT_MOD_ITEM
IT_MP_ITEMS
IT_WS_MP_REPT_ATTR
IV_CURRENCY
IV_END_DATE
IV_ITEM_ID
IV_NO_CREATE_FP
IV_PLAN_DESC
IV_PLAN_SCEN_ID
IV_PLAN_STRUCTURE
IV_PLAN_TYPE_ID
IV_SAVE_IMMEDIATELY
IV_START_DATE
IV_VERSION_DESC
IV_VERSION_TYPE_ID
Exceptions
Function Group
/SAPLMP_SERVICESGeneral Material Data General Material Data
This documentation is copyright by SAP AG.
Length: 6141 Date: 20240424 Time: 145509 sap01-206 ( 83 ms )