Retrieiving hashmap which contains database tables in it

Hi,
I am new to java and i am struggling on this issue.
I have an xml file which has readers and publishers.
I am writing some queries in each reader and trying publish that in publisher class.
I have recordset for each query in publisher as property. as shown below
My problem is i am writing a generic publisher class where i have to take all recordsets or resultsets from xml file and display there count, and if count>0 then display one of the columns like all ID's.
As I told, this has to be generic class, even if I add any more readers with queries to my xml file my publisher class has to be same.
I am sending hashmap as parameter to the publish class method, which has all the result sets and their data.
any kind of help is appreciated.
Thanks

any kind of help is appreciated.help with what?
what is the problem?
not a very good first post i'd say

Similar Messages

  • Export dump only 1000 tables from the schema which contains 3000 tables.

    Hi,
    I have an requirement to export the dump only with particular 1000 tables from the schema which contains 3000 tables.
    As I want to take the dump, I need to mention the List of tables in "TABLES" Parameter. But syntax won't allow for 1000 tables.
    Kindly guide me on this to proceed further to take the dump of only particular 1000 tables.
    Thanks in advance.
    Thanks,
    Orahar.

    I have an requirement to export the dump only with particular 1000 tables from the schema which contains 3000 tables.
    As I want to take the dump, I need to mention the List of tables in "TABLES" Parameter. But syntax won't allow for 1000 tables.
    Kindly guide me on this to proceed further to take the dump of only particular 1000 tables.You haven't mentioned the oracle release version.
    if you're using 10g, you could use datapump export/import to achieve this. Not a straight way.
    Check Metalink Export/Import DataPump Parameters INCLUDE and EXCLUDE - How to Load and Unload Specific Objects - 341733.1
    Under section 9. Exporting or Importing a large number of objects.
    HTH
    -Anantha

  • Regarding database table to infotype

    hi experts,
                    sorry i m going to ask a typical question i m working on hr-abap ,i have developed a module pool in which the database table is updating with some data,what i want that after updation i want to store that data in a infotype,,so plz tell me how to create infotype and how to store the data into it from a database table...thnx in advance.i know it is a configuration part but rt nw my company doesnt have hr consultant.....plz help me.

    Hi
    <b>Creating an Infotype</b>
    Using the TCODE PM01 you can create an Infotype. As per SAP standard you can use only 9000 series. The below procedure explains you how to create an Infotype.
    1.Go the transaction PM01 and give the Infotype Number lets say 9999 and press  button. It will ask you a messaging window,
    2.Press create button to continue further. It will take you to create the structure.
    3.Give the components and SAVE & ACTIVATE the structure and come back.
    An Infotype attributes window will appear; you create a new entry with the Infotype No and give the appropriate description.
    and give the data and press ENTER key. The Technical data will appear automatically, here you have to maintain the Single screen as ‘2000’ and List screen as ‘3000’ and then SAVE the info and press BACK button, you will reach the main screen.
    After that using the Menu option Infotype 
    4.Generate the structure, dialog module and include. 
    Click the  button from application tool bar to check the Infotype attributes. Select the 9999 Infotype and check the data.
    If every thing is error free, you can use the Infotype using PA30 transaction.
    5.Use the Create button you can create New Entries for the Infotype.
    You can view the entries in table PA9999 using the TCODE SE11/SE16.
    Validating Code in Module pool: - If you want to validate the user inputs,
    You need to write the validate code procedure in the module program MPXXXX00 screen 2000 (here XXXX is user Infotype, in our case 9999).
    In PAI.
      MODULE P9999.
      MODULE HIDDEN_DATA.
      FIELD P9909-PRATE MODULE PRATE. “ Create a module routines. 
    In PBO
      MODULE PRE_INPUT_CHECKS.
            input-checks:                                               *
      insert check modules here:
      CHAIN.
       FIELD P9909-PRATE MODULE PRATE.
      ENDCHAIN.
    Double click on PRATE it will ask you the include name, SELECT the include MP999930 from the input window.
    *&      Module  PRATE  OUTPUT
          text
    MODULE prate OUTPUT.
      IF NOT p9909-prate IS INITIAL.
        PERFORM check_prate.
      ENDIF.
    ENDMODULE.                 " PRATE9  OUTPUT
    Again check_prate subroutine, write down the below code in MP999940 include.
    *&      Form  check_prate
    FORM check_prate .
    CLEAR zprate_t.
      SELECT SINGLE * FROM zprate_t WHERE prate = p9909-prate.
      IF sy-subrc > 0.
        CLEAR zprate_t.
        MESSAGE e016(rp) WITH 'Entry does not exist in ZPRATE_T table'.
      ENDIF.
    ENDFORM.                    " check_prate
    After that check the module, if it is error free then ACTIVATE the same. You can check the Infotype validations using the PA30 transaction.
    Regards
    Raj

  • I wanted to create a module pool which accepts a table n flag

    i wanted to create a module pool which accepts a table n flag.
    and based on flasg value it allows the table to get into edit or display mode.
    the table has to use table control to display for user
    and it should be able to edit the table as well as append if the flag value is edit.
    the table which has been change should be passed back.

    HI Shailesh ,
          On your screen which contains the table control , you can definately  put the flag . Now use 2 conditions , one for change n other for display mode .Initialize the value of the flag to be "X" and based on the flag valu design your table .
    lets say u have a screen 0100 ,
    at the begining put FLAG = 'X'.
    lets say , this is for your change screen  .
    then loop at the table control and allow the fields for fields input . all you should do in the PBO only .
    next in PAI , fill the table control with the changed values .
    and in PAI , in AT-user command module , code for the flag ( / push button  ) . and pass the values when the user clicks on the button .or else here you can check whether the value of the flag is  "X" ( for change mode )  or " " .
    if it  is " "   then loop at the screen and make all the fields inactive for input ( Display mode )
    Inactivation of the fields should be done in the PBO based on the conditions .
    Revert back if you need further clarification .
    This logic should  definately work .
    Reward if helpful .
    Thanks
    Ranjita

  • [Forum FAQ] How to configure a Data Driven Subscription which get multi-value parameters from one column of a database table?

    Introduction
    In SQL Server Reporting Services, we can define a mapping between the fields that are returned in the query to specific delivery options and to report parameters in a data-driven subscription.
    For a report with a parameter (such as YEAR) that allow multiple values, when creating a data-driven subscription, how can we pass a record like below to show correct data (data for year 2012, 2013 and 2014).
    EmailAddress                             Parameter                      
    Comment
    [email protected]              2012,2013,2014               NULL
    In this article, I will demonstrate how to configure a Data Driven Subscription which get multi-value parameters from one column of a database table
    Workaround
    Generally, if we pass the “Parameter” column to report directly in the step 5 when creating data-driven subscription.
    The value “2012,2013,2014” will be regarded as a single value, Reporting Services will use “2012,2013,2014” to filter data. However, there are no any records that YEAR filed equal to “2012,2013,2014”, and we will get an error when the subscription executed
    on the log. (C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles)
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value provided for the report parameter 'Name' is not a valid value.
    This means that there is no such a value on parameter’s available value list, this is an invalid parameter value. If we change the parameter records like below.
    EmailAddress                        Parameter             Comment
    [email protected]         2012                     NULL
    [email protected]         2013                     NULL
    [email protected]         2014                     NULL
    In this case, Reporting Services will generate 3 reports for one data-driven subscription. Each report for only one year which cannot fit the requirement obviously.
    Currently, there is no a solution to solve this issue. The workaround for it is that create two report, one is used for view report for end users, another one is used for create data-driven subscription.
    On the report that used create data-driven subscription, uncheck “Allow multiple values” option for the parameter, do not specify and available values and default values for this parameter. Then change the Filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "2012,2013,2014" from database to the data-driven subscription.
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    For every Auftrag, there are multiple Position entries.
    Rest of the blocks don't seems to have any relation.
    So you can check this code to see how internal table lt_str is built whose first 3 fields have data contained in Auftrag, and next 3 fields have Position data. The structure is flat, assuming that every Position record is related to preceding Auftrag.
    Try out this snippet.
    DATA lt_data TYPE TABLE OF string.
    DATA lv_data TYPE string.
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename = 'C:\temp\test.txt'
      CHANGING
        data_tab = lt_data
      EXCEPTIONS
        OTHERS   = 19.
    CHECK sy-subrc EQ 0.
    TYPES:
    BEGIN OF ty_str,
      a1 TYPE string,
      a2 TYPE string,
      a3 TYPE string,
      p1 TYPE string,
      p2 TYPE string,
      p3 TYPE string,
    END OF ty_str.
    DATA: lt_str TYPE TABLE OF ty_str,
          ls_str TYPE ty_str,
          lv_block TYPE string,
          lv_flag TYPE boolean.
    LOOP AT lt_data INTO lv_data.
      CASE lv_data.
        WHEN '[Version]' OR '[StdSatz]' OR '[Arbeitstag]' OR '[Pecunia]'
             OR '[Mita]' OR '[Kunde]' OR '[Auftrag]' OR '[Position]'.
          lv_block = lv_data.
          lv_flag = abap_false.
        WHEN OTHERS.
          lv_flag = abap_true.
      ENDCASE.
      CHECK lv_flag EQ abap_true.
      CASE lv_block.
        WHEN '[Auftrag]'.
          SPLIT lv_data AT ';' INTO ls_str-a1 ls_str-a2 ls_str-a3.
        WHEN '[Position]'.
          SPLIT lv_data AT ';' INTO ls_str-p1 ls_str-p2 ls_str-p3.
          APPEND ls_str TO lt_str.
      ENDCASE.
    ENDLOOP.

  • Discoverer 4i into 9i database which contains view into 10g database

    Hello,
    Would it work if I use Discoverer 4i into a 9i database which contains views to tables in 10g database? Thank you.

    Hi,
    Yes, if you have a database link from your 9i database to your 10g database then you will be able to view data from the 10g database. If you SQL that will work in SQLplus then it will also work in Discoverer.
    Rod West

  • Database table for Workflow Container values

    hi,
    I am on SAP ECC 6.0
    I am trying to find workflow id number starting from document number
    I try to find database table which has containe values of the workflow instances so that I can get workflow/workitem instance numbers for the document
    this is custom workflow and it is not based on business object type. so checking container values is the onlyway I can get the workflows
    but I am not able to find any table for it
    I have checked following
    SWW_CONT
    SWW_CONTOB
    SWWVCONTWI
    SWXML_CONT
    SWJ_CONT
    SWJPCONT
    SWJSCONT
    SWPCMPCONT
    SWU_CONT1
    SWUOCONT1
    almost all the SWCONT tables
    Morever I put St05 trace to see all the tables in database operations while triggering the workflow
    but the only tables seen here are
    SWWHRINDEX
    SWD_CONT  
    SWWWIHEAD
    SWWCNTP0  
    SWWLOGHIST
    SWWWIRET  
    SWWCNTP0  is Workflow Container: XML Database (P0)
    but it is XML structure data. so its of new use to query container fields.
    is this reason because of any workflow design or system config ?
    how to read container values from database tables in such case?
    thanks
    bhakti

    Hi,
    >i need to display an ALV list with list of invoices and whether the workflow is awaiting / approved / rejected for review / approval. and who did the approval / rejection action
    This you should be able to read from container now, if you have FIPP instance.
    >the workflow has two steps - review and approve and so i would query table swwwihead for the parent id of workflow and then based on task number see which is ready status task and find if its awaiting approval or rejection
    Don't do any selects to SWWWIHEAD unless you have some really specific reason. Just use SAP_WAPI* functions. You should be able to get each depended work item etc. easily with the standard functions.
    >apart from this, several data like amount values, reference document, creation date and whole lot of invoice item and header level data is required which needs to be taken from workflow container
    Why would you read this data from container? This data is in the SAP tables VBKPF, etc. There should be even functions to get all data related to an invoice - try to search for example with READPRELIMINARY* (read preliminary invoice).
    In general:
    1) if you have invoice number, get all related work items with a SAP_WAPI* function
    2) if you have only the top WI ID, use SAP_WAPIDEPEND function to get the depended work items
    3) with above function you probably will get also the status of the tasks / work items, so you don't need select in SWWWIHEAD
    4) Now you have the "status" and the workflow data for the invoice
    5) read the invoice data from standard FI tables (unless there is some specific reason to get it from WF container, and if there is, then I think that you might be having some fundamental problems in your design)
    Regards,
    Karri

  • Regarding database tables in which i can write directly

    hi experts,
                      i have to create a database table in which i can write directly in to the table with out using update statement,what sud i do for this plz help me......

    Hi Ravi,
    If you mean you need to directly update values on the screen, SE11 has a menu for the table maintenance generator. In there you can generate screens and everything needed for your table to allow entry with or without transports. You then capture the data through transaction SM30 or SM31.
    Cheers
    Wayne

  • Find table which contains "job name" and "Mail sent to users"

    Hi Folks,
    I have a requirement” whenever I run a job(xyz), it send mail to users”, Can you please let me know the table which contains both “job name” and “successfully mail sent to users”.
    Thanks in Advance.
    Lakshmi.

    Hi,
    You can find the job name in TBTCJOB.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Please help me to know the tables which contain details of APD and Open hub destination

    Hi experts,
    I need to know the list of APDs that have been created in our system. So can you please let me know the table name (if there is any) which contains the name of the APD and as well as the status (active / inactive) of the APD.
    Thanks ,
    Shalini

    Hi Shalini,
    Go to RSANWB  T-code and select any analysis process. Then press the "monitor" button. On the monitor screen, you can see the selection criteria in a table on the right. Now double-click on the table and a popup will come up where you can set the selection criteria. in particular, you can set the time frame and the analysis process selection.
    Hope it 'll help you..........
    Regards,
    Mukesh

  • How to create a table which contains relational data and Document data

    hai all
    i need to create a table which contains relational data(i mean coulumns whose data types are type NUMBER,VARCHAR) and documents(like xml file/html file/image)using iFS.
    when i store the document data(xml data/html data) in the iFS ,it will be stored as Document Object.so how do i relate this document object belongs to a particular row in a table.
    do guide me
    thanks

    Please see reply at http://technet.oracle.com:89/ubb/Forum36/HTML/000778.html

  • ATWRT field is from which database table.

    Hi Gurus,
        I need to see the field name ATWRT(Manufac Method) for the particular material number.from which database table can i access both the data.Please help me .
    Thanks in advance.
    Points will be rewarded.
    Thanks & Regards,
    A.Ashok kumar.

    Hi
    these are the tables where atwrt exists:
    ABAUSP
    AFFV
    AFFVB
    AFFVD
    APICAWN
    API_CAWN
    API_CCHAR
    API_VALI
    API_VALUE
    API_VAL_IN
    CCIHS_IHPRIOT
    CCRCS_EHS_SVT_MA
    CLGO_MULTIPLE
    CLRS_OBJ_KEYS
    CLRS_OBJ_VALUES
    CLSELSTATISTICS
    CLS_CHARAC
    COFIV
    COFV
    COFVP
    COME
    COMEP
    COMER
    COMSE
    COMW
    COVLP
    CRMT_IC_SCRIPT_M
    CSIM_ST_DETAIL
    CTBW_VALUE_TEXT
    CTIH_01
    CTMSEXIT001
    CTMS_02
    CUCD_CONF
    CUD0_02
    CUGEN_SIMPLE_LIT
    CUGEN_SIMPLE_SIN
    CUGEN_VALUE
    CURTO_CU_GEN_SIMPLE_L
    CURTO_CU_GEN_SIMPLE_S
    CUSL_01
    CUSL_02
    CUSL_05
    CUSL_06
    CUSTOMER_FILTER_CHAR
    CUXREF
    CUXR_OBJ
    CUX_EXP_VALUE
    DDB_AW
    DDB_C01
    DDB_C02
    DDB_C03
    DDB_C04
    DDB_C06
    DDB_C07
    DESCR
    DIWPS_ATINN
    DIWPS_CA
    DIWPS_CONF
    DIWPS_CONF_MARK
    DIWPS_RV_ATINN
    DIWPS_RV_CA
    DIWPS_RV_CONF
    DIWPS_RV_CONF_MARK
    DIWPS_RV_NAV
    DIWPS_WA_WORKPACKAGE
    DIWPS_WPID_CONF
    DIWPS_WP_NAV
    E1AUSPM
    E1CAWNM
    E1CUV1M
    E1EDL12
    E1EDL15
    E1ISU_SDORD_POS_CONF
    E1WBB17
    DIWPS_ATINN
    DIWPS_CA
    DIWPS_CONF
    DIWPS_CONF_MARK
    DIWPS_RV_ATINN
    DIWPS_RV_CA
    DIWPS_RV_CONF
    DIWPS_RV_CONF_MARK
    DIWPS_RV_NAV
    DIWPS_WA_WORKPACKAGE
    DIWPS_WPID_CONF
    DIWPS_WP_NAV
    E1AUSPM
    E1CAWNM
    E1CUV1M
    E1EDL12
    E1EDL15
    E1ISU_SDORD_POS_CONF
    E1WBB17
    E1WTADDI12
    E2AUSPM
    E2CAWNM
    E2CUV1M
    E2EDL12
    E2EDL15
    E2WBB17
    E3AUSPM
    E3CAWNM
    E3CUV1M
    E3EDL12
    E3EDL15
    E3WBB17
    ECONF_OUT
    EHQMSAPIM1
    Regards
    Preeti
    <b>
    Reward if useful</b>

  • Which database table store page names?

    Hi, I'm trying to retrieve the corresponding page name based on the NAME column from the OWA_PERF.TOP_PAGE_BYDAY table. I've tried to get the value from RTAL.WWPOB_PAGE$ using SITE_ID and ID, but it returns duplicates records with the same name. May I know which database table actually stores the specific page names without repeats?

    Sorry. there was a small mistake in my previous post. Here is the updated one:
    Hi, I'm trying to retrieve the corresponding page name based on the NAME column from the OWA_PERF.TOP_PAGE_BYDAY table. I've tried to get the value from PORTAL.WWPOB_PAGE$ using SITE_ID and ID (which is the first two parts of the NAME value), but it returns duplicates records with the same name. May I know which database table actually stores the specific page names without repeats?

  • Table name which contains the email addresses maintained in address area of SCOT

    HI,
    I would like to know the table name which contains the email addresses maintained in address area of SCOT.
    I know how to see through SCOT, but I want to see as a list through SAP table.
    I am not able to see email list through SXNODE AND SXADDRTYPE tables.
    Thanks,
    Nagaraju Ravuri

    Hi Nagaraju,
    You may use ADR6 table and field SMTP to get email address of respective users.
    Regards,
    Deepak Kori

  • List of PT TABLES which contain digital certificate

    Team,
    We have implemented self sign certicate in our environment.
    So, can someone share the list of PT TABLES which contain digital certificate .
    Because, we are going to refresh the environemnt and I dont want to lose the digital certificate after the refresh.
    Thanks

    On the safer side, I am taking export of below tables too. Please have a look.
    -- PROCESS SERVERS
    EXPORT PS_SERVERCLASS;
    EXPORT PS_SERVERDEFN;
    EXPORT PS_SERVERDEFN_LNG;
    EXPORT PS_SERVERNOTIFY;
    EXPORT PS_SERVERMESSAGE;
    EXPORT PS_SERVEROPRTN;
    EXPORT PS_SERVERCATEGORY;
    EXPORT PS_SERVERSTAT;
    --Report Node
    EXPORT PS_CDM_DIST_NODE;
    -- URL DEFINITIONS
    EXPORT PSURLDEFN;
    EXPORT PSURLDEFNLANG;
    EXPORT PS_PT_URL_PROPS;
    -- DIRECTORY
    EXPORT PSDSDIR;
    EXPORT PSDSSRVR;
    EXPORT DSCONNECTID;
    EXPORT PSDSEXT_INSTALL;
    EXPORT PSDSSECMAPMAIN;
    EXPORT PSDSSECMAPSRVR;
    EXPORT DSUSRPRFLMAP;
    EXPORT PSDSUSERPRFL;
    EXPORT PSDSSECROLERULE;
    EXPORT DSSRCH_SBR;
    EXPORT DSSRCHATTR;
    EXPORT DSSECFILTER;
    EXPORT PT_WF_NOT_DSCFG;
    -- WEB Data
    EXPORT PSWEBPROFBROW;
    EXPORT PSWEBPROFCOOK;
    EXPORT PSWEBPROFDEF;
    EXPORT PSWEBPROFILE;
    EXPORT PSWEBPROFPROP;
    EXPORT PSWEBPROFNVP;
    EXPORT PSGATEWAY;
    --Digital Certificates
    EXPORT PSCERTISSUER;
    EXPORT PSCERTDEFNDEL;
    EXPORT PSCERTDEFN;
    EXPORT PSCERTDB;
    -- Search Attribute
    EXPORT PSPTSF_ATTRS;
    EXPORT PSPTSF_ADD_PRMS;
    EXPORT PSPTSF_ATT_PROP;
    -- Search Definition
    EXPORT PSPTSF_SD;
    EXPORT PSPTSF_SD_ATTR;
    EXPORT PSPTSF_SD_ATTRH;
    EXPORT PSPTSF_SD_DCATR;
    EXPORT PSPTSF_SD_DCACL;
    EXPORT PSPTSF_SD_LANG;
    EXPORT PSPTSF_SD_PNLGP;
    EXPORT PSPTSF_SD_SRACL;
    -- Search Category
    EXPORT PSPTSF_CATADVFD;
    EXPORT PSPTSF_CATDSPFD;
    EXPORT PSPTSF_CATFACET;
    EXPORT PSPTSF_CAT_LANG;
    EXPORT PSPTSF_SRCCAT;
    EXPORT PSPTSF_SRCCATAT;
    -- Search Context
    EXPORT PSPTUS_CTX;
    EXPORT PSPTUS_CTX_DET;

Maybe you are looking for

  • Problem with sysdba need help

    I faced a difficult problem with sysdba. The thing is, I don't have a user name " 1/2@3 ". But the moment I connected as 1/2@3 as sysdba, then it connected automatically and to utter surprise I could drop a user. If it is so, then how the database wi

  • Screen Painter in ECC 6.0

    we are using ECC 6.0 on this there is no screen elements pallets generall it will be on left side hoe to get that pls urgent

  • Adobe to Word FAIL

    Hello, i have tried to convert a pdf file into word and i get this text in the created word file: To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.a

  • Application Manager displaying an "Up to date" label next to software I don't actually have

    I uninstalled and deleted the whole CS I previously owned to download and license it from CC. Now I haven't been able to download the software again since the Application manager displays an "Up to date" next to the programs I had (but don't anymore)

  • We have one computer and two users. How do we get itunes to keep our apps separate for our iphones 3gs?

    I'm new to iphones and Apple in general. I'm not tech savvy at all. My husband and I just got the iphone 3gs (separate phones). Itunes wants to put the same apps on both phones (one computer). Can we stop this? We don't want the same apps on our phon