User EXIT to suppress or disable  "Conditions" tab at item level in va02

hi gurus,
well i have very urgent requirement to suppress Condotion tab at item level in va02 based upon authority object, did you know where i can disable the function code "T\05" or suppress subscreen.
my requirement is that when a user press on condotion tab he should not be able to see pricing detail data.
will reward points for sure
mandy

Hi Mandy,
I think you can do through SHD0 Transaction by creating transaction variants.
If not possible there could be some customization from SPRO, consult with your functional guy.
Check this enhancement MV45AFZZ
PERFORM USEREXIT_FIELD_MODIFICATION, I think in this perform you may disable, check this
Regards,
Satish
Message was edited by:
        Satish Panakala

Similar Messages

  • Proble in VA01, cant see condition types in condition tab at item level

    Hi
    Well i am facing a strange problem in VA01, i am not able to see condition type whole grid under Condition tab at item level in VA01. actually i was given a project to hide pricing data from particular users based upon Authorization object value. initially i though it might be because of that so  i revert back all the changes but the problem remain Intact.
    well do you have any idea which user exit or enhancement may affact this or do you knoe if it can be because of  SD configuration changes.
    i mean can be hide condition type in VA01 through pricing condition.
    the other thing is its working fine in VA02.
    i made changes in following include
    MV45AFZZ
    MV45AFZB
    LV69AFZZ
    RV60FUS4
    any help will be highly appreciated .
    rewards for sure
    mandy
    Edited by: mandy on Jan 15, 2008 2:11 PM

    use this
    INCLUDE MV45AFZZ. include.
    u will find  FORM USEREXIT_PRICING_PREPARE_TKOMK  
    where u can change
    princing
    i am puting my code which i did
    ok
    DATA : WA_KOMV LIKE XKOMV,
           WA_ZPRICING LIKE ZPRICING1.
    IF SY-TCODE = 'VA01'.
    IF VBAK-AUART = 'YYOR'.
    LOOP AT XKOMV INTO WA_KOMV where KPOSN = VBAP-POSNR.
    IF WA_KOMV-KSCHL = 'ZABS'.
    SELECT SINGLE *
           FROM ZPRICING1
           INTO WA_ZPRICING
           WHERE VKORG = VBAK-VKORG
           AND VKBUR = VBAK-VKBUR
           AND VTWEG = VBAK-VTWEG
           AND MATNR = VBAP-MATNR.
    IF SY-SUBRC = 0.
    delete XKOMV.
    ENDIF.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDIF.

  • User Exit in VF01 for Tax Conditions

    Hello,
    Please inform if any user exit is available for processing Conditions (Tax) in a Sales Order.
    I'm facing a problem that while Invoicing, a certain Tax condition is not being executed.
    Thanks,
    Shalabh Jain

    HI Colleague,
    I will list the available user-exit to be used for Billing Document:
    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    I hope that one of them could be helpful.
    Regards
    Ruy Castro

  • Suppressing tabs at item level in sales order

    16.07.2008
    Hi friends,
    How do i suppress tabs like say the condition tab or the billing plan tab at item level for a Sales document type and for certain users when the user is using transaction code va02?. My requirement is certain users should not be able to change date in these tabs.
    Please suggest.
    Regards,
    Uday

    Hi,
    You can control it through user-exit USEREXIT_FIELD_MODIFICATION in program MV45AFZZ by using following coding. You have to create database table <ztable> where you will maintain user who are not allowed to change the billing date.
      tables: <ztable>
      case screen-name .
        when 'VBKD-FKDAT'.
          if vbak-vbtyp eq 'C'.
            select * from <ztable>
               where user_name eq sy-uname.
               if sy-subrc eq 0.
                  screen-input = 0.
               endif.
          endif.
      endcase.

  • Adding a new tab on item level in me21n tcode

    Hi all.
    i am adding a new tab on item level in me21n tcode.
    i want to make this tab to be shown on the screen when the order type is UB is stock purchase order.i dont know how to make this condition and where should i place it so that this tab can come in effect only when the stock purchase order appears.
    please help.thanks

    hi
    chk this
    Re: New tabs in the header tab-sheet of ME21N/ME22N/ME23N
    hope this helps
    regards
    Aakash Banga

  • Add additional tab on item level in contract for customer fields

    Hi Guys,
    Does anyone know if the following is possible in SRM 7.0, and if so can you please give a very short description how to accomplish this -
    In addition to the standard tabs available in the contract (general data, notes, conditions etc.), is it possible to add a new customer specific tab on item level, in a central contract and add some customer fields to this tab?
    I know it is possible to add customer fields in SRM, but I am curious if I can create a new tab for these fields, so that I can group all customer fields together in one place.
    Thx.
    Kind Regards,
    Skander

    Yes. it is possible but you have to take care of in the back end too and how these fields comes and sit in ECC. so that you may need to map in the IDOC or XI data . so that these information must be pssed to ECC and available  and accordingly you need to change in purchase order too since all these data will be copied into purchase order too.
    for example :- if you add one field in header level /item level of contract
    and it must be coppied into Backend contract as well as your next consecutive docuemnt like Purchase order must be taken care. hope you understand now.
    Muthu

  • Inter company PO Shipping Tab in item level.

    Hi Everybody,
    I want to make Inter company PO but I am not getting the Shipping Tab in item level. All Sales view is maintained in Material Master for both the Plant and Material. Could anybody help regarding the Settings of Shipping point to get Shipping tab while creating the PO.
    If any Sales module setting if required please inform.
    Already for one Plant it is getting, but same I have to maintain for another Plants.
    At backend supply plant & receiveing Plant for Doc type is maintained and checking rule is also assinged.
    regards,

    have u dont the setting for shiping date for plants
    do the setting for the plant
    create a customer for a plant and assign in following
    spro-- mm-purcpur ordset up sto
    Define Shipping Data for Plants
    ur issue will be solved
    Message was edited by:
            Umakant Bhangale

  • Crm_order_maintain ,changing pricing condition value at item level

    Hi,
    I am trying to change the pricing condition value at item level while creating sales order through CRM_ORDER_MAINTAIN.
    I am not able to change the condition value.
    Code is below.
          wa_inputfields-ref_guid   = wa_orderi-guid.
          wa_inputfields-ref_kind   = 'B'.
          wa_inputfields-objectname = 'PRIDOC'.
          wa_fieldname-fieldname    = 'KBETR'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'KMEIN'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'KPEIN'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'KSCHL'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'WAERS'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          INSERT wa_inputfields INTO TABLE it_inputfields.
    wa_pricing_add-KSCHL  = 'ZP06'.
    wa_pricing_add-WAERS  = 'USD'.
    wa_pricing_add-KBETR = '10'.
    wa_pricing_add-KPEIN = '1'.
    wa_pricing_add-KMEIN = 'ST'.
    INSERT wa_pricing_add INTO table it_pricing_add .
    wa_pricing-REF_GUID     = wa_orderi-guid.
    wa_pricing-REF_KIND      = 'B'.
    wa_pricing-PRICING_TYPE  = 'A'.
    wa_pricing-COND_ADD = it_pricing_add.
    wa_pricing-PRICING_PROCEDURE = 'ZVDSP'.
    append wa_pricing to it_pricing.
    Can you tell me how to overwrite the condition value while creating sales order using crm_order_maintain.?
    Regards,
    Indhra.E

    Hello Indhra,
    Check the CT_INPUT_FIELDS table, in the OBJECTNAME field you will find all the tables that are filled during the function call. Check those tables mentioned in the OBJECTNAME to look for any pricing related data.
    When your order is in change mode and you activate debug <b>just before you make the change</b>, the CRM_ORDER_MAINTAIN FM call contains <b>data only relevant for the change you just made</b>. In other words, you need to fill exactly the same tables as CRMD_ORDER does.
    E.g. You just change the pricing procedure and you see in debug that 5 tables are filled, you must do exactly the same in your code! It's quite anoying but you're using a low-level API FM that can handle ANY transaction type in CRM!
    Check it, it works!!
    <b>Reward points if useful!</b>
    Regards,
    Joost

  • Additional tab item level on MIGO supresses the excise tab at item level

    Hello Experts,
    I have used MB_MIGO_BADI to add an additional tab at item level.It is working properly.
    But now Iam facing a problem the additional tab supresses the excise tab that comes up dynamically at the item level,.
    Now how do i reslove this problem.
    Since excise details are entered later and the tab comes up dynamically my tab should not supress the excise tab at item level
    it should come after the excise tab.
    Now do I set this.
    Please help . highly appreciated. 
    Regards,
    Ranjith N

    Hi Balu,
    Thanks for your reply.
    I dint get you what you have explained.
    Hope you are clear with my problem.
    I have created a subscreen 'ZMIGOITEM' with screen number '9000'.
    In the PBO of BADI MB_MIGO_BADI I have displayed this subscreen.
    This is getting displayed at item level when I call Tcode 'MIGO'.
    After fillin up the details for performing GR..and when I check it it gives me a warning to fill in the excise details when I fill in the excise details at header level and check as per the standards an excise tab at item level should come up right ?
    Since i have added a additional tab the excise tab doesn't come up....the additional tab supress it ...
    Regards,
    Ranjith Nambiar

  • PCUI:Add REF_TO_HEADER to pcui(CRMD_BUS2000112) BILLPLAN TAB at item level

    Hi ,
    We are trying to add Header billing plan check box REF_TO_HEADER (Billplan Tab) TO pcui application service contract'S(CRMD_BUS2000112) BILLPLAN TAB AT item level.
    1.Append the structure CRMT_BSP_SRC_SERVICEDATA_2_IL  with REF_TO_HEADER field
    2.IN CRMC_MAP Txn(Table: CRMC_MAPPING) for structure CRMT_BSP_SRC_SERVICEDATA_2_IL we added entry
    UL Field:REF_TO_HEADER      Object:BILLPLAN     Object.Field REF_TO_HEADER
    3.Changed field group SRC_BILLPL_2 with new entry for REF_TO_HEADER as check box.
    4. It is showing correctly like same as in SAP GUI but it's not saving the data from PCUI.
    Please help us to trace the problem .We debugged Modify method of CL_CRM_BSP_AM_ITEMFM_1O class but we couldn't figure out the issue.
    Thanks,
    SAP FAN

    Hi ,
    The first thing to check in modify method is whether the correct value for the field REF_TO_HEADER  is being received by your MAC .
    If 'yes' then you have to make sure that this gets saved and when 'READ' is called then this field would have to be populated by you.
    Then the changed value will be visible in the browser.
    Note : When you change the value of a field and then press <enter> or SAVE or whatever .. there is a server roundtrip.The MODIFY method passes data from framework to application .The application saves this data and then sends it back to framework using the READ method.Then framework shows it on browser.
    Regards,
    Satyadeep

  • User exit to find sy-comm when user select a tab at item level data in VA02

    Hi Gurus,
    is there any user exit in VA02 in which we can find the command button pressed in the sale order line item data where we find sales A sales B .....and condition tab in the screen.
    rewards for sure.
    thanks

    Dear Mandy,
    How to find user exits:
    Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT
    If you know the Exit name, go to transaction CMOD.
    Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.
    You will now come to a screen that shows the function module exits for the exit.
    3. Using Project management of SAP Enhancements, we want to create a project to enahance trasnaction VA01 .
    - Go to transaction CMOD
    - Create a project called ZVA01
    - Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document. 
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Press Save
    Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = '2155'.
    Activate the include program. Go back to CMOD and activate the project. 
    Goto transaction VA01 and craete a salesorder. 
    Finding the user-exits of a SAP transaction code
    * Finding the user-exits of a SAP transaction code
    * Enter the transaction code in which you are looking for the user-exit
    * and it will list you the list of user-exits in the transaction code.
    * Also a drill down is possible which will help you to branch to SMOD.
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    Best Regards,
    Rajesh
    <b>Please award points if found helpful.</b>

  • User exit to copy Manual pricing conditions with in sales documents

    Hi all,
    I have a situation where i have to copy the manual pricing conditions from inquiry to quotation.
    Problem: From VA21 when I try to do the same using the tab "create with reference" the document is being copied but the manually set pricing condition in the inquiry is not being copied into quotation. This is because in the copy controls the pricing type is set to 'B' which means "carry out new pricing". I can change it to 'C' or 'D' so that it copies manual pricing but i am not allowed to do so because other sales orgs in the company has a problem if i do so. Only our perticular sales org needs this config. I cannot even create another item catogory specific to this plant because it is against the rules of the company. So I am looking for a user exit in which i can change this pricing type during runtime so that i can plug in some code specific to this sales org to copy manual pricing. I have found one from the SAP note 24832 (MV61AFZA). It doesn't work as i think its obsolte. Can anyone suggest me a better way of solving this issue. Any quick response is appreciated.
    Thanks,
    Giridhar.

    Hi
    The following EXITS may help you
    Exit Name              Description                                                                               
    SDTRM001            Reschedule schedule lines without a new ATP check                 
    V45A0002            Predefine sold-to party in sales document                         
    V45A0003            Collector for customer function modulpool MV45A                   
    V45A0004            Copy packing proposal                                             
    V45E0001            Update the purchase order from the sales order                    
    V45E0002            Data transfer in procurement elements (PRreq., assembly)          
    V45L0001            SD component supplier processing (customer enhancements)          
    V45P0001            SD customer function for cross-company code sales                 
    V45S0001            Update sales document from configuration                          
    V45S0003            MRP-relevance for incomplete configuration                        
    V45S0004            Effectivity type in sales order                                   
    V45W0001            SD Service Management: Forward Contract Data to Item              
    V46H0001            SD Customer functions for resource-related billing                
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan      
    V45A0001            Determine alternative materials for product selection
    Regards
    PRabhu

  • User exit / BADI to add the condition type in PO

    Hi Friends,
    The scenario is like user will be creating the Sales order & after that user will create the PR & immidiately after that PO will be created from PR no.
    I will be checking for some Z* condition type in sales order & if its present in sales order I have to add that condition type in PO.
    So for this I am searching for user exit or BADI.
    Please help me out with this.
    I have already tried following user exits & bADIs
    1. RV61AFZA - cant use because i dont get the PR no or SO no in this exit.
    2. RV61AFZB - cant use because i dont get the PR no or SO no in this exit.
    3. also tried the enhancement MM06E004 - if I add new condition type in XKOMV table condition type is not getting updated in PO.
    4. MM06E005 - if I add new condition type in XKOMV table condition type is not getting updated in PO.
    5. ME_PURCHDOC_POSTED - this BADI dont allow us to add the new condition type to std internal table.
    If you know anything apart from this then please do let me know.
    Full points will be awarded for the correct answer!!
    Best Regards,
    Aditya
    Edited by: aditya aghor on May 26, 2008 8:59 AM
    Edited by: aditya aghor on May 26, 2008 10:33 AM

    Transaction Code - MIRO                     Enter Invoice                                                                               
    Exit Name           Description                                                                               
    LMR1M001            User exits in Logistics Invoice Verification                   
    LMR1M002            Account grouping for GR/IR account maintenance                 
    LMR1M003            Number assignment in Logistics Invoice Verification            
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs   
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting   
    LMR1M006            Logistics Invoice Verification: Process XML Invoice            
    MRMH0001            Logistics Invoice Verification: ERS procedure                  
    MRMH0002            Logistics Invoice Verification: EDI inbound                    
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP                
    MRMN0001            Message output and creation: Logistics Invoice Verification    
    kevin

  • User-exit that triggers everytime I change a line item and change condition

    Hello Experts,
    We are encountering an error wherein when we create a return order with reference
    to an invoice and we create multiple line items with the same material, the succeeding
    line items points to the wrong conditions in the reference invoice. Below is an example:
    Original Sales Invoice 3010002390
    Line Item No.     SKU          Quantity     Total Rebate Discount          Per Unit Rebate Discount
    10          100315          10               128.07                    12.81
    20          106666          10               128.07                    12.81
    30          100338          10               243.86                    24.39
    Return Order 1120000402  (repeatedly created with reference to the same sales invoice number)
    20          106666          1               12.81                    12.81
    30          106666          1               24.39                    24.39
    For Return Order line 30, it should have picked the price 12.81 instead it picked 24.39,
    which is the same line item with the original sales invoice.
    I am using user-exit 'USEREXIT_NEW_PRICING_VBAP' and it triggers everytime I change the quantity of a line item.
    But I tried to change the values in XKOMV and put 'U' in UPDKZ but it doesnt reflect when I view it.
    Hope you can help me guys. Thank you and take care!

    Thanks anyways...

  • User exit in VL31N/VL32N to add tab page at header level

    Hi,
      I want to know whether we have any user exit for VL31N to add tab page. I know the BADI name. But now I am using 4.6c which doesnot have the BADI. 
    Bye.

    Hi Bindu, You can implement BADI - LE_SHP_TAB_CUST_HEAD to add header tab for Tcode - VL31N.
    Create function group and create screen in that function Group. Call screen in Method ACTIVATE_TAB_PAGE of badi by passing required parameter as listed below.
          EF_CAPTION = 'Insurance Detail'.          " Tab Text
          EF_POSITION = 7.                               " Tab Position
          EF_PROGRAM = 'SAPLZMM_VL31N'.     " Function Group
          EF_DYNPRO  = '9001'.               " Screen #

Maybe you are looking for