Include program in Enhacements help me plz

Hi All
While we are enhancing the DS. We will write a logic in ZXRSAU01 to populate the data into those fields. Another thing is that we also write a include program at BW side like EXIT_SAPLR0_001 i had small query regarding this  why we write this include program in the BW side whats the use, can any thru some light on this please.
Thanks & Regards
KK

Hi KK,
    To populate fields in R3 you are using that include ZXRSAU01 ( Here you use FM EXIT_SAPLRSAP_001 to arrive the include) this is in R3.
You dont need to write any exit code for populating the fields, it is enough to do in R3.
    But in BW side you are using Exit Fm for several situations like,
     1. Virtual characteristics
     2. To populate User Exit variables ... ( EXIT_SAPLRR0_001)
I think you clear now.
rgrds,
V.Sen

Similar Messages

  • How to identify userexits include program which can be modified

    hi frndz,
    plz don't give me the program which is circulating in forum bcoz i kno tht progm it gives the userexit and BADI but i want to get the include programs for eg:MV45FZZ for VA01 tcode....how to get the include programs like this for other tcodes.
    i think this include progm is to validate the fields in VA01....like this how to validate the fields of other tcodes or screens.
    Thanks.
    Points will be rewarded for rgt ans.
    Arunprasad.P

    Hello,
    as the real world is - there are very different types of 'userexits' inside SAP.
    These programs identifing  SMOD-Exits and BADI's are quite helpful, but they won't find any old exit's
    like the MV45AFZZ.
    I don't know a program which could do that - it would have to scan programs for subroutines maned 'userexit'. But this logic is the oldest logic existing from release 3.0 (or older ??). And (i think) only in SD-related programs. In that area you find the exit's via transaction SPRO -> Sales and Distribution -> system modification.
    Regards Wolfgang

  • How to use the variables of Function exit in the include program

    i have a problem of using the variables of a function exit in the include program..
    If i use those variables there will be an error indicating 'Field FEBVW_IN is unknown. It is neither in one of the specified tables nor defined by a DATA statement'. Please help... Below is the code of the function exit:
    FUNCTION EXIT_SAPLIEDP_202.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IDOC_CONTROL_INDEX)
    *"     VALUE(IDOC_DATA_INDEX)
    *"     VALUE(FEBVW_IN) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_IN) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_IN) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_IN) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_IN) LIKE  FEBPI STRUCTURE  FEBPI
    *"  EXPORTING
    *"     VALUE(I_FIMSG) LIKE  FIMSG STRUCTURE  FIMSG
    *"     VALUE(FEBVW_OUT) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_OUT) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_OUT) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_OUT) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_OUT) LIKE  FEBPI STRUCTURE  FEBPI
    *"  TABLES
    *"      IDOC_CONTROL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_AVIP STRUCTURE  AVIP OPTIONAL
    *"      IDOC_AVIR STRUCTURE  AVIR OPTIONAL
    *"      IDOC_AVIT STRUCTURE  AVIT OPTIONAL
    *"  CHANGING
    *"     REFERENCE(IDOC_AVIK) TYPE  AVIK OPTIONAL
    *"  EXCEPTIONS
    *"      PROC_ERROR
      INCLUDE ZXF08U10.
    Here is the code for the include program.
      INCLUDE ZXF08U10
    MOVE febvw_in TO febvw_out.

    Sometimes you will get this error message when checking include code in exits even though there is really no error - it happens because the include does not realise it is in the function due to the navigation index being out of date.
    Try activating the code - it may work even though the check said there were errors.
    You can also get this issue when trying to drill down on the field in the include to view its structure.
    Andrew

  • Statement inaccessible in ECC 6.0 Include program

    Hi all,
    I am working on an upgrade project from 4.6c to ECC 6.0.
    The code is correct but the statement is inaccessible in include 'ZMV21TOP'.
    Kindly help me to understand the problem..
    Here is the code for your consideration..
      INCLUDE ZMV21TOP                                                   *
    PROGRAM ZV21_MV45A MESSAGE-ID ZCIC.
    TABLES: TVKO,
            TVKOV,
            TVTA,
            TVKBZ,
            kna1,
            T188,
            T151,
            TVV4,
            TVV5,
            TVV1,
            T001W,
            tvakz,
            ZMKTUSG,
            zmktseg,
            zsalestype,
            tvlv,
            tvakt,
            tvak,
            KUAGV,
            KNVK,
            ZTELE.
    TYPE-POOLS vrm.
    TYPES:  tt_bdcdata TYPE STANDARD TABLE OF bdcdata.
    DATA:
      wa_za21_header TYPE za21_header,
      bdcdata TYPE tt_bdcdata WITH HEADER LINE,
      opt LIKE ctu_params,
      opt1 LIKE ctu_params,
      dismode(1) TYPE c,
      updmode(1) TYPE c,
      ok_code LIKE sy-ucomm,
      mess1(150) TYPE c,
      mess2(150) TYPE c,
      data_ok(1) TYPE c,
      return,
      f12 LIKE sy-loopc.
    DATA: str1 TYPE string,
          str2 TYPE string,
          str3 TYPE string,
          str4 TYPE string,
          l_mstring(80).
    DATA: auart_codes TYPE vrm_values.
    DATA: INCL_ITEMS.
    DATA: NO_ERR.
    data: first_time.
    DATA: c_answer.
    DATA: V_TXTPA LIKE KUAGV-TXTPA.
    data : DA_TELF1 like ztele-TELF1.
    data : Q_VBELN LIKE VBAK-VBELN.
    opt-dismode = 'N' .    >>(STATEMENT IS IN ACCESSIBLE HERE)<<
    opt-updmode = 'S'.
    opt-nobinpt = 'X'.
    opt-racommit = 'X'.
    opt1-dismode = 'A'.
    opt1-updmode = 'S'.
    opt1-nobinpt = 'X'.
    opt1-nobiend = 'X'.
    dismode = 'N' .
    updmode = 'S' .
    I would be grateful to you all as I need the solution urgently.Please help.
    Thanks,
    Rekha.

    Hi Rekha,
    the cdoe you write in athis include should be inside a FORm-ENDFORM or a MODULE-ENDMODULE block to be called from the main programs.
    like this:
    form <b>test.</b>
    opt-dismode = 'N' . >>(STATEMENT IS IN ACCESSIBLE HERE)<<
    opt-updmode = 'S'.
    opt-nobinpt = 'X'.
    opt-racommit = 'X'.
    opt1-dismode = 'A'.
    opt1-updmode = 'S'.
    opt1-nobinpt = 'X'.
    opt1-nobiend = 'X'.
    dismode = 'N' .
    updmode = 'S' .
    <b>endform.</b>

  • How to perform subroutine form in an include program?

    Hi all,
    I would like to perform an external subroutine form residing in an include program from a customer function user exit. I tried using the following code, but it dumps:
    PERFORM <form name> IN PROGRAM (lv_program)
               TABLES <a> <b> USING <c>.
    In the dump analysis I see that "Program <include name> is type I and therefore cannot be generated" and "The current ABAP/4 program attempts to call the program <include name> but this program cannot be executed. Therefore,the current program had to be terminated. "
    If the include can't be generated, is there another way or method I could directly call the form without needing to copy the standard code to an own function or form?
    Best regards,
    Mikko

    Hi,
    take this example..
         perform idoc_status_record_write in program sapmsed7 using
                                                    x_edidc-docnum
                                                    c_idoc_status_ready
                                                    space
                                                    space
                                                    space
                                                    space
                                                    space
                                                    space.
    in this the from is in include, but while calling you need to call with the help of main program.
    in this case <b>SAPMSED7</b> main program, but form is in include <b>MSED7F05</b>
    Regards
    vijay

  • Problem in creating include program for customer exit for BC425_01

    Hi,
         I want to write a customer exit for transaction BC425_01. For identifying the include program for exit , i go to System->Status.There I double click on the program name(GUI).Then I perform a 'FIND' in main program for 'customer-function' keyword. I get 3 search results with "CALL CUSTOMER-FUNCTION '001' " , "CALL CUSTOMER-FUNCTION '002' " , "CALL CUSTOMER-FUNCTION '003' ".
    Now i double click on CALL CUSTOMER-FUNCTION '001'  and i am taken to the code of program where this function is called in MODULE cust_check INPUT. I double click on CALL CUSTOMER-FUNCTION '001'  and then I am taken to the function module code which contains a single statement 'INCLUDE ZXBC425G01U01 .' .
    Now I double click on this include program so that I can write my own code. But when i double click on it , a message displayed 'Program names ZX.. are reserved for includes of exit function groups'. Hence I am not able to creates this include program and write my coding.
    Kindly Help
    THANKS

    Hi Amber,
    Then you click enter button.It is asking to create object with that include name ZXBC425G01U01 in a pop-up.You  should select YES option.It will ask package . Give the package name and save.Then include program is created and allowed you to write your own code.
    Thanks,
    Prasad GVK.

  • Activating Include Program in Exit Function EXIT_SAPLAAPM_002

    Hi,
    Thed System does not allow me to create/activate the Include Program ZXAAPMU02. I am getting message : Program names ZX... are reserved for includes of exit function groups. Can you please help me?
    Appreciate Your Help.
    Thanks,
    Kannan

    hi Kannan,
    when you get this message, just press enter. System will ask if it should create ... just say yes and you can create the exit code.
    hope this helps
    ec

  • How to put display-only condition in a custom include program

    hello everyone,
    I have to make a custom include program that will be used instead of the already available 'bdcrecx1'.
    I have a couple of questions and would appreciate your help.
    I need to create a parameter with a checkbox. When this checkbox is 'X' the following 2 fields need to be greyed out, otherwise user should be able to enter values in them. How can I grey out the fields?
    Using my include I should have just the following:
    1)parameter with checkbox
    (if 'X', session and user greyed out)
    2)Session Name
    3)User Name
    Also, is there a way I can avoid putting the following onto the screen:
    1)Keep session (this will always be defaulted to 'X'
    2)No Data
    <b>Note:</b> I made a copy of 'bdcrecx1'and i'm doing changes according to my requirement.
    Thanks in advance.
    Regards,
    Fred.

    Hi,
    For your first question.
    use
    assign user command for checkbox say 'CLICK'..
    at selection-screen output.
    loop at screen.
    if screen-group3 = 'VALUE' and checkbox condition.
    screen-active = 0.
    else
    screen-active = 1.
    endloop.
    To make sure that the user enters the data in fields if checkbox is not grayed,
    do it in event
    start-of selection.
    if field is initial.
    exit.
    go back to previous screen.
    endif.
    for removing 'keep session' , check out for exits..
    Regards,
    Tanveer.
    Please mark helpful answers
    Sorry about the previous error in reply.
    Message was edited by: Tanveer Shaikh

  • Subroutine in function module exit include program

    Hi Friend,
    I want to modularise the code inside the include program defined in funtion module exit. but it is giving out errors.
    Can any one help on this.
    Regards
    Gautham

    Hello Gautam,
    Use the PERFORM  (FORM ................. ENDFORM.) for modularizing the code inside the function module exit. You can not use the include inside the function module directly but once u create a  PERFORM  (FORM ................. ENDFORM.). Inside this  FORM ................. ENDFORM .. u can create any number of include's.
    I hope it will resolve your problem.
    Thanks.
    Anurag

  • Subroutine (perform) inside the include program

    Hi all,
    i am writting a subroutine inside an include.include itself is present inside a subroutine.
    form x.
    include xyz.
    endform.
    inside this include, structure of program is like below.
    include xyx.
    perform y.
    perform z.
    form y.
    endform.
    form z.
    endform.
    so i am geting error like before statement form structure introduced by form must be ended with endform.
    can i use perform & form statement inside include?
    if not then how is it possible to put perform statements inside that include. this include is nothing but an exit
    of program--MV50AFZ1.plz suggest me .it is very urgent.
    any suggestion will be highly appreaciated.
    Regards
    pabitra

    <b>inside this include, structure of program is like below.</b>
    include xyx.
    perform y.
    perform z.
    form y.
    endform.
    form z.
    endform.
    Maintain separate Include to keep the FORMS when u ae defining PERFORMS in Include program. Then it will allow u to activate

  • Procedure to find the exit name from the include program

    hai
    i know the name of the include program
    through this i want to know the user exit name
    what is procedure?
    please give me the details
    Thanks

    Hi,
    Enter include name in se38 ..check where used option for this include.Using backward approach you can get to the exit.
    Thanks.
    Mark points if helpful.

  • What is the table contains Function module include program name

    Hi,
    What is the table contains Function module include program name
    Regards,
    Raja

    Try this FUNCTION_INCLUDE_INFO to get the include number to which function module belongs to.From this u ll get only the particular include name.
    or
    if u need the all the includes used in the function group u have use INNER JOIN on TFDIR and D010INC table
    <b>Select binclude into itab from trdir as a inner join d010inc as b on apname = bmaster where apname = fmodname.</b>
    I hope this will help u.
    Thanks & Regards
    Santhosh
    Message was edited by:
            santhosh ds

  • Insert include program in a main program dynamically

    Hi All,
    I would like to add one 'Z' INCLUDE program in my 'Z' Executable Program. Is there any Standard Function module or Class and Method or any other option available?
    Example:
    Include Program name:ZINCLUDE (which is already existing in SAP)
    Standard Program Name: ZEXECUTE (which is already existing in SAP)
    Now, I want to insert include program ZINCLUDE in my executable program ZEXECUTE.Could you please sugget me on this?
    Thanks,
    Vishnu.

    Hi All,
    Below is the samle program which i did for my requirement.
    DATA:itab TYPE TABLE OF string,
         wa_tab LIKE LINE OF itab,
         lv_string TYPE string.
    * Read the data from already existing Executable Program
    READ REPORT 'YVISHNU_TEST127' INTO itab.
    IF sy-subrc = 0.
    * Append Include program to itab
      lv_string = 'INCLUDE ole2incl.'.
      wa_tab = lv_string.
      APPEND wa_tab TO itab.
      BREAK 50120c1941.
    * Insert Main program by Including above Include program
      INSERT REPORT 'YVISHNU_TEST127' FROM itab.
    ENDIF.
    Thanks for your help.
    Thanks,
    Vishnu

  • A question about transparent gateway,sb help me plz!!

    hi all:
    i met a problem while trying the transparent gateway for ibm drda
    1.i have the listner.ora configured like this:
    =================================================================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = felix)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = tg4drda)
    (SID_NAME = TEST)
    (ORACLE_HOME = E:\oracle\oradrda)
    =================================================================
    2.and the tnsnames.ora configured like this:
    =================================================================
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.10.11)(PORT = 1521))
    (CONNECT_DATA =
    (SID = TEST)
    (SERVER = DEDICATED)
    (HS = ok)
    (HS = OK)
    =================================================================
    3.and the initTEST.ora configured like this:
    =================================================================
    set DRDA_CONNECT_PARM=localhost:446
    DRDA_REMOTE_DB_NAME=test (database name of db2)
    =================================================================
    then i log on as user system and create a database link dblink1.But when i try the sql statment "select * from t1@dblink1"
    such error came up:
    # ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    #ORA-02063:preceding 2 lines from dblink1
    somebody help me plz,tell me how to deal with such a problem,thanks a lot!!!
    Best regards!

    Hi Felix,
    Please take a look at note 234517.1 on metalink (copied below).
    This note explains how to resolve the following error messages when using Transparent Gateways or Generic Connectivity:
    ORA-3113; ORA-2019; ORA-2085; ORA-12154; ORA-28545; ORA-28546; ORA-28509; ORA-942; ORA-904; ORA-28500;ORA-28528
    SCOPE & APPLICATION
    This note should help to solve common error messages when using generic
    connectivity or gateways.
    Common errors with gateways or generic connectivity
    Here are the English descriptions of each error; to compare your message
    with the message below, you can alter your current SQL*Plus session
    and compare your message with the messages listed in this note:
    alter session set nls_language=american;
    ORA-3113:
    SQL> connect system/manager@tg4msql;
    ERROR:
    ORA-03113: end-of-file on communication channel
    Resolution:
    You can't connect with SQL*Plus directly to the foreign
    data store. HS or Gateways are only designed to work with
    a database link from an Oracle database to the foreign
    data store
    ORA-2019:
    SQL> select * from all_catalog@demo;
    select * from all_catalog@demo
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    Resolution:
    Create a database link to connect to the foreign database
    create [public] database link <db link name>
    connect to <user of the foreign datastore>
    identified by <password of this user>
    using '<SQL*Net ALIAS>';
    For case sensitive usernames/passwords of foreign databases,
    surround the user and password with double quotes.
    create [public] database link <db link name>
    connect to "<user of the foreign datastore>"
    identified by "<password of this user>"
    using '<SQL*Net ALIAS>';
    ORA-2085:
    SQL> select * from all_catalog@tg4msql_v91;
    select * from all_catalog@tg4msql_v91
    ERROR at line 1:
    ORA-02085: database link TG4MSQL_V91.DE.ORACLE.COM
    connects to HO.WORLD
    Resolution:
    This problem is related to GLOBAL NAMES.
    The simplest way to disable global naming is to alter
    the current session.
    alter session set global_names=false;
    The other solution is to add a global_name to the
    gateway/hs:
    HS_DB_NAME = <datasource>
    HS_DB_DOMAIN = <DOMAIN>
    But the HS_DB_NAME must not exceed 8 characters and
    must not contain any extra characters. If this is not
    possible, the globale naming can be disabled by setting
    GLOBAL_NAMES = FALSE in the init.ora of the database
    as well
    ORA-12154:
    SQL> select * from all_catalog@demo;
    select * from all_catalog@demo
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name
    Resolution:
    The database link uses a SQL*Net alias not specified
    in the TNSNAMES.ORA of the database server.
    Query the data dictionary to figure out the 'HOST'
    specified for the database link:
    select db_link, host from user_db_links;
    or
    select db_link, host from dba_db_links;
    The 'HOST' value is the alias of the SQL*Net.
    Please make sure it exists in the TNSNAMES.ORA file
    present at the Oracle database server.
    ORA-28545:
    SQL> select * from all_catalog@demo;
    select * from all_catalog@demo
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from DEMO
    Resolution:
    There's something wrong with the SQL*Net connection:
    - checking the SQL*Net -> Listener configuration with TNSPING:
    tnsping <SQL*Net alias>
    TNS-12545: Connect failed because target host or object
    does not exist
    The HOSTNAME specified in the TNSNAMES.ORA is invalid
    Try with the OS ping to resolve the hostname / IP adddress
    TNS-12541: TNS:no listener
    The hostname specified in the listener.ora points to a
    machine without an Oracle listener, the listener on that
    machine is not running or the port number is wrong.
    NO ERROR with TNSPING:
    This might be caused by an invalid SID configuration.
    Please make sure, that the SID in the listener refelects the
    SID specified in the TNSNAMES.ORA. Make sure you don't mix
    SID syntax with SERVICE_NAME syntax.
    If everything is configured well, please make sure that
    lsnrctl status shows at least one service handler for
    hsodbc. Probably restart the listener AFTER changing
    the listener.ora file.
    Still no error found, then please enable listener tracing
    (level support) and have a look at the listener.trace file
    after retrying the same select statement again.
    In the file you should see the connect from the Oracle
    database to the listener. After a few lines you should see that
    the listener tries to open 2 pipes. Does this work or does it
    fail and again a few lines later you see a hex/ascii block that
    conatins an error stack like:
    ERR=12500, CODE=12500, EMFI=4, CODE=12560, EMFI=4?
    Then please check again the listener.ora file; is the
    ORACLE_HOME directory specified within the listener.ora file
    correct? Or if you are using environment variables in the
    listener.ora please replace them with absolute paths.
    ORA-28546
    CAUSE 1:
    SQL> select * from all_catalog@demo;
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-02068: following severe error from DEMO
    ORA-03113: end-of-file on communication channel
    Resolution:
    This error might be caused by a misplaced 'HS=' or 'HS=OK' key
    word in the tnsnames.ora.
    Make sure HS= or HS=OK is present and that the SID Connect String
    looks like:
    (CONNECT_DATA =
    (SID = tg4msql)) <= there are 2 closing brackets! The HS
    (HS=)) <= key word is OUTSIDE of connect_data
    CAUSE 2:
    SQL> select * from all_catalog@test;
    ora-28546: connection initialization failed, probable net8 admin error
    ora-29511 lost rpc connection to heterogeneous remote agent SID ...
    ora-02063 preceding 2 lines from test
    Resolution:
    This behaviour can be found in situations with a version missmatch.
    For example the Oracle database is release 9.2.0.4 and the gateway
    itself 9.2.0.1
    => The fix is to apply the same database patchset (gateway patches
    are part of the database patchsets) to the gateway home as well;
    or if the gateway 9.2.0.1 was installed into a 9.2.0.4 database
    directory to reapply the database patchset.
    ORA-28509:
    Older gateways report this error instead of giving a
    deltailed error description.
    Resolution:
    This error indicates the same as the errors described above.
    They can be solved by checking the SQL*Net configuration
    for the gateway / generic connectivity setup.
    ORA-942:
    SQL> select irgendwas from demo@demo;
    select irgendwas from demo@demo
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ...(the text here depends on the library/odbc...
    ORA-02063: preceding 2 lines from DEMO
    Resolution:
    make sure the table exists in the foreign data store.
    Pay attention that some foreign data stores are case
    sensitive and thus the table_name must be surrounded
    by double quotes.
    ORA-904:
    SQL> select irgendwas from "demo"@demo;
    select irgendwas from demo@demo
    ERROR at line 1:
    ORA-00904: "IRGENDWAS": invalid identifier
    Resolution:
    Make sure the column name specified exists at the foreign
    table and if it is case sensitive, surround it by double quotes.
    ORA-28500:
    CAUSE 1:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned
    this message:
    [Generic Connectivity Using ODBC][H006] The init parameter
    <HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid>.ora
    file.
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    The connect information to the remote database or the ODBC DSN is not
    found. Add the proper connect string required by the gateway or hs/
    generic connectivity agent.
    CAUSE 2:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-28541: Error in HS init file on line 11.
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    The init.ora of the gateway / generic connectivity contains an
    invalid parameter in line 11
    CAUSE 3:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: errors.h (2005): ;
    [Microsoft][ODBC SQL Server Driver][SQL Server]Error authenticating user
    'sa'. (SQL State: 00000; SQL Code: 18456)
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    The username password for the database link is wrong or no connect
    information was specified.
    Make sure that for case sensitive usernames/passwords the create
    database link statement contains the double quotes for the
    username/passwords.
    Further make sure you specified a username and password. OS
    Authentication is currently not supported by most of the
    gateways of by generic connectivity.
    CAUSE 4:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned
    this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: errors.h (2005): ;
    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does
    not exist or access denied.[Microsoft][ODBC SQL Server Driver]
    [TCP/IP Sockets]ConnectionOpen (Connect()).
    (SQL State: 00000; SQL Code: 10061)
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    Make sure the foreign database is up and running on the configured
    machine.
    ORA-28528:
    SQL> select * from DecimalType@hsodbc;
    ERROR:
    ORA-28528: Heterogeneous Services datatype
    conversion error
    Resolution:
    The language of the foreign data store (remote database)
    does not match with your Oracle database settings.
    Starting with 9.2.0.l4 this error might occure for example '
    if numeric values will be truncated.
    Adapt in the Gateway/Generic Connectivity initialisation file
    the parameter HS_LANGUAGE.
    HS_LANGUAGE must be set to the LANGUAGE used in the FOREIGN
    database.
    as a play with 2 settings and check out which one works:
    1. Try:
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    Do you still get the error? Yes, proceed with the second try:
    2. Try:
    HS_LANGUAGE=GERMAN_GERMANY.WE8ISO8859P1
    (or to any other territory that uses a komma as decimal separator)
    ORA-24274:
    SQL> select * from all_catalog@<db_link>;
    select * from all_catalog@<db_link>
    ERROR at line 1:
    ORA-28522: error initializing heterogeneous capabilities
    ORA-28522: error initializing heterogeneous capabilities
    ORA-28559: FDS_CLASS_NAME is <GTW>9.2.0.5.0_128, FDS_INST_NAME is <link>
    ORA-02063: preceding 3 lines from %s
    ORA-00604: error occurred at recursive SQL level 1
    ORA-24274: no row exists in the HS$_BASE_CAPS table for these parameters
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_HS_UTL", line 431
    ORA-06512: at "SYS.DBMS_HS_CHK", line 51
    ORA-06512: at "SYS.DBMS_HS_UTL", line 48
    ORA-06512: at "SYS.DBMS_HS", line 38
    ORA-06512: at line 1
    Resolution:
    This special combination of errors might occure after applying
    the Oracle database and gateway patchset 9.2.0.5 WITHOUT
    running catpatch (=the upgrade script of the database).
    => Please run catpatch. If it ran successfully but connectivity
    still fails you may run
    cathnohs.sql and caths.sql to recreate the HS data
    dictionary tables. BUT BE CAREFUL: Running CATHNOHS drops ALL
    gateway/generic connectivity related database links!
    Hope this helps,
    Mark.

  • A question about transparent gateway,somebody help me plz!!

    hi all:
    i met a problem while trying the transparent gateway for ibm drda
    1.i have the listner.ora configured like this:
    =================================================================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = felix)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = tg4drda)
    (SID_NAME = TEST)
    (ORACLE_HOME = E:\oracle\oradrda)
    =================================================================
    2.and the tnsnames.ora configured like this:
    =================================================================
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.10.11)(PORT = 1521))
    (CONNECT_DATA =
    (SID = TEST)
    (SERVER = DEDICATED)
    (HS = ok)
    (HS = OK)
    =================================================================
    3.and the initTEST.ora configured like this:
    =================================================================
    set DRDA_CONNECT_PARM=localhost:446
    DRDA_REMOTE_DB_NAME=test (database name of db2)
    =================================================================
    then i log on as user system and create a database link dblink1.But when i try the sql statment "select * from t1@dblink1"
    such error came up:
    # ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    #ORA-02063:preceding 2 lines from dblink1
    somebody help me plz,tell me how to deal with such a problem,thanks a lot!!!
    Best regards!

    I strongly recommend you to read the following metalink note. Note:234517.1
    ORA-28545:
    SQL> select * from all_catalog@demo;
    select * from all_catalog@demo *
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from DEMO
    Resolution:
    There's something wrong with the SQL*Net :
    - checking the SQL*Net -> Listener configuration with TNSPING: tnsping <SQL*Net alias>

Maybe you are looking for