Hi Experts,
I have create custom solution and create the business object sample as below:
import AP.Common.GDT as apCommonGDT;
import AP.FO.Activity.Global;
import AP.PC.ActivityManagement.Global;
import AP.CRM.Global;
businessobject TotalActvity raises DateError, NotNull, NodeMsg , GenePDF , SendMail{
message DateError text "Start Date &1 Not Greater than End Date &2 .": Date, Date;
message NotNull text "Start Date and End date should be not inistal.";
message NodeMsg text "Node Level Data Successfully Updated.";
message GenePDF text "PDF Successfully generated with data.";
message SendMail text "Email Send successfully with genetated PDF.";
element Description : LANGUAGEINDEPENDENT_LONG_Text;
element Start_date : Date;
element End_date : Date;
element All : Indicator;
element Task : Indicator;
element App : Indicator;
element Phone : Indicator;
element Email : Indicator;
node AllAct [0,n] {
element ActID : BusinessTransactionDocumentID;
element ActDesc : EXTENDED_Name;
element ActType : LANGUAGEINDEPENDENT_MEDIUM_Text;
element ActStatus : ActivityLifeCycleStatusCode;
element Actdate : GLOBAL_DateTime;
element ActAcc : PartyID;
element ActOwn : PartyID;
[DependentObject(TextCollection)] node myNode;
}
[DependentObject(AttachmentFolder)] node Attachment;
action AutoSendMail;
action GenerateODF;
action SendEmail;
action UpdateActivity;
}
I have created the scripting file for the above custom action mentioned under the business object. I have write down the logic and when i save and activate i am getting the below error in each custom action :
Error:
Error | 13 | [Activate] Root: Error in activation of runtime object | TotalActvity-Root-Action-AutoSendMail.absl |
Error | 14 | [Activate] Root: Error in activation of runtime object | TotalActvity-Root-Action-GenerateODF.absl |
Error | 15 | [Activate] Root: Error in activation of runtime object | TotalActvity-Root-Action-SendEmail.absl |
Error | 16 | [Activate] Root: Error in activation of runtime object | TotalActvity-Root-Action-UpdateActivity.absl |
Error | 17 | [Activate] Root: Error in activation of runtime object | TotalActvity-Root-Event-BeforeSave.absl |
Error | 18 | [Activate] Syntax error in generated ABAP method | TotalActvity-Root-Action-UpdateActivity.absl |
I am using the SAP SDK 1411 version.
Can anyone help me how to solve this issue or whats wrong solution or code?
Many Thanks,
Mithun