Quantcast
Channel: SCN : Unanswered Discussions - SAP Business ByDesign
Viewing all articles
Browse latest Browse all 4032

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

$
0
0

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

 

MD1Capture.JPG

 

Step 2 Fill the Run ID , Run Description

 

MD2Capture.JPG

 

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.

MD3Capture.JPG

After set the job click on save and close.

 

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

 

MD4Capture.JPG

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


Viewing all articles
Browse latest Browse all 4032


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>