Effects?  changing of  package specification in .pll

dear all,
Have you experience the following problem:
I have a library attached to several forms. these form share some context data in this library (i always use call_form with share_library_data option). I add a procedure to one package in the library mentioned and attach it to a new form. This form and the old forms couldn't share the context data in the library.
I solve it problem by delete the attachment in all the old form, reattach the library and compile all the forms. Since I have a great number of the old forms, it is not pratical thing to do.
Is it the only way to do it ? or is there any elegant solution ?
what happens here?
Please help
null,

Look at it from the database's perspective: Forms has a where clause that it sends to the database that contains a reference to a package variable that reside on the client. What can the database do with that? It knows nothing about client side package variables. How would it discover and substitute that reference with the value of the client's package variable?
Now look at it from Forms' perspective: you have declared a where clause that you know contains a reference to a package variable. How will Forms know to substitute the reference for the actual value? With Forms items you use the semicolon notation but for package variables there is no analog.
You need make the full where clause yourself including substituting the reference for the the actual value. The way to do that is with set_block_property and the DEFAULT_WHERE.
From the help file:
"DEFAULT_WHERE sets the WHERE clause on the block and OVERRIDES the value set at design time.
The WHERE reserved word is optional. The default WHERE clause can include references to global variables, form parameters, system parameters, and item values, specified with standard bind variable syntax."

