Badi for XK01

Hi,
I have a situation wherein I have to change the tab strip heading of the screen that has been added by using the badi <b>VENDOR_ADD_DATA_CS</b> and <b>VENDOR_ADD_DA</b>TA.
Can any one suggest from where and how can I get the names of the tab strip control on the subscreen no.4000?
Regards,
Rupesh

Hi
You do it in customizing for Vendors, transaction SPRO:
Financial Accounting->Accounts Recevaible and Account Paybles->Vendor Account->Master data->Preparations for Creating Vendor Master Data->Adoption of Customer's Own Master Data->Prepare Modification...
Max
Message was edited by: max bianchi

Similar Messages

  • User-exit BADI for XK01/XK02

    Hi Gurus,
    There is a requirement that when we create and change 'PAN No' in vendor master through tcode 'XK02', we want to have some check on it.
    Is there any user-exit or BADI for create/change in vendor master through tcode XK01/XK02.
    Thanx in advance
    RR

    Hi Rajiv,
                   For your requirement, there is an enhancement "SAPMF02K" . You can create an enhancement project with this to solve your requirement .
    Regards,
    Kumaar.S

  • BADI For XK01 and MK01('bout STCD1)

    Hi, i need a badi for this transactions XK01 and MK01, what i need to do is to validate that the input for STCD1 exists into LFA1-STCD1
    Tks
    ttorres

    Good day,
    I want to add customer define screen or subscreen in subscreen area for xko1 tcode, there is Badi avialable vendor_add_data and vendor_add_data_cs but
    how adjuctly i have to attach screen using this.
    if u can help me.
    regards.

  • Badi for xk01 vendor master

    Hi all ,
    My requirement is to add an alphabet 'H' at the start of  vendor number that is posted
    from xk01 .
    I have to implement a badi for this
    can any tell me how to go about this
    Thanx in advance - Hari

    Hi,
      Use the BADI
    VENDOR_ADD_DATA
    VENDOR_ADD_DATA_CS and the Method
    CHECK_ADD_ON_ACTIVE for this
    See the following in the SPRO and do accordingly from there
    FInancial Accounting->Accounts receivables and Account Payable->Vendor Accounts-> Master Data->Preparations for Creating Vendor Master data->Adoption of Customer Own Master data fields..
    Regards

  • BADI for XK01 (Urgent)

    Hi all,
    There is a need of the business to copy the withholding tax code field whenever a particular vendor is created by copying from other company codes (Copy of withholding tax code field when copying the vendor in other company codes. . ). Vendor master can be created in one company code based on the reference from the other vendor master from other company codes.
    For this i found the BADI called VENDOR_ADD_DATA in that interface is PRESET_VALUES_CCODE this will trigger exactly when ever i want but my problem is there is no fileds for reference data in that interface there is a importing parameter I_LFA1 and E_LFB1 is the exporting parameter but i want to fectch the data ( or copy the data ) based on reference vendor number and company code. how to recognize the reference vendor number and company code for that.
    Note : There is no user exit for this requirment all are trigger when the user click on save button only but i want to copy the data initially with out clicking the save button.
    I will definetly reward for useful answer.
    Mahi.

    Hi Mahi,
    There is a USEREXIT for your requirement and the
    Enhancement is SAPMF02K and the
    Function module is :EXIT_SAPMF02K_001 : Vendors: User Exit for Checks prior to saving.
    Hope you find the solution to your issue.
    Thanks & Regards
    Abdul Samee

  • Screen-exit for xk01 using badi

    Hai.. all.
         i want to add customized screen for xk01.
        by using badi i hav tried it its working and whatever the value am giving into screen is also updating  into table .but my problem is while adding this screen in xk01 it is also updating xk02, xk03.
    but in xk03 it should be in dispaly mode . in which method it hav to write code for diaplay mode screen
    can anybody suggest me how to write it .........................
    tanx in advance..............

    Modify the screen attributes to make them display only for transaction XK03. Write code in PBO of custom screen by using Loop at screen.....if sy-tcode = 'XK03'.....Endif......Endloop.
    Thanks
    Amol Lohade

  • Changing the  F4 help in BADIs of XK01

    Hi,
    I ve implemented the BADI defn VENDOR_ADD_DATA for XK01 and the method is PRESET_VALUES_CCODE..
    For some fields there are certain values in the F4 help now I need to change the F4 help to show the values according to my requirement..
    Ex for Cashmanagmnt group in XK01 the F4 help is ... A, B, C, K,J,T,M.(This Values are feteched from Predefined table T035 and I cant delete the Values from that table)
    now if the condition which I given in the coding satisfies I should get the F4 help as.. A, B,T,M. Only
    Please answer to my question...
    please please please...
    Edited by: Nalina Acharya on May 21, 2008 9:59 AM

    Thnx for the answers

  • User exit for XK01 or XK02 called just before saving vendor

    Is there a user exit for XK01 or XK02 that can be used just before the LFA1 table is updated?
    My company wants to control LFA1-SPERR (Central posting block) and LFA1-SPERM (Centrally imposed purchasing block) based on custom criteria.
    As part of the same project, I need to access the updates to LFB1-SPERR and LFM1-SPERM.

    Hello friend.
    U can find user exit and Badis as i mention below please check this ......
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will displkay for that tcode as well as that package.
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u,
    santhosh

  • Reg. Exit/BADI for changing item data of PO in ME22N

    Hi all,
    My requirement is to update the field LABNR (Order Ack.) of few specific line items of a PO, in the Transaction ME22N, using Exit/BADI.
    I have tried the BADI  ME_PROCESS_PO_CUST. But the PROCESS_ITEM method of this BADI processes only the line item which has been changed/inserted in ME22N transaction. But my requirement is to update line items irrespective of whether that line item was "changed/not changed" during the process in ME22N screen.
    Could you please suggest me some suitable Exit/BADI for this requirement.
    Regards,
    Anbarasan K

    Thanks Martin.
    Problem solved by implementing the method Process_Header.
    1. Get the items from Header                              -  im_header->get_items
    2. Loop the item list and get the line item record   - re_item-item->get_data
    3. <- Logic to Update the line item - >.
    4. Update the line item                                       - re_item-item->set_data
    Thank you very much.. Martin.
    Regards,
    Anbarasan K

  • Do you have any idea what is the BADI for creation of Purchase Order?

    Hi Gurus, I would like to ask regarding the BADI for the P.O creation in SRM. I have a requirement that if the Account Assignment Type is "asset" it should tick the checkbox (goods receipt/confirmation of performance of service) in the related documents tab of item.  Thanks a lot. I hope you can help me gurus.

    Thanks for the help.

  • User Exit/ BADI for PO release

    Hi Experts,
    Can anyone please tell me about the User Exit or BADI for Sub contract PO release.Also tel me how to proceed for the following 2 requirement ,
    i have to send an IDOC as & when the Sub contract PO releases.
    And automatically resent if changes are made in PO with the repeat output function in ME22N.
    Regards,
    Nik

    Hi,
      Use trx SE19 to implement your BADI: create an ZME_PROCESS_PO_CUST using ME_PROCESS_PO_CUST as definition.
    Now in Interface Tabs you can see the METHODs you can use as "user-exit", in particular there's PROCESS_ITEM to manage items data.
    You have to write your code into this method.
    This method has IM_ITEM like parameter in its interface, and it's like the type IF_PURCHASE_ORDER_ITEM_MM.
    This type has the method IF_LONGTEXTS_MM~SET_TEXT, you can try to use it to set your text in item.
    This is code for example:
    DATA: TLINE TYPE MMPUR_T_TEXTLINES.
    CALL METHOD IM_ITEM->IF_LONGTEXTS_MM~SET_TEXT
    EXPORTING
    IM_TDID = <YOUR ID>
    IM_TEXTLINES = TLINE.
    So you should read the text you want to copy and pass it to TLINE.
    You can use the METHOD PROCESS_HEADER to read the text you need. This METHOD has IM_HEADER as parameter and it's like the type IF_PURCHASE_ORDER_MM, this type has the method IF_LONGTEXTS_MM~GET_TEXT to read header logn text.
    Anyway while you're in implementation of the BADI go to:
    GoTo->Sample Code
    Here you can try an example how to implement the method you need to use.
    Regards

  • User exit / BADI for training and event management

    Hi all,
    Can anybody tell me if there is any user exit / BADI for training and event management module?
    Thanks & regards,
    LOI

    Hi
    BADI's for Training and Event Management
    HRTEM00MASTERDATA      HR: Training and Event Management - Master Data
    HRTEM00NET_ACTIVITY      Determine Activities of an Attendee (e.g. ESS PV8I)
    HRTEM00NET_WEBST      Set Cancellation Reason in ESS PV8I
    HRTEM_CORR_NOTIF_REQ      Customer Enhancement:Confirmation on Send (R/3 Mail, E-Mail)
    HRTEM_HANDLE_BOOKING      HR-TEM BAdI: Employee Leaves Company - Update TEM Data
    HRTEM_INT_ZW           HR-TEM: Badi for Integration TEM - Time Management
    HRTEM_READ_OBJECT      Customer Enhancement: Name Format
    RHPV0001 Customer      Enhancement for Additional Checks for Booking
    Enhancemnet Spot:
    HRTEM00MASTERDATA      HR: Training and Event Management - Master Data
    ~~~Ganesh Kumar K.

  • How to create a BADI for the sceanrio

    Hi abapers,
    I have a scenario as follows.
    I create a Transaction where in i put the details of the product and quantity for a particular project's site. The amount gets calculated based on the products  unit value and its displayed in net value field. Now the user saves the transaction and a number gets generated. If the net value amount is less than 500 then the user can approve , if its greater than 501 and less than 1500 then a mail should be generated to his superior who is able to approve and ifs amount is greater than 1501 then a mail should be generated to the top of hierarchy who should approve it.
    Now the real challenge is if the same project card  has more than 1  new request and the amount is less than 500 the user should not be able to approve  instead it should generate a mail to his hierarchy for approval  since  the site has already been exceeded its limit of approval. bcoz earlier 500 and current 400 which will make it to greater than 500.similarly for the hiearchy.How do i go about  it.
    Now i want to create a BADI  on the save event of transaction to check the net value amount as well as check for earlier amounts saved for the particular site.
    Any help will be appreciated.
    Regards,
    Navin .

    hai navin
    r u using ECC 6.0 or 4.7 if 4.7 u can create badi defintiion directly form se18 transaction
    and define the interface and its methods , once u define them activate them
    and to use in ur code u create an instance of ur badi name
    and then use
                     cl_exithandler=>get_instance  method in instance name parameter just pass ur badi name and this will create a badi defintion in ur code, and an oen can implement it
    if u r usign ecc6.0 then u can either create new badis usign enhancments or classical badis
    for clasical badis just go to menu  utilites and create classical badis and follw the sam eprocedure
    regards
    m.a

  • Regarding Error message in ME_PROCESS_PO_CUST badi for validation.

    hi Friends,
    I am Using ME_PROCESS_PO_CUST badi for validation in Purchase order (ME21N),
    For that I implemented PROCESS_ITEM method which fires during each row now i  add another validation in same implementation for plant  should be same through out the all line item. Now following code is woking fine but when for second line item user changese plant then it shows error message as per logic which is fine but even after changing plant to correct one the error message is still coming why is it so?
    following is my current validation code
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
      DATA:ls_poitem TYPE mepoitem,
           ls_poitem_set TYPE mepoitem.
      DATA:ls_poheader TYPE MEPOHEADER.
      DATA:lm_poheader TYPE ref to IF_PURCHASE_ORDER_MM.
      DATA:w_mara TYPE mara.
      DATA:IT_ZMMTBL039 TYPE STANDARD TABLE OF ZMMTBL039 ,
           WA_ZMMTBL039 TYPE ZMMTBL039 .
      DATA:ls_poitem1 TYPE mepoitem.
      DATA:V_KUNNR1 TYPE KNA1-KUNNR.
      DATA:V_KUNNR2 TYPE KNA1-KUNNR.
      DATA:W_WERKS(4),
           w_werks_tmp(4),
           w_flag(1).
      ls_poitem = im_item->get_data( ).
      lm_poheader = im_item->GET_HEADER( ).
      ls_poheader = lm_poheader->GET_DATA( ).
      IF ls_poitem-werks IS NOT INITIAL.
        w_werks = ls_poitem-werks.
        import w_flag to w_flag from MEMORY ID 'FLAG'.
        if w_flag is initial.
          w_flag = 'X'.
          EXPORT w_werks_tmp FROM w_werks TO MEMORY ID 'MEMO1'.
          export w_flag from w_flag to MEMORY ID 'FLAG'.
          clear: w_flag.
        endif.
      ENDIF.
      IMPORT w_werks_tmp TO w_werks FROM MEMORY ID 'MEMO1'.
    break swaroopb.
      IF ls_poitem-werks NE w_werks.
          MESSAGE E010(zparts) with 'Different plants are not allowed in single PO.'.
      ENDIF.
      CLEAR: WA_ZMMTBL039,w_mara.
      REFRESH:IT_ZMMTBL039[] .
      SELECT *
        INTO TABLE IT_ZMMTBL039
        FROM ZMMTBL039
       WHERE bsart EQ ls_poheader-bsart.
      IF sy-subrc EQ 0.
        CLEAR: WA_ZMMTBL039,w_mara.
        SELECT SINGLE *
          INTO w_mara
          FROM mara
         WHERE matnr EQ ls_poitem-MATNR.
        IF SY-SUBRC EQ 0.
          READ TABLE IT_ZMMTBL039 INTO WA_ZMMTBL039 WITH KEY  bsart = ls_poheader-bsart
                                                              mtart = w_mara-mtart
                                                              spart = w_mara-spart.
          IF SY-SUBRC NE 0.
            MESSAGE E009(zparts) WITH ls_poitem-MATNR w_mara-spart ls_poheader-bsart .
          ENDIF.
        ENDIF.
      ENDIF.
    end method

    Hello Swarup
    Since you want to compare all items together (having the same plant) I would suggest to implement this logic either in method CHECK or POST of the interface.
    However, if you want to make your checks within the PROCESS_ITEM method then you should change your logic.
    It does not make sense to work with the ABAP memory within a BAdI implementing class because the class itself is your "memory".
    I would use the following logic to implement your validation:
      lo_poheader = im_item->get_header( ).  " retrieve header instance
      lt_items = lo_poheader->get_items( ).   " retrieve all items
      ls_detail_x = im_item->get_detail( ).  " details of currently processed item
      LOOP AT lt_items INTO ls_item.
        ls_detail = ls_item-item->get_detail( ).
        IF ( ls_detail-werks NE ls_detail_x-werks ).  " validation failed
        " do something...
       ENDIF.
      ENDLOOP.
    However, I would prefer to do this kind of validation in CHECK or POST method.
    Regards,
      Uwe

  • Project settlement to CO-PA and BAdI for automatic creation of rules

    Hello SAP experts!
    I have managed to implement settlement rule strategy to CO-PA for sales project WBS-elements, which automatically creates the settlement rules for WBS-elements with billing indicator. One or more sales order items are assigned to the WBS-elements. When the system derives settlement rules, it generates profitability segments that contain the characteristic values of the WBS elements and the sales orders assigned to them. The problem is, that only one single settlement receiver is determined for each WBS-element. And if more that one sales order item is assigned to the same WBS-element only those characteristics are copied to the settlement rule that are same in all sales order items.
    For example; it products are different in all sales order items, the automatically created settlement rule does not contain the characteristic value product or neighter other caracteristics derived from product.
    Do You have experience of using BAdI for influencing the generation of settlement rules? What it actually makes possible?
    Br, Nina

    Dear Waman,
    thank you for your reply !
    Yet - this still does not solve our problem. In that note (and also in the related note 201445) there is no valuable information included concerning transaction currency:
    Our WBS elements (and also other cost objects, e.g. sales order items) are being debited in all of the three currencies.....but the credit (during settlement) only takes place in two of them:  object and CO area currency.
    I really appreciate additional help on this. It would be hard to believe that we are the only SAP customer having this kind of problem.
    Best regards,
    Thomas

Maybe you are looking for

  • How do I fix the "modification failed" error?

    When I try to add a new event to my Lightning calendar I get this error, the calendar is locked as "read only" and when I restart the app the event is no longer in the calendar. I have seen this sort of error for as long as I have been using T-bird b

  • Macbook pro won't restart after time machine install on new hard drive

    I installed a new 500 GB HD on my 13-inch mid 2010 Macbook Pro (since the original crashed).  I successfully connected to the Disk Utility via the internet connection and started recovery from a recent Time Machine backup....but, the computer will no

  • New g/l a/c configuration

    Hi, PLZ can any one send new g/l a/c configuration. My Email Id is [email protected] awarded points Regards, JC

  • Batch Management Requirement

    Dear Experts, We are going for Batch management in our rollout project. Scenario we wil be as follows: 1] SFG material need to be handled by Batch 2] FG material need to be handled by Batch 3] We want the Batch output of SFG to FG Ex: let say we have

  • Problem in content of editorpane

    Hi, In my application the editroPane have some content this content should be read in FileInputStream for that it should be saved as file.. How is this possible????????// whether the content may be saved as file or how this content should be read in