Facing a problem while doing DML Operations in Discoverer (Urgent!!)

Hi,
I am facing a problem in one of the discoverer report i am working on. I would appreciate if you could help me to to find a solution for this -
I am triggering a custom package from the Discoverer. This package is inserting the data in a custom table. As we can not directly put the DML statements in the discoverer 's package so i have defined that package as the Pragma Autonomous. The custom table that is being populated is a regular table (i.e not a Global temporary table). In the custom folder in Administrator i am just selecting the data from that custom table.
Problem- When i run the report from discoverer, the data is getting inserted into the custom table, that means the package is working properly but still the report does not show any data. May be the query being executed even before the data is inserted into the table. Can you please suggest what is that i am missing in this solution?
Few facts of the report-
1. I am using only one worksheet.
2. The package is inserting the data in the custom table so i don't see any problem with the package and triggering it.
Thanks for your help.
-Anshul

Hi Michael,
This is not really an update. The functionality of the report is simple - Based on the parameters selected in the report, the package will get the data from queries and insert into the table. now the data in the table can be different for different users based on the parameters. what my concern was,
Consider a case of 2 users using this report almost at the same time.
We are not using the temporary table so we will have to truncate the table every time the report is ran, before inserting the new data in it.
Now suppose user -A runs the report and during it processing the 2nd user runs it with some different parameters. Then the 1st user's data will be deleted from the table.
does it sound right?
I was trying to achieve this functionality by using following functionality but here also i am facing a problem -
Now i am not inserting the data in the table but i have created a view that does the same thing as it was done by package in the previous case. and in order to pass the parameters in the view i am using set_context. I have created a package that is triggered by discoverer report and in that package i am setting the context. now i am facing the following problems -
a. Does the Set_context set the context globally?
b. Do i need to clear the context at the completion of report?
c. If the answer of the question - b is yes then where can i place that clear_context in the discoverer?
Thank you so much for your help.
thanks
-Anshul