Similar Messages

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • Change Management Package

    Hello All,
    I am looking at the Oracle Change Management package and I see the overall process of baselines, comparisons, and synchronizations.
    I thought in a previous version I was able to put in my own DDL (like an ALTER TABLE) and make that part of a plan that I could then use the Change Management Package to deploy to various databases & schemas.
    Am I mistaken? If not, has the functionality been deprecated or has it been replaced/updated with something else?
    I still have a need to do that sort of thing and having the Change Management package help me manage that would be "optimal".
    Thanks,
    Craig
    11g
    Edited by: user6448213 on Apr 12, 2012 12:59 PM

    Hi Craig:
    Change manager added a capability similar to the one you describe in 12c Cloud Control. You can create a change plan and populate the change plan with specific changes and synchronize them to a destination database. To do this you need to create a change plan in EM and you can populate it with changes from SQL Developer, from another EM Change Manager Comparison, or by capturing a change to a single object. Below is a link to the documentation
    http://docs.oracle.com/cd/E24628_01/em.121/e27046/change_management.htm#EMLCM11813
    regards,
    -Ravi

  • Change deployment package for software updates

    Hi there
    Currently we have different deployment packages and software update groups based on year, product, etc.
    In the near future i'd like to rearange our software deployment process in configuration manager 2012:
    1x Deployment Package for all updates
    1x "Full" Software Update Groups with all updates in it. Additional to that we'll create a "Diff" Software Update Group at the Patchday and merge the updates later via edit membership in the "Full" Software Update Group.
    Are the following steps which i would perform correct?
    1. Select all updates which are deployed and not expired and not superseeded
    2. Create a new Software Update Group "Full"
    3. Select the new Software Update Group --> Download --> Create my new deployment package
    4. Deploy the new software update group to my collections
    5. Delete the obsolete software update groups / deployment package
    6. Delete the old updates source folders on our filer.
    I current don't know if the redownload process let the updates "forget" the old deployment package. With the above described steps i should get rid of all expired and superseeded updates.
    Thanks for any advice :-)
    Regards,
    Simon

    That is correct they only receive and install the updates they require, but don't confuse the metadata and deployments with the updates themselves. They will still receive the metadata and the policies for every update you deploy to them and that's where
    the problem lies. Each and every update assigned to a client (using a deployment) has it's own policy which of course must be downloaded by the client and stored in WMI causing the bloat. Note that I haven't experienced this first-hand but am relying on the
    accounts of others here in the forums but to me, if there is any chance of this being an issue, I would avoid it.
    For Update Groups, just a few categories is sufficient to break things up and I typically do three: workstations, server, office. These are often on different patching schedules anyway so it makes sense to have three separate ADRs for them anyway.
    For packages, I typically organize based on the calendar creating a new package every 3-6 months with the package containing all updates. There's really no need to divide the package up by product unless you have DPs dedicated to a specific product. Note
    that pre-R2, to change the package an ADR referenced you had to use PowerShell -- it's been added into the GUI in R2 though.
    Jason | http://blog.configmgrftw.com

  • Why Package Specification only in INVALID State

    Hi All,
    Why Package spec is going to invalid state when I change a Procedure which is called in Package body
    and why package body is still in VALID state. Can some one please clarify my doubt.

    May be only specification got errors and not the package.
    May be the constants / variables declared in package specification has wrong reference
    like var1 tab1.col1%type which column doesnexists....
    OR
    V number(1) :=10;
    or
    improper closing / ending of a procedure..

  • Package specification and must be defined in the package body

    Hi All
    While creating bellow Package, following error occured. Plese guide me.
    SQL> ;
    1 create or replace PACKAGE Fresh_Movement IS
    2 Procedure Opening_cx (P_Yeay Number,p_Week NUmber);
    3* END Fresh_Movement;
    SQL> /
    Package created.
    CREATE OR REPLACE PACKAGE BODY Fresh_Movement IS
    Procedure Opening_Cx (pYear Number, pWeek in number) Is
         Cursor Cx_nCou Is Select C.LOCATION_KEY,NVL(C.CUSTOMER_CATEGORY_FRESH,'X') Category,Count(C.CUSTOMER_CATEGORY_FRESH)nCou
         From Customers C
         Where Trunc(C.Start_date) <= ( Select Trunc(max(END_DATE)) From CUSTOMER_CALENDAR
    where ALMARAI_YEAR = pYear and ALMARAI_WEEK= pWeek - 1 )
    AND Active = 'Y'
    Group by C.LOCATION_KEY,C.CUSTOMER_CATEGORY_FRESH
    Order by 1,2;
    Begin
    For Tmp_rec1 In Cx_nCou Loop
         Insert Into Trading_fresh_Movement (YEAR,WEEK,LOCATION_KEY,CX_CATEGORY,COUNT,COLUMN_TYPE,SEQ )
         Values (pYear,pWeek,Tmp_rec1.LOCATION_KEY,Tmp_rec1.Category,Tmp_Rec1.nCou,'OPN',1);
    End Loop;
    Commit;
    End Opening_Cx;
    END;
    Warning: Package Body created with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY FRESH_MOVEMENT:
    LINE/COL ERROR
    2/12 PLS-00323: subprogram or cursor 'OPENING_CX' is declared in a
    package specification and must be defined in the package body
    SQL>

    The signature of the procedure in the specification and in the body must be the same. This includes the name of the parameters.
    Change the specification to
    create or replace PACKAGE Fresh_Movement IS
       Procedure Opening_Cx (pYear Number, pWeek in number);
    END Fresh_Movement;
    /

  • Effect change over time?

    Okay basicly I want to make an effect change at an interval over time... Like the color key for example I want it to go up 1 color tolerance point every second so I get like this cool morph effect, how could I do this? I have seen it in a video but they did not say how. Also the time mapping I can not seem to get the yellow lone working and to add keys or watever what exactly do I have to click I read a million tutorials, Sorry I'm new to this.

    Watch video tutorials where you can watch exactly what is clicked on to achieve a specific goal. You will find links to many free tutorials in the Premiere Pro Wiki that will quickly
    show you how things are done in PPro.
    Cheers
    Eddie
    Forum FAQ
    Premiere Pro Wiki
    - Over 250 frequently answered questions
    - Over 100 free tutorials
    - Maintained by editors like
    you

  • How to open and compile a package specification and body in SQL Developer

    I'm currently evaluating a possible migration to SQL Developer.
    Our PL/SQL code base is stored in scripts files named as follows: <schema>.<package_name>_<package|package_body>.sql and managed in SVN.
    If now trying open a sql script containing the package specification or body and trying to compile it, I get no or strange error messages as if SQLDeveloper would not recognize the source as a PL/SQL code.
    If I open an already compiled package from the database it seems to work as expected.
    On the other hand I cannot find any option to write a package specification or body to a script except for the "Save package spec and body" option that only generates a single (!) script containing package specification and body in one single file and without any configuration options on how to name the generated file.
    Any help is appreciated!

    What strange error messages ? Make sure to configure your extensions as PL/SQL file type under Preferences - File Types.
    To save, just Save As under the File menu.
    Hope that helps,
    K.

  • How to change the package name of Managed Bean class

    Hi: Gurus, when ever I create a new JSP page the Creator creates a code behind file with a package name untitled. Is there any way to change this package name? Can't the Creator gives us an option before genereating manged bean page to choose a package name? And then create the Java source directory structure on the basis of the pakcage name?
    Regards,
    Rashid.

    In the Project Navigator (default location is middle right), go to Java Sources, and you can rename the package ("untitled") to something else by right-clicking it or by left-clicking (just like Windows Explorer).
    I agree, though, that giving the developer an option during creation of the JSP page would be nice.

  • Error message when activation a packaging specification in ICH 5.0

    Dear all,
    I created a packaging spec within ICH 5.0. The check function does not return a error. But when trying to activate the PS I am getting the error message:
    Package specification not activated; no condition records found.
    What kind of condition records does the system mean?
    Regards
    Martin

    Hi Martin,
    You can have a look in the pack spec group and make sure that the flag 'PS_ACTIVATE' it is not set.
    That way you will no longer face this error during the activation process.
    I hope this will help you.

  • How to find all those list of SAP standard and custom objects that are changed from a specific point of time

    Hi all,
    Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
    Is there any function module or any table where this change log is maintained.?
    I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
    Thanks in advance

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • Change the "Packaging material category"

    Hi all,
    I'm unable to create an external handling unit because the material has packaging material category "auxiliary packaging material", and I need to change the packaging material category as "packaging material".
    Message Id: HUSELECT047
    Do you know where can I change it?
    Regards,
    Jaime S.

    My problem has been solved. regards

  • Global Variable in Package Specification

    Hello,
    I created global variable in package specification,
    Is it valid for the current session or it will work for all the session.
    Thanks,Kannan.K

    Package varaibles are session bound, to demonstrate, a simple test:
    --session 1:
    SQL> select dt_test_pack.get_global from dual;
    GET_GLOBAL
    SQL> exec dt_test_pack.set_global(50);
    PL/SQL procedure successfully completed.
    SQL> select dt_test_pack.get_global from dual;
    GET_GLOBAL
            50
    --Session 2 at the same time
    SQL> select dt_test_pack.get_global from dual;
    GET_GLOBAL
    SQL> exec dt_test_pack.set_global(100);
    PL/SQL procedure successfully completed.
    SQL> select dt_test_pack.get_global from dual;
    GET_GLOBAL
           100
    --Back to session 1:
    SQL> exec dt_test_pack.set_global(null);
    PL/SQL procedure successfully completed.
    SQL> select dt_test_pack.get_global from dual;
    GET_GLOBAL
    --Back to session 2:
    SQL> select dt_test_pack.get_global from dual;
    GET_GLOBAL
           100HTH
    David

  • How to change the package in a tansport request?

    Hi Abapers,
                     How can I change the "package" of any TR without deleting the TR?

    Who said ? it is wrong.
    you can change package using SE03 ,it is central.
    Simple example ,you have ABAP Program
    Goto SE03 ->select change object direct entries -> click on execute button
    Select first check box -> enter program name -> execute -> now select Line called R3TR  PROG   Program name -> click on
    object directory  ,Now you are able to change Package.
    You can do other things like Function group,table ,data element ,form and so on
    Thanks
    Seshu

  • How to change the package for a report

    Hi can any body tell me the steps to change the package name of a report?
    thanks in advance
    kp

    If you are working on 4.6C,
    Go to SE03-> Object Directory -> Change Object Directory entries
    Execute
    Under Selection by objects give Program of report- click the check box which is there before the program name execute...u will get one more screen
    then place the cursor on the program name of hierarchy and then click the button 'Object directory' which is there in the application tool bar.
    then change the development class.
    I hope the above procedure will help you out.
    Regards,
    Sree
    <b>"Give rewards if this answer helps you out"</b>

