Use of "DBA_OBJECTS" in "AFTER CREATE" Trigger

Hi,
We would like to store some extra information about our objects we have in the database. To do so we tought of the idea of creating a 'documenting' table containing an object_id that references to the object_id from the view dba_views.
Now we want to automatically create a new record in our documenting table when a new object is created, in the first stage this should only contain the object_id
To accomplish this we are using an 'AFTER CREATE' trigger, but when this trigger fires and the code searches for the new object_id in dba_objects, it does not return any records and generates an error. Likely because when the trigger is executed, the view is not yet updated?
create or replace
TRIGGER TRG_TEST
AFTER CREATE ON SCOTT.SCHEMA
DECLARE
tmp VARCHAR2(50);
BEGIN
dbms_output.put_line(ora_dict_obj_name);
select object_id
into tmp
from dba_objects
where object_name = ora_dict_obj_name;
dbms_output.put_line(tmp);
END;
Error report:
ORA-04088: Fout bij uitvoering van trigger 'SCOTT.TRG_TEST'.
ORA-01403: Geen gegevens gevonden.
ORA-06512: in regel 6
04088. 00000 - "error during execution of trigger '%s.%s'"
*Cause:    A runtime error occurred during execution of a trigger.
*Action:   Check the triggers which were involved in the operation.
It's in dutch, so I'll have a go at translating:
Error report:
ORA-04088: Exception while executing trigger 'SCOTT.TRG_TEST'.
ORA-01403: No data found
ORA-06512: in rule 6
04088. 00000 - "error during execution of trigger '%s.%s'"
*Cause:    A runtime error occurred during execution of a trigger.
*Action:   Check the triggers which were involved in the operation.
Does anyone have an idea of how I can accomplish what I'm trying to do here.. Or maybe something I'm doing wrong?
Thanks in advance!
Davy

What is "ora_dict_obj_name" defined as?
Another option might be to setup a DBMS_SCHEDULER job to run the following insert
firstly though, create the following table ;
create document_table as (select * from dba_objects where rownum < 1)and then setup a DBMS_SCHEDULER job to run the following:
begin
  insert into document_table
  (select dbo.*
   from   dba_objects    dbo
         ,document_Table dtb
   where  dbo.Object_ID = dtb.Object_ID(+)
   and    dtb.Object_ID is null);
   commit;
   exception
    when others then
      rollback;
      -- log a message somewhere with the error, i.e. SQLERRM
end;
/Note, I specified all columns, but you'll probably specify explicitly which column you require, in which case the CREATE table would change as well.
Then you won't have a need for any trigger, and can better manage when you want your documentation to be updated.
Another option might be to use COMMENT, which can be used on tables, views, materialized views, but won't cover all objects
to the extent you might want.
SQL> desc emp2
Name                                                                                                  
EMPNO                                                                                                 
JOB                                                                                                   
START_DATE                                                                                            
SAL                                                                                                   
DEPT                                                                                                  
END_DATE                                                                                              
SQL> comment on column emp2.sal is 'Existing Salary of employee as paid at most recent month end';

