IN SRM UI addon - how to restrict Tax code and purch. group drop down value

Hi All,
We recently implemented SRM UI add on, and before this we have a logic where based on the company code we used to restrict tax codes in the dorp down of tax code fields, however with new UI this logic doesnt work, is there any way to achieve this functionality.
Regards
Manoj

You have to redefine the Method GET_DQUERY_DEFINITION of the Search View.
Check in some other serach components where this must have already been done to get the exact code.
Regards,
Harshit

Similar Messages

  • How to display Current Year and Month in Drop Down list

    Hi Dear friends,
    I am devloping a report. It has got 2 pages--input and output(Report) page.
    IN input page, user will select Month and Year from drop down list as one of the input parameters. (seperate drop down list 4 month and year)
    Now, my problem is:
    HOw to display current month and year by default in the dropdown list...........
    I hope my question is clear.
    Please help.
    Regards,
    ASh

    NO da,
    it is not working.
    First i tired with for-loop. I initialized variable "i" to -2 (i=-2) I would get the year drop down list from 2003 but, by default 2003 would come.
    So, i posted the question.
    I tried your code. It is giving following error.
    A Servlet Exception Has Occurred
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occured between lines: 122 and 127 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:182: Invalid type expression.
    first.set(Calendar.YEAR, 2003)
    ^
    An error occured between lines: 127 and 131 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:186: Invalid declaration.
    out.write("\r\n \r\nYear : \r\n \r\n"); ^ An error occured between lines: 198 and 203 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:282: Invalid type expression. first1.set(Calendar.YEAR, 2003) ^ An error occured between lines: 203 and 207 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:286: Invalid declaration. out.write("\r\n \r\nYear :\r\n \r\n");
    ^
    4 errors
    Pls. Help.
    Regards,
    Ashu

  • How to restrict Sales office and Sales Group.

    Hi All,
    I want to restrict the users from changing the sales office and sales group in the sales order.
    Is there any standard way to achieve this or do we need to do with User exit??
    Please help.
    Thanks,
    Pavan.

    hi
    there is no standard settings for estrict the users from changing the sales office and sales group in the sales order
    so you have to write the logic in userexit
    DATA: lt_user_list   TYPE STANDARD TABLE OF tvarvc,
           lw_user_list   TYPE tvarvc,
           lr_user        TYPE RANGE OF syuname,
           lw_user        LIKE LINE OF lr_user.
    IF screen-name EQ ' VBAK-VKBUR' and   VBAK-VKGRP.
    * IF sy-tcode EQ 'VA02'.
    **Get list of users who are allowed to change SO - only they can change payment terms
         SELECT *
           FROM tvarvc
           INTO TABLE lt_user_list
          WHERE name = 'ZSD_VA02_ALLOWED'
            AND type = 'S'.
         IF sy-subrc = 0.
           LOOP AT lt_user_list INTO lw_user_list.
             lw_user-sign = lw_user_list-sign.
             lw_user-option = lw_user_list-opti.
             lw_user-low    = lw_user_list-low.
             lw_user-high   = lw_user_list-high.
             APPEND lw_user TO lr_user.
             CLEAR lw_user.
           ENDLOOP.
    **    If user is not in the users listed for change allowed
           IF sy-uname NOT IN lr_user.
             screen-input = 0.
           ELSE.
             screen-input = 1.
           ENDIF.
         ENDIF.
       ENDIF.
    ENDIF.
    go to STVARV t code here you check the NAME and give the user ids who need to change

  • How to populate both key and text in drop down list in dialog prog screen

    Hi, Can anyone please advice how to display both key and text in the drop down list in dialog prog screen. I tried with below code. keys and texts are getting populated in values table but only text is appearing when click on drop down. need to display both key and text in the drop down. Thanks in advance.
    TABLES: ZRPP_MODELS, ZRPP_FFLSTRATEGY.
    TYPE-POOLS : VRM.
    DATA : field_id TYPE VRM_ID ,
           values   TYPE VRM_VALUES,
           value    LIKE LINE OF values.
    FORM fill_model_list .
      select MODEL MODEL_DESC from ZRPP_MODELS into value.
        APPEND value TO VALUES.
      endselect.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = 'ZRPP_MODELS-MODEL'
          values = values.
    ENDFORM.

    You need to concatenate KEY & VALUES
      wa_values-key = '1'.
      wa_values-text = '1 - One'.
      append wa_values to i_values.
      wa_values-key = '2'.
      wa_values-text = '2 - Two'.
      append wa_values to i_values.
      wa_values-key = '3'.
      wa_values-text = '3 - Three'.
      append wa_values to i_values.
      call function 'VRM_SET_VALUES'
        exporting
          id              = 'LIST_BOX'
          values          = i_values
        exceptions
          id_illegal_name = 1
          others          = 2.

  • How does one come to know this..drop down in ALV in WD

    Hello Friends,
                          I had a requirement of adding a drop down in ALV, i eventually got it but I have some questions about it
    I used the following code and got the drop down
    lr_column = lr_column_settings->get_column( 'BWART' ).
      CREATE OBJECT lr_input_field
        EXPORTING
          value_fieldname = 'BWART'.
      lr_column->set_cell_editor( lr_input_field ).
    DATA : LR_DROPDOWN TYPE REF TO CL_SALV_WD_UIE_DROPDOWN_BY_KEY.
    CREATE OBJECT LR_DROPDOWN EXPORTING SELECTED_KEY_FIELDNAME = 'BWART'.
    LR_COLUMN->SET_CELL_EDITOR( LR_DROPDOWN ).
    DATA: LT_VALUESET TYPE TABLE OF WDR_CONTEXT_ATTR_VALUE,
    LS_VALUESET TYPE WDR_CONTEXT_ATTR_VALUE,
    LR_NODE TYPE REF TO IF_WD_CONTEXT_NODE,
    LR_NODEINFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
    LR_NODE = WD_CONTEXT->GET_CHILD_NODE( 'RETURN_NODE' ).
    LR_NODEINFO = LR_NODE->GET_NODE_INFO( ).
    LS_VALUESET-VALUE = '973'.
    LS_VALUESET-TEXT = '973'.
    APPEND LS_VALUESET TO LT_VALUESET.
    LS_VALUESET-VALUE = '222'.
    LS_VALUESET-TEXT = '222'.
    APPEND LS_VALUESET TO LT_VALUESET.
    LR_NODEINFO->SET_ATTRIBUTE_VALUE_SET( EXPORTING NAME = 'BWART' VALUE_SET = LT_VALUESET ).
    My question is ... how does 1 know which class to use? how to use that class... most of concepts about OOPS are clear.. but i still cant figure out how does 1 find out which class to use.. is it all by expericence..

    In short: Yes, by experience. Then again, for WD4A there is a class for each UI-Element available. Once you know this, you can easily search se24 for CLWD<UI-NAME>* or the like.

  • How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/updat

    How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/update for certain group of users
    eg. for Subsidiaries to openr/close periods of their own company only.
    Refer to my screen, Company 1010 and 1060 is for Head Office while 1210 is for our Malaysia Company. How to restrict my Malaysia Company user to open and close only for 1210 and cannot perform any change to other Company.

    Hi,
    I guess you can use company code itself. Talk to your basis guy or else if you have some expertise & Authorization try out PFCG.
    Regards
    Santosh Hegde

  • How many new tax type and tax code  are created for change in TDS

    Hello Gurus.
    we are using SAP since more than  one year.
    now tDS rate is change , so i would like to know How many new tax type  and Tax Code is created in our system
    and also like to know At what percentage  i will crete that  new tax code.
    we have pair of tax type and tax code as shown in Example( for Interest) below
    Tax type        Tax code           Name
    I1      IC      Sec 194A - Interest on deposits
    I1      IO      Sec 194A - Interest on deposits OT
    I2      IC      Sec 194A - Interest on deposits Surcharg
    I3      IC      Sec 194A - Interest on deposits EC& SHEe
    I3      IO      Sec 194A - Interest on deps EC& SHEe OT
    I4      IC      Sec 194A - Interest on deposits Pymt
    I4      IO      Sec 194A - Interest on deposits Pymt OT
    I5      IC      Sec 194A - Interest on dep Pymt Surcharg
    I6      IC      Sec 194A - Interest on dep Pymt EC& SHEe
    so  how namy  additional  reuire to create new tax type and code more.
    i am waiting your reply.
    Regard,
    Riten patel
    Edited by: riten patel on Oct 29, 2009 10:23 AM
    Edited by: riten patel on Oct 29, 2009 10:23 AM
    Edited by: riten patel on Oct 29, 2009 10:33 AM

    Hello Hansachechani
    we have  followinng   tax key
    115O     Dividend 115O(1)
    192B     Salary
    194A     Interest income other than securities
    194C     Payment to contractors
    194H     Commission
    194I     Rent
    194J     Prof/Technical services
    195     Payment to foreign nationals
    206C     Tax Collected at Sources (Scrap)
    ST     Service Tax
    and we have followig tax type
    C4     Sec 194H Commission Payment
    C5     Sec 194H Commission Pymt Surcharge
    C6     Sec 194H Commission Pymt EC & SHE Cess
    D4     Sec 115O(1) Dividend Payment
    D5     Sec 115O(1) Dividend Pymt Surcharge
    D6     Sec 115O(1) Dividend Pymt EC & SHE Cess
    F4     Sec 195 Foreign Prof fees Payment
    F5     Sec 195 Foreign Prof fees Pymt Surcharge
    F6     Sec 195 Foreign Prof Fees Pymt E&HS Cess
    G1     Service Tax on GTA
    G2     Service Tax on GTA E Cess
    G3     Service Tax on GTA S&HE Cess
    I4     Sec 194A Int on Deposit Payment
    I5     Sec 194A Int on Deposit Pymt Surcharge
    I6     Sec 194A Int on Deposit Pymt EC & SHE Ce
    L4     Sec 194C Contractors Payment
    L5     Sec 194C Contractors Payment Surcharge
    L6     Sec 194C Contractors Payment EC&S HE Ces
    P4     Sec 194J Professional Payment
    P5     Sec 194J Professional Pymt Surcharge
    P6     Sec 194J Professional Pymt EC & SH E Ces
    R4     Sec 194I Rent Payment
    R5     Sec 194I Rent Payment Surcharge
    R6     Sec 194I Rent Payment E Cess & SH E Cess
    So Is it necessary to create new tax key and tax type?
    wheather i create new tax code only?
    I ma waiting your reply.
    Regard,
    Riten patel

  • How to make tax codes in mm purchasing

    Dear Guru,
    1. How to make tax code for purchase of Raw materials with basic excise duty=14%, SECess=2%, HSEcess=1% and Additional Excise duty=4% as follows . If we consider basic prise=100 then
    BASIC                  =100
    BED    (14%)        =14
    SED     (2%)        =0.28----
    Sed=secondary Educational Cess
    HSECESS (1%)     =0.14
    SUB TOTAL        = 114.42
    AED (4%)           =4.56
    TOTAL             = 119
    For above all taxces(BED,SED,HSEcess,AED) , client gets 100% set off.
    Please tell me detail procedure.
    2.Do we need to assign (tax code)  them to any business area, as my system is giving an error at the time of saving in MIRO.
    3. What is the meaning of ticking ( check box tick) for calculate taxes under  basic tab in MIRO.

    Hi Nitin,
    Tax Set Off depends on the Account Key which you are using. Account Key in Tax Procedure will be defined by finance at SPRO - Financial Accounting - Financial Accounting Global Settings - Tax on Sales / Purchases -   Basic Settings - Check and Change settings for Tax Processing.
    Check the relevant condition type in the Tax Procedure (TAXINJ / TAXINN), and then check the account key of the procedure whether the Non Deductable indicator is set or not. you may take finance help for the same. Once it is done correctly then define the excise defaults for the relevant tax procedure at SPRO - Logistics General - Tax on Goods Movement - India - Basic Settings - Determination of Excise duty - Maintain Excise defaults
    Then create the tax code with the relevant condition types.
    You need to assign the Tax code to Company code if you use TAXINN procedure. No need for assignment of Tax code to Business Area
    Once you select the Check Box Calculate taxes in MIRO, then system calculates the Taxes based on the tax codes defined and also validates whether Part II Postings have been done or not also for the Excise relevant transactions
    Regards,
    Ramakrishna

  • How to create TAX CODE in Spro...urgent please...

    Hi sap guru's
           While doing MIRO/MIR7/MIRA(logistics invoice verification). my cleint is using different tax code. i want to creat new TAX code for my cleint..
         can anybody tell me how to create TAX code in SPRO.
    Thanks

    Hi Sakti,
    Transaction code to create Tax code is FTXP.
    Path is
    IMG--> Logistic General --> Tax on good movements --> India --> Basic Settings --> Determination of Excise Duty --> Condition Based Excise Determination --> Define Tax code for Purchasing Department
    After creating tax code dont forget to assign with your counrty code for that path is
    IMG--> Logistic General --> Tax on good movements --> India --> Basic Settings --> Determination of Excise Duty --> Condition Based Excise Determination --> Assign tax code to company code
    Hope your query is solved
    Regards
    Vivek
    -- Reward for the Effort !!

  • How t ocreate tax code ...?

    hi all
    Can anybody explain me how to create tax code for my company code in IDES.
    I tried to create new tax code in FTXP..
    System is asking for tax jusdricaton..
    Please guide me how to proceed further
    Thanks
    sap-mm

    Hi
    Try deleteing the Jurisdiction code from Trax OBCP & then from OBCO.
    maintain tax procedure and assign it to your country in OBBG.
    Then try maintaining TAX codes already created in FTXP.You will
    now be able to exclusively enter Tax rate and it will not be
    greyed out.
    The Key however is that your TAX Procedure for the countrry for
    which ur working should be properly maintained inside OBQ3,
    and BSX & WRX enteries should be correctly assigned to the type
    of GL account inside OBCL.
    Regards
    Sujoy
    Edited by: Sujoy on Oct 14, 2008 10:54 AM

  • CIN: How to maintain tax codes

    I am using TAXINJ pricing procedure for creating excise invoice.
    My question is how to maintain TAX Codes for calculating breakups of excise duties. How many tax codes do we maintain.
    I can make the excise invoices but i am facing problem because tax codes are not properly maintained.
    I can give more details if required.
    Experts please help me on that.
    Ravs

    Dear Deepu,
    Thnx..
    In tax code i hv maintained following rates:
    Condition type                                Taxrate
    JMO1 BED                                     14%
    JAO1  AED                                     1%
    JIN1 CST                                         4%
    & in the other Tax code i hv
    JIN2 LST                                          3%
    I hv also maintained record in J1ID for Chapter ID
    BEX rate 14%        &             AED 1%
    I also changed tax rates to 100% as you said.
    Now when i am trying to create record in UTXJ, at the time of entering tax code i am getting that msg.
    I think i hv missed some step or any mistake in tax code.
    Regards
    Ravi

  • How is the tax code determined while creating a new PO?

    Hello,
    how is the tax code determined while creating a new PO?

    HI,
    Tax code refers to a TAXINN /TAX INJ and it always at country level -where the business dealing happens and not dependent on any other factors like vendor or material, company code or plant. etc.
    So after you have maintained a Tax code in FTXP in the category as input Tax( V)  it would be appears in the Tab Invoice.
    where you could manually select the same
    For automatic determination as said in the top messages we can maintain an inforecord.
    hope so it helps
    Regards
    Anjanna.
    Edited by: Shiva Rajanala on Apr 28, 2009 5:03 PM

  • How to tansport tax codes

    Dear All
    Can anyone guide me how to transport Tax codes from one system to another system and simailary how to transport condition records for these tax codes.

    Go to FTXP and Select Country and go to Menu Tax Code and Click on Transport - > Export
    Procedure
    When tax codes are transported, the tax rates of the tax codes are transported using auxiliary table T007V. Logical transport object FTXP is used to transport the definition data of the tax code from table T007A and the language-dependent name to table T007S.
    The tax accounts for the tax codes (table T030K) are not transported.
    The internal jurisdiction codes are also not transported.
    The transport of tax codes between systems or clients consists of two steps:
    1. Step:
    Export tax codes from source system or source client
    2. Step:
    Import tax codes into target system or target client
    Export
    1. In the source system or client, in Customizing for the Financial Accounting Basic Settings, choose Tax on Sales/Purchases -> Calculation -> Define Tax on Sales and Purchases Code.
    2. Choose Tax Code -> Transport -> Export.
    3. Assign the export to the relevant transport request and make a note of the request number.
    4. Select and save the tax codes to be transported.
    5. Make sure that the selected tax codes have the transport number in table T007V.
    To check the table, in the SAP menu choose Tools -> ABAP Workbench -> Overview -> Data Browser.
    Enter the table name. The tax codes are in the MWSKZ fields, the tax jurisdiction codes in the TXJCD fields.
    6. Arrange the transport of the request to the target system.
    To transport the request, in the SAP menu choose Tools -> ABAP Workbench -> Overview -> Workbench Organizer -> Environment -> Customizing Organizer.
    Import
    1. Make sure that the transported tax codes are recorded in table T007V of the target system or target client.
    2. In the source system or client, in Customizing for the Financial Accounting Basic Settings, choose Tax on Sales/Purchases -> Calculation -> Define Tax on Sales and Purchases Code.
    3. The tax codes should have been created in the target system without a tax percentage rate by the import.
    Otherwise you can do this manually:
    In the target system, create the tax codes that do not exist there.
    Create the tax codes completely, but without tax percentage rates.
    If you use internal systems in company codes in the USA or Canada, the relevant tax jurisdiction codes should also exist. You make the settings for the tax jurisdiction code in Customizing for Financial Accounting Basic Settings under Tax on Sales and Purchases -> Basic Settings -> Define Tax Jurisdiction Codes.
    4. Choose Tax Code -> Transport -> Import.
    5. Check the proposed values for the transport request and country.
    6. Run the import.
    Notes for the transport of tax accounts
    When you transport tax codes between different systems or clients, no tax accounts are transported.
    Adjust the tax accounts in the source and target system (or source and target client) manually.

  • SAP Treasury Management-How to Config Tax codes for Business Partner

    Hi SAP Gurus,
    Please suggest me how to configure specific Tax Code and Tax relevant data for Business Partner in SAP Treasury Management while posting transactions with reference to any specific GL A/c. Kindly help me .
    Thanks and advance
    Regards
    Shivan

    Hi Appalas,
    Check this link
    Re: Linking of default taxes and discounts to BP
    Tax Code
    /people/arshdeep.singh/blog/2008/10/20/defining-a-new-tax-code-in-sap-business-one-2005-b-and-2007-b
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 22, 2009 12:39 PM
    Edited by: Jambulingam P on Jun 22, 2009 1:20 PM
    Edited by: Jambulingam P on Jun 22, 2009 1:21 PM

  • I cannot remember my restriction pass code, and I don't know how to retrieve it. Can someone help me, I'm new to this stuff!!

    I set a restriction pass code, and when I tried to use it, it says it's wrong. But I had to put it in 2x so it can't be wrong. And I just set it this morning, so I didn't forget. It just won't let me in.

    iOS: Forgotten passcode or device disabled after entering wrong passcode - http://support.apple.com/kb/ht1212 - Learn what to do if you have forgotten or can't remember your passcode, or if your device displays a message saying it is disabled.
    If you cannot connect it to the computer to which the device was last connected (or the device was never connected to a computer) you will have to use recovery mode to completely reset the device, losing all data:
    iOS: Unable to update or restore - http://support.apple.com/kb/HT1808 - recovery mode (e.g., cannot connect to computer last used to sync device, iTunes still asks for a password)

