cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mithun,

I do not know whether you did this (your description does not mention this step), but did you refresh the OWL again by pressing "Start" after creating your mass data run entry?

Creation of a new entry does not trigger an OWL update.

Apart from this, your step-by-step-description should create a new mass data run entry.

Best regards,

Ludger

Former Member
0 Kudos

Hi Laudger,

When i Create new entry using "New" button from mass data run.

after completion of all the step the entry of mass data run display under the below screen after Refresh.

but it display blank i have set many job for this custom solution and getting result also but the schedule job details not display under the above screen till now.

Many Thanks,

Mithun

Former Member
0 Kudos

Hi Experts,

Please any comment on this post help me if anyone have idea how to solve this.

If required i will give you more details on it.

Many Thanks,

Mithun

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mithun,

Sorry for asking, but

  • You get the e-mail
  • You do not see any entry in the MDR OWL

Is this correct?

Bye,

   Horst

Former Member
0 Kudos

Yes sir,

Correct .

When i create new MDR and Run i can able to receive email with schedule job but the entry not display in OWL of MDR.

Many Thanks,

Mithun

Former Member
0 Kudos

Hi Mithun, not sure if I understood.

1) Create the MDR

2) Schedule and leave the MDR living to trace the related schedulations

To see the details

1) select the MDR

2) schedule

Former Member
0 Kudos

Hello Alessandro,

I am facing the same problem as Mithun.

I cannot schedule because there is no Job shown in OWL.

Hi Mithun,

If you have solved this problem, could you please kindly tell how you did it.

Thanks and Regards,

Thu Thu

Former Member
0 Kudos

Hi Thu Thu Kyi Sin,

I have re-generated screen and deploy business config and I can able to see the details in OWL.

please try and check if this works for you.

Regards,

Mithun

Former Member
0 Kudos

Hi Mithun Suthar,

Thank you for your reply.

Regards,

Thu Thu

Answers (0)