NW RFC SDK: No more human-readable RFC error messages?

I'm converting my program from the classic RFC SDK to the NetWeaver one.
Apparently, the RFC_ERROR_INFO.message value is no longer filled with the proper human-readable error message as it used to be.
Eaxmple: trying to create a function description for a non-existant function
Classic SDK: "Function module "Z_MYFUNC" not found."
NetWeaver SDK: "ID:FL Type:E Number:046 Z_MYFUNC"
I don't see how to get the old message back. Can anyone help? Thanks!

I am using nwrfcsdk in c directly, I have encountered some other issues, you may
check the nwrfcsdk init release blog by Ulrich via
/people/ulrich.schmidt/blog/2007/05/10/sap-netweaver-rfc-sdk
May be the patch 1 have solved this issue already.
sapnote 1056472 SAP NW RFC SDK 7.10 -- Patch level 1

Similar Messages

  • More human readable MC size

    Hi guys.
    I was searching for info to make size colomn in MC more human readable than just number of bytes and the only thing found is the option "Use SI size units". OK, it's better but "735074k" is half-human-readable. I want it to be like "du" does:
    3,8G ./***
    2,1G ./***
    31G ./***
    8,3G ./***
    3,4G ./***
    44G ./***
    I tried to use bash syntax in Listing Mode, like
    ... | `du -h` | ...
    ... | `du -sh` | ...
    but MC doesn't accept that. Is there any other way to make it du-like?

    Width of the column doesn't do what I was talking about. For example now that I did what you suggested I have two files of sizes shown as
    |6325|
    |90k |
    Which should be something like
    |6.1 K|
    |90 K |
    Last edited by Mr. Alex (2012-08-05 10:48:21)

  • More precise JDBC driver error messages?

    Hi,
    is there a way to tell the Oracle JDBC driver (9.0.2.3) to provide more detailed error messages in an SQLException message string when a table cannot be found? The usual message "Table or view does not exist" does not provide information on the actual table or view that was missing. I would like the table or view name to be included in the message provided by the SQLException.
    (In general I would appreciate more detailed error information in the Oracle JDBC driver exception messages.)
    Best regards Uwe

    perhaps this might help:
    * Get error message of an SQLException with the following form:
    * <p>
    * <code>Code=&lt;Vendor-specific error code&gt;:'&lt;error message&gt;':SQLState=&lt;SQLState&gt;</code>
    * <code>
    * Note: SQLState "S1000" is returned for general errors or if driver does not support SQLState.
    * @param sqlException SQLException to create error code from.
    * @return Specific error message or null if <i>sqlException</i> not available.
    public static String toString(SQLException sqlException) {
    String result = null;
    if (sqlException != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlException != null) {
    sb.append("RDBMS Vendor Code ");
    sb.append(sqlException.getErrorCode());
    sb.append(": \"");
    sb.append(sqlException.getMessage());
    sb.append("\" : SQLState=");
    sb.append(sqlException.getSQLState());
    sqlException = sqlException.getNextException();
    result = sb.toString();
    }//else: input unavailable
    return result;
    }//toString()
         * Get string representation of a SQLWarning.
         * @param sqlWarning
         * @return Specific error message or null if <i>sqlWarning</i> not available.
         public static String toString(SQLWarning sqlWarning) {
    String result = null;
    if (sqlWarning != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlWarning != null) {
    sb.append("errorCode=");
    sb.append(sqlWarning.getErrorCode());
    sb.append(", SQLState=");
    sb.append(sqlWarning.getSQLState());
    sb.append(",message=");
    sb.append(sqlWarning.getMessage());
    sb.append(",cause=");
    sb.append(sqlWarning.getCause());
    sb.append(";");
    sqlWarning = sqlWarning.getNextWarning();
    }//next subsequent warning
    }//else: input unavailable
    return result;
    }//toString()

  • Where can I find more info on Oracle error Messages?

    I once heard there is a online resourse for the errors.
    Thanks,
    Sam

    http://tahiti.oracle.com has all the Oracle documentation online, including the error reference.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • RFC SDK download

    I'm a newbie and purchased ABAP Objects book that has mini-basis system. Is there a way for me to get a copy of the RFC SDK so I can interface programs to my mini-basis system without having purchased a real system? I know there is a service marketplace but registering requires a customer number. 'Initial' is the customer number for a mini-basis system but the site won't accept that.

    Hello,
    you can get it via the SAP Service Marketplace (SMP). Please have a look at these links:
    SAP NetWeaver RFC SDK (SAP note 1025361):
    http://service.sap.com/swdc
    -> Download
    -> Support Packages and Patches
    -> Entry by Application Group
    -> Additional Components
    -> SAP NW RFC SDK
    -> SAP NW RFC SDK 7.10
    -> SAP NW RFC SDK 7.10
    SAP RFC SDK:
    http://service.sap.com/swdc
    -> Download
    -> Support Packages and Patches
    -> Entry by Application Group
    -> Additional Components
    -> SAP RFC SDK UNICODE
    Please reward points if helpful.
    Regards,
      Juergen

  • RFC SDK Functionality

    Currently I am investigating the feasibility of introducing a SAP coupling in our middleware product.
    We want to use the RFC SDK to achieve this.
    Therefore I have some questions about the functionality of this interface:
    1. Is it possible to retrieve data from a SAP system using this interface?
    2. Is it possible to retrieve 'all changes since a certain timestamp' using this interface?
    3. Is it possible to retrieve a list of all objects /tables in the system?
    4. Is it possible to perform a 'describe' of an object (what attributes does it have? what keys?).
    Thanks!
    Simon

    Hello,
    you can get it via the SAP Service Marketplace (SMP). Please have a look at these links:
    SAP NetWeaver RFC SDK (SAP note 1025361):
    http://service.sap.com/swdc
    -> Download
    -> Support Packages and Patches
    -> Entry by Application Group
    -> Additional Components
    -> SAP NW RFC SDK
    -> SAP NW RFC SDK 7.10
    -> SAP NW RFC SDK 7.10
    SAP RFC SDK:
    http://service.sap.com/swdc
    -> Download
    -> Support Packages and Patches
    -> Entry by Application Group
    -> Additional Components
    -> SAP RFC SDK UNICODE
    Please reward points if helpful.
    Regards,
      Juergen

  • "One or More Modules Reporting an Error"

    Hi,
    Please give suggestion on this error "One or More Modules Reporting an Error" message.
    Snapshot is attached for refrence.
    Thanks,
    Abuzar

    Abuzar,
         With the netwatch module, if you do not have an interface configured or there is no traffic being seen on the configured interface the module will display this error message.   This error can be ignored if you have not yet configured the module and is normal for an unconfigured module.
         To correctly configure the module configure a spare interface on your collector with an ip address and either span traffic to that interface or configure a DHCP helper to forward DHCP traffic to that interface.
    --Jesse

  • RFC SDK - timeout for RFC execution

    Hi!
    I was wondering if there was a way, when using the RFC SDK in client mode, to prevent a RFC call from taking more than a specified time to execute on the server.
    Can I use the API RfcCallReceiveTimed?
    Thanks,
    Mustansir

    See note 1056696 - Compiling and Linking RFC Programs with the SAP NW RFC SDK
    HP-UX (PA-RISC, 64 bit)
    aCC -DSAPonUNIX -DSAPonHPPA -DSAPwithUNICODE +DD64 -Aa +W392,829,818,887 -DSAPwithTHREADS -mt -w +O2 -DNDEBUG +inst_compiletime -c <program>.cpp
    aCC -Wl,+n,-z -Wl,-a,default +DD64 -o <program> <program>.o libsapnwrfc.sl libsapucum.sl [and possibly libicudecnumber.sl]
    Markus

  • Errors compiling program with RFC SDK 700 for ECC 6.0

    Hi,
    We are getting an error when trying to compile a program on HP_UX HP9000.  We downloaded the RFC SDK for 700.  The command we are using is:
    cc sapsockets.c librfc.a -o sapsockets -lm -lcl +DA2.0W
    The error we receive is:
    ld: Unsatisfied symbol "xdr_string" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "__nw__FUl" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "__dl__FPv" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "xdr_free" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "[Vtable]key:__dt__21__versioned_type_infoFv" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "__PureVirtualCalled" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "__dla__FPv" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "__nwa__FUl" in file librfc.a[cpictlib.o]
    ld: Unsatisfied symbol "__ConstructMarkedArray__FPvUiUlPFv_vT4" in file librfc.a[cpictlib.o]
    9 errors.
    I don't have much experience in this area.  Sorry I couldn't supply more information.
    Any help is appreciated.
    Thanks,
    Domenick

    See note 1056696 - Compiling and Linking RFC Programs with the SAP NW RFC SDK
    HP-UX (PA-RISC, 64 bit)
    aCC -DSAPonUNIX -DSAPonHPPA -DSAPwithUNICODE +DD64 -Aa +W392,829,818,887 -DSAPwithTHREADS -mt -w +O2 -DNDEBUG +inst_compiletime -c <program>.cpp
    aCC -Wl,+n,-z -Wl,-a,default +DD64 -o <program> <program>.o libsapnwrfc.sl libsapucum.sl [and possibly libicudecnumber.sl]
    Markus

  • RFC SDK

    Hi
    I am completely new to SAP.
    We are investigating the possibility of coupling of our middleware solution (which is a C application) to SAP systems.
    As I understand it the RFC SDK is the appropriate tool for this.
    I have, however, two questions:
    1. Is this RFC interface available for SAP systems based on the ABAP & Java NW application servers?
    2.Is there a possibility of downloading a trial version (or buying a trial license) so that we can explore the functionality of this interface?
    Best regards,
    Simon

    Hi Simon,
    Here are answers
    You can use our RAC systems to explore the funtionality
    To know more about our RAC service
    https://www.sdn.sap.com/irj/sdn/saprac
    Please read our RAC service and please let me know your decision.
    PS: RAC service standard suits your need.
    Thanks and regards,
    Shankar.

  • SAP Netweaver RFC SDK bindings for Node.js

    Hi all,
    I have just completed a first version of bindings to the SAP Netweaver RFC SDK for [Node.js|www.nodejs.org].
    You are encouraged to inspect and download the source code on [https://github.com/jdorner/node-sapnwrfc|https://github.com/jdorner/node-sapnwrfc]. For further convenience, I have also supplied a package for use with the node package manager (npm). Nevertheless, you will have to download the SAP NW RFC SDK beforehand. Thus, you should carefully read the README on GitHub for more detailed instructions.
    Please let me know if you have problems installing/compiling the module. At the moment it has only been tested on a x86_64 linux platform.
    Regards,
    Joachim

    Thanks Mike,
    For example we want to executie Function Module and need to prepare/allocate TABLE parameter.
    In doing so we need to invoke function RfcGetStructureDescHandle is described in doc.
    However, we cannot find it anywhere in H files under SAP NW SDK 7.10 dir structure.
    Do you have an example of how to create a TABLE parameter (export for example).
    We are going to reproduce the symptom with the demo source distributed with the SDK.
    Any help/suggestions is greatly appreciated,
    Alfonso

  • Getting metadata for RFCs using RFC SDK (with position of parameters)

    Hi!
    I'm currently using the RFC SDK Function "RfcGetFunctionInfoAsTable" to retrieve metadata for RFCs from SAP. What i see is that the "Position" field in the RFC_FIELDS_U structure contains arbitrary values, and so I am not able to determine what is the actual ordering of the parameters.
    What can I do to determine the exact ordering of the parameters of an RFC? (ordering as in - I want to obtain the parameters in the same order as they appear in SAP GUI).
    Thanks,
    Mustansir

    Hi,
    I think you can use the code similar to the one below...
    some of the things not covered in this are
    1. all types for which   CALL FUNCTION 'RFC_GET_NAMETAB' is not returning result, you can call CALL FUNCTION 'RFC_GET_STRUCTURE_DEFINITION' directly. I have not covered that in this code. Hope this is helps in resolving your issue.
    Also, the code is not optimized. So there is some scope for optimization of this code.
    REPORT  ZTEST_GET_SREUCTURE.
    DATA : PARAMS     type table of     RFC_FUNINT,
          ls_params like line of params.
    data: NAMETAB     type table of     X031L,
          ls_NAMETAB like line of NAMETAB.
    data: FIELDS  type table of RFC_FIELDS,
          ls_fields like line of fields.
    CALL FUNCTION 'RFC_GET_FUNCTION_INTERFACE'
      EXPORTING
        FUNCNAME                      = 'fm_test_fm'
      TABLES
        PARAMS                        = PARAMS
    IF SY-SUBRC <> 0.
    ENDIF.
    loop at params into ls_params.
      CALL FUNCTION 'RFC_GET_NAMETAB'
        EXPORTING
          TABNAME                     = LS_PARAMS-TABNAME
        TABLES
          NAMETAB                     = NAMETAB
      IF SY-SUBRC <> 0.
      ENDIF.
      loop at NAMETAB into ls_NAMETAB.
        CALL FUNCTION 'RFC_GET_STRUCTURE_DEFINITION'
      EXPORTING
        TABNAME                     = LS_NAMETAB-ROLLNAME
      TABLES
        FIELDS                      = FIELDS
        loop at fields into ls_fields.
          write: ls_fields-FIELDNAME.
        endloop.
      endloop.
      endloop.

  • NW RFC SDK: Non-SAP to ABAP with username (trust relationship)

    Hello,
    I have a quite challenging non-SAP-to-ABAP RFC scenario with a trust relationship.
    Hereu2019s the scenario:
    An Oracle database server acts as an RFC client and calls RFC function modules in an ABAP server. (I assume the Oracle programmers are going to use NW RFC SDK 7.1 or JCo 3.0 on the Oracle server and call that from their PL/SQL based database application.)
    The challenge is that I donu2019t want to use a single u201Ctechnical useru201D on the ABAP side because that would mean that all the users on the Oracle side would be mapped to one single ABAP user. Also, I donu2019t want to have to store individual ABAP passwords on the Oracle side.
    Instead, I want the ABAP server to trust the RFC client the same way it might
    a) trust a NetWeaver AS Java server after installing the Java serveru2019s certificate in transaction STRUSTSSO2 or
    b) the way it might trust another ABAP server after configuring a trust relationship (transaction SMT1?)
    The ABAP server should accept incoming RFC connections from the Oracle RFC client with just the user name and no password given and run the resulting processes in the ABAP system under the user id given in the RFC call.
    I imagine the ideal solution somehow along the following lines (simplified scenario for a PC-based prototype):
    - I download run a program that creates a certificate file (public key?) which I import into the ABAP system.
    - The same program creates a matching file (private key?) for the RFC client.
    - For reasons of simplicity, let us imagine the RFC client as a stand-alone Java SE application running on a PC.
    - The Java SE application uses the JCo library to connect to the ABAP system.
    - When opening the connection, it passes a username, but no password. Instead, it passes a Base64-encoded string that was generated by our key/certificate generator program.
    - On the ABAP side, the function modules are run under the username used by the Java SE application when establishing the RFC connection.
    Is that possible at all? How would you solve this?
    Thank you very much in advance and best regards,
    Thorsten

    Hello,
    Thanks a lot for your extremely high-quality replies. Iu2019ve been trying to work with them.
    Frankly, just when (after Gregoru2019s and Timu2019s posts) I was hoping that working my way deeply enough into SNC, I would be able to solve my problem, Wolfgang comes along and tells me what Iu2019m aiming at wonu2019t work. Now Iu2019m confused.
    The way I understand Wolfgang, the special trust an AS ABAP can put into another AS ABAP or an AS Java (u201Cremote RFC client, give me one certificate and I will accept every username if they come from youu201D) can not be put into a custom-made remote server software (such as the Oracle server application) acting as the RFC client, because when acting as RFC clients, the remote AS Java or AS ABAP use proprietary elements of the RFC protocol which are not available to me when I program my RFC client in the Oracle application.
    @Wolfgang, is that correct?
    Solution 1: Individual X.509 Certificates
    Instead, I can establish X.509-based trust relationships at the level of individual usernames: create a certificate for each Oracle user, import them into the AS ABAP, map them to an ABAP user, and store the certificate on the Oracle side (Iu2019m still note sure about the different certificates and keys used publicly and privately here).
    Solution 2: AS ABAP as User Management Engine for the Oracle Application
    I can also see an alternative that would spare me the trouble of generating, importing, mapping and storing the certificates: delegate the user management to the AS ABAP and delete the (custom-built) logon and password-checking mechanism in the PL/SQL application:
    Users are created centrally in CUA and distributed along with their passwords into (among others) the AS ABAP.
    When a user logs on to the PL/SQL application, the username and password are sent for validation to an ABAP BAPI.
    If authentication is successful, the AS ABAP returns a SAPLogon ticket which can be stored in the session context of the PL/SQL application and used in subsequent RFC calls. The password (a hash?) would only be transferred once during logon.
    What do you think? Would both solutions work or am I still getting something wrong? Can you see a better alternative that would reduce
    for solution 1 the administrative overhead for synchronization
    for solution 2 the run-time dependency Oracle-ABAP and the change impact on the Oracle applicationu2019s user management concept?
    Thanks a lot,
    Thorsten

  • RFC SDK support on solaris-intel?

    I have some questions about the “C”  SAP RFC SDK. I cannot seem to find a complete list of supported UNIX platforms.
    What is the current version of the “C” RFC SDK?
    Is it supported on the solaris intel platform?
    I notice that the dynamic version of the RFC library (rfc32.dll)  is installed with SAP Netweaver on Windows.  Is the equivalent dynamically loaded library (i.e. librfc.so) always included with a SAP installation on UNIX as well?  Does this mean that the static libraries provided in the RFC SDK are no longer required to build a client RFC application, since a client application can dynamically load the run-time library instead?

    We don't certify Solaris on NT.
              You can find this information on platform support page.
              -- Prasad
              Puneet Maini wrote:
              > Hi
              > Is Clustering comfiguration supported for this System Requirement?
              > :
              >
              > Processor: Intel
              > Operating system: Solaris 8
              >
              > Thanks & Regards
              > Puneet Maini
              

  • SAP RFC SDK 7.10 Compilation Issues

    Hello ,
    We have a Pro*C program that is using the RFC SDK 7.10
    When we are compiling our program with Pro*C Compiler in HP UX 11iv2 os we are getting the following errors:
    SAP_U16_PROTOTYPE_STDC(mkstemp)..1 PCC-S-02201, Encountered the symbol "mkstemp" when expecting one of the following: Error at line 1895, column 1 in file /home/psoni/rfcsdk-710/orgseclib/sapuc.h  SAP_U16_PROTOTYPE_UO(dirname) 1 
    PCC-S-02201, Encountered the symbol "SAP_U16_PROTOTYPE_UO_HLP" when expecting on
    e of the following: ; , = ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>= &&=
       ||= ^= | & == != <= >= << >> ++ -- ->
    The symbol ";" was substituted for "SAP_U16_PROTOTYPE_UO_HLP" to continue.
    Syntax error at line 1901, column 1, file /home/psoni/rfcsdk-710/orgseclib/sapuc.h:
    Error at line 1901, column 1 in file /home/psoni/rfcsdk-710/orgseclib/sapuc.h
    SAP_U16_PROTOTYPE(ecvt) 1
    PCC-S-02201, Encountered the symbol "extern" when expecting one of the following
    :   ; , = ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>= &&=
       ||= ^= | & == != <= >= << >> ++ -- ->
    I had checked the files sapuc.h and sapucx.h are correctly included in my program.
    Also I checked for the errors : that the reference of some constants like 
    SAP_U16_PROTOTYPE is present is sapuc.h - However I am not able to
    identify the cause of compilation issues.
    Please can anyone guide me - or give any hints as to how this compilation issues can be resolved.
    On sap rfc sdk version 6.20 with HPUnix 11iV1  we did not face such problems. Post that release  we have tried all libraries including 6.40  and all of them are giving the above errors.
    Thanks for the help.
    Regards,
    Shivani

    This compiler error looks really strange.
    Without your sources (of the affected file) and the full command line it's impossible to suggest something.
    Markus

Maybe you are looking for

  • Removing header, border for only single column in mx:DataGrid

    Hi,     I am using Flex4 SDK and FlashBuilder4. I have a requirement where i need to remove column header, borders and grid lines for only last column in datagrid. It should look like there is no column present. This column will be used to show some

  • Do I need to upgrade? Filming an instructional video indoors

    Hi BB community I am filming an instructional video that will be set indoors. I have been out of the game for a while and I still have a Canon GL1. Will this still do the job or do I need a higher end model? The Camera has seen about 400 shooting hou

  • JVM 1.5.0_05 crash.

    Hello! I have some problem with Java Virtual Machine. I have runned my program many times and there was the same JVM error after a few minutes of execution. My programs is listening to the network interface, captures packets using JPCap and stores so

  • Disguising my use of Mac Mail

    Can I make the email messages I write and send in Mac Mail appear to come from my company (Windows/MS Outlook) mailbox?

  • Unable to run Weblogic 8.1 on Linux RH4.0

    Hi, I have downloaded the relevant WLS8.1 and ALDSP2.5 for RH4.0 linux machine. After installation, when i try to start the WLS8.1 server from ldplatform domain i get the following error: The WebLogic Server did not start up properly. java.lang.NoCla