User Exit---Include problem

Hi all
am creating a user exit ZFF67 and in the the enhancement assignment am giving as F40K0001.But when i go back and after saving and activating am going to the function module and there in the source code am double clicking on   INCLUDE ZXF40U01 but am getting a warning meessage
Program names ZX... are reserved for includes of exit function group.Am getting the same error even if am trying to create some other user exit.If its a BASIS issue and if you know the solution.Please do help me
with regards
Vijay.

Hi
Press ENTER..
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.
Regards
Kiran Sure
*P.S--Close the Duplicate Postings..

Similar Messages

  • ATC not checking code in user exit includes

    Dear Friends,
    I'm not sure if you have faced this issue, but I have not found anyone or any post or any document or any OSS note talking about it.
    I've recently have realized than when using ATC for checking the custom code of an Z include it was finding cero errors when it was actually full of them.
    In fact using code inspector, the errors where found. It was not an issue of using a different variant, this was checked, CI and ATC are using the same,
    The issue itself was clear: When the ATC checks a parent object its checks the code of its includes. If you try to check an include directly with ATC, it is ignored with message "No checks are available for the objects types", giving the chance to "add master program" so it will be checked when the master program is checked with all its includes. Last, ATC neither Code Inspector checks custom code.
    The end result is that when trying to check the code in a user exit include with ATC it does not find any error.
    I can think about encapsulating the code found in a user exits but this is a titanic task.
    The main problem is that the jobs for getting in CCLM the quality required massive ATC runs that will not catch the errors in these kind of objects.
    Have you face this issue? do you have any recommendation?
    I would like your opinion before raising this as customer message, as from my point of this this may require a SAP correction.
    Thanks
    Aubin

    Hello Aubin,
    to be perfectely honest I have not started with the indeep analysis yet. One reason is that the behaviour regarding exit techniques has got improoved recently so it is important to do the analysis on a SP level close / identical to yours.
    If I am not mistaken CMOD function exits yield into 2 TADIR keys:
    - 'R3TR' 'FUGX' .... - referring to the definition of the function group - typically provided by SAP - residing in a SAP package
    - 'R3TR' 'FUGS' .... - referring to the implementation - typically custom code - residing in a Z-Package
    My initial assumpution was that mapping partobjects always return FUGX but shall return FUGS. And also I was assuming the custom package shall contain the 'FUGS' implementation which shall enable checking out of the box.
    But it seems these assumptions are not valid. I am not sure wether I would be able to analyse this issue this week. In any case I will update this thread as soon as the analysis has been done.
    Best Regards
      Klaus

  • Trouble hitting breakpoint in User Exit Include

    Greetings,
    I am having a problem where I cannot get a transaction to stop at a breakpoint that I have set in a user exit include program (<b>ZXEDFU02</b> starting from transaction <b>VF04</b>) and I cannot figure out why.  I am sure that the exit code is being executed because of the results, and if I put a syntax error in this include and activate and execute, i receive a short dump at the syntax error - evidence that the program is in the include code. 
    I have even tried switching on system and update debugging just to be sure, but no matter what I cannot hit this exit.  The exit for those unfamiliar allows the addition of additional data to segments of the INVOICE02 IDOC in SD.
    Thank you in advance for any help you can provide.
    Geoff

    Hi Geoff,
    The problem most probably lies with the fact that in default mode VF04 does not perform the update logic synchronously (for performance reasons).  The only thing that is performed synchronously is the selection of the data, the bundling of the data into work packets, and the submission of these work packets for execution. 
    Thus, you do not hit your break point for debugging (the actual code gets executed either in a background or update work process).  You will, however, get short dumps if the synchronous section of the program uses any function module in the function group in which you have introduced syntax errors (hence how you can get short dumps but still not stop at the break point).
    The way to solve this is right down the bottom of the VF04 transaction you have an option for Update:
    Asynchronous
    Synchronous via VB log
    Synchronous w/o VB log
    By default it is set to the first option.  If you choose either option 2 or 3, you should then run the update logic synchronously and stop at your breakpoint.
    If this still doesn't work, you have still another thing to try.  Before hitting execute, put in /H at the okcode.  When you hit execute it will throw you into debug mode.  Hit the settings button (far right) and flag the option 'In background task: do not process', and then continue.  Any background processes started will be thrown up into another session in debug mode.  Go to this other session and hit continue.  You SHOULD stop at your breakpoint if it is being processed as a background job.
    If this still doesn't work then you have some options for update debugging.  Let me know and I'll see if I can help.
    Cheers,
    Brad

  • User Exit - Include for delivery document?

    Can anyone please tell me the user exit / include details that control creation / mofiication of outbound delivery document
    I need to figure out a solution to create a split delivery if the country of origin of material is different in the stock
    Say, if the SD order line item requires 76 units, and the stock has 50 units from one country and 26 from another, then it should result in split deliveries - each with line item of a unique country of origin

    SM,
    If the origin country is different (say US for line item 1 for Qty 75, and GB for line item 2, qty 25 wouldn't you have different plants & shipping points for each line item?
    Scenario: At the time the sales order is created, there are 100 on a single line all for the same country (because as you say, it is not known during Order create). Then, when it comes time to create the delivery, you know that 75 come from US and 25 from GB. So, reduce qty on line item to 75 (US plant & Shipping Point), and create a new line item for 25 (GB Plant & shipping point). Then, your copy routines from Sales Order to Delivery would force you to split between different deliveries.
    A sales order can have different shipping points - one for each line, but the delivery holds the shipping point at the header, so you cannot mix them.

  • User-exit include

    Hi
    when i double click on user-exit include following message is coming but not able to go inside the include
    message "Program names ZX... are reserved for includes of exit function groups"
    thanks,
    Anji

    The idea is, in the FM, when you double-click on the include....
    if it exists, it will directly navigate into the include.
    If the include doesnt exist, it throws up the warning-message you mentioned, and then proceeds to ask if you want to create the include.

  • Me23n user exit dynpro problem

    Hello Everybody,
    I'm developing a user exit for me23n transaction. I have added a tab in which i have some fields i want to fill, but i'm having the next problem.
    when i enter in the me23n transaction,  i push the edit button and those fields appear on editable state, but when i modify the values and push save the fields the fields continue in editable state.
    I have tried to solve this problem in the catching the MESAVE action in the pai of the me22 and calling leaving to the transaction me23 with the vnew values but it's not working. Any ideas?
    Here is the source code ( dynpro 111)
    process after input.
      field ekpo_ci-zzref_alb.
      field ekpo_ci-ZZFECH_DES.
      field ekpo_ci-zzeqveh.
      field ekpo_ci-zzmatricula.
      field ekpo_ci-zzeqtar.
      field ekpo_ci-zztarjeta.
      field ekpo_ci-ZZCENTRO_SER.
      field ekpo_ci-ZZREF_FACT.
      field ekpo_ci-ZZCLIENTE.
      field ekpo_ci-ZZPAIS.
      field ekpo_ci-zzdoc.
    module user_command_0111.
    module USER_COMMAND_0111 input.
    if sy-tcode = 'ME23N' and sy-ucomm = 'METOGG'.
    leave to transaction 'ME22N'.
    endif.
    if sy-tcode = 'ME22N' and sy-ucomm = 'METOGG'.
      leave to transaction 'ME23N'.
    endif.
    if sy-tcode = 'ME22N' and sy-ucomm = 'MESAVE'.
    sy-ucomm = 'METOGG'.
      leave to transaction 'ME23N'.
    endif.
    Thanx

    Hi,
    Check the code below:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    id = '0001'
    language = sy-langu
    name = sname "sales doc is given here
    object = 'VBBK'
    TABLES
    lines = tlines.
    if not tlines is initial.
    LOOP AT tlines.
    CASE sy-tabix.
    WHEN 1.
    ztable-field1 = tlines-tdline.
    WHEN 2.
    ztable-field2 = tlines-tdline.
    WHEN 3.
    ztable-field3 = tlines-tdline.
    ENDLOOP.
    UPDATE ztable SET field1= ztable-field1
    field2= ztable-field2
    field3 = ztable-field3
    WHERE vbeln = vbak-vbeln.
    ENDIF.
    endif.
    Regards
    Kannaiah

  • How to find all the user exits includes ,

    Hi All ,
    I need to find all the includes which are created for purpose of implementing user exits , I know they all start with ZX* but where to get the list .
    THank you all
    Vinay Kolla

    Hi Vinay....
    Just excute following program in your ABAP Edter....
    ( Input parameters: T'CODE and User exit type.)
    >TABLES: MODSAP, MODACT, TSTC.
    >
    >PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
    >           INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
    >
    >DATA: SEARCH1(6),
    >      SEARCH2(3),
    >      SEARCH3 LIKE MODSAP-MEMBER.
    >DATA : FIRST_ROW VALUE 'Y'.
    >
    >CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
    >             '%' INPUT2     INTO SEARCH2.
    >
    >SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
    >  FIRST_ROW = 'Y'.
    >  CHECK TSTC-PGMNA NE SPACE.
    >  CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
    >  SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
    >                       AND MEMBER LIKE SEARCH3.
    >    SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
    >    IF FIRST_ROW EQ 'Y'.
    >      WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
    >                                       45 MODSAP-MEMBER, 70 MODACT-NAME.
    >      FIRST_ROW = 'N'.
    >    ELSE.
    >WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.
    >    ENDIF.
    >    CLEAR : MODSAP, MODACT.
    >  ENDSELECT.
    >  IF SY-SUBRC NE 0.
    >    WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
    >  ENDIF.
    >  CLEAR TSTC.
    >ENDSELECT.
    >
    >END-OF-SELECTION.
    >  CLEAR: SEARCH1, SEARCH2, SEARCH3.
    Thanks,
    Naveen Inuganti.

  • User  exit  needed (Problem related to duplicate batch entry in Migo(GR))

    Dear all,
                  I need a help from you.we facing problem in Goods receipt in MIGO.
    where we want to apply a check on batch which has already been assigned to a raw material in MIGO  .we are using manual
    batch entry .we don't want to make duplicate entry of same batch
    against any material.
    I tried to find out the user exit for that but i have not succeed .
    what is solution to
    avoid duplicate batch entry.

    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • User Exit related problem

    I have created one user exit for transaction CO02 .We acn navigate on different screens . My user exit works when you click on save button .
    But now problem is when you click on save button of on different screen first time it wont work . But if you go to main screen of CO02 and return back to other screen it works what may be the reason .
    thank you in advance .

    hi ragha,
    it is because the exit u used is allocated for a particular transaction..
    check it in SMOD .. give the exit name to see the documentation..
    thats the reason it doesn't work in the other screens..
    <b>reward if useful..</b>
    Message was edited by: Ashok Kumar Prithiviraj

  • EDI - IDoc - User Exit - Code - Problem - Help - Wanted

    Hi EDI Experts,
    I have extended ORDERS05 IDOC twice.
    ZVKSEG1 is the the segment under extended idoc ZVKORDRS05. This is for one partner.
    Z1DATESH01 is the segment under extended idoc Z1ORDER05. This is for another partner.
    I have completed the configuration thing in WE82 for both the extensions.
    Now the requirement is, whenever a PO is created for the first partner - 100290, the IDoc generated should contain the extra segment ZVKSEG1 and whenever PO is created for the second partner - 10099,the Idoc generated should contain the extrasegment Z1DATESH01.
    Using WE20, i have added the extended IDoc type in both the partner profiles under ORDERS message type.
    Now i've written the user exit for this using EXIT_SAPLEINM_002.
    tables: edidc.
    data: z_edidd like edidd occurs 0 with header line.
    data: y1dath01 like z1datesh01.
    data: yvkseg1 like zvkseg1.
    if edidc-rcvprn = '10099'.
    z_edidd[] = int_edidd[].
    loop at z_edidd.
    if z_edidd-segnam  = 'E1EDK01'.
    read table z_edidd  with key segnam  = 'Z1DATESH01'.
    if sy-subrc <> 0.
    y1dath01-DELDATE = sy-datum.
    clear z_edidd.
    z_Edidd-sdata = y1dath01.
    z_Edidd-segnam = 'Z1DATESH01'.
    append z_edidd.
    endif.
    endif.
    endloop.
    int_edidd[] = z_edidd[].
    elseif edidc-rcvprn = '100290'.
    z_edidd[] = int_edidd[].
    loop at z_edidd.
    if z_edidd-segnam  = 'E1EDK01'.
    read table z_edidd  with key segnam  = 'ZVKSEG1'.
    if sy-subrc <> 0.
    yvkseg1-name1 = 'ZVK Chemicals'.
    clear z_edidd.
    z_Edidd-sdata = yvkseg1.
    z_Edidd-segnam = 'ZVKSEG1'.
    append z_edidd.
    endif.
    endif.
    endloop.
    int_edidd[] = z_edidd[].
    endif.
    Could you please go through the code and tell me where did i go wrong. The extra segments are not being created for both the partners.
    I created PO using ME21n once for each vendor.
    Please help me out guys.
    Thanks,
    Matt

    I myself fixed this problem. I made use of XLFA1-LIFNR to manipulate the partner numbers.
    Thanks

  • F110 User Exit: Include ZXTDAU01

    Before a refresh I added code to the Include mentioned.However, I cannot find the User Exit in SMOD to activate the code in CMOD. I know to run the Find User exit utility for F110, but I do not see this user Exit listed. Is there a way, table?, I can find the User Exit I re-coded EXIT_SAPMFDTA_001(ZXTDAU01), in a table that would link me to the SMOD or other data so I can activate the User Exit?
       Thank-You.

    go to t-code Se15-->expand the enhacement tab-->enter userexit                
                                 (EXIT_SAPMFDTA_001) or Include ZXTDAU01 ..under exit name and
                               execute you will get the list of Implementataions...
    All the User exits are stored in Table MODSAP..
    Prabhudas

  • IS_U_METER_READING_DOWNLOAD  --- User Exit Include

    Hi,
    i have copied the IS_U_METER_READING_DOWNLOAD into ZIS_U_METER_READING_DOWNLOAD.
    Here i want to write some logic on User Exit. But How to find User Exit in IS_U_METER_READING_DOWNLOAD?
    Please give me way how to find the User Exit for any application form in EFRM Transaction.
    Regards
    Balu

    Hi,
    You can add user exit to any of the nodes in Hierarchy.
    There are maximum of three user exit, that you can add to any node.
    1. Before Exit
    2. During Exit
    3. After Exit
    Just double click on any node in hierarchy in which you want to add the user exit. For the window, you will be provided with the option to add the user exit.
    Define the exit you want to add and save it. Automatically, the exit will be added for the code logic, in the main include defined in the Attributes of the application form. (If not defined, please create the include and add it in the attribute).
    Use of User Exit -
    1. Exit Before Loop is called only once per entire execution, before processing of form level.  It can be used for making additional selection and pre sorting arrangement.
    2. Exit During loop is called once for each line item. (It is called in loop).
    3. Exit After Loop is also called only once at the end of processiong of form level.

  • User exit message problem

    hi all
    i am giving an error message in a user exit the error message comes as a pop up and moving ahead takes me out of the transaction i seriously donot want this.
    even worning messages are coming as success ones
    is there a way out for giving error msg
    regards
    navjot

    Post details of the transaction code you are trying to issue the message in, and of the exit you are using.
    Often transactions have multiple user exits, and you may be using the wrong one to issue the message.
    In some cases like Purchase Orders you need to call SAP code / macros to add the message to a list of messages that the standard screen will then display.
    Andrew

  • User-exit for problem req cretaion

    Good morning!!
    i want to pass some data from project to a purchase requisition, does anybody know a user-exit in purchase requistion creation?,
    Thanks in advance

    hai,
         ya you can do it by using the enhancement componet MEREQ001, in that select function module EXIT_SAPLMEREQ_005 can be used for urchase requisition creation, change also.

  • User exit EXIT_SAPMM06E_016 problem

    Hi,
    I am doing some modifications to EXIT_SAPMM06E_016, include ZXM06U41 and I am having some trouble. I have a validation for the GL account used. When it fails validation, I want to issue an error message.
    What I do is I go to ME32K then enter an agreement. Once in the agreement, I click a line item (i.e. Item 10) and then click the button Account Assignments. Since the GL account used is incorrect, it fails the validation. Therefore an error message should be triggered.
    The problem is that the error message is displayed as a pop-up and when I press the OK button, it will exit to the SAP Area menu. What I want it to do is to exit to the screen where I selected the line items of the Contract.
    Is there a way of having the error appear in the status bar (bottom) of the screen instead of having it displayed as a pop-up box?
    Note: I did the same validation to EXIT_SAPMMO6E_012, include ZXM06U43 and it seems to work fine there.
    Thanks.

    This exit is a PBO exit ("Export Daten zum Kundensubscreen für Einkaufsbelegposition (PBO)" which export data for customer fields) use the PAI exit EXIT_SAPMM06E_017 ("Export Daten zum Kundensubscreen für Einkaufsbelegposition (PAI)") where error messages are allowed; It can only improve things.
    Look at documentation of Enhancement MM06E005 Customer Fields in External Purchasing Documents and online documentation for MESSAGE statement
    Regards

Maybe you are looking for