Authorization Scheme vs. Condition Types

Can someone give me a real world pro/con on deciding when to use one of these over the other?
Thanks,
Jeremy

Dave,
Sorry to get back so late on this...
"One area I've used conditions for that you could not do with authorizations is a lookup page which displays the results in another region on the same page. When you first load the page, the results region doesn't show because there's nothing to look up. When you put a value in the field and submit the page, the results region is loaded."
This is exactly what one thing I'm trying to work out, but not having luck post submit. The page consist of multiple items a user inputs values into to build out a search query. I created a hidden field with a value of 0 for my shoe/hide condition on the results area. But i can't figure out how to change the value of the hidden item upon submit other than via a redirect URL that changes the value vai the URL itemName:itemValue. When i do that, any thing i put into the search inputs is cleared out, since it's a re-direct and not submit.
I'm trying to just use expression1=expression2 condition. Do I need to use a different type for this, it seems simple enough... but I'm lost on how to apply it via the apex controls.
Thanks,
Jeremy

Similar Messages

  • Authorization for discount condition type

    Hi Experts
    1)when create a sales order client want flexibility for discount condition type
    like 10% ,15% , 20% it should not be manual and end user can choose from drop down and
    2) If they want to give excess discount there should be authorization any supervisor can give  excess discount 
    how to map this authorization to condition type
    Regards

    hello again, friend.
    go to IMG > SD > Basic Functions > Pricing > Pricing Control > Define Cond Types... here you will find the settings for the upper and lower limits.  please note that the larger discount rates would be represented by the lower limit.  for surcharges, the lower rate is the lower limit.
    scales in pricing allows you to set different discount/surcharge rates or fixed amounts depending on either value, quantity, weight, etc.  in the same pricing condition record (using VK11 or VK31).  if you look inside your condition type using V/06, you will see under sub-tab Scales if this has been set.
    example:  condition type Z007, with Scale 'Quantity'
    you can set a discount of 2% if item quantity is from 0 to 100 pieces
    you can set a discount of 3% if item quantity is from 101 to 200 pieces, and so forth...
    regards and thanks.

  • COPA - Split of Value from condition type into different value fields

    Dear All,
    Customer is having several free schemes to customer the same is set up by SD and Cost of free goods is attached to One Z condition type, this flows along with Main product as characteristic. So we have Main product cost in VPRS and Scheme cost in Z Condition and there is possibility of more than one scheme cost flowing in one Z condition for single billing document. Whereas customer request is to see the each scheme cost separately in COPA. Since Value from SD will be flowing through only one condition type , it will be difficult to me to Split this in COPA. We have given a thought of having more than one condition type from SD ( one Z condition for one scheme) but this resolve our issue at hand. If we look at long term whenever customer introduces new Scheme new condition type need to be created and related COPA changes etc, Which doesn't seem to be working out.
    Request Experts help in this, thanks in advance for the help.

    Hi Santosh
    Having a Z cond type for each scheme is preferrable.... This would address the issue with Standard SAP itself...
    Reason being, if you dont do that, then you will have to maintain a mapping somewhere in a Z Table where by system would come to know of the ratio between the schemes... This will be more cumbersome to develop and maintain... Still you wanna do that, here is the logic....
    Maintain the schemes in a Z Table... Where each scheme will have a scheme ID - The ratio applicable to various schemes and also the relevant value fields of COPA to be updated for each scheme....
    Now, add a Custom Field to the Sales Order and while creating the SO this field needs to be updated with the scheme ID(Relevant Exit to make it mandatory MV45AFZZ / ZB).... If Scheme ID is populated, your Billing should read the Split from Z Table using Exit RV60AFZZ and Update COPA using Exit COPA0002
    br, Ajay M

  • Hiding Condition types

    a) In Sales & Distribution my client has a requirement of hiding Condition types (gross margin, cost etc) which should not be visible to clerical staff.
    b) i need to maintain Employee hierarchy in order to record sales target for each employee and monitor the sales.
    Question
    a) I need to add condition types in my pricing procedure to calculate cost and gross margin but is there any option in configuration/authorization that these condition types cant be visible at sales order ?
    b) How can i define employee hierarchy in standard SD ? Can i use customer hierarchy for such purpose?

    Hello Asif
    a) There are authorization  objects  to display/hide for costs (Condition type VPRS) and the profit margin line. Please work with your Auth specialist or Basis team for this.
    b) With respect to employee hierarchy, You can use Sales Offices, Sales Groups and assign sales Employees to Sales Groups. This is the standard option. You could also create employees as customers with a Z- Account Group and assign them to a hierarchy as well.  In both these options,  you could use Rebate Agreements and conditions to set and monitor targets. You could depict your Org Model using HR module with Org Units, Positions and Position Holders (Employees)  and this would be the best option but I am not sure how to tie it up with targets. I am sure HR Module would have a standard way to set/monitor targets.  Fourth, You could also look at Incentives and Commissions Module for this.
    Hope this helps.

  • Mandatory condition type in PIR

    Hello expert,
    I want to set two conition type(Duty:ZOA1 and Freight:FRA1) in purchsing info record as mandatory input, but it seemed impossible till now.
    Could you suggest how to do it?
    What I have done:
    1.     I created the two new condition type and add it it all the schema and set required flag.
    2.     I created new schama and do necessary custimizing for purchase, and it work well in purchase order, but not in info record and scheduling Agreement.
    3.     I add the new schema in condition type PB00 as reference schema.
    Best Regards,

    Hi,
        As of my knowledge, the "required" flag in the pricing procedure will be effective only in purchasing documents where the pricing procedure is determined through schema determination. In case of info record, which is a master data, the pricing is the supplementary schema which is assigned to PB00.
        Anyway, you can make the condition type as mandatory in the pricing procedure, which will effect while creating the PO. You can maintain the condition type manual entries as D (Not possible to process manually) in M/06. Also maintain the access sequence accordingly.
         In this case, system wont allow to save the PO without entering the condition type and the condition type cant be entered manually (as per configuration in above screenshot). The only option would be to maintain the condition record in MEK1 or maintain the condition in info record.
    Regards,
    AKPT
    Message was edited by: AKPT MM

  • Authorisations of Pricing by condition type rather than  transaction code

    HI
    Can you control pricing Create (VK11) or Change (VK12) by the condition type as opposed to the transaction code?
    We have a business request for certain people to be able  create/change one condition type but restricted access to another.
    How can this be done ?
    please advise
    Many  thanks for your help
    Tony

    > Can you control pricing Create (VK11) or Change (VK12) by the condition type as opposed to the transaction code?
    > We have a business request for certain people to be able  create/change one condition type but restricted access to another.
    HI,
    Yes, you can do that. But you have to take the help of Tcode as well.
    Just goto SU24, enter tcode VK11. Select the authorization object for Condition types i.e. V_KONH_VKS.
    In that object, select activity and give value as create or change.  Give condition type like PR00 that you want the user authorize for and then insert this object in the role, and finally assign this role the user that you want to give authorization for particular condition type.
    So, when that if user A enters VK11 and enter cond type i.e. PR00 he can very well access the records. But if the user B tries the same whom the role is not assigned will get an error.
    Hope you get some inputs
    regards,
    Sagar

  • Conditional Authorization Schemes?

    Can you implement conditional authorization schemes? For example, I have an application that a handful of users will need to be able to edit and a handful of users will need to be able to look through the screens of the app, but not modify data. Can you have a default authorization scheme of say "read-only" where the page items are not editable, and if you belong to the "read-write" scheme, then the fields are editable? Is there an easier way?

    Hi "Potter_geek",
    unfortunately there is no such "read-only" authorization scheme which automatically switches your page items to read-only.
    I see 3 possible workarounds:
    1) Add code to the "Read-Only condition" for each item.
    2) Add a condition/authorization just to your submit/create/... buttons, so that they are not displayed in case of read-only. All the items are still modifiable, but the user can't submit it.
    3a) Just create an "Application Level Process" (before computation/validation) where you check if a user has write access, if not trow an error that he isn't allowed to change anything. => not so user friendly
    3b) Create a page 0 region of type HTML with display point "After footer" and which has the authorization scheme read-only. It should contain a small javascript script which loops through all the INPUT/... elements of your page and set's them to readonly="readonly".
    Just some thoughts...
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • Enhancement: readonly condition - authorization scheme

    I don't know where to file a enhancment request, so I file it here. I have authorization scheme for users, that are not allowed to edit anything. I use it successfully on the buttons, that they should not see (like SAVE, DELETE etc).
    But currently I have to rewrite the logic into item's Readonly condition field every time a form item has to be readonly for them. It would be covienient, if I could select condition type to be Authorization Scheme and into Expression 1 text area write the name of the scheme...

    Kaja,
    We're working on enhancements like this to make the read-only version of a page easier to create declaratively. Thanks for your notes.
    Scott

  • Unexpected problem with authorization scheme of type plsql function

    Hi,
    I have created one authorization scheme of type plsql function returning boolean. Authorization scheme is for pages only. p2_user_priviledge is a textbox on home page which extract privilege (list of pagenos) for login user from database. Home page has no authorization required. AUTHORIZATION SCHEME always returns false. I am not able to trace problem in my code. same code works fine for a textbox's default returning 'c'.
    ----- CODE FOR AUTHORIZATION SCHEME------------------------------------------------------------
    declare
    pageid varchar2(10);
    privilege varchar2(300);
    c number(3);
    begin
    pageid := ':P'||to_char(:app_page_id)||':' ; ---Pageno get stored in format  *:P2:*
    privilege := trim(:p2_user_priviledge); ++------Contain list of privilege like    :P2:P13:P67:P23:  etc+++ select instr(privilege,pageid) into c from dual;
    if c>0 then
    return true;
    else
    return false;
    end if;
    end;
    One more problem is again related to authorization scheme.
    I created one application and one authorization scheme (auth_aug) which worked finely. Then after some days i added 10 more pages to same application, But now autho_aug was always returning false for new pages. So i copied code from 'autho_aug' to new scheme 'autho_sept', & it worked for new pages. I don't understand if code is same for both scheme, why required to use two different schemes.
    Now i have added few more pages to application, and facing problem mentioned earlier.
    any solution for both the problems.....

    Hi,
    Let me clear my problem once again.
    -->Home page i.e. P2 does not use authorization, So it is displayed along with text item :p2_user_privilege.
    -->Then user click on one of the links , Now page :P70: should get displayed.
    P70 is using authorization scheme.
    -->But :p2_user_priviledge value is not accessible at authorization scheme, I dont know why.
    I could not find out where to create Application item , as suggested by you.
    & not able to find Developer menu , session at home page as suggested earlier.
    And one more question, my application at runtime display
    X en us
    at bottom
    How to make it
    USER: X Language: en us
    Like in development environment.
    Hope I have cleared my problem, waiting for reply.
    Edited by: TEJU on Nov 17, 2008 9:25 AM

  • How to give authorization for create and change particular Condition Type

    Hi...
       In my requirement is , Only one user can be authorized to create and change a particular condition type 'ZABC' in vk11 and vk12 .
    For remaining condition type can be used as in normal .
    How to do this ? How to give authorization for a particular user for particular condition type ?
    Plz guide me ..
    Thanks in advance .
    Deepa .

    Hi Deepa ,
    u can check A.Object V_KOND_VEA, in user profile u can assign condition type or tables.
    have a word with ur basis guy , so he can help u in better way.
    aand also ref FM SD_COND_AUTH_CHECK
    Regards
    Prabhu

  • Error Message : Condition type is not maintained in the schema RM0002

    HI Gurus,
    I have created a new purchasing procedure as follows.
    ZVATV : <b>Condition Schema</b>
    VATV  : <b>Condition Type</b>
    VA : <b>Sch.Grp Vndr</b>
    When I create the Purchase order, the above mentioned schema, ZVATV is automatically determined.
    But when I create Contract, system throws an error message saying condition type VATV is not maintained in the schema RM0002.
    I am very new to SAP, Kindly explain in very detail about this error message and ways to get rid of it.
    If u have got any <b>very detailed material</b> about pricing kindly forward it to my mail id: [email protected]
    Thanks in advance.
    ~Gokul.

    Hi,
    The new condition type you are specifing is the gross price condition (PB00). for PB00 condition type a supplementary pricing procedure is assigned as RM0002. u may have copied the PB00 and changed it to VATV, but with out changing the RM0002. copy the RM0002 and in that also change the PB00 to VATV. after this go to VATV condition type control data (M/06) and assign the new supplementary pricing procedure instead of RM0002.
    The supplementary pricing procedure is required to have the condition types for which no access seqeunce is mentioned. All the condition types in main pricing procedure with out access sequence needs to be mentioned in supplementary pricing procedure.therefore all these condition types will have the same validity periods as PB00.
    Regards,
    Ramakrishna

  • Condition type and calculation schema

    Hi,
    I would need to set up a condition type and set this into a calculation schema.
    The condition type is a kind of tax. (It must be percentage.)
    The tax amount increases the cost, asset value or stock value so the NET amount must be summed up with this tax amount and posted in the GR.
    Please let me know how to set up this condition type and how to set up the calculation scheme so that NET amount and tax amount could be posted in the MIGO.
    When creating a PO line itme with w material I would like to be able to set the NET amount there.
    When lookint at the Condition tab of the line item in the po I would like to see the
    NET amount
    The tax percentage calculated
    The total of these.
    In the MIGO I need to post the total.
    Thanks in advance,
    Agnes

    Hi,
       The option is available with Transportation Management in standard using Multi-dimensional calculation type. As of my knowledge, the full functionality is not available without TM, as there is no option to assign the scale type in MM.
        If you want to map the same scenario in MM without TM, then you may go for development. You may create a new Z table and maintain the kilometers and rate per km for each vendor and ship to party (customer number for the receiving plant). Create custom routine to pull the price (distance * rate per km) from the z table and calculate the total price based on the calculation.
       If the kilometers / route is changeable for each PO, then you may add the distance field in PO.
    Regards,
    AKPT

  • Condition types substraction in pricing schema

    How to substract two condition types to get another condition value.
    ZD01 contion type value-200
    ZD02 contion type value-500
    ZD03 Condition type value= 500-200
    How to map this in the pricing schema
    Regards
    Umapathy.M

    Can you try making the 2nd condition as a discount condition and then create a subtotal from 1st to 2nd.
    ZD01 contion type value-200
    ZD02 contion type value-500  >> make this a discount (negative) Copy std condition R002 for absolute discount.
    ZD03 Condition type value= 500-200  >> Subtotal 1 to 2 will give the results you want.

  • Pricing authorization at condition type level

    Hi,
    We are using EK02 condition type. Requirement is EK02 should be able to be changed by ORDCHG incomming Idoc and the EK02 price to be overwritten in sales order pricing.
    But all other business users should be able to only input the EK02 once and EK02 should become display only field (non editable) for those users. 
    The change of EK02 to be only applicaple to the EDI Idoc user partner (User).
    Please let me know how to achieve this through price authorization or any other way??
    Note: The condition type EK02 config set is it can be edited like any other manual condition type (V/06)

    Hi
    Please have a look at the following OSS notes. They may be of some help to you to solve the problems.
    105621--Check this one. This will be of much helpful to you
    414058 and 914811

  • Check dupciate condition type in PO pricing calculation schema

    Dear Gurus,
    In my PO priciing schema I maintain all the condition type manual.
    I want to control the duplicacy while enter the same condition type.
    Is there any solution to check the duplicacy.
    Thanks in advance
    With regards
    Soumen

    Dear Gurus,
    In my PO priciing schema I maintain all the condition type manual.
    I want to control the duplicacy while enter the same condition type.
    Is there any solution to check the duplicacy.
    Thanks in advance
    With regards
    Soumen

  • Provision account key missing for condition type FRA1 in schema ZIMPOR

    Hi,
    While maintaining the condition value in PO, the below message displayed.
    "Provision account key missing for condition type FRA1 in schema ZIMPOR"
    Thanks and regards
    Murugesan

    Go to
    Spro>MM>Pur>Conditions>Define Price Determination Process>Define Calculation Schema
    here select ZIMP and click control data
    in that maintain "Account key" for FRA1 cond type in the Account key Column..
    (Second column from right side)

Maybe you are looking for