Passing the database name as a PL/SQL procedure parameter

How do I pass the name of the database as a parameter to a procedure?
If dbs is the variable name to which I pass the database name as shown in the example,
CREATE OR REPLACE PROCEDURE Extract_gl_acct_Tbl(dbs varchar2)
and I use dbs in the code as follows,
SELECT ACCOUNT,
SETID
FROM SYSADM.PS_GL_ACCOUNT_TBL@dbs
It gives me an error saying 'ORA-04054: database link DBS does not exist'.

You will need to use dynamic SQL to handle this:
create or replace ...
is
type rc is ref cursor;
v_rc rc;
begin
open v_rc for 'select ... from sysadm.ps_gl_account_tbl@' || dbs;
fetch v_rc into ... -- some variables
-- if multiple rows, you'll need to do the fetch in a loop and exit when v_rc%notfound.
close v_rc;
end;

Similar Messages

  • Changing the Database Name

    Hi Gurus
    I am using oracle 10g on Windows platform. The issue is I need to change my database name. When i gone through the Oracle docs I found there is an utility called 'DBNEWID' . But not getting a clear cut idea. Since my DB is So critical anybody please tell me the exact steps to change the DB-Name.
    Thanks & Cheers
    Antony

    Changing Only the Database Name
    C:\>SQLPLUS/NOLOG
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Aug 22 10:54:38 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> CONN / AS SYSDBA
    Connected.
    SQL> SELECT DBID,NAME FROM V$DATABASE;
    DBID NAME
    1230404613 DB01
    SQL> SHUTDOWN IMMEDIATE;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Must be : Take Whole Database Backup (Oracle Recommended)
    Otherwise u lost ur database.
    SQL> STARTUP MOUNT;
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    --Go Command Prompt
    DBNEWID UTILITY >>>NID ( OS Path : d:\oracle\product\10.1.0\db_1\bin\nid)
    C:\>SET ORACLE_SID=DB01
    C:\>NID TARGET=SYS/ORACLE@DB01 DBNAME=ORADB01 SETNAME=YES
    DBNEWID: Release 10.1.0.2.0 - Production
    Copyright (c) 2001, 2004, Oracle. All rights reserved.
    Connected to database DB01 (DBID=1230404613)
    Connected to server version 10.1.0
    Control Files in database:
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL
    Change database name of database DB01 to ORADB01? (Y/[N]) => Y
    Proceeding with operation
    Changing database name from DB01 to ORADB01
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - modified
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSTEM01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\UNDOTBS01.DBF - wrote new nam
    e
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSAUX01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\USERS01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\TEMP01.DBF - wrote new name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - wrote new
    name
    Instance shut down
    Database name changed to ORADB01.
    Modify parameter file and generate a new password file before restarting.
    Succesfully changed database name.
    DBNEWID - Completed succesfully.
    Set the DB_NAME initialization parameter in the initialization parameter file (PFILE) to the new database name.
    Note:
    The DBNEWID utility does not change the server parameter file (SPFILE). Therefore, if you use SPFILE to start your Oracle database, you must re-create the initialization parameter file from the server parameter file, remove the server parameter file, change the DB_NAME in the initialization parameter file, and then re-create the server parameter file.
    ---Create New Password File
    cmd>orapwd file=d:\oracle\product\10.1.0\db_1\database\pwddb01.ora password=oracle entries=5
    SQL> STARTUP PFILE=D:\Oracle\product\10.1.0\Db_1\database\initdb01.ora
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    Database opened.
    SQL> select dbid,name from v$database;
    DBID NAME
    1230404613 ORADB01
    Note:
    After Change DB Name Take Whole Database bkp.
    Note: If i am missing some step or write wrong step plz. correct me.
    Before doing this refer documentation.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm
    thanx
    Message was edited by:
    user526020
    null

  • Dynamically Pass the Column Name cursor. || Dynamic Column Name

    Hi,
    I need to dynamically pass the column name based on a Mapping table in a loop ( Right now i have hardcoded stuff )just like using Execute immediate.... Inside the procedure, I have commented as where i hit the problem.
    Thanks for all of your time...
    Thanks
    Muthu
    CREATE OR REPLACE PROCEDURE xml_testing_clob AS
    doc xmldom.DOMDocument;
    main_node xmldom.DOMNode;
    root_node xmldom.DOMNode;
    user_node xmldom.DOMNode; item_node xmldom.DOMNode;
    root_elmt xmldom.DOMElement;
    item_elmt xmldom.DOMElement;
    item_text xmldom.DOMText;
    item_test xmldom.DOMText;
    nodelist xmldom.DOMNodeList;
    sub_variable varchar2(4000);
    x varchar2(200);
    y varchar2(200);
    sub_var varchar2(4000);
    CURSOR get_users IS
    SELECT FIRST_NAME,LAST_NAME,ROWNUM FROM USER_INFO_TBL WHERE WEIN_NUMBER = '1234' ;
    CURSOR get_cdisc_name IS
    select CTS_COL_NAME,CDISC_NAME from CTS2CDISC_DICTIONARY where CTS_TABLE_NAME = 'USER_INFO_TBL';
    BEGIN
    -- get document
    doc := xmldom.newDOMDocument;
    doc := xmldom.NewDomDocument;
    xmldom.setVersion(doc, '1.0');
    xmldom.setStandalone(doc, 'no');
    xmldom.setCharSet(doc, 'ISO-8859-1');
    -- create root element main_node := xmldom.makeNode(doc);
    root_elmt := xmldom.createElement(doc,'AdminData');
    root_node := xmldom.appendChild(main_node,xmldom.makeNode(root_elmt));
    FOR get_users_rec IN get_users LOOP
    item_elmt := xmldom.createElement(doc,'User');
    xmldom.setAttribute(item_elmt,'OID' , get_users_rec.rownum);
    user_node := xmldom.appendChild(root_node,xmldom.makeNode(item_elmt));
    FOR cv_get_cdisc_name IN get_cdisc_name LOOP
    EXIT WHEN get_cdisc_name%NOTFOUND;
    sub_var := cv_get_cdisc_name.cts_col_name;
    sub_variable := 'get_users_rec.';
    sub_variable := 'get_users_rec.'||cv_get_cdisc_name.cts_col_name;
    x := sub_variable;
    dbms_output.put_line(x); -------------- Here i just see the literal string
    y := get_users_rec.FIRST_NAME;
    dbms_output.put_line(y); -------------- Here i just see actual value ( data )
    item_elmt := xmldom.createElement(doc,cv_get_cdisc_name.cdisc_name);
    item_node := xmldom.appendChild(user_node,xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc,x ); ---- This is the place i am hitting with an error .
    If i use variable X then i am able to see only the literal
    string in the output. BUT if i put cursor name.coulmname,
    then the resumt (XML) is fine.I wanted acheive this
    dynamically just like execute Immediate
    item_node := xmldom.appendChild( item_node , xmldom.makeNode(item_text));
    END LOOP;
    END LOOP;
    -- write document to file using default character set from database
    xmldom.WRITETOCLOB(doc,);
    xmldom.writeToFile(doc, 'c:\ash\testing_out.xml');
    -- free resources
    xmldom.freeDocument(doc);
    END;
    +++++++++++++++++++++++++++++++++++ XML OUTPUT +++++++++++++++++++++++++++++++++++++++++
    <?xml version="1.0" ?>
    - <AdminData>
    - <User OID="1">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName> </User>
    - <User OID="2">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="3">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="4">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="5">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    ++++++++++++++++++++++++++++++++++++++++++++++++++++ MAPPING TABLE DETAILS +++++++++++++++++
    CTS_COL_NAME     CDISC_NAME     CTS_TABLE_NAME     XML_TAG     -----------> Column Name
    FIRST_NAME     FirstName     USER_INFO_TBL     Element     -----------> Records
    LAST_NAME     LastName     USER_INFO_TBL     Element     -----------> Records

    My scenario is little different, let me explain:
    My columns will remain same but values changes (based on column formula) according to the selected prompt value
    If I select 'Oct' from prompt then
    Curr will contain data for 'Oct' only
    Next1 will contain data for 'Nov' only
    Next2 will contain data for 'Dec' only
    Next3 will contain data for 'Jan' of next year only.
    Later if I select 'Jul' from prompt then
    Curr will contain data for 'Jul' only
    Next1 will contain data for 'Aug' only
    Next2 will contain data for 'Sep' only
    Next3 will contain data for 'Oct' only.
    I don't have different columns for each months but the columns are capable to reflect data for any month.
    So, how can I reflect the column name as month name for which that contains data.
    Regards,
    S Anand

  • How to know the database name?

    I have installed oracle 10g and developer suite.. I am trying to create forms now.
    But its error out: TNS: could not resolve the connect identifier specified!!!
    I forgot the Data base name.. How can I know the database name??
    Thanks in Advance!!!!!!!!!!

    I have installed oracle 10g and developer suite.. I'm sorry, but you are going to have be more specific as what you installed!
    If you installed Oracle Database 10g Express Edition then it is not (by default) configured to allow a connection through SQL*Plus. It is primarily configured to open a connection through the "Go To Database Homepage" url/link in the Start Menu => Oracle Database 10g Express Edition => Go To Database Homepage. In order to connect to the database from SQL*Plus (which is included with Oracle Developer Suite 10g) you will need to run the Net Configuration Assistant to configure your TNSNAMES.ora and SQLNET.ora files. Go to Start Menu => Oracle - DevSuiteHome1 => Configuration and Migration Tools => Net Configuration Assistant to run the assistant. After you run the assistant, test to make sure can connect through SQL*Plus before you attempt to connect through Forms.
    Hope this helps,
    Craig...

  • How to create the database name

    May I know,How to create database name?It is create net service name is a create database name?My database instance is PSM2006 and i connect connect user1/user1@psm2006 . Can i create another instance such as bomba ?
    I want to save my oracle table in database name 'Operasi'
    and save another table in database name 'Kawalan'
    May i know,how to create and then view the database name?
    I am new in Oracle 9i client and Oracle 9i server install on server machine

    In Oracle:
    A database is a group of files that can hold data;
    An instance is the running software and memory to control one database;
    A schema is a collection of tables (and other things), often related to one application;
    A user is a security mechanism that allows privileges and may own one schema.
    Aa schema-owning user may grant access to the schema to any other users.
    A tablespace is like a disk - just a place to store things. And just like any operating system or computer, which can have many disks, a database can have many tablespaces.
    (Tablespaces were created when disks were small and one table easily filled up more than one disk. So tablespace was invented to become a logical disk, or space for tables, that could combine multiple disks.)
    Many schemas can use one tablespace to store their tables and indexes. Just like placing a file on a specific disk, each table can be assigned individually to a specific tablespace.
    So - you want to create a user 'Operasi' and a user 'Kawalan'. Each user should become a schema owner, simply by creating tables and indexes (and other things).
    Then you can create other users, 'Joe', 'Jeff', 'Tom' and 'Betty' and give them access to the tables in the 'Operasi' schema. Create users 'Buhlan', 'Karla', 'Gronk' and give them access to the tables in 'Kawalan'. And create users 'Flox' and 'Gnorf' and give them access to the tables in both 'Operasi' and 'Kawalan'.
    Oracle really works best if you only have one instance, with one database, on one computer.
    It is really sad that other, more recent, database groups, corrupted the terminology - the terms database ans schema come from the CODASYL days (over 30 years ago) - thereby making things much more difficult to understand by having several confusing meanings. (If you have used SQL Server, the term database is similar to Oracle's schema.)

  • The database name cannot exceed 50 characters

    I am trying to create an offline copy of my BCM database in Outlook 2013. I have connected to my remote server which LeadershipSBSE\BCM and the database name itself is just LS. (I have shortened it as much as I can.) Despite these efforts, whenever I try
    and create the offline copy, it tells me the "database name cannot exceed 50 characters."
    I quite literally CANNOT shorten anything else. How can I get this to work?
    Thank you in advance.
    Veronica

    As mentioned above, the INSTANCE name that I am typing in is "LeadershipSBSE\BCM" and the actual DATABASE name that I am selecting is "LS". I started with much longer names, but have actually created a second SQL instance with a shorter name (BCM) and a
    new database with the name "LS". I quite literally CANNOT make this any shorter.
    I am using Windows 8.1 and Outlook 2013.
    I think I may have figured something out with regard to the error, though. My profile name was crazy long, since I was using a Google apps profile. When I switched to a different Outlook profile named "Outlook", I no longer got that error message. Now, though
    I am getting a "Database creation was unsuccessful" and in the Windows event log, I'm getting an Application error 1000 with these details:
    Faulting application name: wmiprvse.exe, version: 6.3.9600.16384, time stamp: 0x521590bf
    Faulting module name: svrenumapi100.dll, version: 2009.100.1617.0, time stamp: 0x4db1edee
    Exception code: 0xc0000005
    Fault offset: 0x0003a05f
    Faulting process id: 0x441c
    Faulting application start time: 0x01cef050aed27518
    Faulting application path: C:\WINDOWS\sysWOW64\wbem\wmiprvse.exe
    Faulting module path: C:\Program Files (x86)\Microsoft SQL Server\100\Shared\svrenumapi100.dll
    Report Id: eca67711-5c43-11e3-be6e-14dae951ed82
    Faulting package full name: 
    Thanks.
    Veronica.

  • Cannot connect to sys giving the database name

    Hello All,
    I cannot connect to sys user when giving the database name but with no database name I can connect.
    [oracle@ccoshs02xvdbs04 trace]$ sqlplus sys/passwdA123system@mps01dev as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 10:38:36 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name:
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name:
    ERROR:
    ORA-01017: invalid username/password; logon denied
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    [oracle@ccoshs02xvdbs04 trace]$ sqlplus sys/passwdA123system as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 10:40:06 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter instance
    NAME TYPE VALUE
    active_instance_count integer
    cluster_database_instances integer 1
    instance_groups string
    instance_name string mps01dev
    instance_number integer 0
    instance_type string RDBMS
    open_links_per_instance integer 4
    parallel_instance_group string
    parallel_server_instances integer 1

    [oracle@ccoshs02xvdbs04 script]$ sqlplus sys/passwdA123system as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 11:19:47 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter user sys identified by passwdA123system
    2 ;
    User altered.
    SQL> connect sys/passwdA123system@mps01dev
    ERROR:
    ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
    Warning: You are no longer connected to ORACLE.
    SQL> exit
    [oracle@ccoshs02xvdbs04 script]$ sqlplus sys/passwdA123system@mps01dev as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 11:21:15 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    Many thanks.

  • How to pass the feild names of a select query dynamically?

    Hi
    How can we pass the feilds names in select query dynamically?
    For example in my selection screen i wil be giving the table name, and feilds in that table.....
    those feilds should be taken in my select query...
    instead of
    PARAMETERS : tab_name TYPE ddobjname .
      SELECT *
        FROM (tab_name)
        INTO TABLE <newtab>
       UP TO 25 ROWS.
    parametrs : feild1 like-------
                     feild2----
    i need select feild1 feild2 feild3    FROM (tab_name)
        INTO TABLE <newtab>
       UP TO 25 ROWS.

    by the way, contrary to popular belief there is no performance problem when using
    SELECT * FROM dbtab INTO CORRESPONDING FIELDS OF TABLE itab WHERE ...
    as long as the structure of itab contains only the required fields.
    I ran some benchmarks against this and above construct is maybe 0.1% slower (Oracle 10g) than a
    SELECT f1 f2 f3 f4 ... FROM dbtab INTO TABLE itab WHERE ...
    but is saves you from maintaining a potentially very long field list in your code. So when you need additional fields later on, you just add them to the DDIC structure or type definition and that's it.
    Maybe something you want to factor in here.
    Cheers
    Thomas

  • Can we rename the database name in oracle 10g

    Hi,
    Can we rename the database name in oracle 10g.
    Please help

    Yes as already said, using DBNEWID Utility can renamed the database name.
    You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
    Regards,
    Sabdar Syed.

  • Rename the database name

    I am installed oracle10g on widows-xp and i am created database my database name is orcl2
    now i want to change the database name orcl2 to orcl1
    i am following these steps...
    1)SHUTDOWN IMMEDIATE
    2)STARTUP MOUNT
    3)% nid TARGET=SYS/password@orcl1 DBNAME=orcl2 SETNAME=YES
    4)SHUTDOWN IMMEDIATE
    5)Set the DB_NAME initialization parameter in the initialization parameter file to the new database name.
    6)Create a new password file.
    7)STARTUP
    but i got an error at #3 ie
    SP2-0734:unknown command ignoring '% nid....
    and
    tell me how to create new password file
    and
    i have another doubt ie
    Are these steps applicable for all Oracle versions? or is there any specific version these steps compatible?
    could you please help me
    Thanks
    Rakesh

    Hi
    create a new password file by
    orapwd utility
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n>
    where
    file - name of password file (mand),
    password - password for SYS (mand),
    entries - maximum number of distinct DBA and force - whether to overwrite existing file (opt),
    OPERs (opt),
    There are no spaces around the equal-to (=) character.
    Thanks
    Kuljeet Pal Singh

  • How to modify the database name

    Hi people
    Im a developer and it's the first time that I use the Xe version of oracle. I need to modify the database name but I don't know how to make this. Im finding the commands but I don't meet this.
    Anyone can help me?
    Thanks
    Best Regards

    Hi,
    XE is XE is XE ... ;-)
    If you'd like to rename it you may get a database license for at least a STANARD EDITION ONE database, upgrade your XE to SE-ONE and then rename your database.
    But (as it has been noted before) for obvious reasons there's no way to rename an XE database to something else :-)
    Kind regards
    Mike

  • Failed to retrieve data from the database. 42000(Microsoft)(ODBC SQL Server

    Failed to retrieve data from the database. 42000(Microsoft)(ODBC SQL Server Driver)(SQL Server)Line 1: Incorrect syntax near 's'

    Hi Diptesh,
       What is your crystal reports version ? CRXI or higher?
    And does your filter bject consists of apostrophie s fields?
    If this is the case then this is a known issue try installing the latest service packs or fix packs to see if it resolves the issue?
    Regards,
    Vinay

  • How can i change the database name on MaxDB?

    Hello.  I need to do a homogeneous copy where the source system is the productive system and the target system is the quality system. Therefore after to restore the data backup i need to change the database name of quality system (from CLP to CLQ) but i'm not sure that it could be possible because in the MaxDB documentation i didn't found nothing about that. please can you tell me if it is possible and how i change it?
    I work with MaxDB 7.6.04.11.  Thanks for your help.

    > I will try to explain better: the SID of the source database is CLP and the SID of the target database is CLQ, when you say "once you restore the DB, it will use the new SID", i understand that the new SID in the target database would CLP or am i wrong? and i need that the SID in the target database remains CLQ after the restore.
    Hi Ivonne,
    what you've described as your requirement is exactly what will happen, when you just perform the procedure that Eric described to you.
    A recovery won't change the SID of the instance you perform the recovery to.
    All it does is: take the instance as is and load the data pages to the data area. Afterwards the log files may be recovered.
    Think of the instance as a kind of container for your database.
    The instance itself is not the database - so the SID does not change with the content of the database.
    Hmm... why not simply try it?
    Create a little test instance and back it up.
    Create another instance with a different name and recover the backup of the first instance.
    You will still have both instances, each with its original name.
    regards,
    Lars

  • Pass the structure name and return the description fields.

    Hi experts!!,
    I would like to know a class and the method that I pass the structure name and return all the description fields.
    Thanks a lot

    Hello Ana
    Have a look at class CL_ABAP_STRUCTDESCR.
    DATA: ls_knb1   TYPE knb1.
    DATA: lo_typedescr    TYPE REF TO cl_abap_typedescr.
    DATA: lo_strucdescr   TYPE REF TO cl_abap_structdescr.
    DATA: lt_dfies            TYPE ddfields.
    lo_typedescr = cl_abap_structdescr=>describe_by_data( ls_knb1 ).
    lo_structdescr ?= lo_typedescr.
    lt_dfies = lo_structdescr->get_ddic_field_list( ).
    " Or check public attribute: lo_structdescr->components   for non-DDIC structures
    Other useful RTTI classes are:
    CL_ABAP_DATADESCR
    CL_ABAP_TYPEDESCR
    CL_ABAP_TABLEDESCR
    CL_ABAP_CLASSDESCR
    Regards
      Uwe

  • If i pass the SEGMENT NAME and its SDATA can i get the all IDOCs?

    Hello
    If i pass the SEGMENT NAME and its SDATA can i get the all IDOCs of these values(sdata) holding? is tehre any standard SAP function module?
    Moderator message: please search for information and try yourself before asking.
    Edited by: Thomas Zloch on Aug 23, 2011 2:44 PM

    Hi Uwe,
    Thanks very much for your reply, now I have another problem .
    Only the authrotiy field in the authority object is not '*' shall I check for the authority, how can I realize this?
    thanks very much for your help.
    Lament

Maybe you are looking for

  • F-28 incoming payments

    I am trying to create a residual item but i get the error account ..........must not be tax relevant. residual item must be posted to the customer account and not the payment difference account and my customer account is tax relevant. Then why am i g

  • ExportPDF not retaining formating when converting to Excel

    Hi I just bought ExportPDF to convert these large pdf's into excel files. But whenever I convert the pdf to excel it takes all 8 distinct columns and lumps them into a single column. This would not be a problem if I could use text to columns to fix i

  • Release Strategy with New Class and Char.

    Dear All, I have facing problem when creating the new release strategy for different country. i have create new Characteristic and class for new Release streategy. when i going to add in Release group.. system giving the error. Diagnosis Here you can

  • C++ Runtime Error in editing module in Elements 7

    Hi all.. I don't know if anyone has ever encountered this problem, but I cannot open the editing module because of this C++ Runtime Error, "This Application hs requested the Runtime to terminate in an unusual way .." It has been very frustrating. My

  • Dunning printing Issue

    Hi Experts, when we create a dunning cycle, it is supposed to generate more than 7000 pages to print. Problem is that the job is interrupted after 30 mn (it takes too much time).i'm getting runtime error time out. I checked with OSS note and implemen