Cognos Analytics

 View Only
  • 1.  Write Back to DB using SP in Cognos

    Posted Fri September 23, 2022 02:02 PM
    Hi All,

    The requirement is user will enter a comment ( in text box prompt) and that should be updated / inserted into a table in Db, Later it can be viewed as a report.
    Also we need to capture the user who enter the comment and date. In order to achieve this we created a stored procedure and it was successfully validated in FM, post FM works when I try to use it in report studio the data is not written back to DB. 
    Using session parameters we can capture the user name / mail ID, current date. But how can we pass this data into table?  Seeking for experts help. 

    Thanks in advance

    ------------------------------
    Logenthiran Thangavel
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Write Back to DB using SP in Cognos

    IBM Champion
    Posted Sun September 25, 2022 06:59 AM
    What is the definition of the stored procedure in FM? It's been a while since I've worked with FM, but I believe there are two types. Data Entry and Query. If you're using this in Report Studio make sure it's the query type.

    ------------------------------
    Paul Mendelson
    ------------------------------



  • 3.  RE: Write Back to DB using SP in Cognos

    Posted Mon September 26, 2022 12:58 AM
    Hi Paul,

    The SP definition in FM is "Data Query"

    Thanks,
    Logi

    ------------------------------
    Logenthiran Thangavel
    ------------------------------



  • 4.  RE: Write Back to DB using SP in Cognos

    Posted Sun September 25, 2022 02:04 PM

    Suggest you refer to

    https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=subjects-creating-modifying-stored-procedure-query#modify_stored_procedure_query_subject

    and

    https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=mode-stored-procedures-transaction-access-modes



    ------------------------------
    NIGEL CAMPBELL
    ------------------------------



  • 5.  RE: Write Back to DB using SP in Cognos

    IBM Champion
    Posted Mon September 26, 2022 06:58 AM
    Hi All.

    Do you know that there is a free Cognos add in for this requirement in Accelerator Catalog?
    https://community.ibm.com/accelerators/catalog/content/Apparo-Fast-Edit

    Apparo Fast Edit allows
    • Write back to a relational database
    • Comment function for reports and dashboards
    • Workflow processes
    • Planning applications
    • Excel upload
    • Historization of data entry
    • Benefits of Cognos Security
    • Excel import into a relational database
    • and much more...
    If you need more than the free license, please contact me. We can extend the license.
    https://www.linkedin.com/in/jensbaeumler/

    Regards,

    Jens

    ------------------------------
    Jens Bäumler
    Senior Consultant and Trainer
    Apparo Group
    ------------------------------



  • 6.  RE: Write Back to DB using SP in Cognos

    Posted Fri September 30, 2022 12:00 AM
    Hi All,

    Thanks for your response, I am able to achieve the requirements. 

    Thanks Again.

    ------------------------------
    Logenthiran Thangavel
    ------------------------------



  • 7.  RE: Write Back to DB using SP in Cognos

    Posted Mon October 03, 2022 08:26 AM
    @Logenthiran Thangavel - can you give some details on how you accomplished this?​

    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------