SAP ABAP Function Module CRM_PS_ACTIVITY_CREATE (Creation of CRM Activities)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-IPS-BTX (Application Component) Business Transaction
     CRM_PS_ACTIVITY (Package) Public Services Activities
Basic Data
Function Module CRM_PS_ACTIVITY_CREATE Creation of CRM Activities  
Function Group CRM_PS_ACTIVITY   Public Services Activities  
Program Name SAPLCRM_PS_ACTIVITY    
INCLUDE Name LCRM_PS_ACTIVITYU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting ES_NEW_ACTIVITY TYPE CRMT_RETURN_OBJECTS_STRUC Return Structure: Saved Objects
Exporting ET_EXCEPTION TYPE CRMT_EXCEPTION_T Return Parameter
Importing IV_TRANSACTION_TYPE TYPE CRMT_PROCESS_TYPE Business Transaction Type
Importing IV_TEMPLATE TYPE CRMT_OBJECT_ID Transaction ID of a Template
Importing IV_CASE_GUID TYPE SCMG_CASE_GUID Technical Key of Case (Case GUID)
Importing IV_CASE_ID TYPE SCMG_EXT_KEY External Case ID
Importing IV_DESCRIPTION TYPE CRMT_PROCESS_DESCRIPTION Description of Activity
Importing IV_DESC_LANGU TYPE CRMT_PROCESS_DESCRIPTION_LANGU Language Key of Description
Importing IV_ACTIVITYLOCATION TYPE CRMT_ACTIVITY_LCTN Activity Location
Importing IT_BUSINESS_PARTNERS TYPE CRMT_PS_ACT_BP_T BP and BP Functions
Importing IT_EEW_FIELDS TYPE CRMT_ATTR_NAME_VALUE_T Name Value of Customer Enhancements
Importing IV_TIMESTAMP_FROM TYPE CRMT_DATE_TIMESTAMP_FROM Start Timestamp (Date and Time) of Activity
Importing IV_TIMESTAMP_TO TYPE CRMT_DATE_TIMESTAMP_TO End Timestamp (Date and Time) of Activity
Importing IV_APPOINTMENT_TYPE TYPE CRMT_APPTYPE 'ORDERPLANNED' Technical Name for Date Type
Importing IV_DOCFLOW TYPE CRMT_OBJECT_GUID Business Transaction GUID as Document Flow
Importing IV_REASON TYPE QCODE Activity Reason
Importing IV_REASON_CODEGROUP TYPE QCODEGRP Code Group for Activity Reason
Importing IV_GOAL TYPE CRMT_OBJECTIVE Activity Goal
Importing IV_STATUS TYPE CRM_J_STATUS Status of Activity
Importing IV_PRIORITY TYPE CRMT_PRIORITY Activity Priority
Importing IV_CATEGORY TYPE CRMT_ACTIVITY_CATEGORY Activity Category (Communication Type)
Importing IT_TEXT_T100 TYPE CRMT_PS_ACT_T100_T Table for Transfer of T100 Messages
Importing IV_COMMIT_WORK TYPE BOOLE_D Issue Commit Work
Importing IV_BP_DETERM_OFF TYPE BOOLE_D Disable Business Transaction BP Determination
Importing IS_ATTACHMENT TYPE CRMT_PS_ACT_ATTACHMENT Structure for Adding Attachments to Activities
Importing IV_TEMPLATE_GUID TYPE CRMT_OBJECT_GUID GUID of a CRM Order Object
Importing IV_IS_CALLED_IN_EC TYPE BOOLE_D Indicates that this function module is called inside order maintain
Importing IV_LEADING_ORDER TYPE CRMT_OBJECT_GUID GUID of OrderObject in case this funct. mod. is called inside order maintain
Exception ERROR_CRM_ORDER_SAVE TYPE An error occurred while saving activity
Exception ERROR_CRM_ORDER_MAINTAIN TYPE An error occurred while creating activity
Exception CODEGROUP_MISSING TYPE Code group for activity reason is missing
Exception CASE_NOT_FOUND TYPE Case was not found
Exception SEVERAL_CASES_FOUND TYPE Multiple GUIDs were found for external case ID
Exception CASE_GUID_NOT_FOUND TYPE Case GUID was not found
Exception CASE_IS_LOCKED TYPE Case is locked
Exception WRONG_TRANSACTION_TYPE TYPE Transaction type is incorrect
Exception WRONG_BUS_TYPE TYPE Incorrect business object type
Exception INVALID_ACTIVITY_TEMPLATE TYPE Invalid activity template
Exception INVALID_DOCFLOW_ITEM TYPE Invalid document flow object
Exception INVALID_EEW_FIELD TYPE Invalid enhanced field
Exception WRONG_T100_MESSAGE TYPE Invalid T100 message
Exception ERROR_ATTACHMENT TYPE Error while creating attachments
Exception ERROR_CASE_ASSIGNMENT TYPE Error while assigning case
Exception ERROR_CASE_SAVE TYPE Error while saving case
Exception ERROR_BADI_EXIT TYPE Error in the BAdI implementation
Exception ANCHOR_NOT_IN_RECORD TYPE Anchor for the activity does not exist in the case record
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20070309 
SAP Release Created in 500