Inforecord - only plant relevant conditions

Hi Experts,
could any of You pls help me with an inforecord condition issue?
I would like to use plant AND purchasing organisational relevant inforecord - both are necessary. I have configured the V_001W_K table (Activate condition Maintenance for Plant), but somehow i did not end up at the desired state:
if I set to a plant - no Plant relevant conditions are allowed - I can not create an inforecord assigned to a plant - which is OK But if I added - only plant relevant conditions are allowed - I was still able to create an inforecord with price conditions with no plant - I expected, this would be forbidden as well. (purch organisation : plant - N:1 - so plant could be mandantory).
Now users keep creating inforecords with and without plant - which should be stopped, preferably to create only purch org AND plant relevant data.
Could any of You pls tell me, what I miss: setting or misunderstanding the configuration possibilities.
Answers will be appreciated

This bit of config (help text below) ? If so then a misunderstanding.  The setting relates to Conditions, not whether the PIR are set per Plant in themselves.
Indicator: Conditions at plant level
Determines how prices and conditions are stored for the relevant plant.
Use
If conditions are allowed at plant level, you must create purchasing info records and contract items relating to the plant. Centrally agreed contracts cannot then be created.
If conditions are not allowed at plant level, you may not create any purchasing info records or contract items relating specifically to the plant.
If conditions are allowed with or without a plant, you can create purchasing info records that either do or do not relate specifically to the plant.