Similar Messages

  • Facing problem while doing MIRO

    Hi gurus,
    I facing problem while doing MIRO, system showing the message "Customization for "company code" J_1iindcus missing in the table"
    pls help

    Hi,
    Please do customization for India Localisation-Phase-II.
    In transaction J1IT, maintain company code settings.
    J1IT->Global Settings->Company Settings
    Reward if useful.

  • HT201210 Facing a problem while setting MAC 6.1. My version is 5.1. The activation does not complete.

    Facing a problem while setting MAC 6.1. My version is 5.1. The activation does not complete.

    Hacked or jailbroken iPhone will have this problem.
    BTW, it's IOS 6.0.1 not MAC.

  • Facing some problem while configuring Workflow Manager 1.0.

    Hi,
    I am facing some problem while configuring Workflow Manager 1.0. in my farm.
    Scenario is,
    I have installed and configured workflow manager in my farm, it was working well with no issue. But one of team member played with AD and deleted Farm administrator's entry from AD by mistake. So suddenly workflows get affected and stopped working. 
    Then I added administrator entry in AD, uninstalled the Workflow Manager and installed it again. But now while configuring workflow manager I am facing some issues that "Failure to adding user in BUILTIN\Administrative group. Please add it manually" 
    And after sometime it shows another error message that, "Starting service Service Bus Massage broken failed: Timed out has expired, the operation has not been completed" 
    If I go for services then "Service bus Message broker" service is not running properly (Its status is just showing "Starting")  and don't starts.
    I have also added the user in BUILTIN\Administrator, IIS_IUSER, WSS_WPG group of the machine from computer manager - user and groups. 
    Also given permission to databases, and assign role of sysadmin and dbcreator to user
    I also tried following steps    
        1) Stop all services associated to workflows
        2) Uninstalled workflow manager
        3) Deleted all databases associated with workflows
        4) Installed workflow manager and tried to configure.
    But showing same error. 
    If I use another SharePoint server farm to configure workflows, there I am not getting first error of adding user to BUILTIN\Administrator group. but second error remains same.
    We having SQL server and Active directory at another machine and FARM at another machine, if I use local admin for configuration of the workflows (as local admin can start any services) but entry of local admin is not Active directory so can not assign SQL's
    sysadmin, and dbcreator role to local admin.
    I am attaching snapshot of error for better understanding.
    Your help will be very precious to me. 
    Thanks,
    Rajesh
    Rajesh Agravat

    Rajesh
    Check to see what the service accounts are being used for these Workflow Manager 1.0 services:
    Service Bus Message Broker
    Service Bus Gateway
    Workflow Manager Backend
    All of these should be running and your workflow service account should be running all of these.  If any are still configured under the old service account, they'll need to be updated.  Next, check to see what service accounts have access to the
    Workflow Manager 1.0 databases:
    SbGatewayDatabase
    SbManagement
    SbMessageContainer
    WFInstanceManagement
    WFManagement
    WFResourceManagement
    The Workflow Manager service account should be mapped as the DBO for all of these.  if any are still configured under the old service account, they'll need to be updated.
    Given the complete loss of the original workflow service account, and the resultant impact on security configuration throughout the workflow farm, I would recommend performing a re-installation.  Do it thus:
    Launch Workflow Manager Configuration Wizard
    Select the Leave Workflow Manager Farm
    Stop all workflow services (see above list)
    Repeat steps 1-3 for each instance of Workflow Manager 1.0 Server installed.
    Delete all Workflow Manager databases (see above list).
    reboot.
    Start new installation.

  • Problem while doing PGI for Returns Delivery

    Hi,
    We are facing some problem which doing PGI for a returns delivery. Our scenario is HU and WM managed. After creation of delivery I have created a TO and has two different valuation type of same material. Total quantity in TO is 2, 1 of each valuation type. So, automatically, batch split happened for the line item in delivery.
    Now when I am trying to do PGI for this delivery, I get en error message saying "Enter Valuation Type". The movement type used here is 161 (Vendor Returns)
    Same thing is happening successfully for movement type 643 (Transfer inter company code).  What I can gather is that while creating 161 document against delivery system is not automatically taking the valuation types mentioned in line item of delivery.
    Let me know possible reasons for this error and resolution.
    Regards,
    Vishal

    Implement the OSS note 965985

  • I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope y

    I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope you will find a solution for the same.Help with using Adobe Muse CC

    Thanks,
    I have tried with a new site it's working perfectly.
    See the screenshot of the error.
    Thanks for your support Rohit

  • While doing union operation, i am getting the following eror.

    While doing union operation, i am getting the following eror.
    Solution for the following error
    "Numbers of columns and their data types must be consistent across all criteria and Result Columns"

    Hi...phani..thanks for the response..
    Report 1: TopN values... working fine
    Report2: >TopN values working fine.
    when i union the 2 the result is: all records, and i got it.
    ReQ: i have to add the remaining Records of >N at the end of the report, represents Others: xxxx
    My ReQ:
    Col1 Col2 Col3 # of Srs %Of Srs
    ABC Complaint Operation 200 40%
    CDF ACD Part Availability 100 20%
    Others 300 40%
    suppose for first column in result tab,
    Formula tab: case when saw_4>10 then 'Others' else saw_0 end.
    when i put the above condition in Result columns i am getting the error.
    Error: Numbers of columns and their data types must be consistent across all criteria and Result Columns

  • Facing the problem while creating sales order

    Hi,
    I am facing the problem while saving the sales order.
    Error in system  xxx/400 while copying the document
    Message no. CRM_ORDER_MISC 020
    Diagnosis
    Errors occurred while transferring the document into another system. To view the error messages, see the enclosed log.
    Transmission log
    u2022Product  cannot be recoded for ERP System xxx/400(Notification E CRM_ORDER_MISC 015)
    u2022Product  cannot be recoded for ERP System xxx/400 (Notification E CRM_ORDER_MISC 015)
    Kindly assist me.
    Madhu

    Hi Madhusadan,
    Can you check whether the product exists in the ERP System or not? You can take the product names and can check the same using the Tcode: MM03 in ECC System. Also, it would be good if you have a look at the product from the CRM System if there are any errors or the product is already archived.
    Is the Sales Order you are creating from a Preceding Transaction ?
    Hope this helps.
    Thanks,
    Samantak.

  • Facing a Problem while downloading the data from ALV Grid to Excel Sheet

    Hi Friends,
    Iam facing a problem while downloading the data from ALV Grid to excel sheet. This is working fine in Development server , when comes to Quality and Production servers I have this trouble.
       I have nearly 11 fields in ALV Grid and out of which one is PO number of length 10 , all the ten numbers are visible in the excel sheet if we download it from development server but when we download it from Quality or Production it is showing only 9 numbers.
    Can any one help me out in this case.

    hi...
    if this problems happens dont display the same internal as u finally got.
    just create new internal table without calling any standard data elements and domains... but the new internal table s similar like ur final internal table and move all the values to new int table.
    for eg.
    ur final internal int table for disp,
         data : begin of itab occur 0,
                        matnr like mara-matnr,
                   end of itab.
    create new like this,
               data : begin of itab occur 0,
                        matnr(12) type N,
                   end of itab.

  • TS1292 Hey, im facing a problem while im using the purchesing , its showing me that: contact with apple support itunes???? Please help

    Hey, im facing a problem while im using the purchesing , its showing me that: contact with apple support itunes???? Please help

    Use the link below to contact iTunes support.
    http://www.apple.com/emea/support/itunes/contact.html

  • Problem while doing bdc for fv60

    Hi frends,
       I got problem while doing BDC for fv60 tcode.i have given
    header items:
    vendor number
    invoice date
    posting date
    amount
    item data:
    g/l acc no: 100000
    amount 1000 whatever
    these are all given in recording
    in recording after all giving this data if we click on park it is telling "parking not possibe duiring batch input".
    can any body tell me the process for recording shdb and after that in bdc how can we give multiple line items for fv60
    thanks,
    naveen.

    I don't think you can use FV60 in batch input. Your options are to use transaction FBV1 or bapi BAPI_INCOMINGINVOICE_PARK.
    Rob

  • I am facing a problem while deploying an Entity bean in iPlanet(sp3).I have attached the exception thrown.Why has this exception occured?

    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)

    Hi,
    I think you are trying to test the Hello world EJB example shipped with the product. As a first
    step I would recomend you to go through every line of the document on deploying this application,
    since, I too have experienced many errors while trying to deploy the sample applications, but on
    following the documentation, I subsequently overcame all the errors and have been working with the
    applications. So please follow the steps in documentation and let me know, if you still encounter any
    issues.
    Regards
    Raj
    Sandhya S wrote:
    I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
    have attached the exception thrown.Why has this exception occured?
    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
    exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at
    com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
    Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Pages is taking annoyingly long to download and install. Any of you faced similar problems while installing it?

    ages is taking annoyingly long to download and install. Any of you faced similar problems while installing it?

    Who knows what "ages" means to you, or what speed Internet connection you have, or what else is happening on your computer or network.
    Pages/iWork are not small so it can take a while. Sometimes heavy demand at the Apple end can slow their server as well.
    Peter

  • Problem while doing vl10d ....

    Hi experts  ,
    I'm facing a peculiar problem . While doing VL10D / vl10g , the outbound delivery document no. is not generated - and it's showing like this ... I don't know why it behaves as such ?? ....
    During creation of purchase order it behaves properly , shows the shipping tab - properly filled the shipping data and others inputs .
    Please help me to get the problem is resolved ...
    regards
    arghya .

    Hi Arghya,
    Couple of thing which you need to check
    1. Can You post the screenshot of the STO number in VETVG table
    2. Check the delivery date on the STO.
    3.Also in the item level check the chipping table route is populated.
    4. Also check the STO has been released
    Arun Prasad

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