Maybe you are looking for

  • Transferring DRM free music to Motorola V3xx

    I just got a new cell phone. I wanted to transfer music from iTunes on my Mac to this cell phone. how do you do it? I'm asking this question because I read somewhere that the Mac won't recognize this cell phone if connected by the data cord. Is this

  • Dynamic proxy on jwsdp 1.1 deserialization error

    Hi, I want to use a dynamic proxy to get information from an webservice. normal datatypes like String or integer works fine. But when I want to have an object back, I get an deserialization error. I use sdk 1.3.1_08 and the jwsdp 1.1 Does the jwsdp 1

  • Can we read sms content in iphone app ?

    I want to read recentally sms content in my app , is it allow apple ? in my app we send a uniq code on registered mobile number through webservice, in webservice response we get uniq code same as code send on entered mobile, i need to match webservic

  • All but 1 theme per group disappeared after Premiere Elements 4.0 crashed on start of burn to DVD

    I have a project that is approximately 1 hour in length.  This is the first project I am attempting to burn.  I assigned a theme to the project and then proceeded to burn a DVD.  Before the burn could actually start, PE crashed with a "blue screen" d

  • Export to FCP from After Effects

    I am exporting an After Effects file to FCP that I have created. What is the best setting in After Effects to get the best picture into FCP. I have been using the DV setting on rending out from AE but When I import in to FCP I get Lines running throu