on 02-04-2009 10:46 AM
Dear Expert,
Can anybody tell me wat are the standard BAPI available for doing cost element based /activty input planning in SAP.
Thanx in adv.
Regards
Ashis
Hi,
Use KBPP_EXTERN_UPDATE_CO. Refer SAP note 625613.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why do you need BAPI
why don't you use flexible upload - excel upload into SAP
usually this is preferred as the project managers can give the excel spreadsheet based on a template provided and put the plan in a particular directory
you then run flexible upload and suck all the plans into SAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mr Pal,
actually the client is not intersted to do use excel after sap go live for planning .
Thats why i feel, we will create one form in module pool programming and capture the data, later by summarizing those data we will pass those data to a function module/bapi.
For excel planning also i tried, i created one layout and attached to planner profile, but at the time of uploading the excel file, its throwing some error.
can u pls. guide the diff steps for excel uploading and
waht will be the structure /format of the excel file ?
regards
Ashis
Hello Ashish,
You have to maintain the file description in SPRO Create User defined Planner Profil. The path is Planner Profile > General Controlling > Layouts for Controlling. In this setting check the Integrated Excel box and then give any file description (for example ZTEST or something starting with Z). A warning message will appear.Then maintain default parametrs, click on back arrow and save.
When you select Excel upload option in CJR2, upload the text file (which you save from Excel) and select the file description from dropdown. The file description which you have given in Config i.e. ZTEST will appear for selection.
Hope this helps.
Thanks
Sarang
Hi Ashis Mohanty !
this is list of BAPI's used frequently in PS
BAPIs used in PS Transactions
Project Definition:
BAPI to extract details of Project Definition:
BAPI Name BAPI Description
BAPI_PROJECTDEF_EXISTENCECHECK To check whether a project definition exists
BAPI_BUS2001_GETDATA
To get detailed information about a project definition. To do this, you must transfer the external ID of the project definition in the parameter I_PROJECT_DEFINITION. If required, you can also specify in which language the language-dependent fields, such as time units, system status, and so on, are to be returned. If you do not specify a language, the system language is used
BAPI_PROJECT_GETINFO To read detailed information about project definitions and the WBS elements of projects from the system.
BAPI_PROJECTDEF_GETDETAIL To read detail information about the project definition
BAPI_BUS2001_GET_STATUS To get both the active system statuses and the user statuses for a project definition
BAPI_PROJECTDEF_GETLIST Provides a list of project definitions
BAPI_GET_PROJECT_STATISTICS Display project statistics
BAPI to create/update Project Definition data:
BAPI Name BAPI Description
BAPI_BUS2001_CREATE Create a project definition
BAPI_PROJECTDEF_CREATE Create a project definition
BAPI_BUS2001_CHANGE Change Project Definition
BAPI_PROJECTDEF_UPDATE Change Project Definition
BAPI_BUS2001_DELETE Delete Project Definition
BAPI_BUS2001_SET_STATUS one system status and one user status can be revoked each time, and one system status and one user status can be set each time for a project definition
WBS - Work Breakdown Structure:
BAPI to extract details of WBS element:
BAPI Name BAPI Description
BAPI_BUS2054_GETDATA To get detailed information about WBS elements.
BAPI_BUS2054_GET_GUID_FROM_KEY Read the GUID (Global Unique Identifier) using the
external object key.
BAPI_BUS2054_GET_STATUS To read the active system statuses and user statuses for
a list of PSP elements
BAPI_BUS2054_GET_KEY_FROM_GUID Read the externalobject key (WBS Key)
using the GUID (Global Unique Identifier).
BAPI create/update WBS element data:
BAPI Name BAPI Description
BAPI_BUS2054_CREATE_MULTI Create WBS Element
BAPI_BUS2054_CHANGE_MULTI Change WBS Element
BAPI_BUS2054_DELETE_MULTI Delete WBS Element
Network:
BAPI to extract details of Network:
BAPI Name BAPI Description
BAPI_NETWORK_EXISTENCECHECK Check whether network exists
BAPI_NETWORK_GETDETAIL Read detailed information about a network including all objects from the system.
BAPI_NETWORK_GETINFO Read detailed information about a network including all objects from the system
BAPI_NETWORK_GETLIST Produces a list of networks with descriptions. Returns a container of network numbers
BAPI_BUS2002_GETDATA Returns Detail Data for Network Header.
BAPI_BUS2002_GET_GUID_FROM_KEY Read GUIDS Using the Network Keys
BAPI_BUS2002_GET_KEY_FROM_GUID Read Network Key Using the GUIDs
BAPI_BUS2002_GET_STATUS Get network Status
BAPI create/update Network data:
BAPI Name BAPI Description
BAPI_NETWORK_MAINTAIN To edit network headers, activities and relationships
BAPI_BUS2002_CREATE Create Network Header. Only one network can be created each time this BAPI is called.
BAPI_BUS2002_CHANGE Change Network Header. Only one network header can be changed each time this BAPI is called.
BAPI_BUS2002_DELETE Delete Network Header. Only one network can be processed each time the BAPI is called.
BAPI_BUS2002_SET_STATUS Set/Reset Network Status. At the same time, you can revoke one system status and one user status, or set one system status and one user status in a list of activities for the network.
Activity:
BAPI to extract details of Activity:
BAPI Name BAPI Description
BAPI_BUS2002_ACT_GETDATA Detail Data for Activities
BAPI_BUS2002_GET_ACTGUID_4_KEY Read the GUIDs Using the Network Activity Key. Read the GUID (Global Unique Identifier) using the external object key.
BAPI_BUS2002_GET_ACTKEY_4_GUID Read the Network Activity Key Using the GUIDs. Read the external object key using the GUID (Global Unique Identifier).
BAPI_BUS2002_GET_STATUS Read active system statuses and user statuses for a network header (NUMBER) as well as its activities
BAPI create/update Activity data:
BAPI Name BAPI Description
BAPI_BUS2002_ACT_CHANGE_MULTI Change one or more activities. Activities of one network only can be changed each time this BAPI is called.
BAPI_BUS2002_ACT_CREATE_MULTI Create one or more activities. Activities of one network only can be changed each time this BAPI is called.
BAPI_BUS2002_ACT_DELETE_MULTI Delete one or more activities. Activities of one network only can be changed each time this BAPI is called.
Activity Element:
BAPI to extract details of Activity Element:
BAPI Name BAPI Description
BAPI_BUS2002_ACTELEM_GETDATA Get detailed information about activity elements.
BAPI_BUS2002_GET_ELEGUID_4_KEY Read the GUIDs Using the Activity Element IDs
BAPI create/update Activity Element data:
BAPI Name BAPI Description
BAPI_BUS2002_ACTELEM_CHANGE_M Change one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
BAPI_BUS2002_ACTELEM_CREATE_M Create one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
BAPI_BUS2002_ACTELEM_DELETE_M Delete one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
Activity Type:
BAPI to extract details of Activity Type:
BAPI Name BAPI Description
BAPI_ACTIVITYTYPE_GETDETAIL Detailed information on a selected activity type on Key Date.
BAPI_ACTIVITYTYPE_GETLIST List of Activity Types Using Selection Criteria
BAPI_ACTIVITYTYPE_GETPRICES Determines, for a given day, activity prices for cost center/activity type combinations.
BAPI create/update Activity Type data:
BAPI Name BAPI Description
BAPI_ACTTYPE_CHANGEMULTIPLE Change One or More Activity Types
BAPI_ACTTYPE_CREATEMULTIPLE Create One or More Activity Types
Confirmation:
BAPI to extract details of Confirmations
BAPI Name BAPI Description
BAPI_NETWORK_CONF_GETDETAIL Using this method you can make the detail data of a confirmation for a network available for the transferred object. You can also make goods movement posted together with the confirmation available.
BAPI_NETWORK_CONF_GETLIST All confirmations are determined for the specified network activity or activity element. The transferred capacity category and split are interpreted as additional constraints
BAPI_NETWORK_CONF_GETPROP To make default data available for confirming network activities
BAPI create/update Confirmation data:
BAPI Name BAPI Description
BAPI_NETWORK_CONF_ADD To enter confirmations for network activities/ activity elements and splits.
BAPI_NETWORK_CONF_CANCEL To cancel a network confirmation that has already been booked.
Thanks ,
Dhruv Kumar Malhotra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
You can use BAPI_PROJECT_MAINTAIN for that. In this case when you create or change activities with this BAPI, you can provide the Workcenter and Activity Type details along with it. Maintain CNR2 & CJR2 for the respective workcenter and activity type independantly.
Regards
Renjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.