Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Re: Scheduling a report in SAP BusinessObjects

$
0
0

Instead of using a parameter for the Date Accounted, create a formula like this:

 

{@LastMonth}

DateVar lastmonth := DateAdd('m', -1, CurrentDate);

Date(Year(lastmonth), Month(lastmonth), 28)

 

In the Select Expert, manually edit the selection formula like this:

 

{tblBusinessPartner1.BP_ID} = {?paramBP_ID} and

{tblVoucherHeader1.VH_DATE_ACCOUNTED} = {@LastMonth}

 

If you want all of the business partners in the same report, I would group by Business Partner as your outer group then go to the Section Expert for this new group footer and turn on "New Page After" for the group.  Do not check the checkbox; instead click on the formula button to the right of it and enter this formula:

 

Not OnLastRecord

 

This will prevent a blank page at the end of the report.

 

If you need to have separate reports for each business partner, then you'll do one of two things depending on how the report will be delivered:

 

1.  Users get the report through BI Launchpad/InfoView only:  Create a recurring schedule for each partner.

 

2.  Reports are emailed to the specific partners and each partner should only receive their own data:  Schedule a publication.

 

     a.  Create a new report to use as a "Dynamic Recipients" report.  This report will include the name of the business partner, the BP_ID value, and the partner's email address.

 

     b.  Create a new publication using your original report as the "Source Document".

 

     c.  Use the new report in the Dynamic Recipients.  Set the BP_ID as the "Recipient Identifier", the name as "Full Name", and the email address as "Email".

 

     d.  Under "Personalization", set ?param_BP_ID} to be the BP_ID from the Dynamic Recipients report.

 

     e.  Set the format that you want to use to deliver the report.

 

     f.   Set the Destination for the report.  If it's email, use '%SI_EMAIL_ADDRESS%' in the To address to pick up the email address from the Dynamic Recipients report.  For all destinations, use a specific file name - you can select "User Full Name" from the "Placeholder" list to add the partner's name to the file name.  I usually use this format with placeholders: 

 

Title-User Full Name-DateTime.File Extension

 

which looks like this:

 

%SI_NAME%-%SI_USERFULLNAME%-%SI_STARTTIME%.%EXT%

 

-Dell


Viewing all articles
Browse latest Browse all 3273

Latest Images

Trending Articles



Latest Images

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