Need an E-mail related Function Module

Hi,
I need to send some kind of information or rather some notifications to the clients via e-mail. Thew information is in TEXT format. I have used FM"SO_OBJECT_SEND" but didnt helped me.
This E-mail function would be triggered if there's any kind of failure in the transaction and the same has to be notified to the clients.
Please suggest.
Thanks & Regards,

This abap mail sending program demonstrate how you can send a mail to the user SAP Office mailbox.
REPORT ZSEND .
TABLES: KNA1.
data for send function
DATA DOC_DATA  LIKE SODOCCHGI1.
DATA OBJECT_ID LIKE SOODK.
DATA OBJCONT   LIKE SOLI OCCURS 10 WITH HEADER LINE.
DATA RECEIVER  LIKE SOMLRECI1 OCCURS 1 WITH HEADER LINE.
SELECT * FROM KNA1 WHERE ANRED LIKE 'C%'.
  WRITE:/ KNA1-KUNNR, KNA1-ANRED.
send data internal table
  CONCATENATE KNA1-KUNNR KNA1-ANRED
                         INTO OBJCONT-LINE SEPARATED BY SPACE.
  APPEND OBJCONT.
ENDSELECT.
insert receiver (sap name)
  REFRESH RECEIVER.
  CLEAR RECEIVER.
  MOVE: SY-UNAME TO RECEIVER-RECEIVER,
        'X'      TO RECEIVER-EXPRESS,
        'B'      TO RECEIVER-REC_TYPE.
  APPEND RECEIVER.
insert mail description
  WRITE 'Sending a mail through abap'
                 TO DOC_DATA-OBJ_DESCR.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
     EXPORTING
          DOCUMENT_DATA              = DOC_DATA
     IMPORTING
          NEW_OBJECT_ID              = OBJECT_ID
     TABLES
          OBJECT_CONTENT             = OBJCONT
          RECEIVERS                  = RECEIVER
     EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
regards
vinod

