web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to Add Fields to a Canned SSRS Report

(1) ShareShare
ReportReport
Posted on by

Hi:

I simply want to add a couple of fields to the canned GP SSRS Historical Inventory Trial Balance (HITB), such as the Item Class Code.

In Report Builder, I was able to create a Data Set called "ITEMS" based on the simple "select * from IV00101" query. 

But, when I tried to add the Item Class Code field as a column in the report from this new Data Set in the HITB, I received an error saying that only fields from the HITB's original Data Set can be added to the report.

I realize that it is easy to create a new HITB report in some form simply by basing a new report on the SEE30303 table, but I want to modify the canned HITB report as requested by the end user.

And, yes, I know that I can duplicate the stored procedure that the canned HITB report is based on and create a similar SSRS report based on the revised duplicate stored procedure.  This, however, seems like a lot of "trouble" just to add one or two fields.

Not only that, if I were to change the original HITB's Data Set to look at a "revised" duplicate stored procedure, how would that affect potentially other canned GP SSRS reports that use this same Data Set?

Why is the canned report not letting me add fields from a newly created Data Set?  Is there another means of modifying such a canned report?

Thanks!

John

Categories:
I have the same question (0)
  • bgajjar Profile Picture
    150 on at

    Hi

    First of I would recommend not modify out of the box SSRS Report or Stored Procedure, so try below steps.

    Duplicate seeHITB SP  as [seeHITB_Custom], change last line of code as below

    SET @acctsegt = 'select a.*, b.ACTNUMST, c.ITMCLSCD from ' + RTRIM(@temptable) + ' a, GL00105 b, IV00101 c where a.ACTINDX = b.ACTINDX and a.ITEMNMBR = c.ITEMNMBR'
    EXEC (@acctsegt)
    GO

    Duplicate GP's "Historical Inventory Trial Balance Detail" SSRS Report as  ""Historical Inventory Trial Balance Detail - Custom" Edit this custom report and change DataSet  command seeHITB to eeHITB_Custom, and click refresh, refresh will refresh field list with ITMCLSCD new field, now you can this field to the report.

    I hope this is what you are looking for.

    Thanks

    Bharat

     

  • Alaa Ramadan Profile Picture
    4,130 on at

    This is message more related to your SSRS report. typically it pops up when you attempt to add a field from different data set other than the one linked to SSRS table.

    in SSRS report design, right click on the table that you want to add the new field to and check the name of the dataset.

    Make sure the new field belong to the same dataset.

  • Community Member Profile Picture
    on at

    Hi Bharat:

    The report is not finding the new stored procedure.  What are your thoughts?

    Thanks!

    John

  • bgajjar Profile Picture
    150 on at

    Hi John,

    As I explain in my last reply, you need to change SP name to your custom new SP name in the SSRS Report, make sure you create your custom SP first and setup required permissions, see attached screen shot for how to change SP name in report. i hope this will help.

    pastedimage1595258059324v1.png

    Good Luck.

    Bharat

  • Community Member Profile Picture
    on at

    Yes, and I had done all of that already.  The stored proc is not appearing.

    You mention "permissions".  How do I check for this?

    John

  • bgajjar Profile Picture
    150 on at

    when you say "stored proc is not appearing" do you get any error when press Refresh Fields Button ? and if you send you stored proc script.

  • Community Member Profile Picture
    on at

    The stored proc is not in the drop-down list.

  • bgajjar Profile Picture
    150 on at

    Just type your new SP name manually, and click "Refresh Fields" button, if you don't get any error then just press OK button otherwise check your Data Source in the report, pointing to correct GP database where you have created custom SP.

    -Bharat

  • Community Member Profile Picture
    on at

    Hi Bharat:

    I had already tried typing the name of the stored proc manually and the Data Source is pointing to the correct company.  Still, it's a "no-go".

    John

  • bgajjar Profile Picture
    150 on at

    and you you dont get any error, when you press Refresh Fields ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans