VK11 condition check against MEK1 conditions: VOFM routins or UserExit/BADI

We have Z condition types for prices(SD side)..and some Z condition types for Costs (MM side). My requirement is to check costs assosciated with the Material based on MM condition types when creating SD prices (condition records) and do vice versa and throw information/warning/error messages...
In otherwords...when creating condition records from VK11 check against costs that are created in MEK1 and Vice Versa.
I am trying to accomplish this in VOFM routines partially if not fully.
Can this be achieved through VOFM routines.
If VOFM is not the right place..what is the correct UE/BADI for this.
Thanks.

You already received an answer on this yesterday in a different post - why the new post?
That aside, you don't understand the purpose of a requirement against an access in an access sequence.  The requirement prevents the access from being triggered (or allows it) at the time that the line item condition is analyzed for pricing (during the creation of an order/contract/etc.).  If the access is prevented, then the existing condition records for the access are never analyzed for a match.  It has nothing to do with condition record entry in VK11.  If you need to change the behavior of VK11, then use Runtime Analysis to check for BADI's or enhancement points in the transaction by analyzing the call stack.

Similar Messages

  • How to stop this multiple entry against same condition type in pricing

    My client is using manual condition type for the basic price "ZBPR". Now system allowing multiple entry against this condition type in the pricing screen during order creation i.e in the first line if we put ZBPR 00 , in the second line system allowing to put another value against same ZBPR say for example 2000 & doing all subsequent calculations on the basis of 3000 .which is not at all acceptable by my client .Please suggest how to stop this multiple entry against same condition type

    You have to make the condition type as Mandatory and not manual.
    If you are entering many condition records of the ZPR0 then the latest entry will be taken for further processing for subtotal rebate and total price.
    For all the other entered condition records will have yellow traffic signal which is not active.
    you can assign a routine with the help pf your abaper...
    In the Transaction VOFM  define a requirement such that
    you condition type takes value only one at the time of order entry.
    regards,
    Amlan Sarkar

  • Adhoc Query : Error during selection; check the selection conditions

    Hi
    We have a report set-up and which we want to run using our adhoc query report tcode S_PH0_48000513
    The report, has a few different selection criteria in it to look at all action IT screen data in the system for ee's in specific personnel areas. There is also a criteria to allow us to paste in specific employee numbers we are interested in. The issue I am facing is that over about 3000 ids, the system automatically returns me a message when I click on the Output button to run the report which states:
    Error during selection; check the selection conditions
    Message no. PAIS206
    I am not sure why this is happening. The selection criteria are fine and the other day I ran the report and I experienced no issues. The report ran successfully. Now though, if I try and paste in all the ids I am interested in (about 8000) I get this message straightaway.
    Can anything be done to overcome this issue?
    Any advice would be much appreciated.
    Nicola

    Hi
    The message in full is:
    Error during selection; check the selection conditions
    Message no. PAIS206
    Diagnosis
    A runtime error occurred during dynamic selection.
    System response
    The runtime error will be caught; no short dump will be created. This error should not occur as a rule. However, very large select statements may trigger the runtime error SAPSQL_STMNT_TOO_LARGE or DBIF_RSQL_INVALID_RSQL. There is no way to prevent this happening. In this case, the error can only be caught.
    Procedure
    Check the selection conditions to see whether the error was caused because the option "Import from text file" included too many objects in the "Multiple selection" dialog. If this is so, you must limit the number of individual values.

  • Condition checking in Message Mapping

    Hi
    My scenario has a IDOC coming in XI and gets converted into a flat file
    Idoc Structure
    ControlRecord
    ParentRecord
    Field1
    Field2
    ChildRecord
           Field3
           Field4
           Field5
    Condition is Field2 = 0500 and Field5=""
    If both the conditions are satisfied,then
    For every occurence of child record,parent record needs to be repeated.
    I used "useOneasMany" function to check ,but I am not able to check both the conditions.
    Help needed on how to check these conditions
    Thanks

    Hi,
      Try Like below.
    Field2-----------
       ChildRecord----Use One as many-->@
       Field5-----------
    @----equalsS("0500")----------and----if with out else---then(--@)----Target.
       Field5--length--equalsS("0")--
    If you required else condition then use "if" condition. As per above mapping any one condition fails target field will suppress.
    Regards,
    Prakasu.M

  • How i can make in the same action 2 condition (check the exemple down)

    how i can make in the same action 2 condition (check the exemple down)
    this is an example and I really thank you for helping me(any body plz)
    http://www.2shared.com/file/DPpdgC_a/Exemple_Edge.html

    1. make each rectangle a symbol  (Symbol_1 and Symbol_2) and uncheck autoplay()
    2. Delete your code on the click event and put the following code in compostion ready:
    var toggle=true;
    function btnPlay(){
              if (toggle){
                        toggle=false;
                        sym.getSymbol('Symbol_1').play();
              else{
                        toggle=true;
                        sym.getSymbol('Symbol_2').play();
    sym.$('Ellipse').click(function(){
              btnPlay();

  • Authority check in for condition type

    Hi
    What do you mean by an authority check on condition type.. especially Pricing..
    There are authority check that are embedded as Reqt and AltCTy in the IMG at the pricing procedure level for different condition type.
    Could someone explain me what they are for..?
    Thanks
    Jac

    Hi,
        authority check is the std sap methodology of check the permitted authorisation values for every transaction  and every user.
    here in this example;authority object is used to maintain or change condition record for allowed condition types.
    scenario eg;if we maintain create value for user mukund for pr00 condition type ,system allows me only for creating .if we maintain change value for user sherin for condition type,system allows to change the values.
    net net i can create and u can change ,not visa-viz or any body else cannot do it.
    hope this is clear.if it helps  REWARD!!!!!!!

  • Invoice document against PO condition type

    Hello,
    I am developing a landed cost sheet of a Import PO in which i have to display the exchange rate and total value against condition types(in PO). This exchange rate and value is to be taken from the invoice document against the relevant condition type. [Purchase Order History tab is displaying the associated Invoice(RE) against the condition types. How r the invoice kept against condition types in SAP ? and how can i retrieve these values against a cond type thru abap code...  ?
    Hope i am comprehendable and sumone can provide me a reasonable solution ?
    Thanks,
    Shehryar Dahar

    Hi
    You need to fetch the data from EKBE and KONV tables
    Table EKBE has the invoice Number  and PO number etc
    Take KNUMV field of this table and pass to KONV-KNUMV table
    and take the related Rate(KBETR) and Amount(KWERT) fields for the related Condition type and use
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Invoice document against PO condition types

    Hello,
    I am developing a landed cost sheet of a Import PO in which i have to display the exchange rate and total value against condition types(in PO). This exchange rate and value is to be taken from the invoice document against the relevant condition type. [Purchase Order History tab is displaying the associated Invoice(RE) against the condition type. How r the invoice kept against condition types in SAP ? ... Hope i am comprehendable and sumone can provide me a reasonable solution ?
    Thanks,
    Shehryar Dahar

    Hi,
    When you post an invoice you can indicate if this relates to the items, the delivery costs (conditions) or both. You do this by selecting the correct option from the "pull down list" in the centre of the MIRO screen.
    So if you select delivery costs only, then the invoice relates directly to the condittion types on the PO for the delivery costs.
    Steve B

  • I want to create new popup block screen in CO11N SCREEN for condition check

    in standard CO11N screen after completing filling the required field , when i click the save icon I NEED TO CREATE THE POBUP BLOCK SCREEN FOR CONDITION CHECKING WHICH CONSIST
    YES    NO    CANCEL
    IS THERE ANY FUNC MODULES TO DO THIS? OR IS IT POSSIBLE BY CODING?

    Don't rely on 'Preview'.
    Share/Export as .ibooks file and then drag that to iTunes and sync to your iPad.
    Still no joy, find a pre-processing recipe ( that includes export for iPad) that doesn't spoil the quality in the process.
    Just keep in mind that low quality in means low or lower quality out, in this example.

  • CSS load balancing, service dependancy condition check

    Hi,
    I would like to seek some advice regarding the CSS's service configuration.
    Is there a way to configure the CSS such that it check for the condition/status of a independant service (not involved in the load balancing algorithm) is alive/down (using service mode keepalive port/type), before deciding whether to/not to load balance to a group of services?
    Senario is as follwows:
    We process incoming HTTPS request and load balance to 2 HTTPS Servers (HTTPS service SSL1 and SSL2), on condition that a independent service (HTTPS service SSL3) is alive (using the keepalive type/port check in service mode).
    If the independant service (HTTPS service SSL3) is not alive, remove the HTTPS Servers (HTTPS service SSL1 and SSL2) from the load balancing algorithm.
    Thanks in advance for assistance
    !************************** CIRCUIT **************************
    circuit VLAN1
    ip address 192.168.103.35 255.255.255.192
    !************************** SERVICE **************************
    service SSL1
    ip address 192.168.103.53
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    service SSL2
    ip address 192.168.103.54
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    ? This is the service condition that CSS will check before deciding to/not to load balance to SSL1 and SSL2.
    ? If SSL3 is down, do not load balance to SSL1 and SSL2. If SSL3 is up, load balance to SSL1 and SSL2
    service SSL3
    ip address 192.168.103.55
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    !*************************** OWNER ***************************
    owner CISCO
    content L5Rule_SSL
    vip address 192.168.103.37
    application ssl
    protocol tcp
    port 443
    url "/*"
    add service SSL1
    add service SSL2
    active
    !*************************** GROUP ***************************
    group SSL
    vip address 192.168.103.37
    add destination service SSL1
    add destination service SSL2
    active

    maybe this?
    circuit VLAN1
    ip address 192.168.103.35 255.255.255.192
    ip virtual-router 10 priority 100
    ip redundant-vip 10 192.168.103.37
    ip critical-service 10 SSL3
    if I'm not mistaken the vip 192.168.103.37 will stop working when the service SSL3 goes down. I'm not sure that this is what you want though...

  • Please help me its urgent -  restrict field update against a condition

    Dear Friends,
    I'm new to the oracle forms .. i want to restrict a filed update against a condition in my form.
    I am using multi record block. I want to disable few fields in a row e.g. there are 10 records in the record block i want to disable three items of 2nd record on the basis of some condition. How can i do it??

    HI,
    you can use the form-built in procedure SET_ITEM_INSTANCE_PROPERTY and the appropriate property....(UPDATE_ALLOWED = PROPERTY_FALSE).
    For example:
      begin
        if <your_condition>
          then
              set_item_instance_property('<your_item1>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_FALSE);
             set_item_instance_property('<your_item2>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_FALSE);
         else
             set_item_instance_property('<your_item1>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_TRUE);
             set_item_instance_property('<your_item2>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_TRUE);
        end if;
      end;
      For more info , take a look at the on-line help....
    Greetings,
    Sim

  • Error while uploading conditions records in MEK1

    Hi All,
    I have a code that updates condition records in MEK1 from an excel sheet. The no of records in an excel sheet can go up to 60 k records. If i try to upload 5000 records, the coditions records are saved successfully. But then, if I try to upload 10000 records i get a error saying " Condition blocked by user " . On debugging I found out that the user id is mine. That is, same id as the person who is trying to upload records. The transaction is not open in any window as well.
    My question is, why do we encounter this error and is there any limit to number of records that can be uploaded at a time in MEK1?
    Thanks in advance,
    Sapna

    Hi Rao,
        For blocking you can commit in intevals or you can use wait command but it will take extra time but your records will update in one go,when a condition record is created,then after you try to update for same material or plant thats the reason its blocking,you can either use wait or adjust your excel files and avoid duplication of materials or whatever you are using in sequential manner.

  • Condition Checking

    Hi,
      Is there anyway i can ensure, let's say my "net income" is larger than 2 million before the user can submit the data? is there some sort of condition checking or locking mechanism that does this?
      any input on this?
    cheers

    You can have something like that for submission
    please check into help online the follow link
    http://name of your application server/osoft/help/admin/helpstart.htm#Setting_application_set_parameters.htm
    It is not exactly what you want but you can do something using this approach.
    You can change the work status settings for each application. Changing the work status settings involves identifying three to five 'work status dimensions,' and then defining specific members for the remaining non-work status dimensions used for validation purposes. You must determine which account you will use for validation of the data at the time the work status is changed. The validation account must be &rdquor;0u201D at the intersection of the 3-5 variable members and the members designated for the non-work status dimensions.  If the account is not &rdquor;0u201D then the owner/manager cannot set the work status.  This is an option feature.
    The dimensions you select as the work status dimensions are the variables in your business process. For example, the entity, category, and time might change based on who is submitting data, but the account, data source, reporting currency, etc., remains static. (Typically, Time is a work status dimension since data is usually segregated based on time.)
    For example, lets say that you set Entity, Category, and Timeas your work status dimensions for a given application. You then set your other current view members to the following:  Account: Validation; DataSrc: TotalAdj; Intco: All_Intco; and RptCurrency: LC. In addition to assigning work status dimensions, you also specify which dimension is the 'owner dimension.' The owner dimension includes the Owner property. The owner property determines who can edit a work status setting. The following figure shows this setup, where Entity is the Owner dimension.
    A user attempts to post data to the current view shown in the following table. The system checks the 'validation' account to make sure the intersection equals zero (0). If so, the data is posted, and a success message is displayed. The user can now set the work state to 'submitted' on that intersection. Subsequent submissions to that exact intersection will be rejected. Users can only send data to the same intersection if the Entity, Category, or Time member changes.
    Account
    <All>
    Category
    Actual
    DataSrc
    <All>
    Entity
    SalesNE
    Intco
    <All>
    RptCurrency
    <All>
    Time
    Feb.2007
    To change work status settings for applications
    From the Admin Console, expand the Application node.
    Expand the application for which you want to change the work status setting.
    Select Work Status Settings.
    In the Work State column, select Yes for each dimension you want to use to control the work status settings. Select Owner for the dimension that contains the Owner property.
    In the Member Validation column, select a member for each non-work status dimensions. (Use the browse button to open the Member Lookup.)
    From the action pane, select Save Work Status Settings.

  • I need to check comparative three conditions and for each output I need to perform some action. can anybody please suggest

    I need to check three comparative conditions and for each status I need to perform some action. can anybody please suggest
    Requirment:
    Need to check if a numeric value is within a number range by using comparative function. Depending on status i need to ggive a constant input to numeric function.

    Easiest is suing an array of range boundaries, e.g. as follows:
    (Found here)
    Now it is fully scalable and  independent of the number of ranges. The solution in the earlier post would get complicated quickly whenever the number of ranges or boundary locations changes.
    LabVIEW Champion . Do more with less code and in less time .

  • Conditionally checking checkboxes

    Hi.
    I need a checkbox for which the checking operation is conditional -- in certain illegal states of the containing frame and its components none of the checkboxes should change their state. I do not want to use checkbox.setEnabled(false). The changeListener does not sound good either.
    (Also I had to prevent combobox popup from appearing on same conditions. I was able to solve that by implementing my own ComboBoxUI with show() method modified. I can't think of a similar approach for the checkboxes at the moment.)
    Any ideas how to do it?

    That sure is an interesting link, rkconner, thank you, I think I'll need to read something like this soon.
    As for current case -- I have a really complex page (lots and lots of them, actually), with some fields disabled, and others enabled. Some fields need verification and the focus (generally) should not be able to leave such field unless the field value is legal. The legality is determined by querying a remote database.
    When I click an enabled checkbox, the verify() method for recently focused field starts. If the remote query returns negative response, I shouldn't be able to change the checkbox value, until the recent field is considered legal. So, I can't use setEnabled(false) for the checkbox, because, when I change the illegal value to a legal one, the checkbox should become changable instantly. I mean, I should be able to launch the verification process by clicking the checkbox.
    That's why I'm looking for another solution. Still looking :)

Maybe you are looking for

  • ALV to Excel

    I am using the function module REUSE_ALV_GRID_DISPLAY to display the results of a report I created.  The columns show up on the screen in the order of my field catalog, but I noticed when I go to List --> Export --> Spreadsheet at the top of the scre

  • Mail invitations aren't syncing with iCal

    Whenever I accept/reject an event invitation through my Mail application, it disappears from my inbox and also doesn't update my iCal (assuming I accepted the invitation). I've had to manually add all my events to my iCal. Any help would be GREATLY a

  • MailBox permissions Exchange 2010

    Hi every one. I need help here. I did full permissions to one mailbox for some users. After some time they asked me to remove these permissions. I did it throght GUI Shell by removing all the users from full permissions. But they still have full acce

  • Have just upgraded to version 4 and when I go to Goggle search for a website it shows me a list but will not open any.

    Have just upgraded to version 4 and when I go to Goggle search for a website it shows me a list but will not open any. If I use the bookmarks all of the websites open perfectly. I've closed Firefox down and opened again and a message says "how embara

  • Plogi ORga

    HI gurus, when we are doing integration between OM and PA. from the experts of this forum i came to know that we have to activate plogi orga with X . then what is this reports used for? RHINTE00,RHINTE10,RHINTE20,RHINTE30 .(already we are doing integ