Similar Messages

  • Need to know the standard function module/program in E recruitment

    Hi All,
    I need to know the standard function module/programm that defaults the 'Functional area' field in the posting page from the requisition page.
    Early responce is greatly appreciated.
    Thanks and best regards
    Rajeev

    Hi Masa,
    Thanks for your reply.
    We are using Assets with the integration of Project systems. We are now in 4.6C R/3 & SRM 5.0 system. And now R/3 upgrade and SRM upgrade going on smultaniously to ECC6.0 and SRM 7.0 respectively.
    I would like to know any new functionality available in the latest upgrades and we have done lot of customization for Asset Procurement. And would like to go with Vanilla.
    Can you please provide me some inputs about the Project (WBS element ) based Asset Procurement in SRM as standard.
    Thanks and Regards,
    Ramesh

  • Need help for IDOC inbound function module !

    Hi guys please help me to create a IDOC inbound function module.
    What are the parameters and tables.
    How to write the code.
    What it does.
    Please send me one inbound func module code if possuble
                                                                                  Thanks

    Hi,
    You need to create an inbound function module. Then define the process code in transaction we42 and attach the function module to this process code.
    In the function module you create you need to define tables of types EDIDC (Control record (IDoc)), EDIDD (Data record (IDoc)) and BDIDOCSTAT (ALE IDoc status (subset of all IDoc status fields)).
    Regards,
    Soumya.

  • Need to create a validation Function Module

    Hi,
    I need to create a Validation Function Module.
    I have a ITAB into which data comes.
    FIELD-SYMBOLS : <ITAB> TYPE ANY ,
                                  key      TYPE ANY,
                                  char  TYPE ANY.
    <ITAB> = local_file.
    there is a field KEY whose sum when becomes equal to 10.000 for every CHAR,system should show a popup in the below FM
    CALL FUNCTION 'POPUP_WITH_WARNING_ALV'
      EXPORTING
        TEXTLINE1       = LT_POPUPTEXT
      TEXTLINE2       = ' '
      TITEL           = 'Warnung'
    Please let me know if the requirement is not clear.
    Thank U very Much.

    Hi annapurna ,
    In your case even the KEY value is the most useful one right,
    If so go about this way,
    have another field flag set it when the sum of the KEY values exceeds 10.
    Loop in an internla table.
    Now the internal table will have all the data including the flag and now based on the flag (whether set or not) call the function module popup which should retrieve those matnr field where flag is set.
    Display the error message saying that the KEY value fr this matnr exceeds 10.
    Revert for further clarification.
    Thanks and Regards
    Srikanth.P

  • Need to know the standard function module in E-Recruitment

    Hi All,
    I need to know the standard function module that defaults the value of 'Functional area' in 'Posting' from 'Requisition'.
    Early response is greatly appreciated.
    Thanks an best regards
    Rajeev

    Hi Masa,
    Thanks for your reply.
    We are using Assets with the integration of Project systems. We are now in 4.6C R/3 & SRM 5.0 system. And now R/3 upgrade and SRM upgrade going on smultaniously to ECC6.0 and SRM 7.0 respectively.
    I would like to know any new functionality available in the latest upgrades and we have done lot of customization for Asset Procurement. And would like to go with Vanilla.
    Can you please provide me some inputs about the Project (WBS element ) based Asset Procurement in SRM as standard.
    Thanks and Regards,
    Ramesh

  • I need any E-mail related to Apple ?

    please...
    i need any E-mail related to Apple ?
    Regards...

    khaled101 wrote:
    Thanks, but sorry, i can not find any E-mail in your link .
    That should tell you that email is not an option.  You need to use one of those provided by the link instead.

  • CATS related function modules needed

    Hi,
    I have requirement like i need to upload time details into sap from non sap.CATS is the Tcode for time details.
    CAT2 to enter time. I want to enter time details.
    If any function modules avilable for this it will be easy for my work. Through BDC we can able to do this.
    But if function modules avilable for the same it will be very much helpful to me.
    Regards
    Sandeep

    Function group                 Function group short text
    Function Module Name           Short text for function module
    CAPP
    CATS_APPROVAL
    CATS_APPROVAL0
    CATS_DATABASE_GET_OBJEC
    CATS_DISPLAY_LIST
    CATS_DISPLAY_TREE_LIST
    CATB
    CATS_DISPLAY_ALV_LIST
    CATS_DISPLAY_DOCUMENT
    CATS_DISPLAY_OBJECT
    CATS_DISPLAY_TARGET_DOCUMENTS
    CATS_DISPLAY_TARGET_DOCUMENTS0
    CATS_DISPLAY_TRANSFER_LIST
    CATE
    CATS_INITIALIZE_MESSAGE
    CATF
    CATS_CHECK_APPLICATION_CO
    CATS_FILL_INTERFACE_CO
    CATL
    CATS_CHECK_ARBPL_VALID
    CATS_DET_ARBID_BY_ARBPL
    CATS_DET_ARBPL_BY_ARBID
    CATS_DET_AUFNR_BY_AUFPL
    CATS_DET_AUFNR_BY_AUFPL_TRANS
    CATS_DET_AUFPL_BY_AUFNR
    CATS_GET_KAPAR_FOR_KAPID
    CATS_GET_LOGISTIC_TEXT
    CATS_GET_TABLE_AUFNR
    CATS_GET_TABLE_RCR01
    CATL2
    CATS_AC03
    CATS_CHECK_AND_DIST_ACTIVITIES
    CATS_CHECK_APPLICATION_LOGIST
    CATS_CHECK_STATUS_ACTIVITY
    CATS_CJ13
    CATS_CONVERT_EXT_TO_INT
    CATS_CONVERT_INT_TO_EXT
    CATS_CY_LOAD_DISTRIBUTION
    CATS_CY_LOAD_DISTRIBUTION_KORR
    CATS_ENRICH_READ_DATA
    CATS_FILL_INTERFACE_LO
    CATS_FIND_TARGET_DOC_AFRU
    CATP
    CATS_CALL_TRANSACTION_CAT4
    CATS_CHECK_ATT_ABS_AUTHORITY
    CATS_CHECK_AUTHORITY
    CATS_CHECK_AWART
    CATS_CHECK_AWART_HOURS
    CATS_CHECK_EMPLOYEE_ACTIVE
    CATS_CHECK_PERNR_LIST
    CATS_CHECK_PROFILE_AUTHORITY
    CATS_CHECK_SINGLE_PERNR
    CATS_COMPUTE_HOURS
    CATS_DELETE_HR_INTERFACE
    CATS_FILL_ICLVA
    CATS_GET_ALP_CURRENCY
    CATS_GET_BASIC_INFOTYPES
    CATS_GET_EMPLOYEE_NAME
    CATS_GET_INFOTYPE_0001
    CATS_GET_INFOTYPE_0315
    CATS_GET_PAY_SCALE_TYPE_AREA
    CATS_GET_PERNR_LIST_0001
    CATS_GET_TARGET_HOURS
    CATS_HR_ABSENCE_ATTEND_TEXT
    CATS_HR_ADD_WAGE_TYPE
    CATS_HR_CHECK_001
    CATS_HR_CHECK_ALP
    CATS_HR_CHECK_INFOTYPE_BOOKED
    CATS_HR_DETERMINE_INFTY
    CATS_HR_DISPLAY_DOCUMENT
    CATS_HR_GLOBAL_CHECK
    CATS_HR_LGART_TEXT
    CATS_HR_READ_POSITION_TEXT
    CATS_HR_READ_PREMIUM_TEXT
    CATPEXTERN
    CATS_GET_ABSENCE_ATTENDANCE
    CATS                           Cross-Application Time Sheet
    CATS_BUILD_CATSD
    CATS_CHECK_FACTORY_CALENDAR
    CATS_CHECK_FACTORY_DATE
    CATS_CHECK_INPUT
    CATS_CHECK_PERNR
    CATS_CONVERT_CATSDB_TO_CATSD
    CATS_CONVERT_LONGTEXT
    CATS_CREATE_NEW_RECORD
    CATS_ENRICH_INPUT
    CATS_EXTERNAL_INTERFACE
    CATS_EXTERNAL_WORKLIST
    CATS_FILL_INTERFACE_CPR
    CATS_GET_COUNTER
    CATS_GET_CUSTOMER_TEXT_FIELDS
    CATS_GET_DERIVATIVES
    CATS_GET_LONGTEXT
    CATS_GET_UNIT_HOUR
    CATS_GET_WORKLIST_TEXT_FIELDS
    CATS_INTERFACE
    CATSCHECK
    CATS_EXTENDED_CHECK
    CATS_GLOBAL_EXTENDED_CHECKS
    CATSEXTERN                     Functions for External Linking
    CATS_GET_INFLUENCES            CATS: Read Field Selection
    CATS_GET_PERIODSTART
    CATSTOOLS
    CATS_ACTIVATE_MESSAGES
    CATS_CHECK_APPLICATION
    CATS_CHECK_CATSDB_AFTER_SAVE
    CATS_CHECK_CONSISTENCY_AT_SAVE
    CATS_CO_SET_TRANSFER_FLAG
    CATS_CO_UPDATE_CATSCOSUM
    CATS_GET_PROFILE
    CATS_GET_PROFILE_AUTHGROUP
    CATS_GET_PROFILE_FROM_USER
    CATS_GET_UPDATE_BUFFER
    CATSXC
    CATSXC_READ_CATS_PROFILE
    CATSXC_READ_FEATURE_VALUES
    CATSXC_ROUND_QUANTITY
    CATSXC_UPDATE_COMP_DTL
    CATSXC_UPDATE_TCATX_COMPONENTS
    CATSXT
    CATSXT_CHANGE_TIME_SHEET
    CATSXT_DISPLAY_TIME_SHEET
    CATSXT_EXTERNAL_INTERFACE
    CATSXT_FIELD_SELECTION_MODIFY
    CATSXT_GET_PERSONNEL_NUMBER
    CATSXT_GET_TIME_SHEET_DATA
    CATSXT_SET_CURRENT_WORKAREAS
    CATSXT_START_GUI
    CATSXT_TRAVEL_MANAGER_GET_DATA
    CATSXT_TRAVEL_MANAGER_SET_DATA
    CATSXT_ACCOBJ
    CATSXT_ACCOBJ_SET_FIELDSELECT
    CATSXT_ACCOBJ_SET_TIME_SHEET
    CATSXT_ACCOBJ_SET_VALUES_TAB
    CATSXT_CLEAR_ACCOUNTING_OBJECT
    CATSXT_DETERMINE_OBJECT_NUMBER
    CATSXT_GET_OBJECT_DATA
    CATSXT_GET_OBJECT_NUMBER
    CATSXT_GET_OBJTYPE_FOR_ACCOBJ
    CATSXT_INIT_ACCOUNTING_OBJECT
    CATSXT_SET_OBJECT_DATA
    CATSXT_SET_OK_CODE_ACCOUNTING
    CATSXT_APPR
    CATSXT_APPR_SET_TOOLBAR
    CATSXT_APPR_USER_COMMAND
    CATSXT_EXIT_EXAMPLE
    CATSXT_CUSTOMER_EXIT_EXAMPLE
    CATSXT_F4
    CATSXT_F4_OBART
    CATSXT_F4_TASKLEVEL
    CATSXT_F4_TASKTYPE
    CATSXT_SET_F4_FOR_ACCOBJECT
    CATSXT_SET_F4_FOR_TASKLEVEL
    CATSXT_FUP
    CATSXT_ENTRY_SHEET_DISPLAY
    CATSXT_FUP_CATS_FLOW_INFO_GET
    CATSXT_FUP_FLOW_BACK_INFO_GET
    CATSXT_FUP_GET_HISTORY_FOR_CNT
    CATSXT_FUP_RESET_HISTORY_BUFF
    CATSXT_SERVICE_NUMBER_READ
    CATSXT_UTIL
    CATSXT_CALL_USER_DFLT_DIALOG
    CATSXT_CHECK_DFLT_DERIV_ACTIVE
    CATSXT_CHECK_TYPE_LEVEL_AUTH
    CATSXT_CHECK_WORK_DAY
    CATSXT_COMPARE_STRUCTURES
    CATSXT_GET_ACCESS_KEY
    CATSXT_GET_ADDRESS_DATA
    CATSXT_GET_CENTRAL_CONTROL
    CATSXT_GET_CUSTOMIZING
    CATSXT_GET_DDIC_FIELDINFO
    CATSXT_GET_HOLIDAYS
    CATSXT_GET_SMARTFORM_NAME
    CATSXT_GET_TEMPORARY_KEY
    CATSXT_GET_USER_ID_OF_PERNR
    CATSXT_LONGTEXT
    CATSXT_MOVE_STRUC1_TO_STRUC2
    CATSXT_OPTIMIZE_OUTPUT
    CATSXT_OPTIMIZE_OUTPUT_TC
    CATSXT_SIMPLE_TEXT_EDITOR
    CATSXT_SPLIT_LONGTEXT
    CATSXT_SUBSCREEN_CONTROL
    CATSXT_TABSTRIP_CONTROL
    CATSXT_USER_DFLT_DIALOG
    CATSXT_WRITE_HEADER
    CATS_CO
    CATS_ACT_ALLOC_CHECK
    CATS_ACT_ALLOC_SENDER_CHECK
    CATS_CHECK_AC
    CATS_COBL_CHECK
    CATS_COST_ASSGMT_CHECK
    CATS_ITS
    CATS_ITS_GET_POPUP_STATUS
    CATS_ITS_GET_SCREEN
    CATS_ITS_MAKE_STRING_NUMERICAL
    CATS_ITS_SET_OKCODE
    CATS_ITS_FUNC_CO
    CATS_GET_COSTCENTER_ACTIVITY
    CATS_LEVELING
    CATS_GET_LEVELING_DATA
    CATS_SERVICES
    CATS_GUID_GET_KEY
    CTHR
    CATS_ATTABS_COSTINSERT
    CATS_BATCH_TRANSFER_HR
    CATS_BATCH_TRANSFER_HR_BKG
    CATS_BUILD_SEND_MAIL
    CATS_CALL_RCATSTHR
    CTXT
    CATS_CO_READ_OBJECT_TEXT
    CATS_HR_READ_OBJECT_TEXT
    HRTIM00ABSATTEXT
    CATS_ATTABS_CHECK
    HRTIM00F4HELP
    CATS_F4_HELP_AWART
    CATS_F4_HELP_CURRENCY
    CATS_F4_HELP_LGART
    CATS_F4_HELP_PRAKN_PRAKZ
    CATS_F4_HELP_TRFGR_TRFST
    PTEX
    CATS_CHECK_INFOTYPE_POSTED
    revert back if u require Bapis.

  • Need to find BAPI or Function module to calaculate Accrued Interest

    HI All,
      CAn you please help me find BAPI or FM to calculate accrued interest with tcode FTR_EDIT for company code and transaction with cash flow details based on key date user gives. I need to takk all amounts less than key date on selection screen and get transaction details with interest rate and calculate number of days multiply it and then divide by 360 days.
    my formula is like this,
       Principal Amount * Interest rate * Number_ofdays/360.
    The logic is like this ,  Single Key Date -> Multiple Company codes -> Multiple transactions per company code ->multiple payments per transaction with credit/debit indicator.
    But when I run the report with one company code I should get multiple transactions with multiple paymetns calculated  accrued interest.
      After spending lot of time on finding function modules my Treasury functional team asked me to write manual formula to do this, but it works fine when I run for one transaction in one company code. IT's not working in all scenarios.
      I think manual calculation won't be accurate in all cases.
    As I am new to Treasury module, having difficulty to do this.
    Thanks,
    Thanvi.

    check with T-code TPM44
    zashok

  • Need Help in Replacement of Function Modules

    Hello all,
    I am working on Upgrade project from ECC 5.0 to ECC 6.0. I am facing problems for Replacement of two Obsolete Function Modules. Please give me a solution. FM's  are as follows.
    1) SET_AUTHORITY : This FM is obsolete in ECC 6.0 and there is not alternative FM present in help.sap.com or any other web portal.
    2) WS_QUERY : Here as per my knowledge we use class CL_GUI_FRONTEND_SERVICES and methods FILE_EXIST or DIRECTORY_EXIST as per the parameters in old FM. For parameter 'FS' we use 'FILE_EXIST' and 'DS' we use 'DIRECTORY EXIST'.
    But in our program prev. FM has parameter 'OS' i.e. Operating System.
    But there is not method called 'OS EXIST' or similar. Please suggest suitable method.
    Thanking you all in anticipation.
    Best Regards,
    Harish

    Hi Harish,
                       I too could not find any replacement for SET_AUTHORITY
    Obsolete Modules can be used in newer versions, but it is not supported by SAP in case of any technical issues.If you still need a replacement, you can replace it by the source code in the FM SET_AUTHORITY itself and modify according to your needs.
    Below is the source code of FM SET_AUTHORITY, so you can modify it according to your requirement.
      DATA: l_actvt  TYPE tact-actvt,
            l_hier   TYPE STANDARD TABLE OF sethier WITH HEADER LINE.
      CASE action.
        WHEN 'A    '.
          l_actvt = activity-add.
        WHEN 'C    '.
          l_actvt = activity-modify.
        WHEN 'D    '.
          l_actvt = activity-display.
        WHEN 'E    '.
          l_actvt = activity-delete.
        WHEN 'UD   '.
          l_actvt = activity-display.
      ENDCASE.
      CALL FUNCTION 'G_SET_TREE_IMPORT'
           EXPORTING
                no_descriptions  = 'X'
                no_rw_info       = 'X'
                setid            = set
                tabname          = table
                root_header_only = 'X'
           TABLES
                set_hierarchy    = l_hier
           EXCEPTIONS
                OTHERS           = 0.
      READ TABLE l_hier INDEX 1.
      IF sy-subrc <> 0.
        CLEAR l_hier.
        l_hier-shortname = set.
      ENDIF.
      CALL FUNCTION 'G_SET_AUTHORITY_CHECK'
           EXPORTING
                actvt  = l_actvt
                authgr = l_hier-authgr
           EXCEPTIONS
                OTHERS = 1.
      IF sy-subrc <> 0.
        CASE action.
          WHEN 'A    '.
            MESSAGE e827 WITH l_hier-shortname RAISING no_authority.
          WHEN 'C    '.
            MESSAGE e828 WITH l_hier-shortname RAISING no_authority.
          WHEN 'D    '.
            MESSAGE e829 WITH l_hier-shortname RAISING no_authority.
          WHEN 'E    '.
            MESSAGE e830 WITH l_hier-shortname RAISING no_authority.
          WHEN 'UD   '.
            MESSAGE e831 WITH l_hier-shortname RAISING no_authority.
        ENDCASE.
      ENDIF.
    If you need help in replacing in the above source code, please post your code here so that I can help you in modifying accordingly.
    Regards,
    Vasuki

  • Need of Changing Parameters in Function Module

    Hi All,
    Why we need sepearte Import and Export parameters in Function Module if the Changing Parameters
    acts as both import and export parameters.
    What is the use of using Changing Parametrs in Function Module.
    Thanks in advance.
    Sundaresan

    Hi,
    EXPORT PARAMETERS: When u r passing some value to the function, and the parameter will not be changed in the function, we use export parameter. Example: u pass parameter (a : 10) to a function, even after the function has been executed, value of a will be 10 only.
    IMPORT PARAMETER: When u require some value back from the function. u do not provide any initial value to the function. Example : u pass a parameter (b: <blank>) to the function, function returns the same import parameter as (b : 20).
    CHANGING PARAMETER: When u pass some value to the function and that function may change that value inside function, then changing parameters are used. Example: u pass parameter ( c: 30) to the function as changing parameter and function modifies this variable and return ( c: 50).
    Reward points if helpful.
    Thanks & Regards
    - Rishika Bawa

  • Need to change the way Function module exit is called.

    Dear Abaper,
                      I want to know wheather is it possible to change the way a function module exit is called.In transaction IK11 i am using enhancement imrc0001 this function module is called only when clicking the save button. My requirement will be met only when desired result is obtained while clicking ENTER button.Now the desired result are obtained by Clicking SAVE button. As a result only after saving i am able to view. Is there any way to change by clicking Enter button itself we can call the IMRC0001 enhancement. Please guide me.
    Thanks  and regards,
    Omprasath

    Hi,
    Each action in the screen have some FCODE(SY-UCOMM) in that exit u can add code when the particular button is clicked then run it or else no need to run.
    For Example SAVE has user command as SAV+(SY-UCOMM)
    u can restrict it as.
    IF SY-UCOMM = 'SAVE+'.
    Run ur code.
    Endif.

  • Need a sample coding for  function module MRM_DBTAG_RSEG_READ

    hi,
    I am working on reports. I was asked to use the function module MRM_DBTAG_RSEG_READ for retrieving the line item information. I tried using the fucntion module, the problem i am facing in the declaration of the internal table I_TE_RSEG for the parameter TE_RSEG.
    It would be better if u provide a sample coding that uses this function module.
    Promise to award points.
    Regards,
    anitha

    Hi,
    you need to declare type-pools mrm. and declare the work area of type mrm_tab_rseg
    check out the code-
    REPORT zzswap .
    TYPE-POOLS mrm.
    DATA: is_te_rseg  TYPE mrm_tab_rseg.
    DATA: w_belnr type RSEG-BELNR,
          w_gjahr type RSEG-GJAHR.
    w_belnr = '1000000004'.
    w_gjahr = '2005'.
    CALL FUNCTION 'MRM_DBTAB_RSEG_READ'
         EXPORTING
              i_belnr         = w_belnr
              i_gjahr         = w_gjahr
              i_buffer_on     = 'x'
         IMPORTING
              te_rseg         = is_te_rseg
         EXCEPTIONS
              entry_not_found = 1
              OTHERS          = 2.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    hope it works.
    Regards,
    Swapnil.

  • Need info on this K_HIERARCHY_TABLES_READ function module

    Hi Experts,
    I need information on this function module. what exactly this function module will do.
    looking for your reply
    Regards,
    Kali Pramod

    It's used for retrieving group information - cost center groups, cost element groups, order groups, etc.
    You can do a "where used" list to see how it is called.
    Rob

  • What are campaigns related function modules ?

    Hi,
    I want to find out open campaigns and marketing attributes based on partner function i.e., owner responsible and these open documents I need assign to another owner responsible. Which function module I need to read the details and which fm is to change owner responsible.  Please guide me which fm i need to use how I can change to another employee responsible partner function.

    Hi divya,
    Check out the package CRM_MKTPL which will give you all the function modules of Marketing.

  • Need an example program for function module

    Hi ,
    I am new to ABAP. Can you please give a simple example program to extract the data from a table using Function module.
    Thanks for your help in advace.
    Regards,
    Vishnu

    hi vishnu,
    See the following Sample Program;
    REPORT demo_mod_tech_fb_read_spfli.
    PARAMETERS carrier TYPE s_carr_id.
    DATA: jtab TYPE spfli_tab,
          wa   LIKE LINE OF jtab.
    CALL FUNCTION 'READ_SPFLI_INTO_TABLE'
         EXPORTING
              id        = carrier
         IMPORTING
              itab      = jtab
         EXCEPTIONS
              not_found = 1
              OTHERS    = 2.
    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.
    LOOP AT jtab INTO wa.
      WRITE: /  wa-carrid, wa-connid, wa-cityfrom, wa-cityto.
    ENDLOOP.
    Also you can find example programs for all in tcode ABAPDOCU in your SAP system itself, explore ABAPDOCU to find more sample programs....
    Regards
    Karthik D

