Problem in z include in function exit

hi to all sdners,
                        in  a function exit exit_sapmf02d_001 when im trying a write a code in   z include im getting a information message that is used for customer function,therfore unable to write the code in it.please help me out

Hi,
Please try this.
1. Go to transaction CMOD.
2. Enter custom project name starting with Z* (follow your company naming convention) and click on create button.
3. Enter description and click on save button.
4. Click on enhancement assignment button and assign enhancement SAPMF02D (User exits: Customer master data) and click on components button
5.  Double click on EXIT_SAPMF02D_001 and double click on INCLUDE ZXF04U01.
6.  Press enter to skip a warning message ... now you should be able to add your logic/codes.
Regards,
Ferry Lianto

Similar Messages

  • Facing Problem in XD01 Function Exit

    Hi,
    I am facing the problem in XD01 Function Exit EXIT_SAPMF02D_001. whenenver i am going active the include ZXF04U01, it is always creating the Local change request. But It is should be Transportable change request. That is why, the Basic people is enabled to transport the request into Production Server.
    So, How can i make the transportable change request for the same.
    kindly suggest me the solution for this problem.

    Thank for replying,
    My problem is not related to Local Object.
    Function Exit was already lying in project. Problem occurs while activing the function exit. It gives the request number ( Local changes request number) but the Basis person enable to see the request number in his screen.
    So, how should i make local change request to transportable change request.

  • How to use the variables of Function exit in the include program

    i have a problem of using the variables of a function exit in the include program..
    If i use those variables there will be an error indicating 'Field FEBVW_IN is unknown. It is neither in one of the specified tables nor defined by a DATA statement'. Please help... Below is the code of the function exit:
    FUNCTION EXIT_SAPLIEDP_202.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IDOC_CONTROL_INDEX)
    *"     VALUE(IDOC_DATA_INDEX)
    *"     VALUE(FEBVW_IN) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_IN) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_IN) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_IN) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_IN) LIKE  FEBPI STRUCTURE  FEBPI
    *"  EXPORTING
    *"     VALUE(I_FIMSG) LIKE  FIMSG STRUCTURE  FIMSG
    *"     VALUE(FEBVW_OUT) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_OUT) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_OUT) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_OUT) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_OUT) LIKE  FEBPI STRUCTURE  FEBPI
    *"  TABLES
    *"      IDOC_CONTROL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_AVIP STRUCTURE  AVIP OPTIONAL
    *"      IDOC_AVIR STRUCTURE  AVIR OPTIONAL
    *"      IDOC_AVIT STRUCTURE  AVIT OPTIONAL
    *"  CHANGING
    *"     REFERENCE(IDOC_AVIK) TYPE  AVIK OPTIONAL
    *"  EXCEPTIONS
    *"      PROC_ERROR
      INCLUDE ZXF08U10.
    Here is the code for the include program.
      INCLUDE ZXF08U10
    MOVE febvw_in TO febvw_out.

    Sometimes you will get this error message when checking include code in exits even though there is really no error - it happens because the include does not realise it is in the function due to the navigation index being out of date.
    Try activating the code - it may work even though the check said there were errors.
    You can also get this issue when trying to drill down on the field in the include to view its structure.
    Andrew

  • Problem in creating include program for customer exit for BC425_01

    Hi,
         I want to write a customer exit for transaction BC425_01. For identifying the include program for exit , i go to System->Status.There I double click on the program name(GUI).Then I perform a 'FIND' in main program for 'customer-function' keyword. I get 3 search results with "CALL CUSTOMER-FUNCTION '001' " , "CALL CUSTOMER-FUNCTION '002' " , "CALL CUSTOMER-FUNCTION '003' ".
    Now i double click on CALL CUSTOMER-FUNCTION '001'  and i am taken to the code of program where this function is called in MODULE cust_check INPUT. I double click on CALL CUSTOMER-FUNCTION '001'  and then I am taken to the function module code which contains a single statement 'INCLUDE ZXBC425G01U01 .' .
    Now I double click on this include program so that I can write my own code. But when i double click on it , a message displayed 'Program names ZX.. are reserved for includes of exit function groups'. Hence I am not able to creates this include program and write my coding.
    Kindly Help
    THANKS

    Hi Amber,
    Then you click enter button.It is asking to create object with that include name ZXBC425G01U01 in a pop-up.You  should select YES option.It will ask package . Give the package name and save.Then include program is created and allowed you to write your own code.
    Thanks,
    Prasad GVK.

  • 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.

  • Activating only one function-exit in a multiple function-exit in CMOD

    Dear All,
    I am using customer-exit for doing validation in PO during saving. I am using EXIT EXIT_SAPMM06E_012 under enhancement
    MM06E005. The code is working fine. The problem is that when I am activating the screen all the components under that enhancements are getting activated. There are 10 function-exits, 6 screen-exits and 2 incude tables. I have not  added any new screen or done custom include. I only want to activate EXIT_SAPMM06E_012, rest I want to deactivate. It is giving a dump in production server when we are trying to create a contract as it is looking for a screen 0211 which we have not created.
    Regards
    D. Mallick

    am using customer-exit for doing validation in PO during saving. I am using EXIT EXIT_SAPMM06E_012 under enhancement
    MM06E005. The code is working fine. The problem is that when I am activating the screen all the components under that enhancements are getting activated. There are 10 function-exits, 6 screen-exits and 2 incude tables. I have not added any new screen or done custom include. I only want to activate EXIT_SAPMM06E_012, rest I want to deactivate. It is giving a dump in production server when we are trying to create a contract as it is looking for a screen 0211 which we have not created.
    HI ,
    You can activate only one function exit EXIT_SAPMM06E_012, But you must and should create below empty screen and active Using SE51.
    SAPLXM06                       0101
    SAPLXM06                       0111
    SAPLXM06                       0201
    SAPLXM06                       0211
    SAPLXM06                       0301
    SAPLXM06                       0311
    Thanks & Regards
    Sudheer Madisetty

  • FORM Vs FUNCTION EXITS

    Hi folks
    I am a little confused on FORM & FUNCTION EXITS...can anyone provide me what exactly is the differnce between these two. How we go about using these two in various scenarioes.
    Thanks in advance.
    Regards
    Ram

    hi
    <b>FORM EXITS</b>
      Form exits/Userxits allow us to add our own functionality to SAP standard program
    without  modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
        All Userexits start with the word USEREXIT_...
    FORM USEREXIT_..
    z..
    ENDFORM.
    The problem lies in finding the correct userexit and how to find it if one exists for the purpose. Once the correct userexit is found the necessary
    customer code is inserted in the customer include starting with the z..
    <b>FUNCTION EXITS</b>
    These are used to add functionality through ABAP code . These start from the word EXIT_programname_NNN ending in a 3 digit number. No access code is required to implement any tupe of exit including function exits.
    The function exits are called from the standard SAP program in the form
    of ABAP statement
    CALL CUSTOMER-FUNCTION 'NNN'
    This is in contrast to USEREXITs where PERFORM statement is used to call
    the required userexit.
    To implement the FUNCTION EXITs first of all the project is created and a suitable enhancement package is selected and from its compnents
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>
    Message was edited by:
            ravish goyal

  • Functional exit - EXIT_SAPLKOBS_001 not being called

    Hi all
    I am trying to include a code in the functional exit EXIT_SAPLKOBS_001 using enhancement COOM0003.  I double clicked on the include function of ZXKOBSU01 & did some coding.  I put a break point on the first line of m y code but when I do the internal order creation transaction KO01, it does not seem to call the user exit.  Am I doing something wrong or am I suuposed to have access to something in particular....
    The same thing happened when I tried to write some coding into the EXIT_RFEBLB20_001 functional exit & when I imported a lockbox file it never called the user exit...
    Am I supposed to uncomment the first line which reads 'Include           ZXKOBSU01' when I double click on the ZXKOBSU01....has anybody had the same problem before???
    Thanks

    Hi Raymond
    Thank you very very much....it worked....you were absolutely right...I didnt activate that enhancement....I am a functional & thats probably why I didnt know about actiavting the enhancement....
    Anyways really really appreciate your time....
    I have given points for you....
    Thanks all for anybody who spent time with my question...

  • How to define a keyboard shortcut that includes a function key?

    I was trying to set up a keyboard shortcut for a Service in Sys.Prefs -> Keyboard -> Keyboard Shortcuts and discovered that if I attempt to use a function key as a part of the shortcut that it disappears out of the key entry field as soon I click off the item. The keys I press (including an "F#" representing the function key that I've pressed) show up briefly in the field but then go away.
    Entering keystrokes that do not include a function key seem to work fine.
    Function keys are used as a part of many of the default keyboard shortcuts. So is there maybe a trick for entering a function key in the pref pane as part of a user defined shortcut that I just don't know about? Or is this maybe a bug in the pref pane? Or any other explanation for what I'm seeing?
    This is on a Snow Leopard 10.6.3 machine.
    Thanks,
    Steve

    R C-R wrote:
    Function keys are regular keystrokes, just like for letters, numbers, or punctuation marks. Thus, just like the others, you can use them only by themselves or in combination with modifier keys (shift, command, control, & option) in keyboard shortcuts.
    IOW, a valid shortcut would be F4 or command + F4 but not F4 + any regular key.
    It's good to know that regular keys are not allowed with function keys, but it doesn't explain the problem. I initially tried using command + various function keys and when that wouldn't "stick" I tried just various function keys which also wouldn't work.
    And like I said... it looks like it's going to accept the key(s) I press by showing the textual representation of the key in the key field (such as "F4" or "F5") but as soon as I click outside the text field it vanishes.
    The problem was mentioned to me by another person and I was able to duplicate it, so it's not just me or my machine. Just out of curiosity, does it work for you?
    Steve

  • Regarding SHipment function exit

    Hi Experts,
                    I have to update some custom table in the function exit of  VT01n transaction code based on some condition.
    I have done it using update statement as it is custom table there is no problem.
    BUT in the code After that UPDATE statement ,based on some condition i have to through a message which will stop the transactionn.
    In that case if i exit from the transaction using exit button in the menu bar, the updated custom table has to roll back.
    Can i use ROLL BACK Statement. in the function exit in that case.
    If i use that ,does it effect any standard functionality.
    Orelse is there any alternative solution for that.
    Regards
    Ramakrishna L

    Hi Ramakrishna,
    If u r updating the custom table in the same exit where u r throwing the message , don't use the commit work after updating the table. use it at end of the exit.
    Regards,
    Srinivas.

  • Menu-exits, Function-exits & Screen-exits

    What is Menu-exits, Function-exits & Screen-exits ? explain

    Hi,
          Why do you need enhancements ?
    The standard applications do not offer some of the functionality you need. The R/3 enchancement concept allows you to add your own functionality to SAP's standard business applications.
    What are the different types of enhancements ?
    Enhancements using customer exits
    Customers' potential requirements which are not included in the standard software are incorporated in the standard as empty modification 'shells'. Customers can then fill these with their own coding. Enhancements can relate to programs, menus and screens. Upward compatibility is assured. In other words, SAP guarantees that the jump from the standard software to the exit and the interface which call the exit will remain valid in future releases.
    Enhancements to ABAP/4 Dictionary elements
    These are ABAP/4 Dictionary enhancements (creation of table appends), text enhancements (customer-specific key words and documentation for data elements) and field exits (creation of additional coding for data elements).
    What is customer development ?
    Creating customer-specific objects within the customer name range.
    What is SSCR ?
    SSCR (SAP Software Change Registration) is a procedure, for registering all manual changes to SAP source coding and SAP Dictionary objects.
    What is the difference between modifications and enhancements ?
    Modifications mean making changes to the SAP standard functionality.
    Enhancements mean adding some functionality to SAP standard functionality.
    What are the disadvantages of modification ?
    Modifying standard code can lead to errors
    Modifications mean more work during software upgrades
    What are the advantages of enhancements ?
    Do not affect standard SAP source code
    Do not affect software upgrades
    when do you opt for modification ?
    Customer exits are not available for all programs and screens within the R/3 standard applications. You can only use exits if they already exist within the SAP R/3 System . Otherwise you have to opt for modifications .
    What are the various types of customer exits ?
    Menu exits
    Screen exits
    Function module exits
    Keyword exits
    What is a menu exit ?
    Adding items to the pulldown menus in standard R/3 applications .
    13.What is a screen exit ?
    Adding fields to the screens within R/3 applications. SAP creates screen exits by placing special subscreen areas within a standard R/3 screen and calling a customer subscreen from within the standard dynpro's flow logic.
    What is a function module exit ?
    Adding functionality to R/3 applications. Function module exits play a role in both menu and screen exits.
    What is a keyword exit ?
    Add documentation to the data elements of key words defined in the ABAP/4 Dictionary. The system displays this documentation whenever a user presses F1 to get online help for a screen field.
    How do SAP organizes its exits ?
    SAP organizes its exits in packages that are called SAP enhancements. Each SAP enhancement can contain many individual exits
    Regards

  • How to write BDC in Function exit (user exit )

    Hi champs,
    I am trying to write one bdc code in a function exit but it is giving me the error:
    " Incorrect nesting: Before the statement "FORM", the structure
    introduced by "FUNCTION" must be concluded with "ENDFUNCTION". -     
    The code which i have written is
    **&  Include           ZXMRCU01
    data: begin of it_imptt occurs 0,
            POINT like imptt-point,
            MRMIN like imptt-MRMIN,
            MRMAX like imptt-MRMAX,
          end of it_imptt.
    Internal table to store BDC screens   *
    and field values                      *
    DATA: BEGIN OF it_BDCDATA OCCURS 0.
            INCLUDE STRUCTURE BDCDATA.
    DATA: END OF it_BDCDATA.
    select point
           MRMIN
           MRMAX from imptt into it_imptt
           for all entries in imrg_ins
           where point = imrg_ins-point.
    endselect.
    read table imrg_ins with key point = it_imptt-point.
    if imrg_ins-readg < it_imptt-mrmin
         or imrg_ins-readg > it_imptt-mrmax.
      perform bdc_dynpro      using 'SAPLIQS0' '0100'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RIWO00-QMART'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_field       using 'RIWO00-QMART'
                                            'M1'.
      perform bdc_dynpro      using 'SAPLIQS0' '7200'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=BUCH'.
      perform bdc_field       using 'VIQMEL-QMTXT'
                                            'test desc1'.
      call transaction 'IW21'
                            using it_BDCDATA
                              Mode 'A'
                                update 'S'.
      REFRESH it_BDCDATA.
    endif.
    **&      Form  bdc_dynpro
          text ---- Taking 2 parameters Screen Name & Screen Number.
    FORM BDC_DYNPRO USING SCREEN_NAME SCREEN_NUMBER.
      CLEAR it_BDCDATA.
      it_BDCDATA-PROGRAM = SCREEN_NAME.
      it_BDCDATA-DYNPRO = SCREEN_NUMBER.
      it_BDCDATA-DYNBEGIN = 'X'.
      APPEND it_BDCDATA.
    ENDFORM.                    "bdc_dynpro
    **&      Form  bdc_field
          text---- Taking 2 parameters Field Name & Field Number.
    FORM BDC_FIELD USING FNAME FVAL.
      CLEAR it_BDCDATA.
      it_BDCDATA-FNAM = FNAME.
      it_BDCDATA-FVAL = FVAL.
      APPEND it_BDCDATA.
    ENDFORM.                    "bdc_field     
    Is there any different way of writing bdc in user exit?

    <b>FUNCTION.</b>
    **& Include ZXMRCU01
    data: begin of it_imptt occurs 0,
    POINT like imptt-point,
    MRMIN like imptt-MRMIN,
    MRMAX like imptt-MRMAX,
    end of it_imptt.
    Internal table to store BDC screens *
    and field values *
    DATA: BEGIN OF it_BDCDATA OCCURS 0.
    INCLUDE STRUCTURE BDCDATA.
    DATA: END OF it_BDCDATA.
    select point
    MRMIN
    MRMAX from imptt into it_imptt
    for all entries in imrg_ins
    where point = imrg_ins-point.
    endselect.
    read table imrg_ins with key point = it_imptt-point.
    if imrg_ins-readg < it_imptt-mrmin
    or imrg_ins-readg > it_imptt-mrmax.
    perform bdc_dynpro using 'SAPLIQS0' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RIWO00-QMART'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RIWO00-QMART'
    'M1'.
    perform bdc_dynpro using 'SAPLIQS0' '7200'.
    perform bdc_field using 'BDC_OKCODE'
    '=BUCH'.
    perform bdc_field using 'VIQMEL-QMTXT'
    'test desc1'.
    call transaction 'IW21'
    using it_BDCDATA
    Mode 'A'
    update 'S'.
    REFRESH it_BDCDATA.
    endif.
    <b>ENDFUNCTION.</b>
    **& Form bdc_dynpro
    text ---- Taking 2 parameters Screen Name & Screen Number.
    FORM BDC_DYNPRO USING SCREEN_NAME SCREEN_NUMBER.
    CLEAR it_BDCDATA.
    it_BDCDATA-PROGRAM = SCREEN_NAME.
    it_BDCDATA-DYNPRO = SCREEN_NUMBER.
    it_BDCDATA-DYNBEGIN = 'X'.
    APPEND it_BDCDATA.
    ENDFORM. "bdc_dynpro
    **& Form bdc_field
    text---- Taking 2 parameters Field Name & Field Number.
    FORM BDC_FIELD USING FNAME FVAL.
    CLEAR it_BDCDATA.
    it_BDCDATA-FNAM = FNAME.
    it_BDCDATA-FVAL = FVAL.
    APPEND it_BDCDATA.
    ENDFORM. "bdc_field
    Regards
    Peram

  • Which category screen exits and function exit come

    Hi ,
    I have created an enhancement in ECC 6.0 system on screen exit and function exit for LM00 tcode. now i want to update my developed object in Solution manager.
    Anyone pls help me under which category this enhancement project falls.

    Thanks everyone for the prompt response.
    The scenario is thet I have 190 CMOD projects and I needa quick way to find out which of the function exits in the CMOD projects have been implemented and which are the Z includes in these implemented function exits.
    Doing it one-by-one would take too much time. TADIR does not give the function exits and the includes in them.
    Need a quick way of identifying the implemented function exits, and the includes in the function exits, from the CMOD project name.
    Peter

  • BUPA_REL: Custom Function exit

    Hi
    I'm replicating BP in CRM as Vendor in ECC.
    When a BP and its relationship is created in CRM, the following BDOcs are generated: VEND_MAIN, BUPA_MAIN & BUPA_REL.
    To extend the Vendor to a particular company code and update couple of fields for vendor (Recon Acct, Tolenrance grp, withholding tax details), I'm using CUstom FM "Z_V_SAMPLE_INTERFACE_DE_DALE". DALE being BTE for vendor creation.
    Now the issue is with relationships. The BDoc BUPA_REL is triggered. I need to add these partners as "Permitted Payees" of the Vendor.
    Can anyone shed light one how execute custom logic for BUPA_REL like any function exit, or BTE exit.
    Thanks in advance
    Cheers
    /Arun

    Hi,
    Thank you for your answer.
    I checked FM CRM_UPLOAD_TRIGGER which is called in ERP when BDoc arrives from crm. Here the Z-field is available. Later on when FM PI_BP_PROXY_BAPI_CUSTOMER is called, it is lost. The problem is in FM PI_BP_BAPIMTCS_TO_REL. Here the Z-field is available in bapimtcs structure, but there is no processing of the custom fields here (of course - it is a standard FM which processes the standard part of BUPA_REL BDoc). However I did not find any user exit at this point.
    I have to update field KNREF from table KNVP of the particular relationship.
    Any advice how to do that?
    Regards,
    Desislava

  • Function exits doubt

    hi gurus,
    I want to know about modifications on fm of enhancements.
    suppose i have taken EXIT_SAPMIWO0_020 function exit for iw21 tcode.
    in this i have seen      *--- Move I_VIQMEL to exporting parameter E_VIQMEL
    this syntax along with include  zxqqmu20.
    so how to use it.
    i hered that there will be some modification structures to use above syntax.
    how to find them .
    kindly sugest me.
    thanks to all,
    padmaja.

    To implement this exit you have to create a project in CMOD and activate this exit. Then you just double click on statement include zxqqmu20. This will give you a warning that ZX includes are resereved for enhancements which you are doing, so just confirm the warning and the include is created.
    Within that include you can access all the import parameter of the function module and can also pass data to the export parameters of the function module. Implement your functionality within the include.
    Hope that explains it,
    Michael

Maybe you are looking for

  • Can't download video - HELP!

    i have a jvc gz-hd7 and a macbook pro with imovie 08. i have been trying like crazy to get the video's to download from the camera to my mac. i open up imovie - get the download screen on the computer - don't get the screen that says playback to pc o

  • Every song I play in Itunes gets deleted out of its album

    Hi, I hope someone can help me. Every song I play in Itunes gets deleted out of its album and gets put into a Various Artists album. What can I do to stop this from happening? Thanks in advance

  • The system WAS functioning well, but now the system seems to be checking the relevant mailboxes but nothing downloaded nor able to send e-mail?

    I am visiting Brazil and using the hotel's internet connection. The Thunderbird was functioning very well since Saturday, but yesterday onwards, it stoped "functioning"! It seems to be going through the relevant mailboxes, but nothing is being downlo

  • Strange behavior in ALV Grid

    Hi all, I have an alv grid which it is updated in a report. But when I call the method grid->refresh_table_display the the refresh does not occur properly. Let me give you an example: This is the fieldcat: FORM create_fieldcatalog.   DATA: wa_fc   TY

  • Init Delta while client it's working

    Client demand us for make an init delta in diferents PM Cubes (0COOM_CO2 and 0PS_C04) for inconsistent problems. For a weekend server problems I have to do this on monday morning, while client was working inserting registers on R/3 side. This proces