Function Module as Datasource loading error

Hi,All
  I use function module as datasource and create a fm in function group: RSAX
  But when i loading data from the DS , it display :
  Error occurred in the data selection
Code:
DATA: l_s_select type srsc_s_select,.
statics: s_s_if type srsc_s_if_simple,
         s type i.
if i_initflag = 'X'.  " determine the selection fields and values
  append lines of i_t_select to s_s_if-t_select.
  s_s_if-requnr = i_requnr.
  s_s_if-dsource = i_dsource.
  s_s_if-maxsize = i_maxsize.
  append lines of i_t_fields to s_s_if-t_fields.
  append lines of i_t_fields to s_s_if-t_fields.
else. "fill the result as e_t_data
  if s = 0.
add one line to the itab for test
         E_T_DATA-KOKRS = 'HT01'.
         append E_T_DATA.
         s = s + 1.
  else.
     raise no_more_data.
  endif.
endif.
ENDFUNCTION.
The function is all right i think

Hi, Chivukula
   haha , i forgot to select the passvalue in table tab , after check, it's Ok
  Thanks for your time
Terry Ni
Kind Regards

Similar Messages

  • Pls help  in WEBDYNPRO  Function Module 'RFC_START_PROGRAM' not found error

    Dear Friends,
    While i am calling one function module in webdynpro the follwing erroe is coming.
    Error:-
    Function Module 'RFC_START_PROGRAM' not found error
    Code:-
    CALL FUNCTION 'ZUPDATE' DESTINATION 'PCNCLNT300'
        EXPORTING
          im_material = item_matnr
          im_vornr    = item_vornr
          im_sheet    = item_sheet
      IMPORTING
          value = ZMESSAGE .

    Hi,
    try declarig variable of type rfc_dest
    data: lv_dest type rfc_dest.
    call....
    destination lv_dest
    offcourse make sure your rfc destination has that name in sm59
    and you have the corect authorizations to your user in the remote system
    Are you btw sure that there is no screen action called inside
    the function module? popup or something? because you cannot
    call functions that have screen interaction like in sapgui
    grtz,
    Koen

  • Function Module RH_UPDATE_INFTY throwing odd error

    I am trying to update a relationship using this FM, however I keep getting the error "No input help is available" which I assume is a false-negative.
    I have traced the code through and the error is being thrown here:
        PERFORM RE777Z_RA(MSTT777Z) USING                      "VWMZB3A
                PPLOG-OTYPE PPLOG-INFTY PPLOG-SUBTY PPLOG-VDATA(2)
                PPPAR-TIMCO PPPAR-ADDCO PPPAR-SCLAS SUBRC.
        IF SUBRC GT 0.
          UI_SUBRC = 16.
          EXIT.
        ENDIF.
    UI_SUBRC is getting set to 16, and it is failing. I have been trying for hours to get this and other related FMs to work correctly without luck. I managed to get RH_INSERT_INFTY to work, however it is not really acting as I want it to; hence this FM. The insert FM splits the records if you make an update to enda/begda which is undesirable. This thread details the problem and ther was no posted solution overwriting records in hrp1000
    Here is what I have:
      DATA ls_p1001 TYPE p1001.
      DATA lt_p1001 TYPE STANDARD TABLE OF p1001.
      DATA ls_padd2 TYPE padd2.
      MOVE-CORRESPONDING is_dlgt_rprt TO ls_p1001.
      APPEND ls_p1001 TO lt_p1001.
      CALL FUNCTION 'RH_UPDATE_INFTY'
        EXPORTING
          vtask               = 'S'
    *     order_flg           = 'X'
    *     commit_flg          = 'X'
    *     authy               = 'X'
    *     pppar_imp           = ''
    *     old_tabnr_new_langu = 'X'
    *     repid               = sy-cprog
    *     form                = ''
    *     keep_lupd           = ''
    *     workf_actv          = 'X'
        TABLES
          innnn               = lt_p1001
    *     ILFCODE             = ILFCODE
        EXCEPTIONS
          error_during_update = 1
          no_authorization    = 2
          repid_form_initial  = 3
          corr_exit           = 4
          OTHERS              = 5.

    Hi,
    Please find documentation below:
    FU RH_UPDATE_INFTY
    Text
    Change Infotype Records
    Functionality
    With this function module you can change multiple infotype records for OM objects from Personnel Planning database tables (HRPnnnn). The infotype tables of the table parameter INNNN must all have the structure Pnnnn (logical structure for the infotype nnnn). The records you want to change must exist in the Personnel Planning database tables. If not, this triggers the exception ERROR_DURING_UPDATE.
    The values of the parameter VTASK (update type) mean the following:
    - 'D' -> update in dialog
    - 'S' -> synchronous update via the update task
    - 'V' -> asynchronous update via the update task
    - 'B' -> internal update in buffer only, no DB update
    In HR applications the parameter should be set to 'D' for update in dialog. If there are multiple operations that logically belong together to be updated internally in the buffer first and then saved together to the database, you should set the parameter in each case to 'B' for internal update in buffer only, no DB update. The DB update is then executed by calling the function module 'RH_UPDATE_DATABASE'.
    Parameters
    VTASK
    ORDER_FLG
    COMMIT_FLG
    AUTHY
    PPPAR_IMP
    OLD_TABNR_NEW_LANGU
    REPID
    FORM
    KEEP_LUPD
    WORKF_ACTV
    INNNN
    ILFCODE
    Exceptions
    ERROR_DURING_UPDATE
    NO_AUTHORIZATION
    REPID_FORM_INITIAL
    CORR_EXIT
    Thanks,
    Sriram Ponna.

  • RFC Function module executing in tasks error

    Hi Gurus,
    I have a rfc enabled function module that I am executing in tasks . The first two passes went correct but the third pass gave the shortdump: Communication failure.
    What can be done to correct this .
    A RAISE statement in the program "SAPLYQM_PLANT_REL" raised the exception
    condition "COMMUNICATION_FAILURE".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    >>>>>>CALL FUNCTION 'YQM_SAMPLE_RELEASE_TASKS' starting new task 'FUNC1'
                destination 'NONE'
                 performing set_function1_done on end of task
         EXPORTING
           I_PHYNR      = i_PHYNR
           I_YYPREPDATE = i_YYPREPDATE
           I_REL        = I_REL
         TABLES
           T_RETURN     = t_RETURN.
       wait until functioncall1 = done.
    Thank you .

    Hi,
    the error COMMUNICATION FAILURE occurs if a server is unavailable for  processing of the task or possibly there is no free processes available.
    Check this link.
    It has a good example how to handle teh error.
    [http://saphelp.border-states.com/EN/fa/096e92543b11d1898e0000e8322d00/frameset.htm]
    Regards,
    Ankur Parab

  • HI function module to pop up error message

    hi
    can you tell me a functional module that can be used to generate a pop up of error message .
    regards
    avik.

    Hi,
    Popup Related Function Modules:
    POPUP_TO_DISPLAY_TEXT u2013 display 2 line text.
    POPUP_TO_CONFIRM_WITH_VALUE (with Back and Exit)
    POPUP_TO_CONFIRM_LOSS_OF_DATA (with Cancel). 
    POPUP_TO_CONFIRM_WITH_MESSAGE
    POPUP_TO_DECIDE_WITH_MESSAGE
    Hope this helps.
    Regards,
    Deepthi.

  • Function module based Datasource

    Gurus
    I am working on creating a function module based extractor. Found some good documents for the same but wanted to check a few things:
    u2022     What I understood, I need to copy the function group RSAX as a Z function group. Wanted to check if this needs to be done every time a new FM is written or can I reuse an existing one function group.
    u2022     My extractor is on CDPOS and EKPO and I intend to use the FM RSAX_BIW_GET_DATA_SIMPLE. Is this ok or is better to use the RSAX_BIW_GET_DATA or it does not matter.
    u2022     I will have to load the historical data for the past one year and then either do a delta or do loads with selection criteria. The user does not have any preference, as currently they only need the report for the last month. But wanted to check which will be a better approach- to do daily deltas or do a periodic (monthly load) with a selection.
    Also, wanted to check this is the best approach (having function module) for creating generic DS or is there something else also.
    Thanks,
    AK

    Hi,
    u2022 What I understood, I need to copy the function group RSAX as a Z function group. Wanted to check if this needs to be done every time a new FM is written or can I reuse an existing one function group.
    You can reuse the existing or newly created group, you don't need to create function group every time you create a FM
    Even you don't need to create new function group also, you can simply use the type pool used in RSAX.
    u2022 My extractor is on CDPOS and EKPO and I intend to use the FM RSAX_BIW_GET_DATA_SIMPLE. Is this ok or is better to use the RSAX_BIW_GET_DATA or it does not matter.
    You can use RSAX_GET_DATA_SIMPLE.
    u2022 I will have to load the historical data for the past one year and then either do a delta or do loads with selection criteria. The user does not have any preference, as currently they only need the report for the last month. But wanted to check which will be a better approach- to do daily deltas or do a periodic (monthly load) with a selection.
    Actually if you do a daily extraction then data volume will be less compared to if you do a monthly extraction. So you can decide based on no. of records which are getting created/changed daily
    Also, wanted to check this is the best approach (having function module) for creating generic DS or is there something else also.
    If you simply want to extract data from these two fields then you can create a view on top of these two tables and then create a generic extractor based on view. So you need not do any coding *
    Regards,
    Durgesh.

  • Function module "CRM_DOWNLOAD_RCV_EXIT" not found error

    Hello experts,
    We are using SRM 5.0 connected to an ECC 6.0 backend system
    In SRM, trans. SMQ2 I see queues with status SYSFAIL, and inside them I find that supposely the error is "Error in Mapping (Details: transaction SMW01)".
    When I re-process it, I get the following dump in ST22: "Function module "CRM_DOWNLOAD_RCV_EXIT" not found". This module does not exist in SRM, and my guess is that CRM is sending stuff to SRM.
    I have everything configured correctly, exactly as note # 720819.
    I'll appreciate your comments on this.
    Regards,
    Gilberto Gallardo

    Hi
    CRS_DOWNLOAD_RCV_EXIT -check this fm you defined in CRMSUBTAB table in r/3
    CRMSUBTAB for subscription table for Up and Download Object and add the following values:
    User ObjectName U/D Obj. Class Function Obj. Type Funct. Name
    CRM empty Download Material empty empty CRS_MATERIAL_EXTRACT
    CRM empty Download Material empty empty CRS_CUSTOMIZING_EXTRACT
    CRM empty Download Material empty empty CRS_SERVICE_EXTRACT
    BR
    Muthu
    Edited by: Muthuraman Govindasamy on Oct 24, 2008 6:22 AM

  • Function Module does not exist error during query run time.

    Hi,
    During the execution of one of our queries we get the error "Function module RSD_(InfoObject Tech Name)_TXT_GET does not exist.
    Now, this InfoObject is used in the query as a filter to restrict on certain values.
    I searched in SE37 and no such function exists.
    Let me know  if you have any suggestions/resolutions to this issue.
    Thanks,
    AR.

    even if the question is quite old already, maybe some other people need the answer to this, too:
    In our case this error which Sudhir Anandarao describes meant, that there was no data found for given input. This is quite strange, but definitly was the source as I dont get the error if something is found by the query. The Query, InfoObject were correct, just the data asked for was wrong (like get me all ID's greater than 5, if there are only ID's smaller or equal 5 it would state "Function module RSD_(InfoObject Tech Name)_TXT_GET does not exist.")

  • ALV GRID Display function module giving Run time error

    Hello Experts,
    I have ALV report, In which I am using ALV grid dispaly FM to display the report.
    But when my out table which I am passing to FM is empty that time ALV grid display shows blank ALV report. but when out table is not empty that time  I am getting the Run time error, which shows message "Field symbol has not yet been assigned".
    Can any one please help me out in this.
    Thanks

    TYPES: BEGIN OF type_out,
            col00    TYPE   ytlet-rzzyyproduct,
            col01    TYPE   ytlet-kslvt,
            col02    TYPE   ytlet-kslvt,
            col03    TYPE   ytlet-kslvt,
            col04    TYPE   ytlet-kslvt,
            col05    TYPE   ytlet-kslvt,
            col06    TYPE   ytlet-kslvt,
            col07    TYPE   ytlet-kslvt,
            col08    TYPE   ytlet-kslvt,
            col09    TYPE   ytlet-kslvt,
            col10    TYPE   ytlet-kslvt,
            col11    TYPE   ytlet-kslvt,
            col12    TYPE   ytlet-kslvt,
            col13    TYPE   ytlet-kslvt,
            col14    TYPE   ytlet-kslvt,
            col15    TYPE   ytlet-kslvt,
            col16    TYPE   ytlet-kslvt,
            col17    TYPE   ytlet-kslvt,
            col18    TYPE   ytlet-kslvt,
            col19    TYPE   ytlet-kslvt,
            col20    TYPE   ytlet-kslvt,
            col21    TYPE   ytlet-kslvt,
            col22    TYPE   ytlet-kslvt,
            col23    TYPE   ytlet-kslvt,
            col24    TYPE   ytlet-kslvt,
            col25    TYPE   ytlet-kslvt,
            col26    TYPE   ytlet-kslvt,
            col27    TYPE   ytlet-kslvt,
            col28    TYPE   ytlet-kslvt,
            col29    TYPE   ytlet-kslvt,
            col30    TYPE   ytlet-kslvt,
            col31    TYPE   ytlet-kslvt,
            col32    TYPE   ytlet-kslvt,
            col33    TYPE   ytlet-kslvt,
            col34    TYPE   ytlet-kslvt,
            col35    TYPE   ytlet-kslvt,
            col36    TYPE   ytlet-kslvt,
            col37    TYPE   ytlet-kslvt,
            col38    TYPE   ytlet-kslvt,
            col39    TYPE   ytlet-kslvt,
            col40    TYPE   ytlet-kslvt,
            col41    TYPE   ytlet-kslvt,
            col42    TYPE   ytlet-kslvt,
            col43    TYPE   ytlet-kslvt,
            col44    TYPE   ytlet-kslvt,
          END OF type_out.
    DATA: t_fieldcat   TYPE slis_t_fieldcat_alv,   "Field catelog table
          w_fieldcat   TYPE slis_fieldcat_alv,     "Field catelog Work area
          w_layout     TYPE slis_layout_alv,       "Layout structure
          w_event      TYPE slis_alv_event,        "Event structure
          t_event      TYPE slis_t_event,          "Event structure
          t_sort       TYPE STANDARD TABLE OF slis_sortinfo_alv,
          t_callback_main_user_command  TYPE  slis_formname,
          v_selfield TYPE slis_selfield.
    FIELD-SYMBOLS: <ksl>.
    FORM DISPLAY_REPORT .
    *Prepare Field Catlog
      PERFORM  creat_field_catlog.
    *Set layout
      PERFORM  set_layout.
    *Get Event
      PERFORM get_event.
    *Display Report
      PERFORM display_alv_report.
    ENDFORM.                    " DISPLAY_REPORT
    FORM creat_field_catlog .
      PERFORM add_fields_catlog USING:
           '01'    'RZZYYPRODUCT'     'IT_OUT'    'MPMs' ' ',
           '02'    'KSLVT'     'IT_OUT'    'License Fee' ' ',
           '03'    'KSLVT'     'IT_OUT'    'Ad Sales' ' ',
           '04'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',
           '05'    'KSLVT'     'IT_OUT'    'Total Ad Sales/Promo' ' ',
           '06'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '07'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '08'    'KSLVT'     'IT_OUT'    'Dom Station' ' ',
           '09'    'KSLVT'     'IT_OUT'    'Basic Cable/Free VOD' ' ',
           '10'    'KSLVT'     'IT_OUT'    'License Fee' ' ',
           '11'    'KSLVT'     'IT_OUT'    'Ad Sales (incl Internet)' ' ',
           '12'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',
           '13'    'KSLVT'     'IT_OUT'    'Ad Sales & Promo Fees' ' ',
           '14'    'KSLVT'     'IT_OUT'    'Foreign' ' ',
           '15'    'KSLVT'     'IT_OUT'    'Pay TV' ' ',
           '16'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '17'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '18'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',
           '19'    'KSLVT'     'IT_OUT'    'SPTI' ' ',
           '20'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',
           '21'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '22'    'KSLVT'     'IT_OUT'    'Total Revenue' ' ',
           '23'    'KSLVT'     'IT_OUT'  'PV Net Down & Producers Share' '',
           '24'    'KSLVT'     'IT_OUT'    'Total Net Revenue' ' ',
           '25'    'KSLVT'     'IT_OUT'    'Development Expense' ' ',
           '26'    'KSLVT'     'IT_OUT'    'SOP Deficits' ' ',
           '27'    'KSLVT'     'IT_OUT'    'Amortization' ' ',
           '28'    'KSLVT'     'IT_OUT'    'Other COS ' ' ',
           '29'    'KSLVT'     'IT_OUT'    'Total COS' ' ',
           '30'    'KSLVT'     'IT_OUT'    'Profit Before Releasing' ' ',
           '31'    'KSLVT'     'IT_OUT'    'Gross Profit %' ' ',
           '32'    'KSLVT'     'IT_OUT'    'SPT' ' ',
           '33'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',
           '34'    'KSLVT'     'IT_OUT'    'SPTI' ' ',
           '35'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',
           '36'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '37'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '38'    'KSLVT'     'IT_OUT'    'Gross Profit' ' ',
           '39'    'KSLVT'     'IT_OUT'    'SPT' ' ',
           '40'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',
           '41'    'KSLVT'     'IT_OUT'    'SPTI' ' ',
           '42'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',
           '43'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '44'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '45'    'KSLVT'     'IT_OUT'    'Net Margin' ' '.
    ENDFORM.                    " CREAT_FIELD_CATLOG
    *&      Form  ADD_FIELDS_CATLOG
          Filling of field Catlog
    FORM add_fields_catlog  USING    p_colpos
                                     p_fildname
                                     p_tabname
                                     p_fildtext
                                     p_ndisplay.
      w_fieldcat-row_pos       = '1'.
      w_fieldcat-col_pos       = p_colpos.
      w_fieldcat-fieldname     = p_fildname.
      w_fieldcat-tabname       = p_tabname.
      w_fieldcat-reptext_ddic  = p_fildtext.
      w_fieldcat-no_out        = p_ndisplay.
      APPEND w_fieldcat TO t_fieldcat.
      CLEAR: w_fieldcat.
    ENDFORM.                    " ADD_FIELDS_CATLOG
    *&      Form  SET_LAYOUT
          Set Layout
    FORM set_layout .
      w_layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    FORM get_event .
      w_event-name = 'TOP-OF-PAGE'.
      w_event-form = 'F_TOP-OF_PAGE'.
      APPEND w_event TO t_event.
    ENDFORM.                    " GET_EVENT
    *&      Form  TOP-OF-PAGE
          Top of Page
    FORM top-of-page.
      DATA : t_list_commentry   TYPE slis_t_listheader,
               w_header           TYPE slis_listheader,
               lv_text(90)        TYPE c,
               l_text(90)         TYPE c,
               lv_rundate(10)     TYPE c,
               lv_runtime(10)     TYPE c.
      CONSTANTS: c_space(2) TYPE c VALUE '  ',
                 c_space2(6) TYPE c VALUE '      '.
      w_header-typ  = 'S'.
      w_header-key  = 'Program:'.
      w_header-info = sy-repid.
      APPEND w_header TO t_list_commentry.
      WRITE: sy-datum TO lv_rundate MM/DD/YYYY.
      WRITE: sy-uzeit TO lv_runtime USING EDIT MASK '__:__:__'.
    CLEAR w_header.
    w_header-typ  = 'S'.
    w_header-key  = text-021.
    w_header-info = lv_rundate.
    APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'S'.
      w_header-key  = 'User Id'.
      w_header-info = sy-uname.
      APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'S'.
      w_header-key  = 'Run Date'.
      w_header-info = lv_rundate.
      APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'S'.
      w_header-key  = 'Run Time'.
      w_header-info = lv_runtime.
      APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'H'.
      w_header-key  = 'order'.
      w_header-info = 'MCR Report'.
      APPEND w_header TO t_list_commentry.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = t_list_commentry.
    ENDFORM.                    "TOP-OF-PAGE
    FORM display_alv_report .
      CONSTANTS : gc_save TYPE c VALUE 'A'. "Save Layout
    t_callback_main_user_command  = c_user_command.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
        i_callback_user_command           = t_callback_main_user_command
         i_callback_top_of_page            = 'TOP-OF-PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
         is_layout                         = w_layout
         it_fieldcat                       = t_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
         i_save                            = gc_save
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it_out
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
       ENDIF.

  • Datasources with function module which uses table type

    hi..
    I am creating a datasource which extracts data using a function module from xRPM to BW. When creating the function module it gives an error " TABLES parameters are obsolete!" while trying to specify the extract structure. I searched in SDN and learnt that we need to use table types and use that in the changing tab.Not sure how that works and where we need to use the extract structure for this.
    Could someone please explain this to me and let me know how i can create my datasource using this type of function module.

    Hi,
    in your case you need the tables parameter, as the service api expects the result of the fm in a table called e_t_data. Of course table parameters are obsolet but you can just ignore the warning and it will work.
    regards
    Siggi
    PS: Extraction fm must follow a strict interface definition.
    Message was edited by:
            Siegfried Szameitat

  • Runtime Error in execution of 'SO_OBJECT_SEND' function module

    Hi friends,
    We are going for upgradation from 4.6c to ECC6.0. There is one program which is used to send external mails thru 'SO_OBJECT_SEND', but the function module is giving runtime error(line no:515) in ECC6.
    what could be the reason?
    rewarded,
    Steve

    Hi,
    Plz check if any latest release notes of SAP for the function module 'SO_OBJECT_SEND' are available. If so you may apply those.
    If you have valid SAP service username and password you can get the notes from service.sap.com. Else your BASIS people can help you.
    Which is the highest patch level you have applied?
    Regards,
    Renjith Michael.

  • 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

  • Error with field E_ENDEDATUM, function module PK_ENDDAT_AUS_START_PLUS_WORK

    Hi
    Well, i don´t know exactly were put this, but, here it is.
    The estandard function module PK_ENDDAT_AUS_START_PLUS_WORKD has an error on his definition: due to the field E_ENDEDATUM has no type, when you test it on SE37, gets a dump error message.
    Maybe using it directly in a program, may not happen (I didn´t tested it), but if you first need make tests, you CAN NOT!!
    How notify this issue to SAP AG or to somebody of staff of programming???
    Thanks in advance.
    José Gabriel Martínez.

    you cannot test it in SE37. you have to write a small program to call this function and test it.
    and the data type of the variable to be used with E_ENDEDATUM  should be of type sy-datum or SCAL-DATE
    Regards
    Raja

  • How to know the Function Module of a standard datasource?

    Hi All,
    As per my understanding there will be an underlying Function Module for each SAP BI datasource. But I dont know how to know the name of that  Function Module for a particular datasource.Could anybody pls help me as i am need of this urgently.
    Thanks in advance.
    Regards,
    kp

    Run transaction RSO2 and enter the required datasource whether transaction data, MD attributes or Text then click on display.  In the message pain and the bottom of the gui it will tell you which function module said datasource uses for extraction.
    Cheers
    Craig

  • Function module to read error message provided message class and mssg no.

    Hi experts,
    I am trying to populate my database table with the error message.
    The error message as comming form standard code in an ITAB.
    I am getting the error class and message number.
    Can any body please tell me any function module to read the error.
    Or is there any way to populate the database table with the error message.
    Regards,
    Sandipan.

    Hi,
        You can use the Function module mentioned below.
    call transaction 'VA42' using bdcdata  mode  w_mode
                                        update  w_synch
                                      messages into it_mesgtab.
        loop at it_mesgtab into wa_mesgtab where msgtyp ca 'EA'.
        endloop.
        if sy-subrc <> 0.
          read table it_mesgtab into wa_mesgtab index 1.
        endif.
        call function 'MESSAGE_TEXT_BUILD'
          exporting
            msgid               = wa_mesgtab-msgid          "Messg class
            msgnr               = wa_mesgtab-msgnr          "Messg No.
            msgv1               = wa_mesgtab-msgv1
            msgv2               = wa_mesgtab-msgv2
            msgv3               = wa_mesgtab-msgv3
            msgv4               = wa_mesgtab-msgv4
          importing
            message_text_output = it_err-sapmessage.
       Append it_err.
    Regards,
         Srinivas

Maybe you are looking for