Maybe you are looking for

  • How can i get a damaged IMac just delivered replaced for free? How long will it take to get the new one?

    I just unwrapped my new iMac just being delivered by UPS and after removing all the wrapping I noticed deep scratches on the aluminium front and a big dent on the metal frame surrounding the screen. Obvioulsy it fell in the Apple assembly process or

  • Air 3.1 Crash on Mac OSX Snow Leopard (10.6)

    Description Intermittent crashing occurs after the application is launched on Snow Leopard. The crash tends to occur 10 to 20 seconds after the application has launched. The crash has happened 100% of the times we've tested on our Snow leopard testin

  • Hyperion Financial Report Conditional Suppression

    Hi All, In HFR ......I have a requirement..... IN Rows there are 2 DIMS : Vendors:Level_0,1,2 & Market:Level_0... The requirment is that the report should show the hierarchy of Vendors Dimension ONLY if we have data for Level_0 Vendors & Level_0 Mark

  • Clean Sweep: A warning

    For weeks I have been trying to get Cont CS3 to work with DW8. It used to work with XP + SP2 but now with SP3 it won't, unless that's a coincidence. On the advice of Adobe Tec Support I used Adobe's Clean Sweep at Level 4. PLEASE DON'T. This produced

  • Vsync Screen Tearing / Scan Line Issue?

    This is something I noticed on my iMac after updating to Mac OS X 10.6 Snow Leopard. I noticed a horizontal break in the screen when I was doing any kind of graphic intensive operation. Anything from scrolling up and down on a web page in Safari, to