Similar Messages

  • Relevance Condition for released P.O. Don´t create the EH in EM

    Hello Experts,
    I have the following issue, I create a Relevance condition For an Application Object Type, in this case acording to ZPCM10_ITEM. The condition works like this:
    &UEKPO-Purchasing Doc&                >         1999999               and
    &UEKPO-Purchasing Doc&                <         3000000              
    )                                                                                and
    &UEKPO-Plant&                                  =          BPXX
    The condition works well, only create the PO into the range of numbers and with the plant. My problem is when i include into the condition the "Release indicator: Purchasing Document" according this:
    &UEKPO-Purchasing Doc&                >         1999999               and
    &UEKPO-Purchasing Doc&                <         3000000              
    )                                                                                and
    &UEKPO-Plant&                                  =          BPXX                   and
    &/SAPTRX/MM_PO_HDR-Re&            =          1
    I include the condition of the indicator = 1 (Released). In theory in EM we can only see the Purchase orders in Released Status, but when i execute ME28 Transaction, nothing happen and the P.O. don´t work in Event Management.
    Do i forget other step to reach the objective?
    I appreciate a lot your help and support.
    Thanks a lot and best regards.
    Julián.

    Hello Berthold,
    Thanks a lot by the function module, i really don´t knew it, was very helpful to identify my problem. As you explain, yes the condition result was F (false), so the EH was not created.
    We must to modify the condition, because our scenario is procurement visibility process and it works at P.O. Item level, so we cannot get this validation in the condition, we decide to create an expected event and registered this with the help of the User Exit EXIT_SAPMM06E_007.
    We decide this, because when we create the P.O. but don´t release this, ok, the EH was not created, but later when we release the P.O., the expected event extractor, don´t trigger, so the expected events extractor was not generated and this option was not useful for us, because we have an empty EH.
    So we use the Exit EXIT_SAPMM06E_007, to check the Event Release P.O. and send it to the Event Manager via calling the functions 'TRFC_SET_QUEUE_NAME' and '/SAPTRX/BAPI_EH_ADDEVENTMSG_02'.
    Thanks by your help Berthold and i appreciated a lot your opinion about this solution.
    Best regards,
    Julián.

  • Plant specific conditions in Vender Master record.

    Hi,
    I hv to maintain the plant specific data in Vendor, to do that when I go to Extras --> Alternative data, it shows in grey , and not able to enter the plant specific conditions,
    Now what to do ? How can I be able to enter plant specific data in vendor master.
    Regards
    BM
    Edited by: Biswajit Moitra on Apr 7, 2009 11:36 AM

    Hi,
    This could be because: Company code for which the Pur Org is assigned be different than the plant`s company code. And you are trying to change vendor by  XK02 for the incorrect "PurOrg/Company code" combination.
    you can try to assgin the plant you intend enter in vendor master to Pur Org in spro and then you`ll have the Alternative data field editable.
    rgds,
    Ganesh....

  • Retrn result only if both conditions are true

    I have this query to get list of names that are associated with
    a keyword called 123 but do not belong to a item named 456
    select distinct t1.lname, t1.sname , t5.rname
    from table1 t1, table2 t2, tale3 t3,
    table4 t4, table5 t5,
    TABLE(xmlsequence(extract(t4.xmlcol,'/cs/lo/c'))) k
    where t1.id = a.id
    and t3.id = a.id
    and t4.id = t3.id
    and t5.id = t3.id
    <--1st condition -->
    and extractValue(k.column_value,'c/L/keyword/@id') in ('123')
    <-- 2nd conditon-->
    and t5.item not in (select distinct t6.name from table7 t7, table6 t6
    where t7.id= t6.id
    and t6.ref_id = 456)
    In my database, I have 2 names. for a
    given lname in the output, it is associated
    with 2 rnames.One rname is associated with
    keyword 123 and the other rname is associated
    with item 456. Something like this:
    lname   sname   rname
    jakal     jkl      r123 --> associated with keyword 123
    jakal      jkl      r456 --> associated with item 456
    So when I run without condition1 and condition2 above is what I get.
    That is jakal is associated with both r123 and r456.
    However in my first query, I am trying to get the lnames and snames that are associated with keyword 123 but are not associated with item 456.
    I want both conditions true to be displayed.
    However when I write the query as mentioned initially, I get the row back.

    Not sure if I understand the problem correctly.
    But simplistically boolean algebra says that if you want a result only if both conditions are true, use AND.
    E.g.
    select * from table where <condition1> and <condition2>
    Now if this does not work, it means that the conditions do not do what you think these should be doing.

  • Displaying only the relevant table data based on condition

    Is it possible to display a part of a table based on a condition which is not in that table.
    My example - I am using the spreadsheet to determine the accumulation of $$ in an account over a period of time and then how quickly that would be spent at a designated withdrawal rate.
    However, I only want to display the values that relate to the time frame I specify.
    So in one table I have Personal Data like income, savings, age, interest rate, spending etc.
    In this table I have one column as Age Today and another is Age to stop, then age to Start spending.
    My second tale has all the relevant calculations to accumulate and then withdraw and spend the money.
    What I am looking to do is create and display the relevant portions of the table which refer to the Age Today and Age to Stop.
    Is this possible?

    Hello
    At this time, there is no such a feature in Numbers.
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'09
    Yvan KOENIG (from FRANCE samedi 29 mars 2008 11:05:22)

  • Inforecords at plant level

    Hello,
    My client has presently 2 company codes and 2 pur org assinged to them. Example is - one company cdoe FFI, assinged to pur org FFSO. other company code JMC asinged to pur org J001 recently.
    One material / vendor combination is maintianed in inforecord for 2 plants KS06 (belonging to FFI company code) ad SD45 (belonging to JMC company code). Tax code is maintained different for these 2 combinations. For KS06 it is mainained as I0 and for SD45 it is maintaine das I1.
    When user creates the new purchase order, I1 is defaulted in all po irrespective of any plant.
    user wants to restrict maintain taxable status of material to  specif plant. Is this possible from configuration?
    He wants that when PO is created with KS06, IO should only be defaulted. and when it is created for SD45, I1 shold be defaulted
    Thanks
    MAdhura
    SAP MM/WM consultant

    Most likely there is some access sequence on the tax condition type which resulting in the issue you are facing. Find it out and then create a new access with plant parameter and keep it as the first item to accessed in the corresponding access sequence. After this you have to maintain the condition records using MEK1 for each plants and then the defaulting will work exactly as expected.

  • Display only the result rows only by using condition or any other way

    Hello Everybody,
    I've a web report where I want to diplay ony the result rows and don't want to display the detail rows at all. I could hide the detail rows but these rows still appear without any value in the key figure fields.
    I tried to revove the characteristic field from the drilldown but it doesn't show the report correctly. Then I tried to write a condition to filter the detail rows but this condition doesn't apply to the result rows so this effort also didn't work for me.
    Is there anyway we can display the report with only the result rows ? I've already tried to find out a solution on SDN but couldn't get the solution eventhough I found many posts on this kind of requirement.
    Any help would be greatly appreciated.
    Thanks
    Alok

    Please explain when you say
    "I tried to remove the characteristic field from the drill down but it doesn't show the report correctly"
    What is problem there? What result do you get. If possible please provide  details of columns layout and few numbers

  • RBATP - is it possible to activate them only if certain conditions are met?

    Hello APO - RBATP experts!
    I have a question that I hope you can help me with:
    Is it possible to have rules that become active only in certain circumstances, for example, if the RDD of the sales order is today or tomorrow?
    I have limited knowledge on the topic; so your help will be greatly appreciated.
    This is my scenario:
    A sales order is raised in plant A for Material X, if there isn't enought inventory of Mat. X, there will be a rule to look for inventory in plant B. If stock is found in plant B; then an ATP Tree structure is created, which is then turned into a purch req; and then into an STO from Plant B to Plant A. Then the shipment is sent to the customer from Plant A. This is good, however, this is not what we want for sales orders that are placed with too much time in advance; because by the time the sales order needs to be delivered, the inventory may be available in Plant A, and those requirements are meaningless at that point. Any ideas of how to handle this? Thanks in advance!

    Hi DB:
    Here are my answers:
    If the requirement is placed upon B, how is it possible to later have excess inventory in A? 
    If the sales order was placed let's say 7 weeks in advance; during that time the whse could have received inventory from the plant.
    This is mainly why I need to find a way for the rule to do the substitution and create the requirement in B, only if RDD is very close to today's date.
    Is there a reason why wouldn't ship directly from B to the customer? (instead of first moving the stock to A) 
    Yes there is, the requirement of the business is that any sales order raised in A, must be shipped from A; but stock must be found in alternate locations to satisfy the order. If stock is not found, then the order is cut and shipped.
    Is A a plant, depot, or both?
    Is B a plant, depot, or both?
    How is 'B' normally supplied? 
    Are you using MLATP?  CTP?
    Both are depots; and are supplied from different  manufacturing plants across the country.
    We are using MLATP.
    Thanks again for your input!

  • Condition type has to executed only when other condition type is availabl

    Scenario:  We have two freight condition types YHD1 & YHD6. This YHD6 condition type is a Percentage type calculation and dependent of YHD1 value, for example
    YHD1: 30 EUR then the condition value is 30 EUR
    YHD6: 10 % then the condition value is 3 EUR
    Issue: YHD6 is fetched from Condition records at the time of delivery document, where as YHD1 condition type is inserted into the delivery document through a BDC program in a custom program. BDC program is written in such a way that YHD1 condition record is applied on the first line. This custom program is supposed to execute only after PGI is done for delivery and shipment is created.
    Since, YHD6 is fetched from Condition records; this condition is applied when the delivery document is created. And when this custom program is executed, system is looking to insert YHD1 condition on first line, but YHD6 is already exists this step is unsuccessful.
    Requirement: is it possible to determine YHD6 condition only when YHD1 is available in the document. I mean, YHD1 condition type has to be executed first and then YHD6.

    Hi All,
    Thanks for repling to my query.
    I will explore the opition of developing a Routine to restrict YHD6 condition type. But i have one doubt, suppose i have assigned a routine to YHD6 condition type and when delivery document is created, system fetches the YHD6 condition from the condition record, but due to this routine it will restrict to update the value.
    But when i update the delivery document with YHD1 condtion through custom program, NOW, does the system calls YHD6 again so that now the requirement is fullfilled or do i need to update the Pricing again after YHD1..
    I kindly reqeust you to clarify my doubt, however, i will take up this with my ABAPer and develop a routine.
    Thanks in advance.
    Warm Regards,
    Sridahr

  • How to post return stock to unrestricted stock for only Plant & Material Type combination?

    Hello Everyone,
    At present, whenever the stock is returned then it posted through 655 movement type. So, material is posted as quality stock.
    Now, the requirement is to post the stock to unrestricted stock for Plant and Material type combination only. Which means, if the plant is 1413 and the material type is ERSA, VERP, and HIBE then for return sales order system post the stock directly to unrestricted stock, instead of quality stock.
    So, is there any standard way of configuring the above scenario without going for validation (Z Fields)?
    Regards
    Anwar

    Dear Mohammed ,
    as per your scenario , there is two movement type has to trigger in the Delivery level according to the plant and material combination .
    as per my knowledge it will not configurable in standard process . this will possible with user exit logic only .
    follow the below logic to achieve your issue .
    you have to create two item categories and two schedule lines with (655 &653) , that means your movement type has to trigger at sales order level only . write a logic in the user exit - MV45AFZZ -USEREXIT_MOVE_FIELD_TO_VBAP , if this combination matches then automatically item category has to over write other wise it will copy the existing item category .at delivery level you can see two movement types in item level.
    wait for other experts solution , if any standard is possible or not  .
    Regards,
    C.B Reddy.

  • Vendor master Plant relevant data problem

    Hi ,
    I have a peculiar problem,
    I need to set a alternate currency for a vendor at plant level ,So I activated data retention at plant level and at plant level I gave the vendor master a different currency and saved,after saving when I tried raise PO for the plant with a vendor system gives me warning message receiving and supplying plant are same and does not allow to enter condition prices.
    Kindly clarify me.
    Regards
    kantha
    Edited by: Jeyakanthan A on Dec 17, 2011 1:06 AM

    you assigned your vendor to a plant in XK02 via menu EXTRAS > additional data
    this is needed if you do STOs
    Right below is the check box for data retention at plant level.
    If you want data retention at plant level, then you have to flag this box.
    Then you go back to the organisation screen and you will find a new button activated. if you click this button, then you can enter the plant number for which you want maintain specific purchasing data..
    I guess you mixed those 2 different things  and thought you have to assign your vendor to the plant directly in the first pop-.up.
    Remove it from there.

  • Delay/Timer only in a conditional loop.

    Hello,
    I want to use a delay(or some kind of timer) within my
    program. I intend to use to it within a conditional loop. Specifically,
    if a particular condition is true, then I want to wait for 50ms and
    then check another condition, which if true, I want to stop my program.
    I have used wait vi in the timing section. But this vi pauses my
    whole program. Specifically, when the above mentioned condition is met,
    I want the delay vi to execute along with my data acquistion vi. At
    present, when the delay vi executes, everything (data acquisition, peak
    detetction, plotting etc) in the program pauses. I guess its correct
    functionality of wait vi but it does not suit my need.
    Does someone have any alternate for pausing (delay/timer) a
    particular condition loop without affecting the other parts of my
    program? Specifically, only the conditional loop delays for a certain time while other features like data acquisition, peak
    detetction, plotting etc excute normally.
    Message Edited by Neuropotential on 02-22-2010 12:47 PM
    Message Edited by Neuropotential on 02-22-2010 12:48 PM
    Solved!
    Go to Solution.

    Yes. This is exactly what I was looking for. But, there is a issue. In practise, i will not be looking at 10 sec delay but a very small number like 50 ms. With this approach, when I set a value of 50ms, my program stops after close to 90-93ms (After 50ms, there is a AND gate, when true stops the program; Refer to the attachement).
    There are multiple reasons which I see. First is obvious I am using a windows xp with lot of other stuff going on simutaneously. Also. elapsed time vi is an "express vi". Do you think this can be one of the primary reason for such a delay? Finally, I intend to use this program on RT based machine.
    Do  you see it working exactly as expected on those machines or do I have to modify my code? Please guide me. 
    Also, how to I mark your post as answer and other good things. 
    Thanks 
    Attachments:
    Image.JPG ‏60 KB

  • FM to read/list BOM items (only documents relevant = item category D)

    Hi,
    I cant find a function modul that is taking as input (material, plant, BOM usage, alernative BOM) and is listing the BOM items. I am only interested in document items (item category D). But I could also filter this in a second step.
    Any help welcome.
    Cheers
    Mathias

    > Hi Varun,
    >
    > I looked at that FM but I found CABM_READ_BOM
    > more usefull for my case.
    >
    > Cheers
    > Mathias
    Mathias,
    I have found CABM_READ_BOM_ITEM to be useful and simple to use.
    Many other posts call for CS_BOM_EXPL_MAT_V2 because that is used by SAP in standard transactions.
    I have found no SAP documentation on the CABM_READ_BOM and wonder if there is any reason that others are avoiding it.
    Have you found any problems? Perhaps SAP does not support this?

  • How to end workflow only in true condition case

    Hi
    i have modified standard workflow for Purchase order release, we have multiple release level, i modified it and added a condition that when it is final release only then finish the workflow. but in swdd tcode end step is at last after both true and false block . it means it will be finished in either case.
    Kindly guide me how i add completion step in true block and disable the existing one which is at the end
    Regards
    Ammad

    Hi ,
    You need not to copy standard workflow to implement your functionality .
    There is a user exit which you can implement in rule used in standard  workflow . Check for Release code in user exit and send the workitem to different ppl depending upon release code .
    Every time a release level is released for PR/PO , releasestepcreated event will get triggered and a new instance of workflow will be generated completing the previous workflow .
    For every new instance you are going to assign different agent through user exit for different release code .
    Hope this will help .
    Thanks n  Regards
    Manik L Dhakate

  • How do I insert into an array only if the condition is true?

    I am buiding an array made up of pairs of data from a file. I am going through line by line putting the values in an array and then taking the pairs of two indexes oring them and putting the number into another array. I do not know if there is more than one set on each line so I have to do a while loop to check.The problem is I have to get the indexes in pairs, so for example I take in the element from index 0 and 1 and or them index 2 and 3 and or them, I do not need the combination of 1 and 2 or 3 and 4 and etc. I am using the "Quotient & Remainder" to check if the index is even or odd, if it is even I take that element and the very next index's element, I or them and put them in another array, but if i
    t is odd I do not want to put anything into the array. How can I go about doing that? Any help would be appreciated. I am using version 6.1 Thanks, Molly
    Attachments:
    labview.bmp ‏3841 KB

    Molly,
    Rather than running while loop which only executes code every other time you could instead just do a little more math to get your index values. Just multiply the iterator (i) terminal by 2 for the first index and then add 1 to it for the second (you'd need to run the loop half as many times of course). This would be more efficient and easier to read in your code. One other tip is that when you are running a loop a specified number of times it's cleaner to use a for loop rather than a while loop.
    Regards,
    Ryan K.
    NI

Maybe you are looking for

  • Multiple Users accessing the same core set of queried data

    Hi. We have a small call center and we want to build an app where the users can query the same core set of data and use it to initiate calls to study participants. The trick is that they will also need to update each record with information from the

  • Error while running the Grid display

    Hi Experts,         I got one problem. I created an Z-report, the output type is as Grid display. After viewing the output and pressing back button, it is going to dump. Thanks in Advance, Srinivas

  • Consignment stock, make to order scenario

    Hi We have a material which produce make to stock and make to order also. In case of make to stock its fine. But when we are testing make to order then following is system behavour. Action     Mvt Type     Accounting Document                GR     10

  • Cisco 3548 xl and ports broken

    Hello could you please help me. we have several ports broken in cat 3548 xl ( fast 35,37,38,39) when we are trying to connect new workstations to them, ports do not work. there is over 80 procent packet loss. all other ports work ok. Do you konw if t

  • How to use h:selectOneRadio tag  inside h:dataTable tag

    Hi All, Can any one tell me how to use <h:selectOneRadio> tag inside <h:dataTable> tag and how to get selected radio button value in bean ?