Saving SD User Defined Report

I am creating a user defined report in tcode MC21. When i try to save it asks me for a package. Which package do i use. do i use already existing packages or i need to use a new package. If try saving without the package the system refuses. If i save the Info Structure as a Local Object it tells me the Self defined Info structure will not be transportable. How do i handle this.

Ask the abaper which package currently they are using and use the same package.
Reward if it useful.
Regards,
Madhu

Similar Messages

  • Does SQLDeveloper support printing or saving a User Defined Report?

    Once you generate a user defined report, how can you print it out or save it (pdf/tif/jpg/...)?

    File - Print should do that, but there's a current bug (up to v1.5), that only lets you print the visible area.
    So best you right-click in the results, Export Data - xls, and print with your favorite spreadsheet...
    Have fun,
    K.

  • Recreate USER - User Defined Report

    Dear all,
    you might find this useful!
    For those who are interested in saving the definition of a user before dropping him.
    I have created this user-defined report. You may save this and import it as user defined report.
    If you have additions please let me know:
    -------------- CUT HERE -------------------
    <?xml version="1.0" encoding="UTF-8" ?><displays><display id="37db04bc-0120-1000-8003-a609686616e5" type="" style="Code" enable="true">
         <name><![CDATA[RECREATE User]]></name>
         <description><![CDATA[Create a script to recreate a user]]></description>
         <tooltip><![CDATA[]]></tooltip>
         <drillclass><![CDATA[null]]></drillclass>
         <CustomValues>
         </CustomValues>
         <query>
              <sql><![CDATA[select line from
    select 1 as line_no,
            'CREATE USER ' || username || CHR(10) ||
            '  IDENTIFIED BY VALUES "' || password || '"' || CHR(10) ||
            '  DEFAULT TABLESPACE ' || default_tablespace || CHR(10) ||
            '  TEMPORARY TABLESPACE ' || temporary_tablespace || CHR(10) ||
            '  PROFILE ' || profile ||
            '  ;' || CHR(10) || CHR(10) as line
    from dba_users
    where username = :USERNAME
    UNION
    SELECT 2 as line_no,
        'ALTER USER ' || username || CHR(10) ||
        '    QUOTA ' || bytes || ' ON ' || tablespace_name ||
        ';' || CHR(10) || CHR(10) as line
    FROM
        dba_ts_quotas
    where username = :USERNAME 
    UNION
    select 3 as line_no,
           'GRANT ' || privilege || ' TO ' || grantee || decode(admin_option,'NO',' ','YES',' WITH ADMIN OPTION ') ||
           ';' || CHR(10) || CHR(10) as line
    from dba_sys_privs
    where grantee = :USERNAME
    UNION
    select 4 as line_no,
           'GRANT ' || privilege || ' ON ' || owner || '.' || table_name || 
           '   TO ' || grantee || decode(grantable,'NO', ' ','YES',' WITH GRANT OPTION ') ||
           ';' || CHR(10)  as line
    from dba_tab_privs
    where grantee = :USERNAME
    UNION
    select 5 as line_no, ' '|| CHR(10) as line from dual
    UNION
    select 6 as line_no,
          'GRANT ' || granted_role || ' TO ' || grantee || decode(admin_option,'NO', ' ','YES',' WITH ADMIN OPTION ') ||
          ' ;' || CHR(10) as line
    from dba_role_privs
    where grantee = :USERNAME
    UNION
    select 7 as line_no, ' '|| CHR(10) as line from dual
    UNION
    select 8 as line_no, 'ALTER USER ' || :USERNAME || ' DEFAULT ROLE ' || defrole || ' ;'  as line from
    (select rtrim(listagg,',') as defrole from (
    select
       xmltransform
          sys_xmlagg
             sys_xmlgen(granted_role)
         xmltype
           '<?xml version="1.0"?><xsl:stylesheet version="1.0"
              xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <xsl:template match="/">
                <xsl:for-each select="/ROWSET/GRANTED_ROLE">
                  <xsl:value-of select="text()"/>,</xsl:for-each>
              </xsl:template>
            </xsl:stylesheet>'
      ).getstringval() listagg
    from dba_role_privs
    where grantee = :USERNAME
    order by line_no
    )]]></sql>
              <binds>
                   <bind id="USERNAME">
                        <prompt><![CDATA[Name of the User to recreate:]]></prompt>
                        <value><![CDATA[TRAINER01]]></value>
                   </bind>
              </binds>
         </query>
    </display>
    </displays>
    -------------- CUT HERE -------------------

    1) Create user defined parameters in builder
    2) While running in web give paramform=yes. This will cause paramform to be displayed and user can enter the values
    Thanks
    The Oracle Reports Team

  • Cannot salve User Defined Reports

    There's a bug in EA 08.04.
    After create (or modify) an user defined report, in next time that you launch Raptor the new report (or the modification) it's not salved.

    What OS are you using and do you have a space in your path? We had previously had a bug where the User Defined Reports were not being saved if there was a space in the path but that was fixed for 796/804. I just tested on Windows XP and it worked fine.
    Did you do a clean install of 804 or did you install over your old 715? If you did not do a clean install - can you please clean out and install again.
    -- Sharon

  • User defined reports

    hi,
    what are the different user defined reports which can be created using report painter/writer.
    regards
    amulya

    This is what I did. I edited my report and modified the name (editing the report with same name does not work as it gives error 'Name already used please enter new one') added description, tooltip & SQL . Closed raptor and reopened it. All of my reports including the one I modified above, now have the exact same description, tooltip & SQL as the first one (wierd).
    I modified all my reports and added description and tool tip for all of them and all of them did get saved. So, not only Name is mandatory, but description & tool tip seems to be mandatory. Am I right ?
    -Nags

  • User defined report with bind variable

    How can I create an user defined report using a bind variable?

    We currently do not support bind variables in User Defined Reports. We are looking at adding that function before production but I can't promise.
    -- Sharon

  • Error creating a user defined report in the grid control

    I am trying to create a simple User Defined report in the Grid OEM
    Under the 'Elements' tab I have a 'Type' - 'Database Table from SQL'
    And I have this 'Statement' - SELECT * FROM SYS.DBA_USERS
    When I Click the 'Preview' button I get this error.
    Error rendering element. Exception: ORA-00942: table or view does not exist
    I'm logged on as SYSTEM.
    Isn't the SYS.DBA_USERS table accessible by SYSTEM?
    Any advice on what I'm doing wrong/
    Edited by: bfee_sdc on Oct 19, 2010 9:12 AM

    What are the tricks?
    It has to be some what supported since I found this somewhere in an Oracle note...
    How to create custom reports on tables other than mgmt* views.
    To create reports on other tables, grant permissions to MGMT_VIEW user as MGMT_VIEW is responsible for creating reports in grid control
    SQL> GRANT SELECT on SYSMAN.<table_name> to MGMT_VIEW;
    And then create the reports in the reporting framework referencing SYSMAN.<table_name> in the query.
    I tried GRANT SELECT on SYS.DBA_USERS to MGNT_VIEW but this did not work.

  • Columns tab in User Defined Report

    I've written a few user defined reports, but so far I've just filled in the SELECT command. I'm looking at the tab labeled "Columns" and trying to understand how that affects the report formatting.
    Am I right in assuming that this is equivalent to the COLUMN command in SQL*Plus? So "Name" maps to the column name in the SELECT, right? "hAlign" and "vAlign" are pretty self explanatory, and valid values for these are listed in the on-line help. But what about "Format"? What are valid values for this field? Do I use the format values from SQL*Plus, like "A30" for a 30 character wide column?
    Finally, is there a way to specify that a column is not to be displayed? I have a primary key that I don't want to display, but I do need to include in the SELECT, because the report has a Child query that needs to use this as a bind variable for a foreign key.

    <p>
    I've found part of the answer to my own question:
    </p>
    <p>
    Formats for the "format" field in the Columns tab are the formats used in the java.text.MessageFormat class. For example, you can use:
    </p>
    {0,date,yyyyMMdd hh:mm:ss}<p>
    The zero means the first argument; it will always be zero because we are only formatting one column. The second part tells what kind of formats to use, date or number. There is also a "choice" format type, which is related to number - works sort of like the DECODE function. The third part is the format itself, which can be one of several default formats like "currency", "percent" and "integer" for numbers, or "short", "medium", "long" or "full" for dates. I used an explicit format.
    </p>
    <p>
    I still don't have an answer to the second part of my question: How do I include a column in my query to be used as a bind variable in a child query, but exclude it from the report?
    </p>

  • Not able to edit user defined reports

    Hi,
    I've run into an issue recently with user defined reports. After some time, I'm not able to edit them. This only happens on some of them. Is there a way to work around this?
    Thanks.

    Hi,
    The platform is Windows XP Pro (32 bit) sp3, sql developer 1.5.5 (although I've seen this happen on earlier versions as well). After some time, some reports become un-editable. If I right click on the report and click edit, nothing happens. I've also tried exporting and re-importing the reports, but that doesn't seem to help.
    Also, I open it up via sqldeveloper.exe, but no console window come up.

  • Using bind variables in user defined reports

    How do I go about using a bind variable in a user defined report?
    Here's a trivial example in SQL*Plus:
    var ublocksize number
    begin
    select value into :ublocksize
    from v$parameter
    where name = 'db_block_size';
    end;
    select :ublocksize from dual;
    This code does not work in raptor.
    The error displayed is:
    Missing IN or OUT parameter at index:: 1
    Vendor code 17041
    any ideas?

    You also have a second issue of supporting the following syntax in SQL scripts:
    var ublocksize number
    begin
    select value into :ublocksize
    from v$parameter
    where name = 'db_block_size';
    end;
    We are itterating to support all SQL plus commands
    Mike

  • SQL field (not large enough) - Create Report Dialog - User Defined Reports

    When creating a user defined report it would be good to have the sql field the query is entered into bigger. The tiny size is awkward for large queries.

    When you increase the window size, we increase horizontally but not vertically. I will log an enhancement request to see if we can get it longer.
    -- Sharon

  • [3.0.04] Delete user defined report folder

    Hello Forum,
    a few days ago, I got a new computer and exported my user defined reports from the old installation. After importing these into the new installation, all reports were put into an additional subfolder. Since I'm using german localization, the reports were put into "Benutzerdefinierte Berichte/Benutzerdefinierte Berichte". I could move them one folder up by cut and paste, but now I would like to delete the empty subfolder, but I don't have any menu options to do so.
    Is there any way to get rid of that subfolder?
    Many thanks in advance,
    dhalek

    Hi Binom,
    Correct. In fact similar behavior reported in earlier posts such as...
    Bug 2.1: Report folders are read only
    1.5.5 Cannot add user defined report to folder
    ...resulted in the logging of an internal bug:
    Bug 9231534 - FORUM:USER DEFINED REPORT FOLDER MISSING ACTIONS IN NON ENGLISH LOCALES
    I updated it with a reference to this forum thread in order to give it a bump.
    Thanks,
    Gary Graham
    SQL Developer Team
    Edited by: gggraham on Aug 1, 2011 1:30 PM

  • Storing User defined reports in SQL Developer

    Hi All,
         I have created some user defined reports in SQL Developer. My company requested me to update the OS from Win XP to Win 7. I forgot to export those reports. I got my machine back, they said that the data is retained. Now i need to take those reports back. Can anyone tell me in which folder would SQL Developer stores the User Defined Reports by default? My bad I dont remeber the Report Name too.
    Can anyone help me on this?
    Boopathy vasagam

    Hi,
    You can check at location
    C:\Documents and Settings\<your_user>\Application Data\SQL Developer
    HTH

  • SQL Developer 3.1 EA3 unable to import / export user defined reports

    Hi gentlemen,
    Name says it all. Import / Export do not appear anymore neither in dropdown menu for User Defined Reports, nor export for other reports (DD reports or shared reports).
    Best Regards,
    Olivier.

    Those are now Save As / Open...
    Hope that helps,
    K.

  • 1.5.5 Cannot add user defined report to folder

    Hello,
    the context menu on folders in user defined report show only two options: copy and export. No way to add new folders or reports. I migrated my settings from 1.5.1.
    Though I can add a new folder directly at the root of user defined reports. But then SQL Developer won't restart (using 100% of my dual core until I kill the process).
    Running WIN XP JDK 1.6.10
    Regards
    Marcus

    Hello Sue,
    I already tried the current production version 2.1.0.63.73 and the problem is still there.
    In addition I did yet another test without migrating the old reports, connections etc. by renaming the appropriate folder in C:\Documents and Settings\michael\Application Data.
    Afterwards I imported my own reports.
    However there was no chance to move or delete any sub folders containing my reports. I only could copy or export sub folders or delete single reports.
    And after restarting sqldev the same behavior occurred on the new folders just created: Only export and copy are available accessing the context menu.
    Any suggestions? Do I have to re-create every single report?
    Regards,
    Peter
    Edited by: petmichael on Jan 15, 2010 12:27 PM
    Today I found out that changing the language settings for sqldev to English by adding the appropriate settings in sqldeveloper.conf located in \...\sqldeveloper-2.1.0.63.73\sqldeveloper\bin (mentioned below) does solve the problem.
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=US
    AddVMOption -Duser.region=US
    AddVMOption -Dfile.encoding=GBK
    By deleting these additional settings the error is reproducible.
    In addition with the English language settings the "Tip of the Day" appears running version 2.1.0.63.73 first time and it doesn't work that way without the additional settings mentioned above.
    Hth everybody running in that feature!

Maybe you are looking for

  • How can i get my Data from iPad to MacBook

    Hello, I have bought Today a MacBook pro and want to bring my Data (contacts, Dates, mp3...) from the iPad to the MacBook. Don't Know how. Can you help?

  • Enhancing the transaction code WS20000081 - Leave request

    Hi all, I have a requirement where i need to use the transaction WS20000081 for creating a leave for those employees who dont have ESS access. I have created a Z program where the employee will login & then use the above mentioned T-code for creating

  • Importing an object in RFC

    Hello experts, I was asked to do a RFC, but i was told that what the RFC will recieve is an object... I have done everything else, it works when i call it locally from a report... but when i change the function to be remote, i get this error: You can

  • How to view the attached documents in IW22 & IW52

    Hello guys, Help me out. I have attached documents in DMS thru cvo1n maintaining  object link for maintanance notification & service notification and selected coreesponding notification number each. When i go to transaction of IW22 or IW52 i am no-wh

  • No printers appear in Printer Setup Utility

    While trying to get my MacBook to communicate with a Dell 1710 laser (connected by USB), I eventually resorted to selecting the "Reset Printer System" command in Printer Setup Utility. This caused all printers to disappear from the Print & Fax contro