Create PO with refer to one contract

Hi,
can I enforce the rule in the system that whenever a PO is created , It only consist of "one contract" only .
Is there any User Exit / Badi i need to implement ?
Thx

You can use BADI ME_PROCESS_PO_CUST...here try for the logic that while checking/posting/holding a PO the system will first check that whether in the field KONNR in EKKO table has more than one entry or not...If yes then system will stop user from doing  hold/post the PO by throwing some customized error...check this with the help of your ABAP person.
Regards,
Indranil

Similar Messages

  • Purchase order with ref to central contract

    we have created centrallly agreed contract with one vendor , but client wants to create purchase order using  that contract but with different vendor.(vendor field only ) (not through partner roles and vendor sub range)pl suggest if there is way.

    >
    ramjdee wrote:
    > my queston is,  Is it possible to create the purchase order with different vendor  while creating  w.r to   centrally created contract . The contract is having another vendor . example .  CENTRALLY CREATED CONTRACT VENDOR IS  X , but while creating po with ref to the contract can i use other vendor like Y.
    >
    > vendor sub range and partner roles not to be used .
    Is your problem related to contract and support (in terms of "SAP contract and support"), or are you rather talking about relations between different data objects / tables inside your application? If the latter, being a little more verbose (and, especially, posting table definitions) surely would help.
    Cheers,
    Kristian

  • How can I create multiple sales orders with reference to one contract?

    Hello Gurus,
    Can you please how can I create multiple sales orders with reference to one contract?
    thanks!
    Rakesh

    hi
    Lets consider example
    In your contract for line item 1 you have entered qty 100
    You careated sales order with 70 quantity, and now you want to creat another sales order for 30
    For this first you need to check what is your item category in contract (VA42)
    Goto VOV7
    SPRO - IMG  - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
    Make the completion rule = B Item is completed after full quantity has been referenced

  • Sales Order with Ref to  Sales Contract using BAPI

    Hi ,
    I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating the Sales order with ref to Sales Contract.
    but problem is that , Its not validating the quantity.
    I am passing following values to Header  & item
    ORDER_HEADER_IN-REF_DOC   =  <Sales contract>
    ORDER_HEADER_IN-REFDOC_CAT = 'G'.
    & item
    ORDER_ITEMS_IN-REF_DOC   = <Sales contract>
    ORDER_ITEMS_IN-REF_DOC_IT   = <item>
    ORDER_ITEMS_IN-REF_DOC_CA  = 'G'
    Thanks
    Jitendra

    Keshav.T wrote:
    What do you mean by but problem is that , Its not validating the quantity. generally to populate qty we follow like below
    Hi Keshav,
    Suppose Contract -> 1000 L
    First Order -> 500 L wrt to that contract.
    and again create a order wrt contract with quantity  700 L
    It should throw a waring Or Error message  but It creates the Order with 700 L quantity which is not correct.
    Thanks
    Jitendra

  • How to create Invoice with ref to PO

    Dear sd gurus..
    i know we can create invoice with ref to sales order not with po
    But i want to create Invoice with ref to po only
    please guide me
    Thanks a lot

    Venu, thanks for your reply.
    So in this case your idea wont work but the main imp thing is we cant create invoice with ref to po
    Please read my post once again, i never said we can create customer invoice with ref  to Purchase order. I said very clearly, " you can follow the normal 3rd party sales process", which means we create customer invoice with ref to sales order only.
    Coming into another query,
    but some time PO Is generated 110 qth to vendor but vendor  may be  he will send  105 due to shortage ... and he will tell i will send the the remaining stock after next 10 days now Generally miro will happen only for 105 not 110 ( even we can do MIRO110 also ) but i am talking generally because he received the stock 105 only
    But company wants billing for 110 not for 105 because here customer accepted to pay full money
    and vendor gave promise to delivery 5 qty in next 10 days
    Why will the customer  agree to be billed the full qty, when he receive the partial qty?
    Let us assume as you said customer agree to pay for full qty, then there are two options.
    1. Do the MIRO for full qty since you would be invoicing the customer for full qty
    Or
    2. Do the MIRO for partial qty and customer should agree for partial invoice
    Please note in the normal case also if there is if condition then you don't have other option.
    Example:
    Order = 100 qty
    PO = 100 qty
    MIGO = 50 qty and remaining 50 qty Vendor delivery in next 10 days
    MIRO =50 qty
    But here also customer agreed to pay for full qty, then what will you do ? you don't have other option but to bill the partial qty in standard.
    And let me know if you need any more clarity?
    thanks,
    Srinu.

  • Unable to change item category in Create SA with ref to contract

    We have a  centralised subcontracting contract (item category "L") in place for a material. The requirement is to create a scheduling agreement with reference to this contract line item item category "Blank" (Standard).
    But the item category field is greyed out (display only) when we try to create scheduling agreement with refernce to contract on the "Adopt + Details" screen. And we are not able to change the item category "L" to "Blank". Is there a way we can make this item category field editable on this screen before we hit "Adopt + Details".
    I have tried most of the field selection configuration, but there is no specific field selection group for this screen.
    Please note that the system allows you to change the item category when you create a PO with reference to this contract.

    Thanks Manu for your suggestion!
    But this is the process that we need to map. Request others to respond if they have comes across such a requirement and able to address it.
    Again I want to make a note here that if it is possible on POs, there should be a way to make it work for SAs.

  • Partner function not working when creating PO with ref to PReq

    Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
    But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
    however it works when i create the PO directly ( without the PR ref )
    I am using the same material & Plant for both manual PO & PR to PO.
    Any idea what could be wrong .
    I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
    Thanks
    Dkmurthy

    Hi,
    I have also an issue that seems similar to one you are discussing.
    When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
    When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N
    Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
    Any input is wellcome.

  • Create PO with reference to a contract

    Hi all,.
    Can someone explain me the steps  to create PO from SOCO using a contract??
    During contract creation,under header tab,what is the use of the check box "BASIC CONTRACT"???
    How are price changes distributed from contracts to catalog???

    Hi
    how many contracts you have for this material / material group .
    if you have only one contract system automatically assigned to sc.
    assume that you dont assign any source of supply and cart came to cockpit
    take your item into cockpit and click propose source of supply . now all avaialble contract must be available for sourcing or
    you can manually enter the contract and item number in the cockpit and create a PO
    if you dont get a respective contract  for respective material - there is something wrong on the contract. what type of contract . what is the status of the contract
    muthuraman

  • Problem while creating row with dependent select one choice in adf  table

    Iam having independent and dependent select one choice in a ROW in adf af:table
    unable to insert more than one row with dependent select one choice using create insert in adf table.
    Able to add more rows in UI af:table but ,ignoring previous rows (select one choice values) and only latest current row values is getting inserted to the database.
    Following is the code used to create row and for pointing to the current row
    public void addRowOnSecSettings(){
    SecurityGroupSettingsVOImpl SecGroupSetVO =(SecurityGroupSettingsVOImpl) this.getSecurityGroupSettingsVO1();
    try{
    int rowCount = SecGroupSetVO.getRowCount();
    SecurityGroupSettingsVORowImpl SecGroupSetRow =
    (SecurityGroupSettingsVORowImpl)SecGroupSetVO.createRow();
    SecGroupSetRow.setNewRowState(Row.STATUS_INITIALIZED);
    SecGroupSetVO.insertRowAtRangeIndex(rowCount, SecGroupSetRow);
    SecGroupSetVO.setCurrentRowAtRangeIndex(rowCount);
    SecGroupSetVO.setCurrentRow(SecGroupSetRow);
    } catch (Exception e) {
    e.printStackTrace();
    Regards,
    Bhagavan

    as it is dependent select one choice ,have already put auto submit="true".but no chance ,
    if i add two rows vo rowiterator showing count 2 but only current row select onechoice values are getting where as previous row select one choice values are null.

  • JSR-75 PIM API creating Contact with more than one Number (Phone,Fax ...)

    Hi everybody
    I try to create a contact with more than one Phonenumber using the method contact.addString(...) .
    Contact with one single number is no Problem but contacts with more than one Number are ignored and are not stored to the phonebook. I try to add the Numbers using a for -loop. Is there an other way to solve this Problem?
    please Help.
    Thank You.

    Wonder if you have made any progress - if so,
    could you share ?

  • Several Return orders with Ref. to one MTO Billing Document.

    Hi,
    I am doing RE with ref. to MTO Billing Document but i am able to issue "N" number of credit memo's with ref. to same MTO.
    Please tell me the Controll, that stops raising the second RE order with ref. to same MTO.
    I checked copy controls completion rule in Item catagory but still the problem not solved.
    Waiting for reply
    Veera.

    Dear Veera,
        The issue is related to the copy control settings only , so you go to VTAF transaction then go in to the item details of your return order type and MTO Billing document type.
    Here you can find the field positive/negative quantity you maintain that as '-' negative.
    Now you try
    I hope it will help you
    Regards,
    Murali.

  • Creating projects with more that one exported sequences from different FCP

    I am creating a compilation DVD containing 6 different FCP projects. I exported all the projects using the same settings
    MPEG-2 6.2Mbps 1-pass 4:3.m2v and .aiff files.
    They each burn and play just fine when I use just one in a DVD Studio project. The problem comes when I put them on one track using chapter markers to mark the beginning of each new clip on the track.
    It looks as though it is working until I try to play it in the simulator. I can hear the audio, but the picture does not view on any of the clips other than the the first one in the track. If I go back into the viewer and click on a portion of the clip, it will play both audio and video, but once it moves to the next clip (through a chapter marker) the video will not view until I click on the track again.
    What have I done wrong? I am a bit of a newby with FCP and DVD Studio.
    MacBook Pro   Mac OS X (10.4.8)   DVD Studio 4.1.0
    MacBook Pro   Mac OS X (10.4.8)  
    MacBook Pro   Mac OS X (10.4.8)  

    Hi:
    Same problem in this thread:
    http://discussions.apple.com/thread.jspa?threadID=741368
    It seems to be a "kind of bug". If you build and test your project in your hard drive everything plays fine. In another thread (that cannot find right now to link!) someone mention that the problem is the difference in the lenght of audio and video aafter encoding each sequence.
    But as I told you at least my projects builds fine.
    Hope it helps !
      Alberto

  • Create view With Ref cursor data

    Hi friends,
    I want to create view as follows.
    Example:
    Create or replace v_name
    select job,sal, <funcation>
    from emp;
    Note:- Function not having out parameter.
    Function returning ref cursor values datatype.
    Requirement:-
    I want to create view even function returing ref cursor datatype.
    Please advise how to create view.
    Regards,
    Kishore

    user7284612 wrote:
    Hi friends,
    I want to create view as follows.
    Example:
    Create or replace v_name
    select job,sal, <funcation>
    from emp;
    Note:- Function not having out parameter.
    Function returning ref cursor values datatype.
    Requirement:-
    I want to create view even function returing ref cursor datatype.
    Please advise how to create view.You perhaps are misunderstanding what a ref cursor is. It does not contain data like a table, so cannot be treated as one.
    Take a read of this:
    PL/SQL 101 : Understanding Ref Cursors

  • How to create PO with ref to SO using BAPI_PO_CREATE1

    Hello Experts,
    I have to create a PO using Sales Order(approved in work flow, User status will be changed from ZBLK to ZAO) in my User exit userexit_save_document. BAPI_PO_CREATE1 can be used to create PO. But I need it with reference to Sales Order. Can anybody please let me know how to do that?
    Regards.

    no answers

  • Create Quotations with ref of Inquiry through Custom IB IDOC

    Hello Experts
    Can you please tell the process how we can create the quotations by using inbound idoc created from XI system.
    What is the FM, process code, message type.
    Thanks
    Cris

    No answers were provided so closing this one.

Maybe you are looking for

  • Troublesho​oting compiled code?

    I am using Fieldpont modules to control some lab tests.  Since we have a few separate tests, we've decided to use compiled code to cut down on Labview costs.  The issue I'm having is when I have an error in the compiled code on a new install.  Is the

  • Don't understand IMAQ image behavior

    Hi there,      I have several image controls in my application.  When I assign image A to image B (in my wiring diagram), and then close image B, image A is no longer valid!  When I try to crop image A after closing image B, I get a "not an image" er

  • The Transport Control Buttons on the QuickTime window

    Hello every body !!! The Transport Control Buttons on the QuickTime window in Logic 9.1.7 disappeared- Some one could explain me why and how to recover them ? Thank you

  • EAS load rule (multi level attributes)

    Hi All, I'm trying to build multi level attributes at the same time associating it to the base dimension same time building the base dimension. because I'm building the multi level attributes...I specified all levels of attributes then base dimension

  • What kind of ports are these

    I would like to put on a 5in1 memory adaptor in this kind of port please tell me what it is i will have it circled in RED ps i hope i have sized the picture accordingly ThinkPad Twist S230U- OS-Windows 8.1 Pro 64-bit CPU-Intel Core i7 3517U @ 1.90GHz