Custom Data Extension and Report execution

Hello guys,
I need some help.
On the reports I'm developing I need to call some complex web services. As such, I developed an data extension in C#, which calls code from a dll. In that dll I'm calling the web services I need, and working on the data in order to get the datatables I need
(this dll is also coded in C#).
One requirement I have is for the web services being called only once. This is required as some web services return data for more than one table on the rendered report, and as such, I don't want to get the same data twice.
In order to do this and to be easier to code, I made the classes that call the web services static. The question is if when two users request different reports, I will have problems with shared variables (which are also static) or if reporting services launch
various threads which won't share the same static classes.
Thanks

Hello,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Thanks,
Alisa Tang
Alisa Tang
TechNet Community Support

Similar Messages

  • How to Test SSRS Custom Data Extension in TSql

    Hi There,
    I have created a custom data extenstion for SSRS 2008 Reporting Service.
    I can test the CDE in the Report DataSet -> DataSet Properties -> Query Designer -> Run Query.
    In the Command Text I pass parameters to the invoked VB code which is of type "BaanstedeCds" then name of my custom data extension.
    I can even Attach the Visual Studio VB Code Project that is invoked by the Query Designer an debug the code.
    The custom data extension works perfectly in SSRS.
    However I have not found a way yet to run BaanstedeCds (with a parametertext) from within SSMS 2008 by using an T-SQL statement!!! Is there a way to use the SSRS Custom Data Extension in Sql Server Management Studio using the dataset type I used in
    SSRS 2008?
    Because I am leaving the path of using Custom Assemblies in SSMS, for deploying an testing that way is undoable for me.
    I is to complicated and in order to properly debug these routines the entire solution of multiple projects is deployed each time even the slightest change has been made to the VB code. Also if I want to deploy from Test to Production it is very hard. I have
    to detach the databases etc, ect.  Note my previous question about this subject that remained unanswered!!!
    Using the Custom Data Extension the problems are a lot less. However I how do I use a routine in the CDS in T-SQL, like I could invoke a routine in the Custom Code Assemblies?
     I "hate" CLR routines. I have extreme trouble managing these CLR's as I explained in my post and other posts in the past.
    You just cannot build a maagable system that way.
    I had to convert all the CLR's (I had a lot of them) to Custom Data Extension Functions, as they do not have all the drawbacks  of CLR's.
    And using the CDE with all the converted CLR's in it works much better for me in the Report Manager.
    However in order to test de CDE I must invoke the CDE in a Windows Form something like this:
    Private Sub cmdGetData_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGetData.Click
    Dim CommandText As String = ""
    ' Get Parameters for CDE GetData
    CommandText = txtAdoCds.Text
    Dim Rdr As New BstCds.BaanstedeCdsReader(CommandText)
    ' Invoke GetData Function of CDE Rdr
    ' Input: CommandText: txtAdoCds.Text = TextBox on TestForm
    ' Output: DataTable: RdrDataTable
    Call Rdr.GetData(CommandText)
    If Not Rdr.RdrRetVal Then
    GoTo End_Method
    End If
    ' Show DataTable: RdrDataTable (in Excel)
    If Not BstOff.ToonTabel(DataTabel:=Rdr.RdrDataTable) Then
    Exit Sub
    End If
    End_Method:
    End Sub
    '=========================================================================
    ' File: BaanstedeCdsReader.vb
    ' Summary: Provides a means of reading one or more forward-only streams
    ' of result sets obtained by executing a command at a data source,
    ' and is implemented by Baanstede Data Processing Extensions
    ' that access BaanstedeIw3-routines.
    '=========================================================================
    Public Class BaanstedeCdsReader
    Implements IDataReader
    #Region "Public Variables"
    Public RdrRetVal As Boolean = False
    Public RdrSqlSel As String = ""
    Public RdrDataTable As DataTable = New DataTable
    #End Region
    #Region "Constructors"
    #End Region
    #Region "IDataReader Members"
    #End Region
    ' GetData '
    #Region "GetData Method"
    '==================================================================================================
    'We are executing the command using the connection string that connects to the Active Directory.
    'Hard coding of the connection string is because it is the same for all the ADs.
    'Once we read the data using a DataReader, we place the same in a DataTable so that can be used for
    'Other processings.
    ' Public Sub GetData(ByVal _CommandText As String)
    ' Output in Public RdrDataTable As DataTable
    '==================================================================================================
    Public Sub GetData(ByVal _CommandText As String)
    ' Ophalen Data in DataTabel '
    RdrRetVal = False
    ' Fills RdrDataTable Using _COmmandText
    RdrRetVal = True
    End Sub
    But can I invoke Report Manager Source Type BaanstdeCds's .BaanstedeCdsReader.GetData(CommandText) in TSQL any other way then using CLR ?
    Regards Jos
    It works, but it does not work (The program runs, but does not produce the desired result)

    Hi Josje,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Copy data models and reports from BW 3.1 to NW 2004s

    Hi experts,
    Our client has two BW servers: BW 3.1 and BI 7. BW 3.1 contains lots of data models and reports. And the BI 7 server is newly installed.
    Now we want to copy these data models and reports from BW 3.1 to the new BI 7 server. Are there any solutions for this?
    Thank you very much in advance.

    Hi Frank,
    Sounds like a cross version transport is needed.
    This is a solution we have used to do what you want to do:-
    Create and release a transport as per normal.
    Copy and transport the files from the source system (BW 3.1) e.g /usr/sap/trans/data & /usr/sap/trans/cofiles to the same folders on the target system.
    Basis help is needed here.
    From here onwards using stms_import should help you in the normal manner.
    Works a treat.
    Have transported the following all correctly appearing as 3.x data models in NW2004s.
    DSO objects.
    Cubes
    Transfer/Update rules
    Reports.
    Cheers,
    Pom

  • MCTS 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012

    I am searching for training kit for Exam 70-466 (Implementing Data Models and Reports with Microsoft SQL Server 2012) but I think is not published yet. I was expecting its release in Jan or Feb 2014. Would any one can tell me its release date or any place
    where I can find this book.
    Thanks
     

    Hi Azhar lqbal Gondal,
    According to your description, since the issue regards training and certification,
     I suggest you post the question in the Learning forums at
    http://social.technet.microsoft.com/Forums/en-US/home?category=learning. It is appropriate and more experts will assist you. If you have a specific technical question about Microsoft SQL Server,
     you can visit and post your question on  the SQL Server Forum.
    There is some detail about Exam 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012, you can review the following articles.
    Exam content can be found here:
    http://www.microsoft.com/learning/en-us/exam-70-466.aspx
    http://borntolearn.mslearn.net/certification/database/w/wiki/525.466-implementing-data-models-and-reports-with-microsoft-sql-server-2012.aspx#fbid=Mn-t6aRhs-H
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • DB link problem between active Data Guard and report application database

    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?

    Fazlul Kabir Mahfuz wrote:
    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?
    Check this note which is applicable for your environment
    *ORA-01555 on Active Data Guard Standby Database [ID 1273808.1]*
    also
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8908307196113

  • BEA Custom Data Transfer and non-BEA Producer Portals?

    Hello,
    I recently had a problem where my BEA 10 Consumer was not sending my BEA 10 Producer the user's x509 digital certifcate used in authentication. In a non-WSRP environment, the certs come over in the HttpServletRequest object. I was told that for WSRP, BEA strips things out of the request object and the cert was one of those things. The solution was to implement BEA's Custom Data Transfer. I was able to create a solution for our problem using this approach. All is well.
    Now I have run into a problem where one of our other projects is using a non-BEA portal and wants to also be a Producer. Since the Custom Data Transfer is a BEA solution (the Producer portlet class imports BEA classes), how can a non-BEA Producer receive the user's digital certificate since they presumedly can't implement the BEA Custom Data Transfer (unless, I guess, they bring in some BEA library file with those particualr classes).
    Any insight? Thanks - Peter Len

    Peter,
    What producer are you using, some other vendors have implemented BEA's
    custom data transfer. Also, the WSRP committee is looking into
    standardizing this.
    Additionally, you may use an interceptor (9.2 and later) to set HTTP
    headers that the producer may be able to use.
    Nate
    Peter Len wrote:
    Hello,
    I recently had a problem where my BEA 10 Consumer was not sending my BEA 10 Producer the user's x509 digital certifcate used in authentication. In a non-WSRP environment, the certs come over in the HttpServletRequest object. I was told that for WSRP, BEA strips things out of the request object and the cert was one of those things. The solution was to implement BEA's Custom Data Transfer. I was able to create a solution for our problem using this approach. All is well.
    Now I have run into a problem where one of our other projects is using a non-BEA portal and wants to also be a Producer. Since the Custom Data Transfer is a BEA solution (the Producer portlet class imports BEA classes), how can a non-BEA Producer receive the user's digital certificate since they presumedly can't implement the BEA Custom Data Transfer (unless, I guess, they bring in some BEA library file with those particualr classes).
    Any insight? Thanks - Peter Len

  • Addional customer data extension in the screen

    As u know there are 10 fields in Customer master (addional customer data-central).
    Need to add some more values to the screen by including customs fields to kna1.
    But how can i make those displayed in the screen?

    Apart from adding the additional customer fields in the Include structure of the KNA1 table, further settings has to be done in SPRO.
    For example, to add a field KNA1-STCD3 (Tax Code 3) to TCODE XD01,XD02.
    SPRO
    financial accounting -> Accounts Receivable and Accounts Payable ->
    Customer Accounts -> Master Data -> Preparations for Creating Customer
    Master Data -> Define Account Groups with Screen Layout (Customers)
    select your account group
    In the Field status screen, double click on General data
    Then double click on Control
    Activate Tax number 3
    select Change customer (Centrally)

  • Custom Data Type and Enumeration

    We use MSSql Server and the database has some tables which has custom
    fields with restrictions. Can I map Enumeration object to these fields?
    Something like this -: Employee table has Type field which can have value
    of Manager, Programmer, CEO. Can Employee class with Enumeration object
    for Type be mapped? If yes, can reversemappingTool generate such class
    with some options?

    The reverse mapping tool cannot reverse-map enumerated types without
    some significant customizations. However, the Kodo runtime can support
    enumerated types through our general externalization feature:
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_mapping_fieldmapping.html#ref_guide_mapping_fieldmapping_extern
    The samples in samples/externalization include an example of using
    externalization to support an enumerated type.
    The easiest thing would be to add the externalization metadata
    extensions and code to the files generated by the reverse mapping tool
    by hand.

  • Customizing the Monitoring and Report Viewer - ACS 5.2

    Is there a way to modify the columns shown in the monitoring and reporting viewer so that I can see all of the relevant columns in one screen, similar to the ACS 4.x view?  I would like to view things at a glance, rather than having to click into each item.  Thank you for your help in advance.

    that's correct. here is what we have in ACS 5.4 for snmp.
    ACS 5.4 supports Simple Network Management Protocol (SNMP) to provide logging services. The SNMP agent provides read-only SNMPv1 and SNMPv2c support. The supported MIBs include:
    •SNMPv2-MIB
    •RFC1213-MIB (MIB II)
    •IF-MIB
    •IP-MIB
    •TCP-MIB
    •UDP-MIB
    •CISCO-CDP-MIB
    •ENTITY-MIB
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.4/device_support/sdt54.html#wp71020
    ~BR
    Jatin Katyal
    **Do rate helpful posts**

  • Custom file extensions and Sandboxes

    I have created a custom extension using the web.xml file,
    ConnectorInstall0.bat file and my webserver. The file serves up
    correctly and looks fine but the security sandbox does not work for
    my files with my custom extension! I can't find any information
    anywhere on this. Anybody have any ideas???

    Welcome to Apple Discussions
    Downgrading to 10.4 won't help much. The problem lies in AppleWorks being a Classic application that was carbonized to run in OS X. It just doesn't "understand" extensions. Although adding the period in Leopard is new, the problem with the error messages when you save an AppleWorks document as text or Word & add the appropriate extension is not new. I've given up & just add the correct extension in Finder.

  • Custom Date Groupings in Report

    Hello I need some strange customer-requested date grouping in columns:
    Current month/Next 2 months/Rest of Next Year
    for example, Report Date 2007.11.15, groupings would be:
    2007.10 / 2007.10-11 / 2007.12-2008.09
    How can I do it in BEx? From what should I start??

    Hi
    Sory guys I post above question in wrong section.This question is not belong to this section.
    thanks
    Tank50

  • Data selection and report generation

    Hi,
    I want to create a report with information about friends. I have a class like this:
    public class friend(){
    Date born;
    Vector phones;
    String name;
    I have a collection of friends and I want generate a report with some of them. I want to select those friends that verify some restrictions like this:
    - Friends with a born date in a range (ej: from 1960 to 1965)
    - Friends with the same work phone
    - etc.
    My solutions is anything like this:
    class FriendFilter(){
    Friend from_friend;
    Friend to_friend;
    boolean filter_born=false; // To say if may be aplicated the filter
    boolean filter_phone=false;
    My question is if there are any pattern for this. Is this solution the best one?
    Thank you in advance.

    The filter class might look a little different. You need to pass the collection of Friend objects to the filter class. And then you can have the query methods that filter the Friend objects.
    public class FriendFilter {
    private Collection friends;
    FriendFilter(Collection f) {
    this.friends = f;
    public Collection sortByBirthYear(int beginYear, int endYear) {
    public Collection sortByPhoneNumber(int phoneNum) {
    }

  • Need Data Model and Report Suggestions in Design aspect

    Hi all,
    I have a requirement as shown below
    The reports need to be available on different hierarchy levels with corresponding levels of details. To aggregate the data the standard price is applied as the weighting factor. The STANDARD PRICE should be provided on IDH-VU (plant) level in EUR. The Logic can be seen below:
    mat, plt, Forecast, Actual, Absolute Forct Error, STD Price, Wgtd For Error(WFE),Weighted Actuals(WA), Agr Ext Sales FCA
    Absolute Forecast Error = ( F-A)      
    WFE= ( AFE * STD Price)
    WA= ( Actual * STD PRICE ) (1-(WFE/WA )
    m1, p1,   900,      600 ,          300 ,                               3 ,             3003 = 900  ,           6003=1800,                (1-(300/600))=
    m1,p2 ,  1000  ,      1200     ,      200 ,                              10 ,                 2000   ,                    12000    ,                  (1-200/1200)
    Total
    On country level:                                                                     Sum of WFE (SWFE)  Sum of WA(SWA)      (1-SWFE/SWA) 
    Figure 11: Aggregation Logic
    The forecast in quantity is multiplied with the STANDARD PRICE per unit. The sum of all weighted forecast, is the aggregated figure for the next level.
    HOw to get the value  (1-SWFE/SWA) in report and what model i should follow?
    Thanks & Regards
    Jana
    Edited by: Janardhan Karmala on Jan 5, 2012 3:01 PM

    Hi Dan,
    I have just joined this SAP community. Did you get any solution to your question? We have the same situation in our company too. I suppose Profit Center could be used for this, but ... is it possible to plan by trading partner GL company (intercompany transactions) in Cost Center accounting as well ?
    Thank you in advance!

  • Data Source and Report on new BO

    I have a new BO. I have created and activated a new data source for the BO. I can create a report based on this new BO. How can I deploy(assing) the report to my partner work center?

    For information, please see [Add a Report List View to a Work Center|https://my020062.sapbydesign.com/sap/a1s/cd/wkt/doc/ktp/Products/A1S_UID/UID_Tool_Environment/UID_Tool_ByDStudio/HT_AssignReporttoWorkCenter.xml?ptc=text%2fhtml&prof=X&COMPONENT=A1S_PDI&INDUSTRY=&LANGUAGE=en&REGION=&RELEASE=300&TASK=CR_VIEW].
    Edited by: Helen Fawcett on Jun 11, 2012 8:26 AM

  • HR data administration and reporting - restricting access

    Hello All
    We have a single role for HR data adminsitrators.  There is no distinction on PA, PSA u2013 no further breakdown u2013 everyone gets to see everything and they have access to change everything.  How may we restrict access?  Any help would be greatly appreciated.

    Hi,
    Please let me know if you are using Structural authorizations.
    For non-structural security, without any breakdown on PA, PSA, EE groups/subgroups, you may use Organizational key (VDSK1 field of Auth object P_ORIGIN) to restrict the data access.
    In the standard configuration, the field is filled with the values of Personnel Area and Cost Center.In Customizing activity, you can set up Organizational Key and define your own rules for the field.  Ex: Organizational Key with an employeeu2019s Organizational Unit and Cost Center. It can be configured to include any of the data from Infotype 0001 (Organizational Assignment) within HR.
    The Organizational Key essentially provides an additional user-defined field to be used for security restrictions.
    Hope it helps!
    Thanks,
    Sandipan

Maybe you are looking for

  • Project duplication:  Copy/Paste vs. Export/Import

    Anyone have any thoughts on project duplication? Presently I am copying a project and then pasting it into multiple new locations then renaming them. Recently I was in a training session where the instructor suggested exporting the project and then i

  • Failed to retrieve data from the database crystal reports 2008 in SAP  B1

    Hello friends,              I am using Crystal report 2008 with SAP B1 PL 8.8. When I run any report,  it runs correctly from Crystal Report. But whenever I try to open the same report through SAP ( Tools -> Preview External Crystal Report ), it prom

  • Cannot load music into iTunes

    I am having a problem loading some of my music into iTunes. I choose the folder (or even just the file) and have it load. It shows the bar analyzing files and it goes through all of the files, but then nothing happens and the music is not loaded or o

  • Adobe Air Apps connection

    Forgive the amateur nature of this question if the answer is readily out there. As an Adobe AIR apps user, how do Adobe Air applications connect to the internet and how can this be configured...I don't seem to see a readily apparent shell application

  • Preview does not save changes?!

    I love the way I can easily manipulate photos using preview. But, a strange thing occurs, here the workflow: 1) I select photos and drag them to Preview 2) I choose "Rotate" and it rotates the photo and the little red dot in the upper left corner ind