Using HR_INFOTYPE_OPERATION dont call user exit

Hi ,
I need to write BAPI that create entry in infotype .
I am using FM "HR_INFOTYPE_OPERATION" ...
This FM don't call the user exit EXIT_SAPFP50M_002 ....
Am i using the FM correctly ?
How can i use the FM with the user-exit .
Thanks .

Hi,
Why do you want to call user-exit. What it your requirement?
Regards,
Atish

Similar Messages

  • Can it be used commit statement in user-exits?

    Can it be used commit statement in user-exits?
    How to badi is different from other enhancement?
    What are the two default components systems automatically creates when we create a new badi?
    What is the business object for purchase order?

    Hi,
       1) commit statement in userexit:
    You should not do that.
    After the user exits code is triggered, the transaction's own commits statements will commit the database anyway
    2)You could say: BAdI = enhancement using interfaces
    It is just the most up-to-date version of SAP's enhancement concept.
    go thru this.
    http://www.esnips.com/web/BAdI
    http://www.allsaplinks.com/badi.html
    New to Badi
    Regards
    Kiran Sure

  • Use CREATE_TEXT on VA01 user exits

    Hi,
    I need to write item text using FM CREATE_TEXT in VA01 user exits. The FM required VBELN and I don't have when creating order.
    How can I create item text in VA01 user exits ?
    Thanks,
    Quincy

    Hi,
    i have a similar requirement where i need to copy custom populated fields of vbap table into item->text->item notes tab.
    i tried with both create_text and save_text. but i couldn't see the item in the item->texts->item notes.
    here is my code:
    CONCATENATE vbap-zzrelid vbap-zzsorg2 vbap-zzsorg3
                  vbap-zzsorg4 vbap-zzsorg5 vbap-zzsorg6
                  vbap-zzsorg7 vbap-zzsorg8 vbap-zzsorg9
                  vbap-zzsorg10 INTO gt_textname.
      gt_textobject-tdid  = c_0002.
      gt_textobject-tdname     = gt_textname.
    gt_textobject-tdobject   = c_vbbp.
      gt_textobject-tdspras    = sy-langu.
      APPEND gt_textobject.
      CONCATENATE 'relationship Owner:' vbap-zzrelid INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 2 :' vbap-zzsorg2 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 3 :' vbap-zzsorg3 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 4 :' vbap-zzsorg4 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 5 :' vbap-zzsorg5 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 6 :' vbap-zzsorg6 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 7 :' vbap-zzsorg7 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 8 :' vbap-zzsorg8 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 9 :' vbap-zzsorg9 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 10 :' vbap-zzsorg10 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
    CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            header          = gt_textobject
            savemode_direct = 'X'
          TABLES
            lines    = gt_text
          EXCEPTIONS
            id       = 1
            language = 2
            name     = 3
            object   = 4
            OTHERS   = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    kindly resolve the problem with the above code.
    Thanks,
    Preethi.

  • Idoc - Idoc Scenario - Call User-Exit

    Hi,
    I have an Idoc - Idoc scenario and after receiving the Idoc in the receiver system, I have to call an user-exit, what is the best way to do this?
    Or is it possible to do this?
    -naveen.

    Hi Naveen,
       Nice to see here,I think you can do the above scenario by using BPM,i guess we can achieve by using the BPM.
      Please proceed with BPM,If you have got stuck in the middle please update the issue so that I can help you out my level best.
    Thanks in Advance.
    Chandu

  • Use of BAPIs in user exit macros

    Is it ppssible to use BAPIs in user exit macros in the APO MacroBuilder?
    Thanks for any advice on this...

    Hi,
    Not sure what function you want to acheive, but basicly you can use any code in the user-exit macro's customizing code, but at last you must fill in the spcified return value to make the user-exit macro work.
    Best Regards,
    Ada

  • Dynamic Call --- User Exit/Function Module

    Hi All,
    We have a User Exit/Function Module which is called dynamically. This is configured and we are missing its configuration path. Could any of you guys let me know more details where this configuration could reside ?
    Thanks much
    Raghu

    Hi,
    When this function module CALL FUNCTION LT_TRWPR-FUNCTION is called, it automatically goes into a Z_XXXXXXXXX function module.
    This function module is called in all transactions where financial postings could happen, however to be precise i would say at the time of Vendor invoice postings.
    Eg: Tcodes MIRO, FB60.
    Thanks
    Raghu Kolla

  • Using a variable not in the Export,Import, table Parameters in USER EXIT

    Hi all,
       During the Invoice Creation, I need to add an entry in the VBFS table, so that it will be displayed in the system log.  In the FM 'RV_INVOICE_CREATE', the structure corresponding to it is XVBFS.  There is a user-exit   CALL CUSTOMER-FUNCTION '002', in this FM 'RV_INVOICE_CREATE'.  But the import, export or Table Parameters does not have XVBFS.
      How can I use XVBFS inside the User exit?..
    Please help.
    Regards,
    Asha

    Hi,
    I dont know whether this will help u...
    write this in user exit...to access variables/tables of main program..
    FIELD-SYMBOLS: <komv>.
    ASSIGN ('(SAPLMEPO)TKOMV[]') TO <komv>.
    where.. SAPLMEPO is the main program...and TKOMV[] is a internal table in SAPLMEPO.
    regards
    Sukriti....

  • Can the user exit  EXIT_SAPMM07M_004 be called from an FM exit in my code?

    Hi ,
    When I create a Goods Receipt by tx MB1C , an MM adapter(FM user exit) is kicked off in my workspace creating documents wrt to that goods receipt.However if a batch does not exist during MB1C , it says that a batch would be created.But when i do a save , the user exit is kicked off before it returns to the SAP code to create a batch.As a result no MM documents are created in my workspace.Now I want that the batch be created while in my user exit and I want to implement the customer user exit EXIT_SAPMM07M_004(for copying the batch characteristics) .Is it possible to call this exit from my code?Kindly suggest.

    > When I create a Goods Receipt by tx MB1C , an MM adapter(FM user exit) is kicked off in my workspace creating documents wrt to that goods receipt.However if a batch does not exist during MB1C , it says that a batch would be created.But when i do a save , the user exit is kicked off before it returns to the SAP code to create a batch.As a result no MM documents are created in my workspace.Now I want that the batch be created while in my user exit and I want to implement the customer user exit EXIT_SAPMM07M_004(for copying the batch characteristics) .Is it possible to call this exit from my code?Kindly suggest.
    Can you call the user exit? - Yes ofcourse.... but why dont you just add the same code that is in your exit instead of calling the user exit?
    User exits are developed and called from appropriate places where sap can take the changes and apply to the transaction. there is no restriction on calling the user exit (atleast programmatically) but you need to think 100 times before you call the user exit.
    For example, you want to call user exit 'A' in your program because you want to use the code in this user exit in your program '1'. Why dont you just write the code in program '1' with what is in user exit 'A' ?
    Calling user exit in your program does not really helps. Better find out different ways. once again, user exits are embedded in sap business applications and remember they are not independent FM's as you think
    Good luck

  • Problem with User exits when using custom fm

    Hi everybody,
    I am processing an IDoc using fm IDOC_INPUT_INVOIC_MRM. Nos I had to copy this to Z_...
    And this fm has a sun-routine that calls User-exits. When I am using the standard fm, the UEs are being checked for active and executing the logic in the UE. But when I am processing IDoc using Z_...fm, the system is checking if the UEs are active. Its also active and now the cursor is coming to CALL CUSTOMER-FUNCTION '014'. But here when I press F5 in Debug, the cursor moves to the next statement after this function call without executing the user- exits. I dont know why its not executing the UE.
    Is there any setting that I need to make?
    thanks in advance
    kris

    Hi Vamsi,
    User exits are specific to the object they are included in. So when you have a "CALL CUSTOMER-FUNCTION '011'" in IDOC_INPUT_INVOIC_MRM and when you have "CALL CUSTOMER-FUNCTION '011'" in your Z function module, they are two different things.
    The purpose of a user exit is that you can include your logic in there within the limits defined by the object and without repairing the system. If you copied it, then you don't need the user exit anymore, as that copied object is your custom object and you can incorporate anything you want within main source code itself. If you really thing you should have that user exit, then double click on the call function statement, the system will ask if you want to create the function module, say yes and proceed with the creation.
    But I don't see any reason why you will copy a standard IDOC function module(while you could have used a user exit in there) and still want to use the user exit functionality. Once you copied, it is your object and you don't need a user exit to insert code into your own object.
    Hope this is clear.
    Srinivas

  • Where used FM user exits

    Hi.
    In 4.6 when I had a FM (e.g. EXIT_SAPLE10M_001), when I did where used I got the source when this exit was called ( if showed as call customer-function '10' )
    But In ECC 6.0 this option is no longer valid? Where used option brings me no results.
    Anyone knows how this can be overiden?
    Using modsap table & smod does not help since I do get the FM name but stilll the "where used" isn't working.
    Thanks
    Ariel Fisher

    > In 4.6 when I had a FM (e.g. EXIT_SAPLE10M_001), when I did where used I got the source when this exit was called ( if showed as call customer-function '10' )
    >
    > But In ECC 6.0 this option is no longer valid? Where used option brings me no results.
    >
    > Anyone knows how this can be overiden?
    >
    > * Using modsap table & smod does not help since I do get the FM name but stilll the "where used" isn't working.
    >
    I don't know why this is not working, but the Exit function is still valid. 
    in the main program SAPLE10M the Exit function is used.
    i just searched for CALL CUSTOMETR-FUNCTION globally inside the program SAPLE10M(Function group main program) i got the below one.
    * Call user-exit...
      CALL CUSTOMER-FUNCTION '001'
           EXPORTING
                 x_v_eger  = x_v_eger
                 x_etyp    = x_etyp
                 x_te271   = x_te271
           IMPORTING
                 y_wechsel = y_wechsel
                 y_bglkenn = y_bglkenn
                 y_bglform = y_bglform.

  • Any user exit could be used in SAPMV60A(TCODE:VF01)?

    I want to use user exit to change accounting doc. upon generating accounting doc. upon save in VF01..
      wait online

    V61A0001                                Customer enhancement: Pricing                           
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document              
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index                            
    SDVFX011                                Userexit for the komkcv- and kompcv-structures          
    SDVFX010                                User exit item table for the customer lines             
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI      
    SDVFX007                                User exit: Billing plan during transfer to Accounting

  • Call a user exit

    Hi,
    I have a need to call user exit USEREXIT_SOURCE_DETERMINATION in MF45AFZB everytime the requested delivery date are changed on an order item. I only pass the UE once, when I press ENTER.
    How do I do that?
    best regards,
    Glenn Karlsson

    No need for this anymore

  • Extended IDOC DEBMAS06 (MSG-Type DEBMAS) can't be filled using user EXIT

    Hi,
    I'm having a problem trying to fill an additional created segment (extension) for the IDOC DEBMAS06.
    This IDOC is generatede from an ALE szenarion
    and I need additional fields to fill using my extension.
    With CMOD I created a new project using the enhancement VSV00001 (User exit  Customer and vendor distribution  Receipt/issue) to fill the additional field but, no way.
    My extension segment will not appear onto this user exit.
    I tried to search new exits, tried to make additional settind using ALE customizing but again now way, this onw extended segment will not come up in the user exit.
    Please Help !
    Many thanks
    Gaspare

    What do you mean by "My extension segment will not appear onto this user exit."? It will not be there, you will have to fill it and append it to the EDIDD table. In thh user exit, you will append the records for segment zzzzz(your extended segment) at the appropriate place.
    Say the standard IDOC has the structure like below
    A
    --B
    --C
    D
    and you added extended segment at the same level as B and C. In that case, you have to append the new segment records at the end.
    If you added your segment as a child segment of B, then you will have to insert the records into the EDIDD table before the C segment.
    Srinivas

  • User Exit Examples

    Hi,
    I am trying to look for User Exit examples in my trail Netweaver ABAP 7.01.
    can anyone help to see some sample codes and how user exits are called ?
    Thanks

    Thanks Matt for the help and suggestion,
    if you dont mind me asking, is it part of the forum rules not to ask for examples, or you just personally think it is not appropriate to ask what  asked ? I understand that it is not appropriate to ask without doing my own search
    and you might find my question too easy to ask here..anyhow.
    based on what I read before I post this question,  there are user exits and customer exits and both are different.
    a user exits is defined as a Form (subroutine) and called using PERFORM.
    and customer exit is defined as functions module and called using CALL CUSTOMER-FUNCTION
    http://www.allinterview.com/showanswers/23629.html
    but when I I did a search on the forum ( call user exit) , I got something confused me ,
    the first search hit was this:
    Call User-exit
    this question was marked answer even though the syntax seems to be for calling a customer exit and not a user exit.
    somewhere else, I found another confusing information, as they showed that use exits is defined as  MODULE.
    MODULE user_exit_0001 INPUT  ...
    http://www.sap-img.com/abap/what-is-user-exits.htm
    in this link, customer exit is considered a different generation of user exit and maybe this is why it is confusing to distinguish them .
    http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1240915_mem1,00.html
    I simply thought it will be good if someone can clear this confusing for me by providing me an example.
    I am extracting all the source code of the system as html files , and I need to build hyperlinks.
    so if there is a call to any use exit , a hyperlink should be there to take me to where this exist is defined.
    I thought of asking first about user exits and then make second post for customer exits.
    Misbah

  • Badi/User Exit for VF01

    Hi Experts,
    Please understand my issue/requirement that, I have to make the item conditions tab in display or deactivate mode to prevent users to change or create the price or conditions while posting VF01.
    As std, system allows users to create or change the prices/qts and also add new conditions. My client needs to make it as display mode for all type of postings in VF01.
    Please guide me, how to arrive it through Exit or Enhancements.
    thanks & regards
    Sankar.

    Hi,
    Try these steps to find the BADI.
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    These are exits in VF01.
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    J_3RSINV            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Hope this helps u.
    Thanks.

Maybe you are looking for