HELP ON DMEE EXIT MODULE

Hi,
I have a requirement to convert the value in the AMOUNT field based on the content of a field RESERVED in the file. So I have deifined an exit module in the Mapping tab of the Amount field which is of the form
DMEE_EXIT_TEMPLATE_IN_MAPPING. However, the export parameter E_VALUE has the value when it leaves the FM but in the end when I generaete the file. I see no value in the file. I.e. I get empty spaces. Ideally there should be negative amount in the file. 
Can someone counsel me in this regard please.
The code in the function module is as below
FUNCTION z_fi_dmee_exit_mapping_amountx.
""Local interface:
*"  IMPORTING
*"     REFERENCE(I_INTERFACE) TYPE  DMEE_EXIT_INTERFACE_INCOMING
*"  EXPORTING
*"     REFERENCE(E_VALUE)
Data : ls_amount(20) type n.
  IF i_interface-file_line+1064(1) = '0'.
    ls_amount = i_interface-file_line+773(20).
    ls_amount = ls_amount * -1.
    e_value = ls_amount.
  ENDIF.
Cheers,
Amber

in ur program, ur calling this FM and may be u have specified another field name in the export parameter. This field will hold the value returned from the FM. you need to use this field while generation of data.

Similar Messages

  • DMEE exit module

    Hi All ,
        Currently I am working on a requirement where I have to create a DMEE format tree  for payments .
       And in this the requirement arises the need for mapping a value with the help of exit Modules .
       I created the Exit module with the interfaces as in DMEE_EXIT_TEMPLATE and even assigned this FM in the format tree events .
       Next when I am running the F110 transaction , I get an error log which describes
       " ABAP/4 processor: CALL_FUNCTION_PARM_MISSING " .
       I am not sure if the assignment of the exit module in the format tree is correct . 
      Kindly help me with the solution .
    Regards,
    Ranjita
    Edited by: Ranjita Kar on Sep 3, 2009 11:44 AM

    Check the place in DMEE where your function module is assigned. Please check all the mandatory fields of FM i.e. I_TREE_TYPE, I_TREE_ID, I_ITEM, I_PARAM and I_UPARAM are assigned.

  • DMEE EXIT Module Help

    Let me tell you what needs to be done..
    DME engine
    Tree type – PAYM
    Format tree defind
    Now using template DMEE_EXIT_TEMPLATE_ABA, a few user exits are required to be created to make certain changes in the outgoing format
    I have a problem in which I have to count the occurence of 1 segement i.e. DOC and if it is more than a certain number of times, it is required to delete certain other segments like CTA(from segment 13), PRC(from segment 16) etc. How do I do it?

    Come on guys somebody please help me. I am stuck in here for quite some time now.

  • How does EXIT modules in DMEE work?

    Dear friends, how does EXIT modules in DMEE work?
    If I want to use this module DMEE_EXIT_DK_OCR_ACCOUNTNO to extract the account number of an OCR line, what should I do?
    And especially what do I put in the import parameters?
    /René

    The module called DMEE_EXIT_DK_OCR_ACCOUNTNO is a dummy module or template module if you like.
    The problem is that the module DMEE_EXIT_DK_OCR_ACCOUNTNO has a condition that never where fulfilled!
    I copied the module to Z_DMEE_EXIT_DK_OCR_ACCOUNTNO and changed the conditions u2013 and then everything was working with import and export parameters!
    Either is DMEE_EXIT_DK_OCR_ACCOUNTNO a serious mistake in standard SAP or just an undocumented template to be modified!
    /René

  • Help in field exits

    Hello
    i'm working in ECC 6 and  my req is to create a field exit for a data element so as to validate the field before saving ..
    i have executed the program 'RSMODRPF' and created the function module and also in CMOD in 'Field exits for data elements' when i'm trying to assign the screen name and no, it is not getting saved. i understand i need to set the system parameter 'ABAP/FIELDEXIT' to 'YES'..
    my question is how to set the above system parameter? also am i in the right direction in creating a field exit to validate the field?
    Thanks in advance

    Hi Shekar
    <b>Please do not post multiple threads for same topic. We all could see the threads irrespective of where you have posted in ABAP Development section.
    </b>
    <b>The profile parameter abap/fieldexit should be set to 'YES'. Use transaction RZ11 to check the parameter value.</b>
    Please read these threads which discusses the same problem and might be helpful,
    problem field exit
    Field exits don't work
    Debugging Field Exits
    Other Links
    http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
    Regards
    Kathirvel

  • Help needed in PS module on CJ9ECP/CJ20N for revaluating CCR??

    help needed in PS module on CJ9ECP/CJ20N for revaluating CCR??
    How to handle method on_costing_component_to_outtab which belongs to badi gui_itemization_ck. This is to revaluate CCR in CJ20N.
    From sale transaction(va01/va02) i need to call cj20n/cj9ecp for revaluating cost estimates. Can anyone say how to proceed with this thing.
    Can any one say how to handle pop up window in CJ20N/CJ9ECP when clicked edit ecp button. Later how to revaluate cost estimates. For this should i need to go for call transaction or is there any method available. If so how to handle method for revaluating cost estimates for ECP of WBS elements

    Thanks Amol for the advice.
    My friend doesn't belong to an engineering background and had not worked in a manufacturing environment.
    He holds an MBA degree specialised in systems and has worked in software companies supporting software projects and the functions(like HR,Procurement in the same setup) as a software quality guy.
    Moreover the modules mentioned by you requires engineering background with manufacturing exposure.
    He had enquired for the course at siemens and they said that he may not be suitable for any of the modules offered by them as per the above reasons.They also mentioned that they have to check with SAP Labs for expert opinion.
    Please provide your inputs.
    regards,
    Zubair.

  • Need help for user exit mereq001

    Hi,
    I need help for user exit mereq001. I think I messed up with include table CI_EBANDB and CI_EBANMEM. And When I tried to check the syntax . It gives me error like : <b>Class IF_PURCHASE_REQUISITION. Inconsistency in the dictionary for the structure mereq_item_s_cust_data.</b> Anyone had experience for this exit? I just need to extract costcenter information of the each item from the requisition and block the requisiton if the costcenter are differents from each other before the requisition is saved. Any one has idea about it?
    Thanks.

    biao,
    Have you checked this struture consistency from SE11. Also check the activation log.
    If there are any errors and you are not able to rectify the same use RSDDCHECK program, give your table name and run the report.
    This will list down the error structures releated this table and also prompts for you to activate it.
    Regds
    Manohar

  • Please help me P M Module configuration document.

    Hi friends,
    I am planing to learn SAP PM Module, I want know process wise flow, please help me P M Module configuration document.
    Regards,
    Murali.
    help.sap.com

    Lynn
    Had me stumped for a while too ...
    On the screen that presents all your "Blank" documents, simply touch the word "Blank" under the preview (not the actual preview) and you'll get a dialogue to name your document.
    Simon

  • How to call a Search help in a function module?

    Hi Experts,
    I am a novice to ABAP, I am working on search helps. My requirement is to call a search help in a function module.
    Can anyone  please throw some light on this.
    Any inputs will be helpful.
    Thanks,
    Amita

    yes you can do that..
    in side the source code ..
    write the select statement according to requirement and pass the internal table to below function moduel and return field to yor help field..
    call the below fm inside the function module..
    'POPUP_WITH_TABLE_DISPLAY' or 'REUSE_ALV_POPUP_TO_SELECT'
    see the sample code...
    FUNCTION Z_MFG_PLANTS_F4 .
    "*"Local Interface:
    "  IMPORTING
    "     REFERENCE(W_WERKS) TYPE WERKS OPTIONAL
    "  IMPORTING
    "      REFERENCE(W_MATNR)    TYPE MANTR OPTIONAL
    Alv popup display
    DATA : gc_selfield     TYPE slis_selfield,
           gt_fieldcat_drd TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    p_werks = W_WERKS.
    data : begin of t_marc occurs 0,
                werks type werks,
                matnr type matnr,
            end of t_marc
    select matnr werks from marc into table t_marc where werks = p_werks.
      IF t_disp[] IS NOT INITIAL.
      gt_fieldcat_drd-seltext_m = 'Material'.
      gt_fieldcat_drd-fieldname = 'MATNR'.
      APPEND gt_fieldcat_drd.
      CLEAR : gt_fieldcat_drd.
      gt_fieldcat_drd-seltext_m = 'WERKS'.
      gt_fieldcat_drd-fieldname = ''WERKS'.
      APPEND gt_fieldcat_drd.
      CLEAR : gt_fieldcat_drd.
    Allow the user to select the required plant
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Material Selection for Plant'
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 70
          i_screen_end_line     = 20
          i_tabname             = 'T_MARC'
          it_fieldcat           = gt_fieldcat_drd[]
        IMPORTING
          es_selfield           = gc_selfield
        TABLES
          t_outtab              = t_MARC
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc  0.
      ENDIF.
      READ TABLE t_MARC INDEX gc_selfield-tabindex.
      IF sy-subrc = 0.
            w_matnr = t_matnr-matnr.
      ENDIF.
    ENDIF.
    ENDFUNCTION.
    rgrds,
    Shweta

  • Help needed for SAP modules

    Hi all
    I want to learn the SAP modules...like MM, SD, PP, FICO, SCM etc...
    where from shall i get the help?
    plz give me some references.
    Thanx in advance,
    Yours
    Ramu

    Hi Ram,
    Pl refer the following site which will give u helpful pdf files.all modules are available in this easy market place site.
    it is better to concentrate on any one module which ur background and interest supports.
    For MM:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    For PP:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_PP.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCPP/CAARCPP.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPP/BCBMTWFMPP.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPBDBOM/PPBDBOM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPCRP/PPCRP.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPPDC/PPPDC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPKAB/PPKAB.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPPIPCS/PPPIPCS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPSFC/PPSFC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPBDWKC/PPBDWKC.pdf
    D.K.VIJAYABHASKAR

  • Need help with SAP SD module

    Hi i am new to this forum, i need help with SAP SD module. Can you please provide me pointers or links to get started SAP SD module and start facing the interviews.

    Hi Aditya,
    For understanding the SD module itself, the link - http://help.sap.com/saphelp_erp2005/helpdata/en/8c/df293581dc1f79e10000009b38f889/frameset.htm is the ultimate one.
    Again you can also refer to the mateial "Implementing R/3 S&D BY GLYNN C.WILLIAMS".
    For Cracking interview, You can refer to "SAP SD Interview Questions, Answers, and Explanations By: Jim Stewart" which is available in the market.
    Regards,
    SARTHAK

  • How to Debug the DMEE exit function module

    Hi All,
    I wants to Debug the DMEE  tree exit function module.
    Could you please guide me.
    Regards,
    Seshadri

    Put a BREAK USER in User-Exit.
    Once the system enters into debugging mode,
    in debuger on setting tab,
    check the Update Debugging and System Debugging.
    Regards
    Bala Krishna

  • User Exit module in DMEE

    Hi Experts,
    I have created a user exit by name ZDMEE_EXIT_ACCNUMBER in a package ZDMEE for a customized DME tree. Now I want to debug the source code of the FM when I run F110.  I found some posts on this issue, but still I am unable to solve the problem.
    Can any one please advice how to debug the FM usinf F110, Is there any special procedure to do this?
    Thanks,
    sapuser

    Hello ,
    try to use Tcodes : FBPM(creates a new DME ) or FDTA.
    so if u want to debug , then Put a break point in that FM and run FBPM for that payment run .
    may be your  source mapping is wrong....check the node of that DMEE
    regards
    Prabhu
    Edited by: Prabhu Peram on Aug 23, 2010 3:36 PM

  • Help in IDOC_INPUT_ORDERS Function module

    Hi,
    I am writing a program to generate an IDOC using IDOC_INPUT_ORDERS Function module .
    But I am a little confused as to what has to be passed as input_method,mass_processing which are the import parameters of this function-module .
    If anyone has a sample code program using function module IDOC_INPUT_ORDERS , please could you share it with me .
    Regards,
    Sushanth H.S.

    Hi Sushanth,
    IDOC_INPUT_ORDERS is a posting program.
    This program uploads the idic to the database table.
    Thatis it converts the idoc format to the SAP format.
    I have created a sample posting program.
    Please go through it.
    *& Report  Z_FI_UTIL_EXCEL2GL_POSTING                                  *
    REPORT  Z_FI_UTIL_EXCEL2GL_POSTING.
    include <icon>.
    */ =================================================================== *
    CONSTANTS: on  VALUE 'X',
               off VALUE ' ',
               tabx TYPE X VALUE '09',
               c_e1bpache08 TYPE edilsegtyp VALUE 'E1BPACHE08',
               c_e1bpacgl08 TYPE edilsegtyp VALUE 'E1BPACGL08',
               c_e1bpaccr08 TYPE edilsegtyp VALUE 'E1BPACCR08'.
    TYPES: BEGIN OF t_tab_index,
              from TYPE i,
              to   TYPE i,
           END   OF t_tab_index.
    data :    tab type c.
    DATA:
          e1bpache08 LIKE e1bpache08,
          e1bpacgl08 LIKE e1bpacgl08,
          e1bpaccr08 LIKE e1bpaccr08.
    DATA:      g_subrc    TYPE subrc.
    DATA:      g_file     TYPE string.
    DATA:      g_segname  TYPE edilsegtyp.
    DATA:      g_sdata    TYPE edi_sdata.
    DATA:      g_first_doc.
    DATA:      i_dataf     TYPE char2000   OCCURS 900 WITH HEADER LINE,
               i_dataf_doc TYPE char2000   OCCURS  50 WITH HEADER LINE.
    DATA:      g_tab_index TYPE t_tab_index OCCURS 100 WITH HEADER LINE.
    DATA:      i_accountgl TYPE bapiacgl08 OCCURS 100 WITH HEADER LINE,
               i_curramnt  TYPE bapiaccr08 OCCURS 100 WITH HEADER LINE,
               i_return    TYPE bapiret2   OCCURS  10 WITH HEADER LINE,
               g_docheader TYPE bapiache08.
    */ ======================== SELECTION ================================ *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.
    PARAMETERS: excelf TYPE file_name LOWER CASE
                DEFAULT 'C:\my_excel_file.txt'.
    SELECTION-SCREEN END   OF BLOCK b1.
    */ =========================== CORE ================================== *
    START-OF-SELECTION.
    */ Call text File with GUI_UPLOAD
      g_file = excelf.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = g_file
        FILETYPE                      = 'ASC'
        HAS_FIELD_SEPARATOR           = ' '
        HEADER_LENGTH                 = 0
        READ_BY_LINE                  = 'X'
      IMPORTING
        FILELENGTH                    =
        HEADER                        =
        TABLES
          data_tab                      = i_dataf
        EXCEPTIONS
          file_open_error               = 1
          file_read_error               = 2
          no_batch                      = 3
          gui_refuse_filetransfer       = 4
          invalid_type                  = 5
          no_authority                  = 6
          unknown_error                 = 7
          bad_data_format               = 8
          header_not_allowed            = 9
          separator_not_allowed         = 10
          header_too_long               = 11
          unknown_dp_error              = 12
          access_denied                 = 13
          dp_out_of_memory              = 14
          disk_full                     = 15
          dp_timeout                    = 16
          OTHERS                        = 17
      IF sy-subrc <> 0.
        write: / Text-032.
        stop.
      ENDIF.
    */ Initialisation
      write tabx to tab.          " required as of ABAP 610 split cannot
    */                             have mixed char and byte types
      CLEAR   g_tab_index.
      REFRESH g_tab_index.
    */ how to process several doc : detecting docs in i_dataf
      g_first_doc = on.
      LOOP AT i_dataf.
        CLEAR: g_segname, g_sdata.
        SPLIT i_dataf AT tab INTO g_segname g_sdata.
        CHECK:  g_segname = c_e1bpache08,
                sy-tabix > 1.
    */ 1st document
        IF g_first_doc = on.
          g_tab_index-from = 1.
          g_tab_index-to   = sy-tabix - 1.
          APPEND g_tab_index.
    */ Next Documents
        ELSE.
          g_tab_index-from = g_tab_index-to + 1.
          g_tab_index-to   = sy-tabix - 1.
          APPEND g_tab_index.
        ENDIF.
        g_first_doc = off.
      ENDLOOP.
    */ Last doc.
      g_tab_index-from = g_tab_index-to + 1.
      g_tab_index-to   = sy-tfill.
      APPEND g_tab_index.
    */ Process documents.
      loop at g_tab_index.
         clear   i_dataf_doc.
         refresh i_dataf_doc.
         append lines of i_dataf from g_tab_index-from
                                 to   g_tab_index-to
                                 to   i_dataf_doc.
         perform process_document.
      endloop.
    END-OF-SELECTION.
    */ =========================== ROUTINES ============================== *
          FORM process_document                                         *
    FORM process_document.
    */ Clearing Memory
      CLEAR:   g_docheader, i_accountgl, i_curramnt, i_return, g_subrc.
      REFRESH:              i_accountgl, i_curramnt, i_return.
    */ Checking i_dataf_doc
    */ Mapping dataf => Bapi structures & internal tables
      CLEAR g_subrc.
      CATCH SYSTEM-EXCEPTIONS conversion_errors = 1.
        LOOP AT i_dataf_doc.
          CLEAR g_sdata.
          SPLIT i_dataf_doc AT tab INTO g_segname g_sdata.
          CASE g_segname.
    */ HEADER
            WHEN c_e1bpache08.
              PERFORM do_split_ache08.
              MOVE-CORRESPONDING e1bpache08 TO g_docheader.
              IF e1bpache08-doc_date IS INITIAL.
                CLEAR g_docheader-doc_date.
              ENDIF.
              IF e1bpache08-pstng_date IS INITIAL.
                CLEAR g_docheader-pstng_date.
              ENDIF.
              IF e1bpache08-trans_date IS INITIAL.
                CLEAR g_docheader-trans_date.
              ENDIF.
    */ Account GL
            WHEN c_e1bpacgl08.
              PERFORM do_split_acgl08.
              MOVE-CORRESPONDING e1bpacgl08 TO i_accountgl.
              IF e1bpacgl08-pstng_date IS INITIAL.
                CLEAR i_accountgl-pstng_date.
              ENDIF.
              APPEND i_accountgl.
    */ Account Currency & Amounts
            WHEN c_e1bpaccr08.
              PERFORM do_split_accr08.
              MOVE-CORRESPONDING e1bpaccr08 TO i_curramnt.
              APPEND i_curramnt.
    */ kick the line if segment name not filled
            WHEN space.
    */ Other names => Bad file structure !
            WHEN OTHERS.
              g_subrc = 2.
          ENDCASE.
        ENDLOOP. " i_dataf_doc
      ENDCATCH.
    */ erreur d'affectation
      IF sy-subrc = 1 OR
      NOT g_subrc IS INITIAL.
        perform message_output using on.
        exit.
      ENDIF.
    */ Calling the BAPI
      CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
        EXPORTING
          documentheader       = g_docheader
    IMPORTING
      OBJ_TYPE             =
      OBJ_KEY              =
      OBJ_SYS              =
        TABLES
          accountgl            = i_accountgl
          currencyamount       = i_curramnt
          return               = i_return
      EXTENSION1           =
      LOOP AT i_return WHERE type CA 'AE'.
        g_subrc = 1.
        EXIT.
      ENDLOOP.
      IF NOT g_subrc IS INITIAL.
        perform message_output using on.
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
              WAIT          =
           IMPORTING
              RETURN        =
          perform message_output using off.
      ENDIF.
    ENDFORM.
    *&      Form  do_split_ACHE08
          text
    -->  p1        text
    <--  p2        text
    FORM do_split_ache08.
      CLEAR e1bpache08.
      SPLIT g_sdata AT tab INTO
      e1bpache08-obj_type
      e1bpache08-obj_key
      e1bpache08-obj_sys
      e1bpache08-username
      e1bpache08-header_txt
      e1bpache08-obj_key_r
      e1bpache08-comp_code
      e1bpache08-ac_doc_no
      e1bpache08-fisc_year
      e1bpache08-doc_date
      e1bpache08-pstng_date
      e1bpache08-trans_date
      e1bpache08-fis_period
      e1bpache08-doc_type
      e1bpache08-ref_doc_no
      e1bpache08-compo_acc
      e1bpache08-reason_rev
    ENDFORM.                    " do_split_ACHE08
    *&      Form  do_split_ACGL08
          text
    -->  p1        text
    <--  p2        text
    FORM do_split_acgl08.
      CLEAR e1bpacgl08.
      SPLIT  g_sdata AT tab INTO
                      e1bpacgl08-itemno_acc
                      e1bpacgl08-gl_account
                      e1bpacgl08-comp_code
                      e1bpacgl08-pstng_date
                      e1bpacgl08-doc_type
                      e1bpacgl08-ac_doc_no
                      e1bpacgl08-fisc_year
                      e1bpacgl08-fis_period
                      e1bpacgl08-stat_con
                      e1bpacgl08-ref_key_1
                      e1bpacgl08-ref_key_2
                      e1bpacgl08-ref_key_3
                      e1bpacgl08-customer
                      e1bpacgl08-vendor_no
                      e1bpacgl08-alloc_nmbr
                      e1bpacgl08-item_text
                      e1bpacgl08-bus_area
                      e1bpacgl08-costcenter
                      e1bpacgl08-acttype
                      e1bpacgl08-orderid
                      e1bpacgl08-orig_group
                      e1bpacgl08-cost_obj
                      e1bpacgl08-profit_ctr
                      e1bpacgl08-part_prctr
                      e1bpacgl08-wbs_element
                      e1bpacgl08-network
                      e1bpacgl08-routing_no
                      e1bpacgl08-order_itno
    ENDFORM.                    " do_split_ACGL08
    *&      Form  do_split_ACCR08
          text
    -->  p1        text
    <--  p2        text
    FORM do_split_accr08.
      data: l_filler(100).
      CLEAR  e1bpaccr08.
      SPLIT  g_sdata AT tab INTO
                e1bpaccr08-itemno_acc
                e1bpaccr08-curr_type
                e1bpaccr08-currency
                e1bpaccr08-currency_iso
                e1bpaccr08-amt_doccur
                e1bpaccr08-exch_rate
                e1bpaccr08-exch_rate_v
                l_filler
    ENDFORM.                    " do_split_ACCR08
    *&      Form  message_output
          text
    -->  p1        text
    <--  p2        text
    FORM message_output using if_error.
      data: l_message(200),
            l_return type i.
       format color 1.
       skip.
       write: / text-020, g_tab_index-from,
                text-021, g_tab_index-to.
       skip.
       if if_error = on.
        write: / icon_red_light as icon, text-030 color 6.
       else.
        write: / icon_green_light as icon, text-031 color 5.
       endif.
       describe table i_return lines l_return.
       if l_return is initial.
         write: / text-032.
       endif.
       loop at i_return.
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              ID              = i_return-id
              LANG            = sy-langu
              NO              = i_return-number
              V1              = i_return-MESSAGE_V1
              V2              = i_return-MESSAGE_V2
              V3              = i_return-MESSAGE_V3
              V4              = i_return-MESSAGE_V4
            IMPORTING
              MSG             = l_message
            EXCEPTIONS
              NOT_FOUND       = 1
              OTHERS          = 2
          check sy-subrc = 0.
          write: / l_message.
       endloop.
    ENDFORM.                    " message_output
    Tell me ur mailid. I will sen u more.
    <b>Please reward if helpful.</b>

  • Help on User Exits with example needed

    Hello Experts,
    Need help/material on:
    1)Understanding Advanced Customization (VOFM, User Exits)
    2)Calculating Freight Charges
    3)Integrating Credit and Payment Cards
    4)Interfacing with Other Modules (MRP, AR)
    5)Using Batch Delivery Processing
    Regards
    Innova

    Hi,
    There are a number of techniques SAP have used over the years to implement user-exits.
    The most recent exits will be found in CMOD. Using CMOD (or SMOD), you can list all the enhancements available, that use this technique. As  usual in the SAP world, the later the version of SAP you are using, the more exits are available.
    Other exits do not use the enhancement technique. For example, in Sales Order Processing (SAPMV45A), SAP have provided empty forms, such as USEREXIT_SAVE_DOCUMENT_PREPARE that can be used to provide customer functionality. With one client, this was used to set the blocking indicator on a sales order, if a manual change had been made to pricing. The requiredscript is written in between form and end form.
    Another technique is the use of validation and substitution rules in the financial modules.
    The best way to find the user exits available is through the IMG. The relevant nodes will take you to where the customisation can be performed. Usually, the associated IMG note details the use of each exit, though there are gaps.
    Award points if helpful.
    Message edited by
    Mohan

Maybe you are looking for

  • Left & centre speakers do not work: Inspire 580

    Using Inspire 580 with XP home edition. The system was working and I use only 3 front speakers and the sub-woofer. Only the right speaker and sub-woofer work. There is now no output from the centre or left outputs from the connections on the side of

  • How to control "Adobe PDF" Printer?

    Hello Everyone,      We have a designed a large crystal report containing around 270 pages with lots of high quality images related to properties available for sale. When we try to export this report to PDF after exporting 20-50 pages (depending on t

  • BT Infinity Speed:

    Infinity is coming to my area very soon and the cabinet is 160 metres line distance from me, is I likely to receive the full speed on the 80/20 package?

  • Can I use my iPhone in France?

    I will be going to Paris in a few day and want to use my iPhone while I am there.  Is there anything special I need to do to use my iPhone while in France?  For example: Do I need to shut off data and/or if I shut off data can I still use iMessage, e

  • My CS2 templates are printing out in reverse.

    My CS2 Templates are printing out in reverse. All other programs are printing normally. Can anyone advise to clear this problem. Many thanks