Similar Messages

  • Problem in after create  trigger

    hi all,
    i tried to track the creation of all objects in scott user. so from one dba user
    i wrote a After Create trigger for scott schema(schema level trigger) like this,
    create trigger create_log after create on scott.schema
    begin
    insert into create_log_t values(login_user,sysdate,dictionary_obj_type,dictionary_obj_name);
    end;
    trigger has been successfully created.After that i tried to create some objects in scott schema,but i could not. it gives me this error,
    SQL> create table dd(d number);
    create table dd(d number)
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00984: column not allowed here
    ORA-06512: at line 2
    can anyone help me to come out from this problem.
    thanks in advance!
    kathir

    What is LOGIN_USER? Did you mean USER?
    Cheers, APC

  • Insufficient privileges using execute immediate in after logon trigger

    I have an after logon trigger that executes a package/procedure in the schema it was created in.
    One of the procedures runs the following:
    EXECUTE IMMEDIATE 'AUDIT INSERT TABLE, UPDATE TABLE, DELETE TABLE, EXECUTE PROCEDURE BY ' || USER;
    The procedure is throwing an insufficient privileges error when executing this.
    However - the schema owner has audit any and audit system privileges and - the statement works fine independently.
    When I login as another user this issue arises. The package/procedure are created with definers rights... So - i'm not sure why this is happenening.
    Any help is appreciated.

    privileges acquired via ROLE do NOT apply within named PL/SQL procedures.
    SQL> SET ROLE NONE
    SQL> --issue AUDIT again now                                                                                                                                                                                                                                                               

  • How to use a Web Service after creating the reference

    I created a Web Service reference and APEX 3.1 and it recognizes it.
    The WS has a list of customers. The XML file (WS result) has XSD then the customers data.
    The only thing I can do inside APEX is to create a form based on WS with a field that has a dump of the WS result.
    I do not know how to use the XML data in the WS to show the customers data in APEX.
    I appreciate it, if you can point me to any article or documentation taht show to consume WS in APEX
    Thanks
    Mo

    Jason
    My post above does not make sense because the browser converted the "lt" and "gt" that I saw in the form when I copied and paste to < and > as it should do.
    below I will attach the XSD
    &lt;?xml version = &quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
    &lt;VFPDataSet&gt;
         &lt;xsd:schema id=&quot;VFPDataSet&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;
         &lt;xsd:element name=&quot;VFPDataSet&quot; msdata:IsDataSet=&quot;true&quot;&gt;
              &lt;xsd:complexType&gt;
                   &lt;xsd:choice maxOccurs=&quot;unbounded&quot;&gt;
                   &lt;xsd:element name=&quot;curCustomers&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
                                  &lt;xsd:complexType&gt;
                                       &lt;xsd:sequence&gt;
                                            &lt;xsd:element name=&quot;customerid&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;5&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;companyname&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;40&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contactname&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contacttitle&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;address&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;60&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;city&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;region&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;postalcode&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;10&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;country&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;phone&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;fax&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                       &lt;/xsd:sequence&gt;
                                  &lt;/xsd:complexType&gt;
                             &lt;/xsd:element&gt;
                        &lt;/xsd:choice&gt;
                        &lt;xsd:anyAttribute namespace=&quot;http://www.w3.org/XML/1998/namespace&quot; processContents=&quot;lax&quot;/&gt;
                   &lt;/xsd:complexType&gt;
              &lt;/xsd:element&gt;
         &lt;/xsd:schema&gt;

  • :NEW cannot be used in After Delete Trigger ?

    Hi,
    Is there any way to get the :NW.value in the After delete trigger for each row. My requirement is audit log of the end user DML operations along with user Name (HERE THE USER IS NOT THE ORACLE USER, BECAUSE OF THE LARGE NUMBER OF END USERS WE ARE MAINTAINING ONE TABLE TO CREATE USER NAME & PASSWORD, WHEN THE USER LOGIN TO ORACLE FORM SCREEN, ASSIGN THE USER NAME TO GLOBAL VARIABLE) & Action Date.
    Here is my code for trigger - It is working fine with INSER & UPDATE but for DELETE User is NULL
    CREATE OR REPLACE TRIGGER Tgr_stud_det
    AFTER INSERT OR UPDATE OR DELETE ON student_details
    FOR EACH ROW
    DECLARE
    BEGIN
    IF Inserting THEN
    -------------INSERT VALUE---------------
    INSERT INTO Log_student_details
    (Seq,
    App_User,
    Action,
    Action_Date,
    stud_name,
    stud_age,
    stud_sex)
    VALUES
    (stud_sequence.NEXTVAL,
    :NEW.App_User,
    'INSERT',
    SYSDATE,
    :NEW.stud_name,
    :NEW.stud_age,
    :NEW.stud_sex);
    -------------DELETE VALUE---------------
    ELSIF Deleting THEN
    INSERT INTO Log_student_details
    (Seq,
    App_User,
    Action,
    Action_Date,
    Comment_Up,
    stud_name,
    stud_age,
    stud_sex)
    VALUES
    (stud_sequence.NEXTVAL,
    :OLD.App_User,
    'DELETE',
    SYSDATE,
    NULL,
    :OLD.stud_name,
    :OLD.stud_age,
    :OLD.stud_sex);
    ELSIF Updating THEN
    -------------UPDATE VALUE---------------
    INSERT INTO Log_student_details
    (Seq,
    App_User,
    Action,
    Action_Date,
    Comment_Up,
    stud_name,
    stud_age,
    stud_sex)
    VALUES
    (stud_sequence.NEXTVAL,
    :NEW.App_User,
    'UPDATE',
    SYSDATE,
    'NEW VALUE',
    :NEW.stud_name,
    :NEW.stud_age,
    :NEW.stud_sex);
    INSERT INTO Log_student_details
    (Seq,
    App_User,
    Action,
    Action_Date,
    Comment_Up,
    stud_name,
    stud_age,
    stud_sex)
    VALUES
    (stud_sequence.CURRVAL,
    :NEW.App_User,
    'UPDATE',
    SYSDATE,
    'OLD VALUE',
    :OLD.stud_name,
    :OLD.stud_age,
    :OLD.stud_sex);
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    END Tgr_stud_det;
    Thanks in advance.

    Rizly,
    As i mentioned in the above post, you should remove the references of :old and :new when you are trying to use the global variables. These values are only significant when you the talk about the record in the table.
    For the scenario, you explained, your trigger would insert two records....The trigger would be fired twice.. once during the insert and once during the delete. The audit table will have two records indicating both the actions..
    Take a look at this example below...I am artificially manufacturing a user id in the package test_pkg and using that in the insert trigger. As i explained above, you dont need the :old and :new references because the user id is not a column in the table . hence the :old and :new references have no relevance.
    Also note that, for the delete, I use the :old value and for the insert, I use the :new value.
    for update, I assume you want to store the old record and hence used :old (you can of course use :new too..technically.).
    I don't have access to a forms environement, but the user id logic should be similar to what I described below.
    sql> create table t(
      2     id number,
      3     name varchar2(20)
      4  );
    Table created.
    sql> create table t_audit
      2     ( id number,
      3       name varchar2(20),
      4       action varchar2(20),
      5       user_id varchar2(20)
      6  );
    Table created.
    sql> create or replace package test_pkg as
      2      function get_user_id return varchar2;
      3  end test_pkg;
      4  /
    Package created.
    sql> create or replace package body test_pkg as
      2      function get_user_id return varchar2 is
      3      begin
      4          return 'USER' || to_char(sysdate,'HH24:MI');
      5      end get_user_id;
      6  end test_pkg;
      7  /
    Package body created.
      1  create or replace trigger trg_biud_t
      2     before insert or update or delete on t
      3     for each row
      4  begin
      5     if INSERTING then
      6        insert into t_audit values (:new.id, :new.name, 'INSERT',test_pkg.get_user_i
      7     elsif UPDATING then
      8        insert into t_audit values (:old.id, :old.name, 'UPDATE',test_pkg.get_user_i
      9     elsif DELETING then
    10        insert into t_audit values (:old.id, :old.name, 'DELETE',test_pkg.get_user_i
    11     end if;
    12* end;
    sql> /
    Trigger created.
    sql> select * from t;
    no rows selected
    sql> select * from t_audit;
    no rows selected
    sql> insert into t values (100, 'Rajesh');
    1 row created.
    sql> insert into t values (200,'Kumar');
    1 row created.
    sql> delete from t where id = 200;
    1 row deleted.
    sql> commit;
    Commit complete.
    sql> select * from t
      2  /
            ID NAME
           100 Rajesh
    sql> select * from t_audit;
            ID NAME                 ACTION               USER_ID
           100 Rajesh               INSERT               USER15:36
           200 Kumar                INSERT               USER15:36
           200 Kumar                DELETE               USER15:37

  • I create trigger but not display massage after insert in oracle 10g

    I create trigger but not display massage after insert in oracle 10g
    **CREATE OR REPLACE TRIGGER TableName**
    **AFTER INSERT OR DELETE OR UPDATE ON test**
    **BEGIN**
    **if inserting then**
    **dbms_output.put('Message');**
    **end if;**
    **END;**

    What user interface are you using?
    If the tool doesn't support the SQL*Plus syntax (set serveroutput on), it probably has an option somewhere to enable DBMS Output. Not even knowing what tool you're using, it's impossible for us to guess where that option might be configured.
    As others have suggested, using DBMS Output to test code is less than ideal because you're dependent on the application you're using to display it to you and not every application can or will do that. If you want to use DBMS_Output, you may need to switch to a different GUI (SQL Developer or SQL*Plus are both free utilities from Oracle). Otherwise, you'd probably be better off having the trigger do something that you can subsequently query (i.e. write a row to a log table).
    Justin

  • Can't able to use :NEW in after insert trigger

    When i am trying to assign value to an element of the NEW pseudo record, its giving error like :new pseudo record can't be used in this type of trigger.
    What exactly i've done is given below
    create or replace triger tri_name
    after insert
    on tab_name
    for each row
    begin
    if :new.x='123' then
    :new.y:=null;
    end if;
    end tri_name;
    Thanks & Regards
    --DKar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    from oracle documentation...
    Old and new values are available in both BEFORE and AFTER row triggers. A new column value can be assigned in a BEFORE row trigger, but not in an AFTER row trigger (because the triggering statement takes effect before an AFTER row trigger is fired). If a BEFORE row trigger changes the value of new.column, then an AFTER row trigger fired by the same statement sees the change assigned by the BEFORE row trigger.
    for more details read the documentation

  • Timing pulses after a trigger using a pci6602 card

    Hi,
    I am currently trying to design a program to determine the number of clock cycles which have passed between a trigger and a series of signal pulses  i.e. n signal pulses arrive after the trigger and I want to output an array which contains the time each arrive at, after a certain time another trigger arrives and the process is repeated.
    I am currently using a pci6602 card and would prefer it if the program used daqmx.

    Your recent idea is right on target.  Using the trigger pulses as data acq task triggers would require you to anticipate the next trigger so you can perform software calls that stop and restart your task in time to react to the next trigger signal.  If there's no way of knowing which pulse is the last one before the next trigger (or you have only a few msec to react between the last pulse and the next trigger), a triggered task really isn't the best option.
    You can leave all the timing in the hardware if you go ahead and simply timestamp both the trigger pulses and the signal pulses using 2 simultaneous tasks.  Then some fairly simple post-processing will get you the data in the form you want.  To get their zero times in sync, both should be configured to use the same digital "Arm Start" trigger, which is found only in the DAQmx Trigger Property Node.   I've often created my own trigger signal using either another counter or a digital output bit. 
    -Kevin P.

  • Using Database Change Notification instead of After Insert Trigger

    Hello guys! I have an after insert trigger that calls a procedure, which in turn is doing an update or insert on another table. Due to mutating table errors I declared the trigger and procedure as autonomously transactional. The problem is, that old values of my main tables are inserted into the subtable since the after insert/update trigger is fired before the commit.
    My question is how can I solve that and how could I use the change notification package to call my procedure? I now that this notification is only started after a DML/DDL action has been commited on a table.
    If you could show me how to carry out the following code with a Database Change Notification I'd be delighted. Furthermore I need to know if it suffices to set up this notification only once or for each client seperately?
    Many thanks for your help and expertise!
    Regards,
    Sebastian
    declare
    cnumber number (6);
    begin
    select count(*) into cnumber from (
    select case when (select date_datum
        from
          (select f.date_datum,
            row_number() over (order by f.objectid desc) rn
          from borki.fangzahlen f
          where lng_falle      = :new.lng_falle
          and int_fallennummer = :new.int_fallennummer
          and lng_schaedling   = :new.lng_schaedling
          and date_datum       > '31.03.2010'
        where rn=1) < (select date_datum
        from
          (select f.date_datum,
            row_number() over (order by f.objectid desc) rn
          from borki.fangzahlen f
          where lng_falle      = :new.lng_falle
          and int_fallennummer = :new.int_fallennummer
          and lng_schaedling   = :new.lng_schaedling
          and date_datum       > '31.03.2010'
        where rn=2) then 1 end as action from borki.fangzahlen
            where lng_falle      = :new.lng_falle
            and int_fallennummer = :new.int_fallennummer
            and lng_schaedling   = :new.lng_schaedling
            and date_datum       > '31.03.2010') where action = 1;
    if cnumber != 0 then
    delete from borki.tbl_test where lng_falle = :new.lng_falle
    and int_fallennummer = :new.int_fallennummer
    and lng_schaedling   = :new.lng_schaedling
    and date_datum       > '31.03.2010';
    commit;     
    pr_fangzahlen_tw_sync_sk(:new.lng_falle, :new.int_fallennummer, :new.lng_schaedling);

    It looks like you have an error in line 37 of your code. Once you fix that the problem should be resolved.

  • How to save report in PersonalCategory  after creating it using java panel?

    Hi,
    Anybody knows How to save report in PersonalCategory  after creating it using java panel?
    I dont want to save it in public folder. I want to save report (webi) in user's personal category.
    can anybody send me source code?
    It will help me a lot.
    Thanks in advance
    Amol Mali

    Hi teda,
    i'm assuming that you have seen my post that i did successfuly save report in user's personal category.
    Actually the report is created in webi java panel using RE SDK and  is saved in Report Sample Folder then i'm saving it in user's personal category by following code
    string query = "Select SI_PERSONAL_CATEGORIES From CI_INFOOBJECTS Where "
                         + "SI_INSTANCE=0 And SI_ID=" + reportID;
                    InfoObjects infoObjects = infoStore.Query(query);
                    InfoObject infoObject = infoObjects[1];
                    Webi wreport = (Webi)infoObject;
                    ObjectRelativeIDs personalIDs = wreport.PersonalCategories;
                /personalIDs.Add(Convert.ToInt32(categoryID));
                   infoStore.Commit(infoObjects);
    But the report is presents in the Folder also and in user's personal category also.
    I dont want the report to be in the folder (Report Sample) if i saved it in user's personal category.
    How can i do that?
    any idea.
    Please help me.
    Thanks in advance
    Amol Mali
    Edited by: amol mali on Jan 9, 2009 7:55 PM

  • I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple I'd as there was some problem with the first one. Now at some places still my old apple I'd is appearing.  Pls adv how I change this to my new apple Id.

    I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple id
    as there was some problem with the first one. Now at some places still my old apple Id is appearing.  Pls adv how I change this to my new apple Id.

    Anything you downloaded with the first Apple Id will forever be tied to it, and will always require it to update.
    The question here is, why did you think you needed to create a new Apple ID? What was the problem with the first one?
    To get rid of th old one, you'll need to delete everything you downloaded with it, and then sign out of the ID in several places around the iPad. 
    Go to Settings->iTunes & App Stores->Apple ID->Sign out.
    Repeat the process, for Facetime, Messages, Mail and any other App you need to sign out of.

  • HT4759 Please help me. My Apple id not be used in iCloud. After sign in, to iCloud, I have error massage: This Apple ID cannot be used to sign in to iCloud. Create a new Apple ID or sign in with a different one.

    Please help me. My Apple id not be used in iCloud. After sign in, to iCloud, I have error massage: This Apple ID cannot be used to sign in to iCloud. Create a new Apple ID or sign in with a different one.

    For whatever reasons, the "None" option is not always available to all users and I think it may be related to what country you live in. Short of contacting Apple to get it straightened out, if you haven't done anything with your new ID ye - you can create an Apple ID without a credit card and simply abandon the one that you just created.
    This explains how you can creaet an ID without a credit card.
    http://support.apple.com/kb/HT2534
    The two big things that you have to remember for this to work are ... you have to sign out of your existing Apple ID .... Settings>Store>Apple ID - tap the ID and sign out. Then you have to try to download a free app to bring up the window that asks you to sign in or create an ID. Read the information on the website that I referenced above.
    If you have not used the original Apple ID for anything yet, you can simply ignore it and use the new one - or like I said earlier - contact iTunes support and ask them to help you sort it out.
    Here is a link to iTunes support. You can change the country in the bottom right corner of the screen.
    http://www.apple.com/support/itunes/contact/

  • How to get the value of bill doc after creating it using tc VF01.

    hi,
    i want to get the bill doc no after  creating it using BDC tc VF01.
    with that no i have to update the ztable.

    hi,
    i tried with the above mentioned method to get the created delivery no.but i am unable to get the created billing doc no using bdc tc VF01.any idea about this...
    REFRESH       tt_bdcdata.
      PERFORM bdc_dynpro      USING text-005 text-006.
      PERFORM bdc_field       USING text-008
                                    text-017.
      PERFORM bdc_field       USING text-009
                                    text-011.
      PERFORM bdc_field       USING text-017
                                    wa_worklist-del_no . "wa_created-document_numb.
      PERFORM bdc_dynpro      USING text-006 text-007.
      PERFORM bdc_field       USING text-008
                                    text-018.
      PERFORM bdc_field       USING text-009
                                    text-019.
      CALL TRANSACTION c_t_bill USING tt_bdcdata
                                                MODE c_m
                                                UPDATE c_u
                                                MESSAGES INTO tt_bdcmsgcoll .
      SORT tt_bdcmsgcoll BY msgtyp.
      READ TABLE tt_bdcmsgcoll INTO wa_bdcmsgcoll WITH KEY msgtyp = c_e.
      IF sy-subrc EQ 0.
        LOOP AT tt_bdcmsgcoll INTO wa_bdcmsgcoll WHERE msgtyp = c_e.
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              id        = wa_bdcmsgcoll-msgid
              lang      = text-010
              no        = wa_bdcmsgcoll-msgnr
              v1        = wa_bdcmsgcoll-msgv1
              v2        = wa_bdcmsgcoll-msgv2
              v3        = wa_bdcmsgcoll-msgv3
              v4        = wa_bdcmsgcoll-msgv4
            IMPORTING
              msg       = v_msg
            EXCEPTIONS
              not_found = 1
              OTHERS    = 2.
          IF sy-subrc <> 0.
          ENDIF.
          WRITE :/ v_msg.
        ENDLOOP.
      ELSE.
        READ TABLE tt_bdcmsgcoll INTO wa_bdcmsgcoll WITH KEY msgtyp = c_s.
        IF sy-subrc EQ 0.
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              id        = wa_bdcmsgcoll-msgid
              lang      = sy-langu
              no        = wa_bdcmsgcoll-msgnr
              v1        = wa_bdcmsgcoll-msgv1
              v2        = wa_bdcmsgcoll-msgv2
              v3        = wa_bdcmsgcoll-msgv3
              v4        = wa_bdcmsgcoll-msgv4
            IMPORTING
              msg       = v_msg
            EXCEPTIONS
              not_found = 1
              OTHERS    = 2.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          MOVE wa_bdcmsgcoll-msgv1 TO v_billno.
         wa_epit-bill_no =  v_billno .
         MODIFY TABLE  tt_epit FROM  wa_epit TRANSPORTING bill_no.
         UPDATE zsd_dt_epit SET bill_no = v_billno where del_no = wa_created-document_numb .
         IF sy-subrc EQ 0.
         ENDIF.
          MOVE: v_billno TO wa_worklist-bill_no .
          READ TABLE tt_epit INTO wa_epit WITH KEY epi_id = wa_worklist-epi_id epi_sr = wa_worklist-epi_sr.
          IF sy-subrc EQ  0.
            MODIFY tt_epit FROM wa_worklist TRANSPORTING bill_no WHERE epi_id = wa_worklist-epi_id AND epi_sr = wa_worklist-epi_sr.
          ELSE.
            APPEND wa_worklist TO tt_epit.
          ENDIF.
        ENDIF.
      ENDIF.
    please suggest me..its urgent

  • I have created PDF from hardcopy by using my scanner. After I run OCR option for my PDF by using Acrobat Pro 9. But "Text-to-speech" functionality of the PDF says that an error message comes up that says the page is empty when I turns on the read out loud

    I have created PDF from hardcopy by using my scanner. After I run OCR option for my PDF by using Acrobat Pro 9. But "Text-to-speech" functionality of the PDF says that an error message comes up that says the page is empty when I turns on the read out loud option in Acrobat. Kindly help me to sortout this problems?

    So I tried generating the same PDFs on two other computers that have Acrobat 9 Pro.  Results were reproduced.  The verdict is:
    - complex PDF files (that is, containing cross-references, tables of contents, and bookmarks) generated by Acrobat 9.x Pro are roughly 2-5x larger than the identical file generated with Acrobat 8.x Pro.
    - different PDF conversion settings make a negligable difference (less than 10% rather than 70-80%).
    - using the "Reduce File Size" or "Optimize PDF" option cuts the file size roughly in half, almost always resulting in a "image downsampling mask" warning message, which requires acknowledgement (that is a problem for batch processing or automation).
    - adding an Acrobat watermark to the file cuts the file size roughly in half.
    - just using Save As to another filename has no effect on file size.
    - generating the PDF in Acrobat 9 with links but no PDF bookmarks still results in the inflated file size.
    - generating the PDF in Acrobat 9 without any links or bookmarks results in approximately the same file size as the Acrobat 8 PDF with full links and bookmarks.
    It appears that Acrobat 9's manner of adding links is what's bloating  the files, and in my case it's probably not related to images or image resolution/print quality.  It's a shame, because Acrobat 9 seems to have made some  improvements to the Review Tracker interface, and a few other bells and  whistles which I haven't really gotten around to exporing yet.  But  unless I find a way to keep my links and the PDF file sizes comparable to what I was  getting with Acrobat 8 Pro, it looks like I'm going to stay with Acrobat 8.

  • Problems with After Report trigger Updating using User-defined functions

    Hi,
    I have a report which uses SQL to select data that uses a user-defined stored function in the WHERE clause.
    I use the same SQL in the After Report trigger with and UPDATE statement to flag all records selected as being run.
    Data is being selected by the report no problem, but the records are not being updated. In a test, If I remove the conditions using the user functions, the records update as expected. In Live conditions I must have these conditions in the script.
    I originally tried putting the UPDATE in a formual column, but that would not fire on records where that page was not paged through (or paged to end) in the Runtime Previewer.
    Can anyone advise?

    In case anyone is interested.
    The issue was that the stored functions have roles assigned for security.
    PL/SQL for After Report doesn't seem to recognise the roles having been assigned for the report, so the implicit cursor update/select I had wouldn't work.
    I changed the SELECT into an explicit CURSOR and introduced a FOR LOOP, keeping the UPDATE as an implicit statement.
    I know see this was more of a PL/SQL issues than a report one, but such is life. So if anyone feels the urge to move it to the PL/SQL forum, then feel free!!
    Have a problem free afternoon. :-)

Maybe you are looking for

  • Weird Z and Y key swap and arabic filename problems in Illustrator CS3

    Hi I am having some very weird problems with Illustrator CS3. At completely random times, the software starts to think my Y and Z keys have swapped places. i.e. When I type anything or use any shortcuts, the opposite letters appear and are used. Also

  • My default user can't access internet

    when I tried to use the internet from my default user account, it refused to connect, but my secondary user has no issues. how do i fix my default account?

  • Adobe Air and Flash Future on Desktop and Mobile Devices

    Hello, iam interested to develop for mobil and desktop devices with AS3 and Flash Professional and i have any question. I see also many benefits to develop in flash as in java because javas gui development is based on swing a old java graphics engine

  • How to call java file when entering the another jsp page.

    when i click the link to link to another page, when enter the page, how can i call java file and passing id parameter to call method, which is connected to DB. when enter the page, how can i call java file together with one arguement???

  • Access to DBA_ROLE_PRIVS

    Hello, this is a newbie DBA question, I am more of developer. I have been trying to list all users with access to DBA_ROLE_PRIVS and I run the following query: select distinct(grantee) from dba_role_privs where connect_by_isleaf = 1 start with grante