Quantity remanid in a Qty Contract

Hello Everyone, does anybody know how can I find the "Quantity" remained of a Contract Qty. I mean a "function" that can give me the Qty Remained (Like SD_READ_CALL_OFF_VALUE, but this is for VALUE Contract, and I need some for QTY Contract).
When you are in tcode VA01 and you are creating a Sales Orden referenced to a Contract (Qty).
You assign the data position 10 : the Material Code and the Qty; if the Qty is > Qty Remained of the contract SAP send a message V1 501.
I will be thanks for your help.
JEOS.

Hi Jeos
Then kindly use in VBEP , VBUP tables.which will fulfill mostly your requirement
Regards
Srinath

Similar Messages

  • Contract Quantity to Sales order qty

    Dear Sdities,
    1. I have created Contract Using VA41 for 150 KG & saved Contract.
    2.I have created Sales Order(va01) by referring to Contract , but i created  Sales order for 151KG.
    Then it gave me below Warning message & it allowed me to do delivery for 151 KG.
    {Target qty of reference: 150 KG (total referenced: 151 KG)
    Message no. V1501}
    But My requirement is...
    1. For the same it shouldn't allow me to create for 151 KGs & it should give me Error message than Warning Message.
    Plz reply with Solution.
    Regards..

    Hello,
    Its very normal that you can enter order quantity more than the reference contract quantity flowing from the contract.
    Additionally its not recommended that you change the standard SAP standard messages from warning to error etc.
    Better you should go for an exit. Use following details:
    Goto SE38 & enter include MV45AFZZ
    Then goto user exit "USEREXIT_SAVE_DOCUMENT". In this you should tell your ABAPer to write code such that it compare the previuosly refered quantity & hence does not allow to enter quantity more that that in contract. You will get error message while saving the document & system will thus prevent extra entry of quantity in sales order.
    Hope this solves your requirement
    Regards,
    Dhananjay

  • QTY Contract to Sales Order

    After Sales Order is created I need to assign a new Item to an existing Quantity Contract.
    When you first create an Item and press enter you will receive the Popup Outline Agreements exist for Line Item (if your setting in VOV8 is = B) I select list and then double click the correct QTY contract. The problem is that when i do this it is replacing my Plant in the Sales Order with the Plant from the QTY Contract.
    I also tried to reference this item by skipping this message and using the menu path in VA02 (or VA01) EDIT > Assign Contract > Item Level. Here is enter my Contract # and press Assign. Now the Plant doesn't get replaced, however I receive a Popup saying New Pricing Carried Out. This now replaces my pricing on my Sales Order with the pricing from the Quantity Contract (CQ).
    So the question is - how come when assigning a contract either through the menu path or through the Popup (Outline Agreement) I get different results? Shouldn't  the copy control work the same using both of these methods?
    I appreciate the help.
    Thanks -

    Hello,
    Its very normal that you can enter order quantity more than the reference contract quantity flowing from the contract.
    Additionally its not recommended that you change the standard SAP standard messages from warning to error etc.
    Better you should go for an exit. Use following details:
    Goto SE38 & enter include MV45AFZZ
    Then goto user exit "USEREXIT_SAVE_DOCUMENT". In this you should tell your ABAPer to write code such that it compare the previuosly refered quantity & hence does not allow to enter quantity more that that in contract. You will get error message while saving the document & system will thus prevent extra entry of quantity in sales order.
    Hope this solves your requirement
    Regards,
    Dhananjay

  • Order qty is in display mode in qty contract

    HI GURU
    kapil & Raghavendra YN ,
    I follow your instructions but it is not working.
    guru i want to put target qty & order qty both,
    say---target qty 1000  & order qty 200 like that . but in standard sap system order qty is  in display mode .
    note- i simply copied qty contract from standard qty contract(QC) in sales document header.
    According to Raghavendra YN , when i change Screen sequence gr in vov8 ,it works but only order qty comes instead of target qty. but i want to put both qty.
    so please help me.

    Hi
    This is Standard SAP Practice
    Actually in The quantity contract the target quantity field is how much contract quantity for the line Item, you are  making  Agreement with your customer typically this is agreement Quantity
    When you are creating sales order with reference to Quantity Contract system propose you How much quantity you want to capy
    you can click Selection list  in the popup window
    for eg You contract Quantity say 100 (Target quantity)
    you are coping to sales order say  40 Quantity
    now system will update your Quantity in the Contract Document like 60Qty
    this is actually to compare your Target quantity  with Order quty
    if the order quantity Excide the target qty system will through the error Message
    thanks
    prasannavengadesan

  • Report for Qty Contract and Value Contract with PO release exceeding limits

    Hi All,
    Is there a std report in SAP that the users can use to view Qty and Val Contracts that has exceed in Qty (in case of Qty Contracts) or Val (in case of Val Contracts) ?
    Thanks in advance!

    hi Duke,
    If thinking logically, then there is no report for the same..this may be because you enter the qty or value limits in the contract doc itself....So, when you make the PO for the same, and if the qty or value exceeds the system automatically provides the message..stating that the qty or value has exceeded....
    So, there is no report for the same...
    Hope it helps...
    Regards
    Priyanka.P

  • Qty Contract Issue - Completed but Status still "Being Processed"

    Hello,
    I need help with a situation I am encountering.  This is AFS specific.
    Create QTY Contract for 100.  Both the item and schedule like have completion rule "B" and the copy control between contract and order has document flow set to "2" and positive.
    Scenario 1:
    If I create a call off order for exactly 100 (same grid value), the contract is correctly set to COMPLETE.
    Scenario 2:
    If I create a call off order for 50 and another call off order for 50, the contract status is  BEING PROCESSED.
    We need the contract status in the second scenario to be changed to "COMPLETED". 
    Thank you,
    Siobhan

    Hai Siobhan,
    In our system i created similar contract and sales orders, but both are showing completed only.
    1. Can you check again with complete cycle up-to invoice.
    2. After creating 50 + 50 two orders, Check whether system is allowing to create further more orders
    Please post the updates of the issue.
    Regards,
    Mani

  • Value Contract vs. Qty Contract

    Hi All,
    For Value Contract the system asks for Target Value in the header of the Contract. For example, if the target value is 10,000USD and I enter in the Target Value field in the contract and when I goto Item Overview the system's asking for Target Qty and Unit Price. Does the total of all the line item have to addup to the Target Value in the Header? I still can save the contract with the target value as 10,000USD and just a single line item with value of 50USD.....This doesn't make any sense.....Why is the system asking for "Target Value" when the line item can be under the Target Value???? Then what is the purpose of Value Contract?
    Any explanations for this?
    Thanks in advance.

    Hi
    Contract is the document that consist of terms and conditions (say Max value as you said 10000USD, validity date in value contract) or (maximum qty and validity date in qty contract).
    The document created with T.Code ME31K is known as Contract.
    With respect to This we need to create a release order in ME21 specifying delivery date, qty and price to supply it to vendor. You can create relese order upto the maximum value or qty specified in the contract with in the validity date.
    For given contract document you can create N number of release orers (but shoild be with in max value and validity date).
    USES:
    This type of document is used where there is bulk requirement of material/service is needed.  At each time they won't create PO, they will have an agreement with the vendor and send the signed contract document and vendor will supply/provide service as per our requirement.
    Our requirement is specified in relaese order.
    Hope will be helpful for you.
    Rgds
    Srini

  • Quantity delivered differs from qty invoiced

    Experts,
    SRM 5/Ext classic
    For one of the line items in SRM PO, we wanted to set the deletion indicator which we have done by maintaining table entry DEL_INDICATOR....but this deletion indicator is not visible against line item in ECC PO when we transferred the SRM PO via FM in SE37. We get an error message in RZ20 "Quantity delivered differs from qty invoiced "
    Any clue how to resolve this?
    Thanks & Regards

    and why are you not deleting the line item from portal?
    if not, then i think you should use BBP_PD_PO_ITEM_DELETE_LOCAL FM rather than setting the indicator manually...

  • RZ20 PO Error" Quantity delivered differs from qty. invoiced "

    Hi All,
    In SRM 5.0 , Extended Classic Scenario . PO Error in Process , RZ20 Shows Error" Quantity delivered differs from qty. invoiced " for the Changed PO. What must be the reason. GR based Inverification is Ticked is ticked in old version of PO.
    Answers will be rewarded.
    Thanks & Regards,

    Hi
    As Yann told,
    OSS Note 1058510  -  Limit Order Line can be deleted when open confirmation
    will surely help.
    Otherwise look
    Similar OSS Note 61227 - ME22 MR11 Items with non-valuated goods receipt
    Regards
    - Atul

  • Quantity updation of return material from Qty Contracts

    I have a contact, for which i created a release order,
    delivery, goods issue and invoice.
    Now if I do a return transaction how the quantity
    contract will be up dated  and my requirement is again to replace the
    original quantity in quantity contract.
    Regards
    Gautam

    Hi Gautham,
    I am not getting why u want to update contract as u can create delivery against return order .
    No need to update contract as u have already did PGI and Invoice .
    Correct me if i am wrong.
    Thanks

  • Copying Partners from Qty Contract to Sales Orders

    Hi
    Business requirement is for  Customer A  Quantity Contract ,  A's is having different Locations like B,C...in different places. While sending goods to B or C  sales order should create with ref to Contract. and invoice should create to B or C.
    I maintained B & C as "AA Contract rel. ord for Sold to party and  AW for Ship to Party.
    If i try to release a order to B system  giving pop up for selecting Ship to Party
    and  selected as B Ship to party, but Payer and Bill to party is copying as A.
    but invoice should create on B.
    how to map this can any plz guide me.
    Rajendra

    Better try to follow this
    [Read This Before Closing your Threads |Read This Before Closing your Threads;
    thanks
    G. Lakshmipathi

  • Open Order quantity in Release order of Contracts

    Hi all,
    We are developing new PO format for Release Order ( Contract) where in we want to print the Open order quantity & Open order value along with Contract number.
    What is the best logic for Open order quantity, where in it has consider all the previous release order quantities minus the target quantity in contract.
    Open order quantity = target quantity in contract - all previously release order quantities.
    Thanks in advance.
    MM
    MM

    hai sajid,
    As u said,
    open order quantity = total quantity in contract - total quantity released against that contract ( Through release orders )
    it is right,
    with regards
    srinivas

  • Release Quantity in ME3S for a Contract

    Dear All,
    Hii.. Good Morning,
    I am facing a problem in contract reporting on Services (ME3S)
    I have created a contract and there are two line items 10 and 20. For item 10 there are 20 services. I have released some orders through follow on functions.
    But when i am seeing the report in ME3S for that particular service activity no. the quantity released is different from the sum of the quantities of release orders i.e Quantity released is greater than the sum of the quantities of release orders.
    Can you guide me in this?? Because i have checked all the tables it is showing as Quantity released is 48000 but sum of the release orders is only 32000.
    Please treat this issue as priority
    Best regards
    Paresh

    Hi,
       Hope you have checked the details in table level with the data given in ME3S selection screen.
       In addition, refer the KBA: 1774908 - Different values between release order and release documentation.
       If standard report is still giving wrong value, then you may check for SAP notes (I couldnt find anything relevant) or raise an OSS ticket to SAP.
    Regards,
    AKPT

  • Qty Contracts

    Hi there,
    Can someone advice to me please, if i have a Value Contract what is the best way of triggerin the sales order to be created for the contract?  will it be automatically done? or is it manually done?  how and who will genertae the Release Order? 
    What I mean, is that in a normal sales order, the delivery due list wil run and create the delivery based on a required delivery date in the sales order, and that will occur, and than goods go out etc.....
    but in a CONTRACT, how and when is the release order created?
    thanks all

    Contracts are basically three types, value,quantity and service contracts.
    The value contracts Document is WK1. The value contracts is created in Tcode va41, containing the total contract value with a timeline.
    Against the contract document Release ordersc are created using transaction code va01 ( the release orders are not created automatically). Ensure that the copy control is set from Contract to Order in VTAA tcode.
    Upon creation of the release order , the value contract document gets updated with the realease order value. Once the entire value that is defined in the contract document is reached, anf if you try to create further Relaese orders, system throws up an error message or warning message depening upon your setting in congis.
    The rest of the process remains same..ie. delivery document and billing.
    In Addition refer to the below link:
    [http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fd53545a11d1a7020000e829fd11/frameset.htm]
    Hope this meets your requirement.
    Regards ,
    Ashok Chauhan
    Edited by: Ashok  Chauhan on Mar 12, 2009 9:58 AM

  • Multiple simultaneous release against qty contract

    Hello Experts
    I have a blanket contract. I am releasing this contract through sales order creation (VA01). But when two users are simultaneously releasing the contract in VA01 then in the dialog box of "Create with reference" system gives one of the users the following error "
    Sales document 40000074 is currently being processed (by user MISC2210)
    I checked into SAP help and they suggested a field "Simultaneous Release Orders". Refer Quantity Contract - Sales and Distribution - SAP Library
    SAP note 697962 - Document flow not updated at simultaneous contract release says that " Function 'Simultaneous Release Order' is set in the copy control between the contract and the follow-on document.". However i was unable to find it
    My business requirement is that multiple users should be allowed to simultaneously release the contract. This will save them considerable waiting time during the peak hours
    Could you please provide assistance?

    Hdllo Shane,
    ´The note you are speaking about is component specific release IS-AFS. I don´t have it in my system.
    I am working in automotive industry and we have similar requirement. But we focused all our efforts to optimize the performance of release creation and therefore reduce the impact of locks. From my point the lock is critical process that should be kept.
    ps:  In my context we use our Sales Schedule Agreement to manage customer demand. So we didn´t even think about deactivating the lock on SSA.
    Best Regards
    Meher

Maybe you are looking for

  • Thumbnails of Adobe  Illustrator CS2 have disappeared

    I noticed that all of the Adobe Illustrator CS2 thumbnails have turned into just generic icons. This is pretty useless if you have files to browse through and you want to see the thumbnails in Spotlight or Finder. I can see thumbnails in Adobe Bridge

  • I need help getting my music and videos to have sound again.

    Today I noticed that the sound (music, games and videos) was not working on my Iphone 4.  I can still hear updates, phone calls, ringing, text messages etc.  I have backed up the phone and restored it, but that didnt work.  If I plug head phones into

  • My Custom repositories are not visible under content tab of ACC

    Hi, My Custom repositories are not visible under content tab of ACC ,eventhough i had appended my custom repository in /atg/registry/ContentRepositories.properties to the property initialRepositories+=/myCustomRepository.PLEASE HELP ME.

  • Pages icon

    My icons for Pages & Email have disappeared from my dock.  I've already tried HELP and it brings up the icons in a narrative & suggests that I drag it over to the dock.  That doesn't work.  Any suggestions? Radlady

  • There is insufficient system memory

    I have 6 GB of ram,6GB swap space,i7 and a GTX480 1.5GB and I'm getting this error: There is insufficient system memory available to run textures with the highest quality.To enable you to play normally ,textures are used with lower quality. The game