Include for Exit Function

Gurus,
I deleted an include program (ZX45WU01) that I thought I could recreate myself for function module EXIT_SAPLV45W_001. Recreating this is not working. Using SE38 says I can't create the include because it is a reserved name. If I create the include from the function module I can't add it to the same package (VA) which I figured we would want it to be a part of. Any ideas? Any way to undelete the program? It has not been transported.
The reason I deleted it is because the previous version didn't seem to work. When we set a break point (either hard-coded or not) it wouldn't go through the program.
Any ideas on these issues would be appreciated.
Thanks in advance!

John,
If the program has to fire the include / user exit you need to create the project using CMOD and activate the same.
You should not delete the include rather double click and use the same include. You should save that to the customer package and transport it as you will not have access to save anything to SAP delivered packages.
Try to create the include again and the message that you are getting should only be a warning, just hit ENTER and you should be able to proceed further.
Regards,
Ravi
Note : Please mark the helpful answers

Similar Messages

  • Program name zxvau02 are reserved for includes of exit function group

    i am facing a problem during user exit.
    when i am trying to change the code in function module (va01) in include zxvvau02
    an error is occurred 'program name zxvau02 are reserved for includes of exit function group'
    so i could not edit the include program.

    Hi,
    1. Find the appropriate Enhancement.
    2. Enter the ABAP code in the "Z" program within the function module.
    3. Create a project.
    4. Add the Enhancement to the project.
    5. Activate the project.
    At the step (2), when I double click on the Include ZX* within source code of the function module to realize the exit, the
    system would prompt to create the include. But NO, it always prompt that the name of include is reserved by SAP and I
    cannot create it... I entered an access key for the object ...

  • ZX... are reserved for includes of exit function groups

    Hello SAPians,
    For implementing  screen exit ,  I tried to modify the following include .
    It throws the warnig saying :
    Program names ZX... are reserved for includes of exit function groups
    Can u tell the way to make it editable
    I appreciate ur idea
    Thanks
    Santhosh

    It is just warning...
    Press Enter to move ahead of the warning.
    This comes when you try to implmenet the include of the user exit very first time.
    Regards,
    Naimesh Patel

  • Program names ZX... are reserved for includes of exit function groups means

    dear all,
    i am doing the enhacement  SRVESSR   for  EXIT_SAPLMLSR_010  in this exit  i got include, when i double click on the ZXMLUU19
    i am getting the  following error.
    Program names ZX... are reserved for includes of exit function groups
    regrds.
    shashi

    Hi,
    When the warning message is displayed press enter key, System will prompt the message "Include ZXMLUU19 does not exist. Create Object? ". Select Yes option. Include will be created.
    Regards
    Vinod

  • Program names ZX... are reserved for includes of exit function groups

    Hi
    I'm trying an enhancement example out of a SAP \ ALE | EDI book.  I get the above error after performing the following steps :-
    1  Via CMOD create an enhancement project.
    2  Assign enhancement VSV00001 to the project.
    3  Display components & select component EXIT_SAPLVV01_001.
    4.  Double click the include ZXVSVU01 which will then create it.
    When double clicking I get the error in the subject.
    Any ideas ?

    Hi
    That should be only warning: the system are saying to you you're creating an abap object reserved for enhancement, but it's what you have to do.
    The system can't know you want to create an include for an exit, because you're in abap editor while doing the doubleclick.
    So you can go on.
    Max
    Message was edited by: max bianchi

  • Error in creating include for the user exit "EXIT_SAPMP56T_002"

    Hi,
    "treat it as high priority"
    when i db click on the include i am got the follwing error message :-
    Program names ZX... are reserved for includes of exit function groups
    Message no. DS027
    Diagnosis
    You attempted to create a program name beginning with ZX but this name range is reserved only for includes of exit function groups (function groups containing only function exits).
    If you want to create a program ZXaaabbb, note the following for program type I (Include).
    1. The program is an include of the function group Xaaa:
    In this case, the INCLUDE ZXaaabbb statement should not be inserted in the main program SAPLXaaa, but in the program ZXaaaZZZ .
    2. The program is not an include of the function group Xaaa:
    Since the syntax check for includes of this name range searches for the global data in the program LXaaaTOP (not ZXaaaTOP), you may not be able to check the include in isolation (--> check main program).
    Procedure
    Choose a different program name.
    cld u please help me out how to further proceed...
    awaiting for u r replies...
    apprecitaed with points...
    regards,
    ravi ganji

    Hello,
    1)That is not Error msg it is just warning - first db click then press enter if there is any msg again press enter off course all these things will happen only your user exit Active.
    2)see the import,export and changing parameters if you are new to user exit let us know which user exit you are trying to use.
    **********Poorna*********

  • Activating Include Program in Exit Function EXIT_SAPLAAPM_002

    Hi,
    Thed System does not allow me to create/activate the Include Program ZXAAPMU02. I am getting message : Program names ZX... are reserved for includes of exit function groups. Can you please help me?
    Appreciate Your Help.
    Thanks,
    Kannan

    hi Kannan,
    when you get this message, just press enter. System will ask if it should create ... just say yes and you can create the exit code.
    hope this helps
    ec

  • Not able to access the include in exit

    Hi ,
    I have to work on a user exit, I created project, activated component but when I am trying to go into the include of the FM it is giving me error 'Program names ZX... are reserved for includes of exit function groups'
    and I can't go into that...when I am going to chage mode it is asking for developer code...
    any idea??
    Regards.
    Kusum.

    thanx Himanshu . such a small step missing
    actually its in APO so just looking forward to have access key then I think it will work.
    Regards.
    Kusum.

  • How to change Function Group for a function already exists - Urgent

    Hi,
        One field exit is there, with some local function group name. Now i need to transport that field exit into quality. so i saved field exit into one package and i created one more func grp with new naming convention. now my problem is field exit is not allowing to change the func grp name there. it is in non-editable mode. what should i do, to change that. Can anyone help me...Urgent.
    Thanks in Advance.
    Siva Sankar.

    As I understand, you want to change a SAP function module into a Z function group, that's not allowed.
    Even if you have to change any function from one function group to another, you have to copy it (taking care of global code in the TOP include for the function group), delete it from the original group and create it into the new.
    Function groups are a kind of container programs and each Function module is a component of them, not the other way.
    Regards.
    Please reward points if helpful.

  • How to write exit functions

    Hi
    i have to write exit functions in bps.can any body tell me how these are to be written.please explain the structure and flow of exit functions.please explain me in detail if posiible give me some links for exit functions.
    thanks and regards,
    sekhar reddy

    Hi Sekhar,
    Go through the below links
    Re: user exit
    https://websmp104.sap-ag.de/~sapidb/011000358700005475091999
    https://websmp104.sap-ag.de/~sapidb/011000358700005475101999
    Hope it helps
    Regards

  • What's the init within the exit function?

    Dear All,
    Could you help me to explain me regarding the init within exit function?
    I have read already in it's sample: UPFX but i still don't understand :(. And i also read from the documentation, but still don't get the meaning .
    Could anybody help me what's the purpose for this init function? Do you have some document explaining for init for exit function ??
    Really need your help..
    Regards,
    Niel .

    Dear Bindu,
    Thanks an abundant for your help ..
    I got your points.
    In your preceding posting, the init function has these objectives:
    Purpose of init is that if we dont have any record as per the level selections, init function generates dummy records, and the exit function will be executed. If init is not there, if there are no exitsting records, exit function wont run at all.
    Actually i still don't understand ,
    If you don't mind, could you kindly clear up me again about this ??
    Perhaps, you could deliver the sample code :p.
    And ..
    Could init function get the xth_data values ??
    / modify xth_data values ??
    Still need your helps ..
    Tks a lot
    Bindu ..

  • Can we add the standard includes inside a function exit.

    Hi,
    Can we add the standard includes inside a function exit.
    I want to add 4 to 5 standard includes. If iam adding it it says report or program already exists.
    Can anyone tell me is it possible or we can modify the only the data which is coming to that function module .
    Please help me on this.
    Thanks,
    Rose.

    hi santhosh,
      The data needed for those includes are also exist in the funtion module exit. I want to add those includes and in one include just i want to add some 10 to 15 lines of code. Is it possible.
    If i include all those includes inside the function exit it says report or program name already exists. When i double clicked on the error it takes me to a line in 1 include which has function-pool statement.
    How can i eradicate this error.
    Can u please help me on this.

  • User Exit for MQC functionality

    Hi All,
    Can anybody suggest if some user exits are available for MQC functionality?
    regards,
    Mohit Goyal

    Hy,
    Program is  LCOMLF01 - Calling up Material Quantity Calculation
    XCOM0001 - User exit: Material quantity calculation
    Function Module is EXIT_SAPLCOML_001
    INCLUDE ZXCOMU01
    Regards,
    Dhaval

  • How to insert a code for a function module into a Customer Exit Variable?

    I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
    I need to get data in the column LW (Last Week) for both the key figures.
    In function module EXIT_SAPLRRS0_001 one of the functions I have is:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    I need to create a new variable to get values in the Last week column for different key figures and use function “'DATE_TO_PERIOD_CONVERT'” in that variable.
    Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
    In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
    Thank you.
    TR.

    Hi Wond,
    Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                EXPORTING
                  i_date         = ld_date
                  i_periv        = lc_periv
                IMPORTING
                  e_buper        = ln_poper
                  e_gjahr        = ln_bdatj
                EXCEPTIONS
                  input_false    = 1
                  t009_notfound  = 2
                  t009b_notfound = 3
                  OTHERS         = 4.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ELSE.
                lc_poper = ln_poper.
                CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
                wa_e_t_range-sign = 'I'.
                wa_e_t_range-opt = 'EQ'.
                APPEND wa_e_t_range TO e_t_range.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
    I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
    Thank you.
    Regards,
    TR.

  • Creating Includes for Function Modules

    Hi Experts,
    Can you please let me know how to create includes for function modules.
    I came across this in a standard include program, which was generated by a function library. The includes inside this program where linked to the function modules (when I double clicked on them).
    Please let me know how to create it.
    Thanks in advance !
    Regards,
    Anand Patil.

    Hi,
    have a look at the code for better understanding
    Declaration of Workareas                                             *
      DATA: lwa_e1bp2017_gm_item_create TYPE e1bp2017_gm_item_create,
            lwa_data         TYPE edidd, " Work area for IDOC
            lwa_control      TYPE edidc. " Work Area for control rec
    Read the control data information of idoc.
      loop at idoc_contrl INTO lwa_control Where mestyp = lc_mbgmcr.
    Extract the data from the segments.
        LOOP AT idoc_data INTO lwa_data
        WHERE docnum = lwa_control-docnum and
              segnam = lc_item_create.
    *->> Set the tabix of the internal table
          lv_index = sy-tabix.
    Move the Material Document Item Segment data
          MOVE lwa_data-sdata TO lwa_e1bp2017_gm_item_create.
    Modify the material document item data  internal table
          PERFORM sub_modify_idocdata changing lwa_e1bp2017_gm_item_create.
    *->> set the changed values to the IDOC SDATA
          MOVE  lwa_e1bp2017_gm_item_create TO lwa_data-sdata.
    *->> Modify the table
          MODIFY idoc_data FROM lwa_data index lv_index.
    Clear the Work areas
          CLEAR : lwa_data,
                  lwa_e1bp2017_gm_item_create.
        ENDLOOP.                                     "LOOP AT t_idoc_data
    Call the BAPI function module to create the
    appropriate Material Document
        CALL FUNCTION 'BAPI_IDOC_INPUT1'
          EXPORTING
            input_method          = input_method
            mass_processing       = mass_processing
          IMPORTING
            workflow_result       = workflow_result
            application_variable  = application_variable
            in_update_task        = in_update_task
            call_transaction_done = call_transaction_done
          TABLES
            idoc_contrl           = idoc_contrl
            idoc_data             = idoc_data
            idoc_status           = idoc_status
            return_variables      = return_variables
            serialization_info    = serialization_info
          EXCEPTIONS
            wrong_function_called = 1
            OTHERS                = 2.
        IF sy-subrc = 1.
          RAISE wrong_function_called.
        ENDIF.
      endloop.
    ENDFUNCTION.
    here when we write the statment
    PERFORM sub_modify_idocdata changing lwa_e1bp2017_gm_item_create and double click on sub_modify_idocdata .
    it will create a include with the name "LZDTSINT052F_GPOMS_GMF01 ".
    now we can write the FORM ..END FORM In this inculde.like this.
    ***INCLUDE LZDTSINT052F_GPOMS_GMF01 .
    *&      Form  sub_modify_idocdata
    Modify the material document item data  internal table
    FORM sub_modify_idocdata
    CHANGING pwa_e1bp2017_gm_item_create TYPE e1bp2017_gm_item_create.
    contant declaration
      CONSTANTS: lc_261(3) TYPE c VALUE '261'.
      DATA : lv_aplzl LIKE resb-aplzl,
             lv_aufpl LIKE resb-aufpl,
             lv_subrc LIKE sy-subrc,
             lv_charg LIKE resb-charg,
             lv_uom LIKE pwa_e1bp2017_gm_item_create-entry_uom.
      CLEAR: pwa_e1bp2017_gm_item_create-reserv_no,
             pwa_e1bp2017_gm_item_create-res_item.
    *->> Get SAP storage bin & Storage type from the Z table
      SELECT lgtyp lgpla
        INTO (pwa_e1bp2017_gm_item_create-stge_type,
              pwa_e1bp2017_gm_item_create-stge_bin)
         UP TO 1 ROWS
        FROM zdtsint050_sttyp
         WHERE zstorage_typ = pwa_e1bp2017_gm_item_create-stge_type
          AND  zstorage_bin = pwa_e1bp2017_gm_item_create-stge_bin.
      ENDSELECT.
      IF sy-subrc NE 0.
        CLEAR: pwa_e1bp2017_gm_item_create-stge_type,
               pwa_e1bp2017_gm_item_create-stge_bin.
      ENDIF.
      PERFORM get_oper CHANGING pwa_e1bp2017_gm_item_create.
    Get the Reservation number and Reservation item number
    basing on the idoc data.
      SELECT rspos werks lgort
             INTO (pwa_e1bp2017_gm_item_create-res_item,
                  pwa_e1bp2017_gm_item_create-plant,
                     pwa_e1bp2017_gm_item_create-stge_loc)
             FROM resb
             UP TO 1 ROWS
             WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no
             AND   matnr = pwa_e1bp2017_gm_item_create-material
             AND   charg = pwa_e1bp2017_gm_item_create-batch
             AND   aufnr = pwa_e1bp2017_gm_item_create-orderid
             AND   vornr = pwa_e1bp2017_gm_item_create-activity
             AND   bwart = lc_261.
      ENDSELECT.
      IF sy-subrc <> 0.
    Start of insertion for R31K993797
        CLEAR lv_charg.
        SELECT rspos werks lgort
             INTO (pwa_e1bp2017_gm_item_create-res_item,
                  pwa_e1bp2017_gm_item_create-plant,
                     pwa_e1bp2017_gm_item_create-stge_loc)
             FROM resb
             UP TO 1 ROWS
             WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no
             AND   matnr = pwa_e1bp2017_gm_item_create-material
             AND   charg = lv_charg
             AND   aufnr = pwa_e1bp2017_gm_item_create-orderid
             AND   vornr = pwa_e1bp2017_gm_item_create-activity
             AND   ( splkz = 'X' or
                     splkz = space )
             AND   bwart = lc_261.
        ENDSELECT.
        IF sy-subrc <> 0.
    End of insertion for R31K993797
          SELECT SINGLE werks lgort
                INTO (pwa_e1bp2017_gm_item_create-plant,
                       pwa_e1bp2017_gm_item_create-stge_loc)
                FROM resb
                WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no.
          CLEAR : pwa_e1bp2017_gm_item_create-reserv_no,
                  pwa_e1bp2017_gm_item_create-res_item.
        ENDIF.
      ENDIF.
    get SAP UOM
      SELECT SINGLE zsap_uom
                    INTO lv_uom
                    FROM zca_uom_conv
                    WHERE zext_uom = pwa_e1bp2017_gm_item_create-entry_uom.
      IF sy-subrc = 0.
        pwa_e1bp2017_gm_item_create-entry_uom = lv_uom.
      ENDIF.
    ENDFORM.                    " sub_modify_idocdata
    *&      Form  get_oper
         Get the operation
         <--P_PWA_E1BP2017_GM_ITEM_CREATE_RE  Segment
    FORM get_oper  CHANGING p_pwa_e1bp2017_gm_item_create TYPE
                   e1bp2017_gm_item_create.
      DATA : l_aufpl LIKE afko-aufpl,
             l_aplzl LIKE afvc-aplzl.
      REFRESH : i_op.
      UNPACK p_pwa_e1bp2017_gm_item_create-orderid TO
             p_pwa_e1bp2017_gm_item_create-orderid.
    Get the reservation and routing number for the order
      SELECT SINGLE
             rsnum
             aufpl
             FROM afko
             INTO (p_pwa_e1bp2017_gm_item_create-reserv_no,
                   l_aufpl)
             WHERE aufnr = p_pwa_e1bp2017_gm_item_create-orderid.
      IF sy-subrc = 0.
        CALL FUNCTION 'CONVERSION_EXIT_NUMCV_INPUT'
          EXPORTING
            input  = p_pwa_e1bp2017_gm_item_create-activity
          IMPORTING
            output = p_pwa_e1bp2017_gm_item_create-activity.
      ENDIF.
    ENDFORM.                    " get_oper
    Regards,
    nagaraj

Maybe you are looking for

  • Complex problems synching with Tiger 1.4.3 upgrade

    After finally getting the courage to upgrade to Tiger on my iMac G4, I do have problems synching. I have a Zire 21 Palm. Nothing worked so I upgraded the Palm Desktop Software to 4.2.1 as required. Went to HotSync Conduit settings and enabled HotSync

  • GR55 Description issue

    Hello Gurus, I am trying to execute GR55 with a group of profit centers. In report output some times i am not getting description of profitcenter and with same user id and password and on same machine i am getting with proper description. This issue

  • Why not to Join Fatc to fact tables in OBIEE... What is the Logical Reason

    Why not to Join Fatc to fact tables in OBIEE... What is the Logical Reason Thanks in advance V

  • Right click menu doesn't work

    (This issue has been ongoing for several versions now. I've uninstalled and reinstalled, and tried safe mode.) The right click menu, '''within the menu bar drop down menus''', disappears as soon as I move the mouse. Making it impossible to select any

  • Extract Oracle Parameters in Solaris Environment

    Hi, i have a requirements to write a program that will discover some of the oracle parameters. they are SID, ORACLE_HOME, Listener Port in any machine. i managed to get the oracle_home from /var/opt/oracle/oratab, SID from this command ps -fu oracle|