Reading manual planning function header data in exit function

Hello all,
I would like to know if is there a chance to read header data of a planning function. The planning function is determined by user selection (user choose which value will be in ) and in exit function I then modify the buffer by data which I get by calling RFC on another system.
My problem is that buffer contain all the planning data for whole planning area (it seems) so there is many unnecessary call. How can I get in exit function value specified by user at start of a planning session?
Thank you for your help

Hi,
There's some issue the planning funciton will only read the data specified by the users (variable values).
Check the configuraiton once again.
thanks

Similar Messages

  • Parameter Exit Function in Planning Folder

    Hi all,
    I created the planning function in SEM BPS using exit function. And then I added the parameter exit function 0VERSION to this function. After that, I tried to put this function in the planning folder.
    Does anybody know how to put the parameter exit function to the planning folder?
    Because I need the user to fill the value of the 0VERSION before they run the function.
    I assume this should work as the selection screen.
    Currently, Every time I run this function, there is no selection screen or the place that I could fill the value for this field. So, the system always receives no value for this field.
    Or Maybe you have another approach to get the user's value without restrict the data before run the exit function.
    Thanks a lot for your help,
    -Martin Darmawi-

    This behaviour is quite normal. You should use different approach.
    Parameters in exit functions can be filled in parameter group only and only with fixed values.
    You should create a planning variable, put it to the folder and then read value of this variable in your exit function with 'API_SEMBPS_VARIABLE_GETDETAIL' for example.

  • Find Userexit name based on Exit function module

    Hi All,
    Is there any way to find the userexit name based on the function module.
    My exit function module is EXIT_SAPLATPC_001. I want to find the exit name.
    Appreciate your help.
    Thanks,
    Jaffer Ali.S

    Hi
    This is the Exit Name: ATP00001 for the Exit FM you have given. I took the package name this exit FM is stored in the Attributes of FM in SE37. In the search criteria of SMOD,after hitting f4..and selecting Information System, I gave the package name...and it gave me the exit name.
    P.S: The above method may sometimes lead to giving in more than one exit as result.
    Vishwa.

  • What is hierarchical data transfer in functional location

    hai,
    i want to know indetail about hierarchical data transfer and horizontal data transfer in functional location.
    can any one help me in this regard....
    plz give information with some example if you dont mind...
    thanks in advance
    regards
    gunnu.

    Hi
    From SAP HELP
    Hierarchical Data Transfer
    Definition
    You can maintain data at a high level within a hierarchical object structure. The system will automatically transfer the data changes to the levels below that are affected.
    The maintenance planner group is changed for the clarification plant described in Functional Location. The employee responsible for maintaining the master data makes the change to the master record of the highest functional location C1 and saves the changes. The system automatically makes the same change for all affected functional locations below the functional location C1, and issues a message to inform the employee of these changes.
    Horizontal Data Transfer
    Definition
    With horizontal data transfer you can differentiate between:
    Data transfer from reference location to functional location
    Data transfer from functional location to installed piece of equipment
    The ABC indicator of the functional location C1-B02-1 "Ventilator" is to be changed for several clarification plants.
    The employee responsible for maintaining the master data makes the change in the master record of the reference functional location and saves the entries.
    The system automatically makes the same change for all affected functional locations that were assigned to this reference location and for the pieces of equipment that are installed at these locations. The system then issues a message informing the employee of the changes.
    Regards
    thyagarajan

  • Reading Data From a Different Planning Package in a Exit Function

    Hi,
    Is it possible to read data from a planning level / package other than the package that the exit function was executed with?  I want to read data into an internal table from another package and use that data in combination with the data in the current package to create new records.  If this is possible sample code for how to read data from a different package would be appreciated.
    Thanks!
    Mel Waldner

    Hi,
    As an example lets say you have restricted 0calmonth in your package to 6.2007. In the planning layout to fetch values for 5.2007 (read only), you can take 0calmonth in data columns, and for this column restrict it as 5.2007.
    Similarly in Planning functions, you can mark 0calmonth as field to be changed and fetch data for 5.2007.
    Hope this helps.

  • IP Exit Planning function copy data from cca to pca planning cubes

    Hello All,
    I have a requirement where I have to copy the characteristics and keyfigures of CCA plan cube data to pca plan cube data.The infoobjects in CCA aggregation level are are {0amount,0costcenter,0costelement,version,0calmonth,0infoprovider} which needs to be copied to corresponding infoobjects in PCA level  {0amount,0profitcenter,0account,0version,0calmonth,0infoprovider}.
    The CCA and PCA aggregation level are built on the top of the multiprovider.
    I can do it using the fox coding but 0costelement cannot be mapped to 0account as these two are different fields.Since I have to copy the values of 0costelement to 0account , I was wondering how can I do it using the exit function.
    As I have never used the exit function before, I was wondering if somebody can help me out with this.
    By the way, I have read the forums and figured out to create a class in se24 and use interface
    IF_RSPFLA_SRVTYPE_IMP_EXE and since I am generating some records , will be using the method IF_RSPLFA_SRVTYPE_IMP_EXEC~INIT_EXECUTE.
         By the way , I read in the forums where there are methods/function modules which can copy data from one aggregation level to another aggregation level.Anyways, can you tell how can I loop thru the records of CCA aggregation level and copy the records to the PCA aggregation level.
    Edited by: nazeer on Feb 22, 2009 12:04 PM

    This thread might help you.
    https://forums.sdn.sap.com/click.jspa?searchID=22634973&messageID=5317176

  • Help reqd for determining header char combination in Manual Planning

    Hi,
    I have created a manual planning layout which has 3 chars in lead col, 5 KF in data col and all remaining chars in the header. Now when I display plan data for this layout at time it displays me records only for one combination of header chars. And so I have hit next combination button to navigate thru remaining records. Is there a way by which I can have all the records with all possible header char combination at once?
    If hit the other combination button and empty all the header fields and then execute it says me no records found for this combination coz then in this case it searches for the records with all the fields blank.
    Thank you,
    sam

    Multiple options:
    1. dependent characteristics (like profit centre / comp code) wont be modelled in the layout. You will have to derive them as chararacteristics relationship. If you wish to keep the dependent characteristics in the layout, then you need to write a exit variable which will populate comp code by reading profit center. Reg cost element, you can have it in loead column. With this setting, if you chose a profit centre in the header and the company code will be populated and for a given profit centre, you cna view the plan data.
    2. Create a report and this is a better approach. You dont need a exit or anything. From report, build a jump to UPSPL for entering plan data.
    Ravi Thothadri

  • Exit Function not writing data to InfoCube

    Hi All,
    I created a planning function where i have defined a exit function. This is just adding 5 KFs and storing that in another KF of the Infocube.
    When I execute that it gives me mesg that 11 records read, 0 of them changed and 0 generated. When i check the contents of the infocube I find nothing being changed.
    Can you please let me know why it is not writing it into infocube. I debugged and find the code in the function module getting executed and it is stopping at the break point but not writing to the infocube.
    An early response is appreciated.
    Tapan
    00 44 7951998123

    The code is given below. let me know if there is something wrong in this.
    FUNCTION Z_BPS_FGE01.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     REFERENCE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     REFERENCE(I_PARAM) TYPE  UPC_Y_PARAM
    *"     REFERENCE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    *"  CHANGING
    *"     REFERENCE(XTH_DATA) TYPE  HASHED TABLE
    This example describes how to add a value to a keyfigure
      DATA:    ls_exitp TYPE upf_ys_exitp.
      DATA:    ls_mesg  TYPE upc_ys_mesg.
      FIELD-SYMBOLS:  <ls_data>  TYPE ANY.
    read first parameter
    if there is no parameter raise error message
      READ TABLE it_exitp INTO ls_exitp INDEX 1.
      IF sy-subrc NE 0.
      problem occured
        ls_mesg-msgty  = 'E'.
        ls_mesg-msgid  = 'upf'.
        ls_mesg-msgno  = '001'.
        ls_mesg-msgv1  = 'Exit-Parameter is missing.'.          "#EC NOTEXT
        APPEND ls_mesg TO et_mesg.
        exit.
      ENDIF.
      LOOP AT xth_data ASSIGNING <ls_data>.
    now <ls_data> points to a line of xth_data and can
    be used to reference each characteristic and/or
    keyfigure contained within.
      in the form 'modify_param_value' you can see how a keyfigure
      can be manipulated.
        PERFORM modify_param_value USING ls_exitp
                                   CHANGING <ls_data>
                                              et_mesg.
      ENDLOOP.
    ENDFUNCTION.
          FORM modify_param_value                                       *
    FORM modify_param_value USING ls_para TYPE upf_ys_exitp
                         CHANGING xs_data TYPE any
                                  lt_mesg TYPE upc_yt_mesg.
      DATA: ls_mesg  TYPE upc_ys_mesg.
      DATA:    lw_target type f.
      FIELD-SYMBOLS: <ZTACSPND> TYPE ANY,
                     <ZPOSFEE>  TYPE ANY,
                     <ZLISTFEE> TYPE ANY,
                     <ZFEAFEE>  TYPE ANY,
                     <ZDISFEE>  TYPE ANY,
                     <ZTOTFIX>  TYPE ANY,
                     <struct>   TYPE ANY.
    <ls_data> and therefore xs_data contains two structures
    1.  S_CHAS : Characteristics
    2.  S_KYFS : key figures
    choose second structure which contains the keyfigures
      ASSIGN COMPONENT 'S_KYFS' OF STRUCTURE xs_data TO <struct>.
    choose the keyfigure
      ASSIGN COMPONENT 'ZTACSPND' OF STRUCTURE <struct>  TO <ZTACSPND>.
      ASSIGN COMPONENT 'ZPOSFEE'  OF STRUCTURE <struct>  TO <ZPOSFEE>.
      ASSIGN COMPONENT 'ZLISTFEE' OF STRUCTURE <struct>  TO <ZLISTFEE>.
      ASSIGN COMPONENT 'ZFEAFEE'  OF STRUCTURE <struct>  TO <ZFEAFEE>.
      ASSIGN COMPONENT 'ZDISFEE'  OF STRUCTURE <struct>  TO <ZDISFEE>.
      ASSIGN COMPONENT 'ZTOTFIX'  OF STRUCTURE <struct>  TO <ZTOTFIX>.
    was the assignment succesful?
      IF sy-subrc = 0.
    now <ratio> points at the first key figure, which can be
    manipulated if you manipulate the field-symbol <ratio>
    ls_para-chavl contains the parametervalue
       <ratio> = <ratio> + ls_para-chavl.
    Sum up all five fixed spend InfoObjects and copy the value into another InfoObject ZTOTFIX,
    If the five InfoObjects are empty (zero) then do not copy any thing into the total fixed spend field.
        clear : lw_target.
        lw_target = <ZTACSPND> + <ZPOSFEE> + <ZLISTFEE> + <ZFEAFEE> + <ZDISFEE>.
        IF lw_target  > 0.
    *break-point.
          <ZTOTFIX> =  <ZTACSPND> + <ZPOSFEE> + <ZLISTFEE> + <ZFEAFEE> + <ZDISFEE>.
        ENDIF.
      ELSE.
      problem occured
        ls_mesg-msgty  = 'E'.
        ls_mesg-msgid  = 'upf'.
        ls_mesg-msgno  = '001'.
        ls_mesg-msgv1  = 'Can not assign component.'.           "#EC NOTEXT
        APPEND ls_mesg TO lt_mesg.
      ENDIF.
    ENDFORM.                    "modify_param_value

  • BPS - possibility of Manual Planning Functions

    Hi guys,
      I need some technical advice. Please advice if this task can be "EASILY" accomplished via BPS Manual Planning Function ?
      My client need to input certain data into BW and generate a report displaying all the below mentioned data into a simple BW query.
      Type of data that need to be inputted manually (key-in) :-
      Market Velocity
      AVG Daily Trading Value
      Mkt CAP of New Listing
      No. of new Listing
      No. of Derivative Instructions
      Please assist soonest possible

    Hi John,
    Should work. If you have an InfoCube (type transactional) with the chars & keyfigs, you could do a manual planning. However, for demo purposes, you could also use transaction RSINPUT for this cube. If you have defined your correct InfoObjects, you have these several options.
    If you want to report on this transactional InfoCube, make sure you include the variable for "most current data" in your BEx report.
    Good luck,
    Laurens.

  • Transfer data from the PO to the invoice header data in MIRO (user exits)

    Hi.
    We are trying to transfer some basic information from the PO to the invoice header data by the time we process the logistic invoice verification (transaction MIRO).
    The information we want to transfer is:
    1.     PO Text (screen field DRSEG-TXZ01) -
    > should be transferred to Header text field (screen field INVFO-SGTXT) located in the tab u2018Basic Datau2019.
    2.     Purchasing Document Number (screen field DRSEG-EBELN) -
    > should be transferred to Assignment field (screen field INVFO-ZUONR) located in tab u2018Detailsu2019.
    The exits we had listed for this tasks are:
    EXIT_SAPLMR1M_002: Change Proposed Account Assignment
    EXIT_SAPLMR1M_003: Pass On Document Header Data
    EXIT_SAPLMR1M_004: Change the Withholding Tax- and Split Table
    EXIT_SAPLMRMP_010: Analyze Document Header and Item Data
    The second one, EXIT_SAPLMR1M_003, should have stopped at by the time we processed the information, but it didnu2019t.
    Iu2019ve heard EXIT_SAPLMRMP_010 would no longer be functional from version 4.6c.
    Users enter the information in MIRO following this chronological order:
    1.Invoice date
    2.Reference
    3.Purchase order number ---> operation which u201Ccallsu201D the PO to the screen.
    4.Amount
    5.Flag u201Ccalculate taxu201D field (if mandatory)
    6.Tax on sales/purchases code (if mandatory)
    And then they post. Thatu2019s all.
    Weu2019ve tried to get this data from the time we u201Ccallu201D the PO to the screen, just to see if we can get it before we saved the document, and we werenu2019t capable of doing it. The second option is to get the data right after we process the document (post it), so weu2019ve reached bapi INVOICE_UPDATE but we cannot locate the exact place to put the references to the dynpro (although, weu2019re not 100% sure if this bapi would solve the problem).
    Thanks in advance.
    Sebastian

    Hi Sunil.
    Function MRM_INVOICE_CHECK doesn't exist in system 4.6c. Also I've searched for it in ECC 5 and I got the same result. Are you sure about the name of the function?
    From the function group MRMC, I found this:
    MRM_BADI_INVOICE_CHECK    
    MRM_DUPLICATE_INVOICE_CHECK
    I haven't still check them. But for what I know, the second one (...DUPLICATE...) processes a control to avoid a double entry of the invoice, I not sure it will work. I'll let you know.
    Thanks for answering.
    Sebas

  • Change Data in BPS Layout: Exit Function

    Hello everyone,
    We are using BW-BPS and we need to make a sort of a certain characteristic in a Planning Folder. In the specific Planning Folder it was defined an exit function and it was assigned a function module.
    We implement the following code:
    FUNCTION Z_ORDENAR_CLASSIFICACAO_PLANO.
    ""Interface local:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     REFERENCE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     REFERENCE(I_PARAM) TYPE  UPC_Y_PARAM
    *"     REFERENCE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    *"  CHANGING
    *"     REFERENCE(XTH_DATA) TYPE  HASHED TABLE
      DATA:
        lr_area TYPE REF TO cl_sem_planarea_attributes,
        wa_hash_table type ref to data,
        l_sortfield type STRING,
        lr_t_data TYPE REF TO data.
      FIELD-SYMBOLS:
        <lt_data> TYPE STANDARD TABLE,
        <ht_head> TYPE ANY TABLE,
        <xth_data> TYPE HASHED TABLE,
        <ls_data> TYPE ANY,
        <wa_data> TYPE ANY,
        <fundo> TYPE ANY,
        <eco> TYPE ANY.
      CALL METHOD cl_sem_planarea_attributes=>get_instance
        EXPORTING
          i_area = i_area
        RECEIVING
          er_instance = lr_area.
      CREATE DATA wa_hash_table LIKE LINE OF xth_data.
      ASSIGN wa_hash_table->* TO <ht_head>.
      <ht_head> = xth_data.
      LOOP AT <ht_head> ASSIGNING <ls_data>.
    This is the characteristic that we pretend to sort
        l_sortfield = 'S_CHAS-0CMMT_ITEM'.
        SORT <ht_head>
          BY (l_sortfield) DESCENDING.
      ENDLOOP.
      <xth_data> = <ht_head>.
      UNASSIGN: <ls_data>, <ht_head>.
    ENDFUNCTION.
    When execute this function, we get a DUMP (ASSIGN_TYPE_CONFLICT). Does anybody have any suggestion how to change a hash table or somehow make a sort in this hash table?
    Thanks in advance.
    Ilda

    Hi,
    After some changes in the code, it seems that xth_data table is assuming the “new content”. In debugging, we could see that the assignment was made and xth_data records are now in a different order. But when executing the BPS Layout assigned to this planning function, all the lines (records) still in the same place. The Layout doesn’t change.
    This is the code:
    FUNCTION Z_ORDENAR_CLASSIFICACAO_PLANO.
    ""Interface local:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     REFERENCE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     REFERENCE(I_PARAM) TYPE  UPC_Y_PARAM
    *"     REFERENCE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    *"  CHANGING
    *"     REFERENCE(XTH_DATA) TYPE  HASHED TABLE
      DATA:
      lr_area TYPE REF TO cl_sem_planarea_attributes,
      l_sortfield type STRING,
      data_ref TYPE REF TO data,
      lr_t_data TYPE REF TO data.
      FIELD-SYMBOLS:
      <lt_data> TYPE ANY TABLE,
      <ls_data> TYPE ANY,
      <ls_data_copy> TYPE ANY.
      CALL METHOD cl_sem_planarea_attributes=>get_instance
        EXPORTING
          i_area      = i_area
        RECEIVING
          er_instance = lr_area.
      CREATE DATA lr_t_data TYPE (lr_area->typename_t_data).
      ASSIGN lr_t_data->* TO <lt_data>.
      <lt_data> = xth_data.
      CLEAR xth_data.
      l_sortfield = 'S_CHAS-0CMMT_ITEM'.
      SORT <lt_data> BY (l_sortfield) DESCENDING.
      MOVE <lt_data> TO xth_data.
    ENDFUNCTION.
    Does anybody understand this behavior, why the changes in the user-exit are not assumed in the BPS Layout?
    Thanks,
    Ilda

  • To find a user exit which update the Invoice header data

    Hi,
    I need a user exit which will update the invoice header data. For eg I need to update the fields RBKP_V-ESRNR and RBKP_V-ESRRE in table RBKP_V. I was using this user exit EXIT_SAPLMRMP_010 (Program ZXM08U16).But this is not working fine as this has no exporting parameter nor tables of structure RBKP_V.
    I need for transaction MIRO.
    Kindly help ...
    Points will be rewarded
    Thanks in advance

    Hi jayasree,
    with the help of the below given program you can find out the requried user exit by giving the T code (MIRO).
    *& Report Z_USEREXIT_DISPLAY *
    Title : Display UserExits *
    Transport Request No : *
    Modification Log *
    ModNo Date Consultant Description of Change(s) *
    REPORT z_userexit_temp
    NO STANDARD PAGE HEADING
    LINE-SIZE 200
    MESSAGE-ID zz.
    T A B L E D E C L A R A T I O N S *
    TABLES: tftit,
    e071,
    e070.
    S T R U C T U R E D E C L A R A T I O N S *
    TYPES: BEGIN OF x_tstc,
    tcode TYPE tcode,
    pgmna TYPE program_id,
    END OF x_tstc.
    TYPES: BEGIN OF x_tadir,
    obj_name TYPE sobj_name,
    devclass TYPE devclass,
    END OF x_tadir.
    TYPES: BEGIN OF x_slog,
    obj_name TYPE sobj_name,
    END OF x_slog.
    TYPES: BEGIN OF x_final,
    name TYPE smodname,
    member TYPE modmember,
    include(15), "Include name
    END OF x_final.
    I N T E R N A L T A B L E D E C L A R A T I O N S *
    DATA: it_tstc TYPE STANDARD TABLE OF x_tstc WITH HEADER LINE.
    DATA: it_tadir TYPE STANDARD TABLE OF x_tadir WITH HEADER LINE.
    DATA: it_jtab TYPE STANDARD TABLE OF x_slog WITH HEADER LINE.
    DATA: it_final TYPE STANDARD TABLE OF x_final WITH HEADER LINE.
    V A R I A B L E S D E C L A R A T I O N S *
    U S E R I N P U T S S C R E E N *
    S E L E C T I O N S C R E E N *
    SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
    PARAMETERS: p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blk01.
    S t a r t o f S e l e c t i o n *
    START-OF-SELECTION.
    PERFORM get_tcodes. "Get Tcodes
    PERFORM get_objects. "Get Objects
    E n d o f S e l e c t i o n *
    END-OF-SELECTION.
    PERFORM display_results. "Display Results
    *& Form get_tcodes
    Get Tcodes
    FORM get_tcodes.
    SELECT tcode
    pgmna
    INTO TABLE it_tstc
    FROM tstc
    WHERE tcode = p_tcode.
    IF sy-subrc = 0.
    SORT it_tstc BY tcode.
    ENDIF.
    ENDFORM. " get_tcodes
    *& Form get_objects
    Get Objects
    FORM get_objects.
    DATA: l_fname LIKE rs38l-name,
    l_group LIKE rs38l-area,
    l_include LIKE rs38l-include,
    l_namespace LIKE rs38l-namespace,
    l_str_area LIKE rs38l-str_area.
    DATA: v_include LIKE rodiobj-iobjnm.
    DATA: e_t_include TYPE STANDARD TABLE OF abapsource WITH HEADER LINE.
    DATA: l_line TYPE string,
    l_tabix LIKE sy-tabix.
    IF NOT it_tstc[] IS INITIAL.
    SELECT obj_name
    devclass
    INTO TABLE it_tadir
    FROM tadir FOR ALL ENTRIES IN it_tstc
    WHERE pgmid = 'R3TR' AND
    object = 'PROG' AND
    obj_name = it_tstc-pgmna.
    IF sy-subrc = 0.
    SORT it_tadir BY obj_name devclass.
    SELECT obj_name
    INTO TABLE it_jtab
    FROM tadir FOR ALL ENTRIES IN it_tadir
    WHERE pgmid = 'R3TR' AND
    object = 'SMOD' AND
    devclass = it_tadir-devclass.
    IF sy-subrc = 0.
    SORT it_jtab BY obj_name.
    ENDIF.
    ENDIF.
    ENDIF.
    *- Get UserExit names
    LOOP AT it_jtab.
    SELECT name
    member
    INTO (it_final-name, it_final-member)
    FROM modsap
    WHERE name = it_jtab-obj_name AND
    typ = 'E'.
    APPEND it_final.
    CLEAR it_final.
    ENDSELECT.
    ENDLOOP.
    *- Process it_final contents.
    LOOP AT it_final.
    l_tabix = sy-tabix.
    CLEAR: l_fname,
    l_group,
    l_include,
    l_namespace,
    l_str_area.
    l_fname = it_final-member.
    CALL FUNCTION 'FUNCTION_EXISTS'
    EXPORTING
    funcname = l_fname
    IMPORTING
    group = l_group
    include = l_include
    namespace = l_namespace
    str_area = l_str_area
    EXCEPTIONS
    function_not_exist = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    IF NOT l_include IS INITIAL.
    *- Get Source code of include.
    CLEAR: v_include, e_t_include, e_t_include[].
    v_include = l_include.
    CALL FUNCTION 'MU_INCLUDE_GET'
    EXPORTING
    i_include = v_include
    TABLES
    e_t_include = e_t_include.
    IF sy-subrc = 0.
    LOOP AT e_t_include.
    IF e_t_include-line CS 'INCLUDE'.
    CLEAR l_line.
    l_line = e_t_include-line.
    CONDENSE l_line NO-GAPS.
    TRANSLATE l_line USING '. '.
    l_line = l_line+7(9).
    it_final-include = l_line.
    MODIFY it_final INDEX l_tabix TRANSPORTING include.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP.
    ENDFORM. " get_objects
    *& Form display_results
    Display Results
    FORM display_results.
    FORMAT COLOR COL_HEADING.
    WRITE:/1(150) sy-uline.
    WRITE:/ sy-vline,
    2(23) 'Extension Name',
    24 sy-vline,
    25(39) 'Exit Name',
    64 sy-vline,
    65(74) 'Description',
    140 sy-vline,
    141(9) 'Include',
    150 sy-vline.
    WRITE:/1(150) sy-uline.
    FORMAT RESET.
    SORT it_final BY name member.
    LOOP AT it_final.
    CLEAR tftit.
    SELECT SINGLE stext
    INTO tftit-stext
    FROM tftit
    WHERE spras = 'EN' AND
    funcname = it_final-member.
    WRITE:/ sy-vline,
    it_final-name COLOR COL_KEY, 24 sy-vline,
    25 it_final-member, 64 sy-vline,
    65 tftit-stext, 140 sy-vline,
    141 it_final-include, 150 sy-vline.
    WRITE:/1(150) sy-uline.
    ENDLOOP.
    Regards
    Srinivas

  • User exit for billing to change vbrk header data  on SAVE

    Hi
          I need to change vbrk header data on save in vf01
          transaction, can some one send me the user exit,
          also code if possible.
          I have tried out RV60AFZZ it is entering the exit
          but if i modify vbrk fields it does not get
          reflected.
    Thanks & Regards
    Abhimanyu.L

    Have a look in include RV60AFZC
    => maybe you can use form USEREXIT_FILL_VBRK_VBRP.

  • User Exit for changing Zterm while copying header data from VA01 to VF01

    H i All,
    I have a requirement where I need to copy sales order header data to invoice header data (VA01 to VF01). The field of interest to me is Payment terms(zterm). In case the customer belongs to a particular condition type grp then I have to modify the zterm in invoice header.
    Kindly let me know which user exit I can make use of.

    Hi,
    Check Exit V46H0001  SD Customer functions for resource-related billing
    Also check BADI:
    BADI_SD_V46H0001  -  SD Customer functions for resource-related billing
    Method: EXIT_SAPLV46H_003 Customer Function when Creating/Changing Header

  • Difference b/w manual planning,& planninf functions

    Hi,
    In BW BPS when we have to got for manula planning & when we have to use the planning functions

    hi
    we can go for manual planning when the plan data to be entered is less.
    Next if we wont find any suitable planning function for our requirement then we can go for manual planning.
    We go for planning functions: if the volume of data is very large and very difficult to enter manually. If it consists of different mathamatical  calculations which can be defined and can be incorporated as predefined planning function or FOX.
    Tx
    srin

Maybe you are looking for

  • Problem with imessage "non distribué"

    hello I have a probleme with imessage,when i send a message it says "non distribué"

  • Moving Scriptlet Code to backing bean when converting from JSP - Facelets

    Hello! We are converting our application from jsf1.2 to 2.0 and all jsps are being converted to XHTML. Some are trivial while others had very complex scriptlets. I would like to know what are some of the recommended ways of moving Scriptlet Code to b

  • Map in Flash

    I have asked some Flash designer to make for me a kind od map, on which some city names are placed. These names are put from a databse (MySQL). The application is working but some corrections are needed. Unfortunately I cannot ask my Friend to comple

  • Smart form Output error

    Hi, I am using a standard smart form to get the sales invoice but when I execute transaction  VA01 and some order number and see issue output to print preview then this error is coming " system message 047 from workarea SSFCOMPOSER does not exist." W

  • Citadel database to store constants?

    can i use citadel database to store constants? normally use citadel to store trends of any variable (and work fine), but if i need store a constant value, for example the result of a test (user name, erorr, etc...).    i can do it using memory tags,