Executing Function Module SXI_GET_SLDDATA

Executing Function Module SXI_GET_SLDDATA with input IM_SLD_NAMESPACE = " " gives following message in EX_ERROR_TEXT
Connection to SLD not possible: Exception in SLD client: AbapSLDRequestHandler.ping(): server connection ***failed *** on Fri Feb 01 15:50:22 GMT+05:30 2008
Can some one please adise how do I get list of business systems defined in SLD in the output table EX_BUSINESS_SYSTEMS ?
Please suggest a fresh approach to get any output from this FM including any particular settings that need to be done in trasaction rz70 Visual Admin of WAS, Hostfiles in respective communicating servers

Hi Catherine ,
The function module uses assorted tables in import parameters and hence can not be tested as others.
SAP provides a report CRM_ORDER_READ to test the function module.
Thanks.
Praveen.

Similar Messages

  • Problem in executing function module: ERROR_IN_PDO: ERROR_IN_PDO

    Hi all,
    I am getting an error I can't solve until now.. Who can help?
    The Default Trace in the EP 7.0/NWA gives the following information:
    Severity:  Error
    Message: Problem in executing function module:[date]:com.sap.mw.jco.JCO$AbapException: (126) ERROR_IN_PDO: ERROR_IN_PDO
    Category:  /uwl/service
    Location:  com.sap.netweaver.bc.uwl.core.connect.abap.FunctionModuleActionHandler
    Application:  sap.com/tcwddispwda
    The UWL connection tests are correct! So, who can help!
    There is nothing to find in sap notes or sdn forum
    Best regards,
    G. Leurs

    Hi john,
    I am also facing hte same issue.
    when the user is trying to approve the Compleated shopping cart from  the button availble in  the UWL preview , I am getting the below error.
    Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException Message:Wed Aug 25 12:16:52 CEST 2010 (Connector) :com.sap.netweaver.bc.uwl.connect.ConnectorException:Wed Aug 25 12:16:52 CEST 2010 (Connector) :com.sap.mw.jco.JCO$AbapException:ERROR_IN_PDO
    we are not passing any ABAP role from teh SRM system.
    it would be great if you can share  your views regarding this.
    Raji

  • Short Dump while executing function module "IDOC_INPUT"

    Dear Friends,
    We are trying to execute the function module "IODC_INPUT" and getting a short dump.
    Basically the scnario is that we are trying to change an IDOC through transaction WE19 and then we execute the same by pressing tab "STANDARD INBOUND".
    But as soon as we press this button we get the short dump. whereas if I process the IDOC by pressing tab "Inbound Function Module" , there is no error and we are able to process the idoc successfully.
    Request you to please guide why this problem is there and what is the resolution for the same.
    Regards,
    Lalit Kabra

    Hi Nazeer,
    Thanks a lot for quick response.
    We are getting the dump with error ""Type "IDOC_DATA_CRYPTION" is unknown"". We just pressed the button STANDARD INBOUND and it gave us the error.
    Even when I execute this FM stand alone then just after pressing F8, it gives me Dump instead of the selction screen of the Function module.
    I tried running this FM on my IDES system and there I can see the selction screen and there is no dump.
    To me it seems that I need to do some settings so that this fm can be executed sucessfully.
    Request you to please help and guide me.
    Regards,
    Lalit Kabra

  • RFC CALL canu00B4t execute Functions module ??

    Hello everybody,
    I have a problem with a Function module. The function module should open an link (it´s a Link of a Webdynpro Application).
    I have the following constellation.
    Bex Analyzer execute a RFC Call to open/execute the Function module. The Function module should open a URL (Webdynpro Application), but it doesn´t work.
    I don´t know why. The Connection of the RFC Call is ok. I have tested the RFC with any Object´s and it works (He "answered").
    What ist wrong in the Function Module, why can´t the FM open the URL??!
    Simple Code of Function Module
    call method cl_gui_frontend_services=>execute
    exporting
    document = 'URL'
    exceptions
    others = 1.
    Endfunction.
    A other test
    *CALL FUNCTION 'PRGN_GENER_EXECUTE_URL'
    *EXPORTING
    *NODE_DATA = 'url'.
    The VBA Code for RFC
    Sub Login()
    Dim functionCtrl As Object
    Dim sapConnection As Object
    Dim theFunc As Object
    Dim sReturn As Boolean
    Dim l_export As String
    Dim objQueryTab As Variant
    Set functionCtrl = CreateObject("SAP.Functions")
    Set sapConnection = functionCtrl.Connection
    sapConnection.Client = "100"
    sapConnection.user = "xy"
    sapConnection.Language = ".."
    sapConnection.SystemNumber = "xy"
    sapConnection.ApplicationServer = "xy"
    sapConnection.Language = "x"
    sapConnection.codepage = "xy"
    sapConnection.Destination = "xy"
    sapConnection.System = "x"
    sapConnection.SystemID = "......"
    sapConnection.Password = "xy"
    sapConnection.autologon = 1
    If sapConnection.Logon(0, True) <> True Then
    MsgBox "Keine Verbindung"
    Else
    Set theFunc = functionCtrl.Add("SS_RFC_URL_TEST")
    objQueryTab = "200"
    theFunc.Exports("I_PAR") = objQueryTab
    sReturn = theFunc.call
    If sReturn = True Then
    objQueryTab = theFunc.Imports("E_PAR")
    End If
    sapConnection.logoff
    End If
    End Sub
    >E_PAR is the Exportparameter of the Function module
    >I_PAR is the Importparameter of the Function module
    Thanks
    Edited by: Schwarzenberger Stefan on May 9, 2011 1:59 PM

    Hi, I have a similar situation.  Within VBA I am calling the RFC 'RFC_CALCULATE_TAXES_DOC'.  This RFC is used to communicate with external tax software like Taxware; it gets applicable tax rates, amounts, etc. based on tax jurisdiction code and other data.  The RFC is remote-enabled (has to be to talk to Taxware).
    This RFC requires an RFC Destination in order to work.  Within VBA, I have not been able to figure out the syntax required to enter the Destination name.  I saw Shreeram's post saying to use CALL FUNCTION 'PRGN_GENER_EXECUTE_URL' DESTINATION <RFC Destination Name>.  However, this looks like ABAP syntax and not VBA syntax.
    Does anybody know if this is possible within VBA?  Sounds like it's not but wanted to double-check.
    Thanks!!
    Kory Squire
    <<Removed email address>>
    Edited by: Matt on May 18, 2011 6:37 AM

  • Error in executing Function Module using ConnectorFramework

    Hi All,
    I am trying to call a function module in the SAPR/3 system using the Connector Framework in Portal.
    I got the connection by using IGatewayService,
    written a statement for accessing the function like this
    IFunctionsMetaData fnMetadata = con.getFunctionsMetaData();
    IFunction function1 = fnMetadata1.getFunction("ZBAPI_FM3");
    By using the above code, I am able to get the description of the Function Module.
    using the statement response.write("Success5    "function1.getDescription()"<br>");
    But while using the MappedRecord ouput1 = (MappedRecord)ix.execute(ixspec1,input1); to execute the function,
    it is raising an exception
    com.sap.mw.jco.JCO$Exception: (131) JCO_ERROR_ILLEGAL_ARGUMENT: Function name equals null is not allowed
    I have filled the input1 also.
    Any one please help me in this regard to solve the issue.
    Thanks in advance,
    Bhavyasri.M
    Edited by: bhavya Sri on Jun 18, 2008 5:16 AM
    Edited by: bhavya Sri on Jun 18, 2008 5:40 AM

    See the thread below , It ll help you
    Connection to R/3 system
    Koti Reddy

  • Executing function module gives error "Portal request failed: Connection fa

    Dear Experts,
    I have a Function module  Z_SAT_CREDITLIMIT_CHANGE which in itself accesses the SAP Update Function module
    UPDATE/INSERT  of the credit limit(CREDITLIMIT_CHANGE)
    and writes the changed data to the Table KNKK(Customer Master Credit Management : Control Area Data).
    While executing this fn module Z_SAT_CREDITLIMIT_CHANGE
    from VC storyboard i received error "Portal request failed:
    Connection failed: Nested Exception: Native Connection to backend system is broken" . Z_SAT_CREDITLIMIT_CHANGE executes fine and updates data in ECC system.
    Than i noticed further that while commenting the part of code in Z_SAT_CREDITLIMIT_CHANGEwhere call to fn module CREDITLIMIT_CHANGE is made there's no error recieved and Z_SAT_CREDITLIMIT_CHANGE executes without error but obviously no data is updated.
    Appreciate if any one can please explain how can i use CREDITLIMIT_CHANGE  in Z_SAT_CREDITLIMIT_CHANGE
    without any errors.
    Kind Regards,
    Robin.

    Hi Robin,
    Also, check that the user with the one you're accessing to the backend have permissions to execute the Dataservice at the backend system.
    You should check the usermapping to know which is the user at backend.
    Best Regards,
    Luis

  • Execute function module from Custom Table Value?

    Hi,
    I have custom table with following field
    FUNNAME        CHAR    1000
    That contains records like the following
    CALL FUNCTION 'ZMATF' EXPORTING MATNR = P_MATNR IMPORTING MATDESCRIPTION = V_MATERIALDESC.
    CALL FUNCTION 'Y_CHECK_EXIT' EXPORTING USEREXIT = 'EFNDTAXWAR' IMPORTING EXECUTE  =  EXECUTE TABLES I_ZA01   =  I_ZA01.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING WAIT = 'X'.
    CALL FUNCTION 'RS_TABLE_LIST_CREATE' EXPORTING TABLE_NAME = TABNAME.
    My requirement is according some of the user conditions i need to select entry from this table and execute the corresponding function module
    I tried to use GENERATE SUBROUTINE POOL itab NAME name. But this have limitation of 36 subroutine pools for one program.
    Any info highly appreciated.
    aRs

    If you can put the name of the FM in a variable and the parameters and exceptions in separate internal tables, then you can call the function modules using the statement:
    <b>call function NAME
      parameter-table
        PARA_TAB
      exception-table
        EXCP_TAB.</b>
    See a small example:
    Example
    type pools ABAP.
    data NAME type STRING value `READ_SPFLI_INTO_TABLE`.
    data PARA_TAB type ABAP_FUNC_PARMBIND_TAB.
    data PARA_LINE like line of PARA_TAB.
    data EXCP_TAB type ABAP_FUNC_EXCPBIND_TAB.
    data EXCP_LINE like line of EXCP_TAB.
    data CARRIER type SPFLI-CARRID.
    data JTAB type SPFLI_TAB.
    CARRIER = 'XYZ'.
    PARA_LINE-NAME = 'ID'.
    PARA_LINE-KIND = ABAP_FUNC_EXPORTING.
    get reference of CARRIER into PARA_LINE-VALUE.
    append PARA_LINE to PARA_TAB.
    PARA_LINE-NAME = 'ITAB'.
    PARA_LINE-KIND = ABAP_FUNC_IMPORTING.
    get reference of JTAB into PARA_LINE-VALUE.
    append PARA_LINE to PARA_TAB.
    EXCP_LINE-NAME = 'NOT_FOUND'.
    EXCP_LINE-VALUE = 1.
    insert EXCP_LINE into table EXCP_TAB.
    EXCP_LINE-NAME = 'OTHERS'.
    EXCP_LINE-VALUE = 4.
    insert EXCP_LINE into table EXCP_TAB.
    call function NAME
      parameter-table
        PARA_TAB
      exception-table
        EXCP_TAB.
    case SY-SUBRC.
      when 1.
        message id SY-MSGID type SY-MSGTY number SY-MSGNO.
      when 2.
        message E888(SABAPDOCU) with 'Error in  function module'.
    endcase.
    REgards,
    Ravi

  • Execute function module using outputs

    Hi,
    I want to create reservations automatically when a rental sales order is saved. I have the function module for creating reservations and want to know if I can execute it using outputs. I don't want to include code in user exits. Can anyone suggest how I can execute this function module using outputs?
    Edited by: carrie anderson on Jun 9, 2009 3:45 PM

    i m very thank ful for ur immediate response
    but i need to use the logical data base and put an additional code for the
    report(RPTQTA10) and calculate the qouta type and so on
    simply wat i need is to use the ldb in function module
    can u plz tell

  • Exception while executing Function module - HRXSS_PER_READ_P0006_US

    Unable to execute any of the following Function modules(ECC 5)
    (Gave the neccesary inputs)
    HRXSS_PER_P0006_US
    HRXSS_PER_DELETE_P0006_US
    HRXSS_PER_EDIT_P0006_US
    HRXSS_PER_MODIFY_P0006_US
    HRXSS_PER_NEW_P0006_US
    HRXSS_PER_READ_P0006_US
    Getting an exception
    Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exceptn CX_SY_REF_IS_INITIAL
    ShrtText
    Access with 'ZERO' object reference not possible.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLHRXSS_PER_MAC" had to be terminated because one of the statements could not be executed.
    This is probably due to an error in the ABAP program.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was neither caught nor passed along using a RAISING clause, in the procedure "HRXSS_PER_CLEANUP" "(FUNCTION)".
    Since the caller of the procedure could not have expected this exception to occur, the running program was terminated.
    The reason for the exception is:
    There was an attempt to access a component using a 'NULL' object reference (points to nothing).
    An object reference must indicate an object (an instance of a class), before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using a CLEAR statement.
    Missing RAISING Clause in Interface
    Program SAPLHRXSS_PER_MAC
    Include LHRXSS_PER_MAC$04
    Row 7
    Module type (FUNCTION)
    Module Name HRXSS_PER_CLEANUP
    Trigger Location of Exception
    Program SAPLHRXSS_PER_MAC
    Include LHRXSS_PER_MACU04
    Row 13
    Module type (FUNCTION)
    Module Name HRXSS_PER_CLEANUP
    What could be the reason?
    Regards,
    Sarath

    Hi Sarath,
    The problem is caused by a program error in the CRM system.
    Solution for this is Import the Support Package or implement the correction instructions as specified in note 742720, there are some corrections attached to the note. Hope this will resolve the issue.
    Cheers,
    Shyam.

  • Error while executing Function Module UNIT_CONVERSION_WITH_FACTOR.

    Hi experts:
        I'm trying to use the UNIT_CONVERSION_WITH_FACTOR Function Module on
    BW but an error message appears, I searched for Notes on the SAP
    Marketplace but only found a single note that describes the same
    situation that we're experiencing (SAP Note 1333415), the thing is that
    such a note is applicable for SAP BASIS version 702 but I'm using SAP
    BASIS version 700.
    Steps for Reconstruction    
    - On transaction SE37 call the u201CUNIT_CONVERSION_WITH_FACTORu201D Function
    Module.
    - Click on the u201CTest/Executeu201D button (or press the F8 key).
    - Enter the following values:
       o ADD_CONST = 0
       o DENOMINATOR = 1
       o INPUT = 20
       o NUMERATOR = 1568
    - Click on the u201CExecuteu201D button (or press the F8 key).
    - The Exception u201CTYPE_INVALIDu201D is reached and the following message
    appears: u201CUse a number field for field OUTPUTu201D.
    I also tried to use this Function Module on R/3 and the result was the same.
    Do you have any suggestion to fix this error?
    Thanks in advance for your help,
    Francisco Milán.

    Hi Francisco,
    Check with SAP Note No. 854978.
    Hope this would help you.
    Rgds,
    Mohit

  • Call an executable program inside function module and pass the table values

    Hi,
           i'm pretty new to HR Abap programming. I have a requirement like "calling an executable program within a function module and the output of the program data(Stored in internal tables) should be passed to the function module tables".
    I've some idea about SUBMIT keyword and i used it in the function module..
    Please do the needful to solve this.
    Regards,
    Selvi.

    Hi,
    Thanks for all your reply.
      I've used Option 3 as per dsouzajovito suggestion. Now i'm getting data in function module tables using import/ export table to memory concept.
    Again a small issue arises, while i'm executing function module it fetches all pernr available in the server and displays the details of last pernr. GET pernr statement is used in the Z report and submit statement is used like this as follows.
      SUBMIT ZHR_RFC_PAYSLIP   WITH  PERNR-PERNR EQ EMPCODE
                                          WITH PYBEGDA EQ FDATE
                                          WITH PYENDDA EQ LDATE
                                          AND RETURN.
    Pls suggest if there is any corrections in the code.
    If i give a pernr as input in the function module, then it should fetch the details related only to that pernr.
    FYI, No selection screen is used here as per requirement.
    Regards,
    Selvi.

  • How to make use of SE37- Function Module & how to find out the table?

    Hi ,
    1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
    For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
    But after giving the particular name what should i do?
    Please help me.
    2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
    Thanks in adavnce for spending some time
    Raj.S

    Hi Raj
    Function Modules
    Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    The Function Builder  also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
    Check this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
    By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute.

  • Error in SAP_CONVERT_TO_XML_FORMAT function module

    Hi ,
    When i am executing function module : SAP_CONVERT_TO_XML_FORMAT its throwing error ,
    even i executed from SE37 also same error is coming.
    for detail i attached screen shots .
    kindly help me to resolve issue <removed by moderator>.
    Thanks & Regards,
    Meenakshi
    Message was edited by: Manish Kumar

    Hi,
    Then that solves your problem.
    Refer link for more info:http://scn.sap.com/thread/926488
    thanks,
    vidyasagar

  • Function module table returning empty rows but export data is getting

    Hi,
    I am executing function module through JCO after setting importing parameter and when i retrieve the table i get table with empty data 0 rows but i am able get export parameter data . when execute the same function module in abap through sap gui i get table containing 5 rows. what may be the problem. please find below code 
          function = getDefaultJCoConnection().getJCoFunction("ZCRM_ICSS_PROJ_CUST_USR");
                function.getImportParameterList().getField("USER_ID").setValue("MLDL010");
                getDefaultJCoConnection().execute(function);
                exportTable = function.getTableParameterList().getTable("PROJCUSTLIST");
                int rowsNumber = exportTable.getNumRows(); // companies table number of rows
                log.error("rowsNumber----"+String.valueOf(rowsNumber));
      try
         if (rowsNumber > 0)
         int i = 0;
         do
         tempString="table valuesZCOMP_ID"(String)exportTable.getValue("ZCOMP_ID")"ZCOMP_SPC-"+(String)exportTable.getValue("ZCOMP_SPC")
                     + "table valuesZCOMP_DESC"(String)exportTable.getValue("ZCOMP_DESC")"ZPRICE-"(String)exportTable.getValue("ZPRICE")"---" ;
         log.error(tempString);
         while (exportTable.nextRow());
         catch (Exception th)
         log.error("The following error occured: while retrieving table values ", th);
    Do you have any idea where may be the problem
    Regards,
    Pavan
    Edited by: Pavan Reddy on Apr 10, 2010 4:46 PM

    Hi Pavan,
    This could be the case. The function module might be expecting a value converted into its format.
    By this, I mean that the function module might be expecting 0012345678 for 12345678 (Where data element of the ID is of type CHAR 10 ).
    Please check if it is so.
    Best Regards,
    Kris.

  • Regarding the function module --error is coming.

    Hi All
    I am executing function module and i am getting one error after actvating that FM.
    Error is - REPORT/PROGRAM statement missing, or program type is I (INCLUDE).          
    Waiting for the fovarable reply.

    Hi,
    While creating a FM you will be assigned to a Function Group, that Function Group is not active. If function group is not active then only you will be getting this error.
    To over come this issue. Please do the below process.
    Go to Se80--> Select Function Group from the drop down list --> Select the function group --> Right click on the Function group --> Select activate.
    After above process is completed.
    Test the Function Module.
    Thanks,
    Sriram Ponna.

Maybe you are looking for