Skip to Content
0
Former Member
Oct 30, 2014 at 12:04 PM

SAP Cloud SDK : Custom Mass Data Run For Custom Business Object

384 Views

Hi Experts,

I have develop custom solution with the below completed task.

Sample BO:

businessobject CustomActivitySend {

element Desc : LANGUAGEINDEPENDENT_Text;

element Sdate : Date;

element Edate : Date;

node ZAct [0,n] {

[Label("Activity ID")] element ActID : BusinessTransactionDocumentID;

[Label("Activity Type")] element ActType : LANGUAGEINDEPENDENT_MEDIUM_Text;

[DependentObject(TextCollection)] node myNode;

}

[DependentObject(AttachmentFolder)] node Attachment;

action SendEmail;

}

I have code on "SendEmail" action as below.

1) Create Root Level data

2) Create Node Level data

3) Generate PDF using above Root level as well as Node level data

4) Send Email with above generated PDF to the employee.

The above process / task completed.

I have create Mass Data run for the above process and i can able to see the work center on the same custom business object work-center.

When i follow the below steps to schedule a job.

Step 1. Open Mass Data Run Work-center view and Click on New button

Step 2 Fill the Run ID , Run Description

After Click on Save , Set as Active and Select Schedule button to set background job

Note 1: I am not using any selection or query parameters i am just add because of the creation of Mass Data Run the pre-requisite are 1) Custom Action button and 2) Query For that custom business object.

Note 2 : All the Process based on Custom Action button not based on any query parameters

Step 3. Now set the job as below with any condition.

After set the job click on save and close.

Step 4. again Save and Close to go to main screen.

Once we comes to "Mass data run" main screen i can not see any entry or log under the OWL of Mass data run but i can get the email with result.

Can anyone please help me what step miss in the above process or anything wrong at the time of create mass data run.

Many Thanks,

Mithun

Attachments

MD1Capture.JPG (32.3 kB)
MD2Capture.JPG (50.8 kB)
MD3Capture.JPG (30.0 kB)
MD4Capture.JPG (34.8 kB)