SAP Community Groups Community
  • Groups
    • Location
      • Americas
      • Asia Pacific
      • Europe
      • Middle East and Africa
    • Interests
      • SAP Learning Groups
      • Application Development
      • Career Corner
      • Coffee Corner
      • Enterprise Architecture
      • Government HXM User Group
      • Inclusion through Accessibility @SuccessFactors User Group
      • Information Architecture
      • North America HXM - Healthcare Industry User Group
      • Open Documentation Initiative
      • SAP Builders
      • SAP SuccessFactors Compensation User Group
      • SAP SuccessFactors Employee Central Payroll User Group
      • SAP SuccessFactors Employee Central Service Center User Group
      • SAP SuccessFactors Employee Central User Group
      • Qualtrics Employee Experience User Group
      • SAP SuccessFactors Learning Life Sciences User Group
      • SAP SuccessFactors Learning User Group
      • SAP SuccessFactors Onboarding User Group
      • SAP SuccessFactors People Analytics User Group
      • SAP SuccessFactors Recruiting User Group
      • SAP SuccessFactors User Group Advisory Board
      • SAP Training and Change Management
      • SAP Women in Tech
      • Validated SaaS SAP SuccessFactors Learning Communication User Group
      • Welcome Corner
      • SAP University Alliances
    • Activities
      • Devtoberfest
      • SAP CodeJam
      • SAP TechEd
    • Influence and Feedback Groups
      • SAP Influencers and Advocates
      • Group Owners and Curators
  • Events
    • Devtoberfest Events
    • Localization
    • SAP CodeJam
    • SAP Community
    • SAP Community Calls
    • SAP InsideTrack
    • SAP Stammtisch
    • SAP SuccessFactors
    • User Groups
  • Products
    • Human Experience Management
      • Human Experience Management Q&A
      • Human Experience Management Blogs
HelpSign In
  • SAP Community Groups
  • Products
  • Human Experience Management
  • Human Experience Management Q&A
  • SAP LMS custom report to pull class and enrollment...
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
SAP Community Log-in Update
In a few months, SAP Community will switch to SAP Universal ID as the only option to login. Don’t wait, create your SAP Universal ID now! If you have multiple S- or P- accounts, use the Consolidation Tool to merge your content. Get started with SAP Universal ID now!
Options
  • Subscribe to RSS Feed
  • Mark Question as New
  • Mark Question as Read
  • Bookmark
  • Subscribe
  • Printer Friendly Page
  • Report Inappropriate Content

SAP LMS custom report to pull class and enrollment data for a specific facility and start/end dates

lratermann
Stellar 2 lratermann
Stellar 2
Options
  • Subscribe to RSS Feed
  • Mark Question as New
  • Mark Question as Read
  • Bookmark
  • Subscribe
  • Printer Friendly Page
  • Report Inappropriate Content

on ‎04-18-2023 6:47 AM

Good Morning!  I have a custom report I run by facility and start and end dates.  The report was written in the Plateau Report Designer tool.  The report lists all the classes (scheduled offerings) for the facility and dates.  I pull the start and end times from the pa_ssg_locn table but the times are incorrect.  When I look at schedule offering in the application the start time is 8:00am and the end time is 4:00pm, but the report is showing 1:00pm and 9:00pm.  Here is my SQL to pull in the START_TME and END_TME for the pa_ssg_locn table.  Any help would be appreciated.  Thanks

select
segloc.SCHD_ID,
segloc.SSG_SEG_NUM,
segloc.LOCN_ID,
segloc.START_DTE,
segloc.END_DTE,
segloc.START_TME,
segloc.END_TME,
loc.FACILITY_ID,
loc.LOCN_DESC,
sched.CPNT_TYP_ID,
sched.ACT_CPNT_ID,
sched.REV_DTE,
itemlabel.label_value,
concat(concat(concat(concat(sched.CPNT_TYP_ID,' '),'-'),' '),item.CPNT_ID) as type_item
from pa_ssg_locn segloc,
pa_locn loc,
pa_sched sched,
pa_cpnt item,
PV_I18N_ACTIVE_LOCALE_LABEL itemlabel
where segloc.LOCN_ID = loc.LOCN_ID(+)
and segloc.SCHD_ID = sched.SCHD_ID
and sched.CPNT_TYP_ID = item.CPNT_TYP_ID
and sched.ACT_CPNT_ID = item.CPNT_ID
and sched.REV_DTE = item.REV_DTE
and itemlabel.locale_id='English'
and item.CPNT_TITLE = itemlabel.label_id (+)
and loc.FACILITY_ID = ?
and (sched.cancelled ='N'
/** or sched.cancelled = [IncludeCancelledSO]*/
)
/** and trunc(segloc.START_DTE) >= [FromDate]
and not trunc(segloc.START_DTE) > [ToDate]
*/
order by 4,3

Labels:
  • Looking for an answer
Replies
Replies

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

  • Comment
0 Kudos
Answer

Answers (0)

Ask a Question
New Question
Top Kudoed Posts
Subject Kudos

LRN-138273 Admins can configure instructional mess...

5

How to configure Instructional Text in H1 2023 Pre...

5

ECT-210699 Cannot Sync Job Info Supervisor Positio...

3

1H 2023 -Cannot Change Custom Card Icon/Icon Backg...

3

2023-1H-LMS Release LRN-143095 'Updated Learning C...

2

Re: Visual change in people profile not listed

2

2023 1H 2023 Preview - LRN-138137 Learning API Per...

2

RCM-113217 Deprecation on JobApplication Navigatio...

2
View all
Find us on
  • Privacy
  • Terms of Use
  • Legal Disclosure
  • Copyright
  • Trademark
  • Newsletter
  • Support