Maybe you are looking for

  • Runtime Error DBIF_RSQL_INVALID_RSQL on dataload to PSA

    Hi, Apologies for the long problem statement. We need to extract data from a non- SAP SQL system to our SAP Netweaver 7.01 (EhP1 SP5) BI system. We have established a UD Connection and connected to tables in the SQL system. After a few dataloads and

  • How to remove printing of page 2 on smartforms

    Hi, I have two pages on smartforms, the 1st page contains the customer letter and the second page contains the table of articles placed on the main window. If the internal table passed has no rows page2 is still being printed with blank or no data. W

  • Dear Apple community, some purchased songs from iTunes store are not shown in the album, how can I download them?

    Dear Apple community, some purchased songs from iTunes store are not shown in the album, how can I download them? I already looked through this: http://support.apple.com/kb/HT2519?viewlocale=en_US&locale=en_US However my itunes does not display the '

  • Problems with Solaris 10 + mod_wl_20

    Hello all, I've been trying to get apache 2.0.58 that's shipped with Solaris 10 (Sparc) with mod_wl_20 from Weblogic 8.1 SP6 with not much luck. Every time I try connect to a mapped application via Apache+weblogic_mod I keep getting 404, it seems lik

  • TileList dataProvider not Showing Correct Item

    I have a tileList control that is using an array collection into a custom ItemRenderer. I can put the TileList directly above a DataGrid control and see that the filter on the ArrayCollection is working properly according to the DataGrid, but the Til