Maybe you are looking for

  • How this to display.

    Hi Guys, I got structure in rows , under that we have quite number of selections with restrictions,Now we want grouping under deferent name. Plz help me. harry

  • List / Pull Down Menu set LIST_ITEM_ID and PARENT_LIST_ITEM_ID

    Hi all APEX has "Pull Down Menu" template for navigation list control where used variables #PARENT_LIST_ITEM_ID# and #LIST_ITEM_ID# but their values can't be specified SELECT, all my tries failed btw doc says Enter a list SQL Query or Function return

  • Jpl problems with the lombard please help........#2 corrected

    It takes 1+1 starts (the last time) or 111 before and 11+1+1+11 another. But it will start up and it run well in 10.4.8 sometimes it crash (lately since the problem start never before) but other wise runs good. I have looking into your other similar

  • Problem associating 7920 phone with AP 1100

    Hello , I have setup AP 1100 in the nw. data connectivity are working fine. Laptops are getting associated with AP. but when i m trying to associate the Wirelss phone 7920 its not getting associated. It gets authenticated.It shows association in prog

  • [Solved] Package Preparation Failed

    Alright, the issue I'm having is that when I select packages during the installation I get an error, "pacman preparation failed check /dev/tty7 for errors". At first I thought it was a network problem; but, I can ping www.google.com and everything el