Assigning Validation Rules to a Condition for Order Line entity

Hi,
Do we have any API(or interface) to load some validation rule( rule like 'Inventory Item= some item numbers) to a condition for Order line entity. (i.e. to load records into OE_DEF_CONDN_ELEMS).
Please let me know, thanks in advance

I am not sure of the purpose, if this to enforce a processing constraint, I will use API in the validation template defitniion and in the API I will qualify the items.
You can have these items setup in value set of a look up (custom) and then have user interface control on the same.
Is that what you are looking for?
Thanks
Nagamohan

Similar Messages

  • E-mail notification for order lines maintained with an invalid license

    Hello Experts,
      I have a requirement to develop an e-mail notification for order lines maintained with an invalid license.
    T-Code VA01, this mail will be triggered if order has been blocked due to invalid or no license at the time of saving.
    we can add email notification by using some user exit.  Can you please guide me on how to go about looking for the appropiate user exit. Or any other suggestions.
    Thanks,
    Abhishek

    Abhishek,
    check this
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    Re: va01 user-exit....
    http://www.allinterview.com/showanswers/69164.html
    Thanks
    Bala Duvvuri

  • Validation rule on Cost Object for Manual Journal Entry

    Hi Experts,
    We have an issue regarding General Ledger Account to be posted manually (FB01,FB50...).
    For this posting the busines required only one Cost object (WBS or IO or cost center) is needed.
    The problem is that I can not define a Field status group who require only one assignement, either WBS or IO or COPA.
    Thus all General Ledger Account is alraedy created as Cost Element.
    How can I create this validation rule ?
    Thanks for help

    Hi Shoeb
    SAP allow only one cost object to be filled at one time in order to avoid conflicts. example- CC, WBS, IO etc. you can enter only any one of these in one particular document. how ever balancesheet items are not needed to be filled this.
    Hence I guess your validation issue may be already taken care by SAP standard solution. You may keep all cost objects as optional in you Field status group so that it allow any values.
    Cost elemets categoroes (primary, secondary)are different than cost object (CC, orders, wbs etc).
    if you still need a validation please specify the purpose of validation. hope this helps.
    best regards
    Jomon

  • Pricing Condition for Serivce Line Item

    Hi Experts,
    I'm trying to create a service PO with 1 Service line item and this service line item actually contains more than 1 service number. Using BAPI_PO_CREATE1, how can I define the pricing condition for each of the service number?
    Currently, I'm able to define the pricing condition of the service item as a whole through this input parameter table POCOND.
    Thanks.
    Best Regards,
    Weishan

    Its really tricky requirement, when you are going for manual condition type.
    - the best alternative to cater your requirement is to go for maintenance of condition record, which you can upload at mass with the help of LSMW. Also, will be really helpful in having report for pricing. Finally, reduce time to create sales order. Thus, discuss & encourage your user to maintain pricing based condition record. Only header condition should be on manual bases.
    - If hard to convince your client on condition record. Then develop a routine with the help of ABAPer in your team. Where you can put logic. If the condition is manual enter and system is able find already entered value for material, then copy the price the slots where system don't find manually entered condition value.
    Regards
    JP

  • Need to disable/Grayed out Unreseve button for Order lines

    Hi All,
    In Back to Back order process once the order is progressed, the requisition will be created and Quantity will be reserved for PO to be received.
    Some of our users want go and Unreserve this by the below methods.
    1) Tools --> Scheduling --> Unreserve
    2) Right Click on the order line --> Scheduling --> Unreserve
    We need to Disable or Grayed out this Unreseve option for ATO Flagged lines.
    Can anyone let me know if this is possible.

    Ok , Ned , well your Guidance really worked , thanks alot for that.
    I made it work , though since i am very new to AS3 , i really had to experiment , here is the final Code :
    import flash.events.MouseEvent;
    stop();
    var note1:Mc_Notice1 = new Mc_Notice1;
    var note2:Mc_Notice2 = new Mc_Notice2;
    var notes:Array = [note1,note2];
    //var count:Array = new Array(1);
    var count:int;
    count = 0;
    btnload1.addEventListener(MouseEvent.CLICK , load1);
    btnload2.addEventListener(MouseEvent.CLICK , load2);
    function load1(Event:MouseEvent):void
      addChild(notes[0]);
      notes[0].x = 100;
      notes[0].y = 100;
      count ++;
      trace("Counter Value:" + count);
      if ( count == 2)
      btnnxt.addEventListener(MouseEvent.CLICK , nextframe);
    function load2(Event:MouseEvent):void
      addChild(notes[1]);
      notes[1].x = 100;
      notes[1].y = 100;
      count ++;
      if ( count == 2)
      btnnxt.addEventListener(MouseEvent.CLICK , nextframe);
      trace("Counter Value:" + count);
    function nextframe(Event:MouseEvent):void{
      trace("Mouse Enabled");
      nextFrame();
    Once again , Thanks alot for the help and Guidance
    Best Regards

  • Discoverer - Find Customer Location/Site info for Order Line

    I am trying to figure out the correct join(s) to use or create to be able to tie the Order Line back to the Customer Location/Sites information to determine where the order was shipped and other Customer related information.
    When I am pulling data from the Order Lines & Order Header folders in Discoverer, I can then select items from the Customer folder, then from the Customer Locations folder. When I get to the Customer Locations level I am getting multiple rows returned b/c each Customer may have multiple locations. I need to be able to limit the Customer Location to only pull the information related to the which Customer location the order was shipped to.
    Can anyone assist me with that?
    Thanks.

    Hi,
    Thanks for the reply.
    Every time i am giving unique orig_sys_document_ref at header level.
    And there is no error. Order is been created with Booked Status. But Line is not getting created so cannot query the record at Correction form.
    Regards
    Aryan

  • BAPI_SAG_CREATE - time indepenedent condition  for schdule line agreement

    Hi all,
    i have nade a BAPI -BAPI_SAG_CREATE for schedule line agreement. it is running okay for time dependent condition.
    but it is giving error " schedule line fortime independent condition is not asllowed"when i am running for the same bapi for time independent condition whereas it is our requiirement.
    kindly help.
    Regards,
    Santosh

    Hello Santosh,
    I think you have no chance, this time you found a missing funcionality, BAPI_SAG_CHANGE (and BAPI_SAG_CREATE) can only treat scheduling  agreements with time-dependent conditions. Document conditions are not  supported. Therefore, this kind of scheduling agreements cannot be           
    processed and you receive error message MEOUT019.   
    Regards,
    Mauro

  • Receiver determination condition for multiple line items

    I have a structure like this
    <Invoice>
       <InvoiceHeader></InvoiceHeader>
      <InvoiceItemDetail>
       <InvoiceItem>
             <InvoicePrice>0.00</InvoicePrice>
        </InvoiceItem>
       <InvoiceItem>
             <InvoicePrice>0.00</InvoicePrice>
        </InvoiceItem>
       <InvoiceItem>
             <InvoicePrice>0.00</InvoicePrice>
        </InvoiceItem>
      </InvoiceItemDetail>
       </Invoice>
    if my Invoiceprice is 0.00 in all invoice items , i need to send to a particular receiver.
    In this case, how do i need formulate a receiver condition? i have tried all, but it is not working.
    Regards,
    Raveendra

    HI,
    if i have two invoice items with one price with 0.00 and 30.00. your condition will find a receiver. But, it has to find receiver only when two invoice prices are 0.00
    if i have two invoice items with one price with 0.00 and 30.00
    for ex:
    item  A = 0.00
    item  B = 0.00 / 30.00
    But, it has to find receiver only when two invoice prices are 0.00
    rootnode/InvoiceItemDetail/InvoicePrice(A) = 0.00  AND  rootnode/InvoiceItemDetail/InvoicePrice(B) = 0.00 -
    > target A
    rootnode/InvoiceItemDetail/InvoicePrice(A) # 0.00 OR     rootnode/InvoiceItemDetail/InvoicePrice(B) # 0.00 -
    > target B
    thanks,

  • Alert for Order Line Item

    Hi all,
    We have a need to create an alert when a user enters a line item. Is this possible? I am new to alerts so any guidance would be much appreciated.
    After a user enters a line item and presses enter, for certain products an alert should ideally pop-up. Otherwise, it should appear in the messaging. What would be necessary for this to happen?
    We are on CRM 5.0.
    Thanks in advance. Points will be awarded for helpful responses.

    Alerts are triggeered on some events like a click of the button .They appear in the alert area provided in the sap ic webclient application.
    Your requirement is very much possible.You need to follow the following steps:
    1.Create an alert class in se24 .where u need to write the code for triggering the alert  or u can directly write the code in the controller class of the view where u are going to add the item.
    2.Go to SPRO->CRM->ICWebclient->Customer Specific System Mod->create events
    and there create an event if u will use the alert class .
    3. Go to spro->crm->ic webclient->alerts
    Using wizard create an alert with some text .
    thanks,
    ashish.

  • How to setup the default warehouse in Sales Order Lines

    I have 3 organizations in one OU like A, B, C.
    and I created a new sales order type for A, the shipping from warehouse is also setup C, but when I create SO, in order lines, the default warehose is A, how to change to C?
    thanks
    Fangquan

    You can write a simple pl/sql logic to get the correct org id. I am assuming that you have two responsibilities in the same operating unit and one should default with A and one should default with C. Both use the same order type.
    When the resp that is responsible for org A, will have org A from order type.
    For resp that is responsible for org C, you can create a pl/sql logic where you read the current responsibility using fnd_profile.value('RESP_ID'). If the resp_id is responsible for C then return organization_id of C.
    You can find example code for order line entity for attribute tax code.
    Let me know if you need anymore info.
    Thanks
    Nagamohan

  • Validation Rules in SRM

    Hello Gurus,
    I am a new to SRM.  I needed to understand if we could set up any CO validation rules in SRM.   For e.g.  in R/3 we use transaction GGB0 to set up FI and CO validation rules. 
    1.  Is there any transaction to set up validation rules in SRM?
    2.  In general, is there a process of validating the master data in SRM? 
    My Scenario:
    We are creating an expense report in SRM for employee expenses incurred.  Once the expense report is entered in the SRM portal, a trip data is created in R/3.  We check the trip data for an employee in  R/3 using PR05 and continue posting to FI/CO. 
    We would like to set up a validation rule in SRM (rule contains combination of GL account, cost center and statistical WBS element) so that when employee tries to post expense to a wrong combination of (GL account/cost center/statistical wbs) the system should give an error message while entering the expenses in SRM.   How can we achieve this scenario?
    Any feedback would be helpful.  Thanks in advance for your help.
    Thanks,
    Ram

    As of i knew there is no validation rule exist in SRM as exists in ECC.
    if you require you may need to via RFC call only and validationd done by BBP_DOC_CHECK bADI.
    there may not be any front end validation rule combination of GL account and account assignment. It allows to enter any availble GL accounts  ( in the ECC) / cost center with any combination .

  • User Exit for Purchase Order Line Items.

    I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything.  I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document.  Any direction you can point me into would be greatly appreciated.  Thanks.

    Thanks for pointing me in the right direction.  I was able to create my first BADI using the PROCESS_ITEM method.  The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM

  • Calling FI Validation Rules in BPM server through call transaction

    I m trying to call FI validation rules through call transaction (for FBV0) in BPM server but in the messages table of call transaction it does not gives us the validation rules error messages while when i run manually the transaction in R/3 system i get the validation error messages. So please tell how i can get these validation error messages when called through BPM server.

    Hi madhvi,
                       You are using jtab within the form.. i dont think you can use it directly inside ur FORM sub1 without declaring it or without passing it. and it will give you the syntax error.
    and please send me the step by step code you have written in editor so that i can check it and can reply you with proper solution'
    Thanks ,
    Prasanna

  • Urgent: Unable to Edit Modifiers to Order Lines.

    Guys,
    Modifiers are defined correctly for order lines.
    "Override" checkbox exists for all item categories.
    Profile "OM: Discounting Privileges" to "Full"
    "Enfore Price List" is not checked for the order type.
    All price list,Transactions types and modifiers are active and has no end date.
    Ran
    Build Attribute Mapping Rules
    QP: Maintains the denormalized data in QP Qualifiers
    Any others setups I missing?
    Cheers!!!

    911669 wrote:
    Guys,
    Modifiers are defined correctly for order lines.
    "Override" checkbox exists for all item categories.
    Profile "OM: Discounting Privileges" to "Full"
    "Enfore Price List" is not checked for the order type.
    All price list,Transactions types and modifiers are active and has no end date.
    Ran
    Build Attribute Mapping Rules
    QP: Maintains the denormalized data in QP Qualifiers
    Any others setups I missing?
    Cheers!!!You mean..when you go for view adjustments at line level..you are not able to see modifers there??

  • Where can I define Account assignment category for order settlement rules

    Dear Gurus,
        When I used Tcode: CO07 to create a rework order for parent order. But I cann't find the Account assignment category = Ord (Order) in the maintain Settlement rule overview.
      Where can I define Account assignment category for order settlement rules?
      Please help me. Thanks!
    Regards
    Paul.

    I've resolved this question.
        Firstly, run OPJH - Define Order Types, we should assign settlement profile for the order type.
        Secondly, Run OKO7-Maintain Settlement Profile, find and mailtain the settlement profile. In 'Valid Receivers' we should set the field 'Order' = 1-(Settlement Optional).
        Thirdly, run CO07 - Create Order without material. We can find account assignment catetory 'ORD' in maintaining Settlement rule.
    Edited by: Paul Chan on Feb 16, 2009 5:15 AM

Maybe you are looking for

  • 10.6.8 now running really slowly

    How can my daughter diagnose the problems she is having with her Macbook, running 10.6.8? It has started running very slowly and has been opening pop-up windows, even on 'safe' websites - eg: university websites. Also when opening Google she has star

  • Oracle Linux 6.3 in Win2012 R2 Hyperview

    Hi, I hope this is the right place for my question. I'm trying to run Oracle Linux 6.3 in Windows Server 2012 R2 Hyperview V.  As for Microsoft, this should run fine. However  "should" is a dangerous word. On  my system Linux can't access the network

  • Why can I nolonger use a site a black key appears in the address bar how can I fix this?

    immediately after a firefox update I could no longer access downloads from a paid site i belong to. I noticed a black key in the address bar I don't know what happened but I can log in but not do my searches now. I want this fixed. I also want to be

  • "printer not connected" error over a wifi network

    I have a HP CP2025N laser printer that has been happily working on my Apple network. Now all of a sudden I keep getting a "printer not connected" error. I reset the network to no avail. I am running Lion, the printer is connected via an ethernet cabl

  • InDesign CS4 and Plugins

    How do I open InDesign CS4 without plugins?