zoukankan      html  css  js  c++  java
  • FSG报表定义导入

    Copying Report Objects From Another Database (FSG Transfer Program)

    Run the FSG Transfer program to copy report objects from one General Ledger database to another. You can copy row sets, column sets, reports, report sets, content sets, row orders, display sets, and display groups.

    For example, when you implement General Ledger, you might also define all of your FSG objects in a test database. Once your production database is fully functional, you can easily copy the FSG objects from your test database by using the FSG Transfer program.

    Prerequisites

           You or your System Administrator must define database links.

           The chart of accounts in your source database must be identical to the chart of accounts in your target database.

           Any currencies and sets of books referred to by the row sets and column sets being copied must exist in the target database.

           Report details, such as budgets and encumbrance types, referred to by copied reports must exist in the target database.

           You must be logged in to General Ledger and connected to the target database.

       To run the FSG Transfer program:

      1. Navigate to the Submit Request window.
      2. Select the concurrent program named Program - FSG Transfer.
      3. Enter the program parameters.
      4. Submit the request.
      5. When the concurrent request finishes, review the report for any warnings and error messages. If there are errors, correct them, then rerun the FSG Transfer program.

    Other Considerations

    The report produced by the FSG Transfer concurrent request identifies any warnings and error messages which occurred when the program ran. Some of the reasons for warnings include:

      • Name collisions: If a report object you are trying to copy already exists in your target database, you will get a warning message and the report object will not be copied.
      • Row and column set references: If any of the copied row or column sets refer to a currency or set of books which doesn't exist in the target database, you will get a warning message and the reference will be excluded from the copied row or column set.
      • Report details: If any copied FSG reports refer to report details, such as budgets and encumbrance types, which don't exist in the target database, you will get a warning message and the reference will be excluded from the copied report.

    If the FSG Transfer program is interrupted, you can resubmit the program with the same parameters. Note that the program will produce warning messages for any report objects that were successfully transferred during the interrupted run. You can ignore these warnings.

     
     
     
    单击此项可添加到收藏夹 转到底部转到底部

    In this Document

      Purpose
      Troubleshooting Steps
      CHECK SETUP
      OTHER ISSUES
      1. You see the errors ORA-20000, ORU-10027 and ORA-06512 in the log file:
      2. You see the errors APP-01126 and ORA-20000 in the log file:
      3. You see the errors ORA-00604 and ORA-01000 in the request log file:
      4. You get error APP-09518 (APP-RG-09518) on the Define Database Links form (RGXGDDBL)
      5. What do you enter for Domain Name on the Define Database Links form if there isn't a domain defined on the source database
      6. You see the errors ORA-00904 and ORA-06512 in the request log file:
      7. After FSG Transfer Unable to View Rowset and Columnset on the Target. You receive the errors APP-00684, APP-00864 and APP-00730 when trying to create a new columnset or rowset.
      8. You see the errors ORA-01000, ORA-02063 and ORA-06512 in the log file:
      9. FSG Transfer does not produce output which is useful if the program completes with warning or error.
      10. You see the errors ORA-00164, ORA-06510 ORA-06510 in the FSG Transfer log:
      11. You see the errors ORA-01403 and ORA-06512 in the log or output file:
      Still Have Questions?
      References

    APPLIES TO:

    Oracle General Ledger - Version 10.7 to 12.1.3 [Release 10.7 to 12.1]
    Information in this document applies to any platform.
    Executable:RGRXFR - Program - FSG Transfer
    Form:RGXGDDBL.FMB - Define Database Links

    PURPOSE

    Troubleshooting Guide for the FSG Transfer program (RGRXFR).

    TROUBLESHOOTING STEPS

    CHECK SETUP

    1. Check the log file for error messages. 
    - Set the profile FSG Message Level to Full
    - Run the FSG Transfer again
    - Review the log and output file for detailed messages

    2. Are the charts of accounts in the source and target database identical, including value sets (the chart of accounts size, data type, segment separator, and segment assignments must be identical)? 

    3. Do currencies and sets of books referred to by the row sets and column sets being copied exist in the target database? 

    4. Do the components you are trying to transfer already exist on the Target database? If yes, you can not transfer them again. 

    5. Did you create the database link on the Target database? If it already existed, did you drop it first? 

    6. Did you run the FSG Transfer from the Target database?

    OTHER ISSUES

    1. You see the errors ORA-20000, ORU-10027 and ORA-06512 in the log file:

    ERROR at line 1: 
    ORA-20000: ORU-10027: buffer overflow, limit of 1000000 bytes 
    ORA-06512: at line 111 

    Set the profile option FSG: Message Detail to 'Minimal' or 'None. 
    If that does not resolve the issue, then log a Service Request (SR) 

    2. You see the errors APP-01126 and ORA-20000 in the log file:

    APP-01126: Concurrent manager got error running sql*plus 
    ORA-20000: Buffer overflow 

    Shutdown and restart the concurrent managers. 
    See Note:1038245.6 for more information.

    3. You see the errors ORA-00604 and ORA-01000 in the request log file:

    ORA-00604 Error occurred at recursive SQL Level 1 
    ORA-01000 Maximum open cursors exceeded 

    Check the log file to determine where the process failed. 

    If the name of a row set, column set, content set or report set has a % sign as part of the name, this could cause the program to fail with ORA-00604 and ORA-01000 error messages. 

    Change the name of the set containing the %. Once the % has been removed from the name of the set, the program should then complete normal. 
    See Note:1013039.102 for more information. 
    See Note:135933.1 for diagnostic scripts.

    4. You get error APP-09518 (APP-RG-09518) on the Define Database Links form (RGXGDDBL)

    You are trying to create the database link for the FSG Transfer on the Define Database Links form (RGXGDDBL) in General Ledger. 
    After completing the fields on the form, you click [OK] and receive the following error message: 

    APP-09518: Encountered error while creating database link. 
    Ensure all entered parameters are correct. 

    Some things to check: 
    a. Set the DISTRIBUTED_TRANSACTIONS parameter to a number greater than zero for both the target and the source databases in the init.ora parameter file in the RDBMS server. NOTE: This parameter only applies to database versions prior to 9i. 

    b. Grant the APPS user account (GL in 10.7) in the RDBMS target server the privilege to create database links. 
    grant create database link to <APPS account> 
    where <APPS account> is your APPS account name. 

    c. Create the database link using the GL Super User responsibility by navigating to the Define Database Links form (Setup/System/Database Links) on the Target database.
    If you have already created the link manually, drop it first in SQL, before trying to create the link from the form. 
    Note: You can only create a database link in the GUI version of Oracle Applications (10.7 SC or later release). 

    d. Verify you have included the domain name in the Connect String field. 

    e. Verify there are entries in the source and target database tnsnames.ora files for both the source and target databases. 
    See Note:1034013.6 and Note:158333.1 for more information. 

    f.  The syntax of the create database link may require double quotes around the db link.
    It will depend on the characters in the matching entry in the tnsnames.ora file. If there are special characters, then the entries should be quoted.
    Enclose the database name parameter and the domain name parameter in double quotes.

    Example:

    Database Name = "XXX"
    Description = XXX
    Connect String = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX.XXX.COM)(PORT=NNNN))(CONNECT_DATA=(SERVICE_NAME=XXX)))
    Domain Name = "TWWY7I"
    APPS Username = APPS
    APPS Password = ****

    Defining Database Links

    You can define links to other General Ledger databases by using the Define Database Links window. You give each linked database a name, which you can then use for copying FSG report objects from the linked database into your current database.

    For example, when you implement General Ledger, you might define all of your FSG report objects in a test database. Once your production database is fully functional, you will probably want to transfer your report objects to it. To do this, you first create a link from the production (target) database to the test (source) database. Once the link is established, you can copy the report objects by using the FSG Transfer program.

    Prerequisites

           For both the source and target databases, you or your database administrator must set the DISTRIBUTED_TRANSACTION parameter to a number greater than zero. The parameter is located in the init.ora file on the database server.

           You or your database administrator must grant permission for database link creation in the target database by executing the following SQL statement:

    grant create database link to <APPS account>

          where 

    <APPS account>

         is your APPS account name.

       To create a link to a General Ledger database:

      1. Navigate to the Define Database Links window.
      2. Enter the Database Name and optional Description for the linked database. You must also supply the Database Name to the FSG Transfer program.
      You can find the database name by executing the following query in the source database:

    SELECT value FROM v$parameterWHERE UPPER(name) = 'DB_NAME';

      3. Enter the following additional information for the database. If you do not know what to enter, ask your System Administrator.

    Connect String:

       The network connect string to point to the General Ledger database.

    Domain Name:

       The domain of the remote General Ledger database to which this link connects.
      You can find the domain name by executing the following query in the source database:

    SELECT value FROM v$parameterWHERE UPPER(name) = 'DB_DOMAIN';APPS Username:

       The name of the Oracle Applications account that has read access to the General Ledger database tables. Note that this is not the username you enter to login to Oracle Applications.

    APPS Password:

       The password for the above username. Note that, for security reasons, when you enter the password General Ledger will display asterisks instead of the actual characters in the password.
          See: Creating Database Links 

    (Oracle 7 Server SQL Reference, Release 7.3)

      4. Save your work.

       To delete a database link:

      1. Navigate to the Define Database Links window.
      2. Query the database name you want to delete.
      3. Choose Delete Record from the Edit menu.
        4. Choose Yes to delete the database link.

    db_domain操作方法记录

    col name for a30

    col type for a10

    col value for a20

    show parameter db_domain

    NAME                                TYPE      VALUE

    ------------------------------------ ---------- ------------------------------

    db_domain                           string

    show parameter name

    NAME                                TYPE      VALUE

    ------------------------------------ ---------- ------------------------------

    db_file_name_convert                string

    db_name                             string    doudou

    db_unique_name                      string    doudou

    global_names                        boolean   FALSE

    instance_name                       string    doudou

    lock_name_space                     string

    log_file_name_convert               string

    service_names                       string    doudou

    alter system set db_domain='com' scope=spfile;

    SQL> show parameter db_domain

    NAME                                TYPE      VALUE

    ------------------------------------ ---------- ------------------------------

    db_domain                           string

    SQL> show parameter name  

    NAME                                TYPE      VALUE

    ------------------------------------ ---------- ------------------------------

    db_file_name_convert                string

    db_name                             string    doudou

    db_unique_name                      string    doudou

    global_names                        boolean   FALSE

    instance_name                       string    doudou

    lock_name_space                     string

    log_file_name_convert               string

    service_names                       string    doudou

    虽然我们修改成功了,但是没有立刻生效,我们重启数据库

    shutdown immediate

    startup

    SQL> show parameter db_domain

    NAME                                TYPE      VALUE

    ------------------------------------ ---------- ------------------------------

    db_domain                           string    com

    SQL> show parameter name

    NAME                                TYPE      VALUE

    ------------------------------------ ---------- ------------------------------

    db_file_name_convert                string

    db_name                             string    doudou

    db_unique_name                      string    doudou

    global_names                        boolean   FALSE

    instance_name                       string    doudou

    lock_name_space                     string

    log_file_name_convert               string

    service_names                       string    doudou.com

    修改db_domain重启数据库后生效!还有一点需注意service_names自动变为doudou.com也就是说当你设置db_domain时,在不设置service_names的情况下,service_names =db_unique.db_domain(为什么会有这个公式,下面会讲)

  • 相关阅读:
    这两天自己模仿写的一个Asp.Net的显示分页方法 附加实体转换和存储过程
    JavaScript 删除 ASP.NET 设置的多值 Cookie 的方法
    Http 请求处理流程
    ASP.NET实现二维码(QRCode)的创建和读取
    ASP.NET实现网站的自动升级
    ASP.NET乱码深度剖析
    ASP.net学习总结
    ASP.net MVC基础
    umeditor编辑器复制粘贴图片上传
    fckeditor编辑器复制粘贴图片上传
  • 原文地址:https://www.cnblogs.com/xiaoL/p/6255361.html
Copyright © 2011-2022 走看看