Open quantity in contracts which have calloffs archived

Hi all!!
We have contracts with their corresponding calloffs created. If the calloffs are archived, how can we obtain the open quantities in the contract in a Z-program? That is, which fields have to be checked? In VBUK table there is no "archived status" or soemthing like that. In table VBUP there is a field RFGSA which indicates if the item has been referenced totally or partially but I don't how to use it together with any other status.
Example:
Contract 1000 pcs.
    Call off: 500 pcs archived
    Call off: 400 pcs archived
There are still 100 pcs. opened but in our report it's displayed 1000 pcs as opened.
How can we get that 100 pcs are opened and 900 are archived?
Thanks in advance for any idea & best regards

Hai icasado,
In standard SAP
Contract - SO will updates once it is processed.
In case in sales order is      rejected with some reason then the quantity will flow back to contract.
For the similar requirment we had made enhancement in sales order to check
At the time of saving sales order, system check
what is the refereed contract
for that what is list of sales order prepared
(Contract -  Sales order quanity) - Current sales order qunaity = X
1000 - (500+400) - 1000 = -900
If X is less than 0,
system displays ( Contract qty + -900) = 100
Only 100 Mt can be allowed.
Regards,
Mani

Similar Messages

  • I have Photoshop CS5, and use windows XP.  I cannot open Bridge from photoshop, whichI have done for years. When I am in Photoshop,when it opens, I always click on the bridge icon at the bottom of the screen, and it puts me into bridge. This is not happen

    I have Photoshop CS5, and use windows XP. I cannot open bridge from photoshop, which I have done for years.  When I am in Photoshop, when it opens, I always click on the bridge icon at the bottom of the screen and it puts me into bridge. This is not happening, the small wheel at the bottom of the screen just keeps spinning. Its like its stuck or caught in a loop. I can't get into bridge. I tried shutting down and starting up again but  the problem remains. Looking for help.  Dan

    Thanks for your response, I was able to open bridge from File-Browse in Bridge.  This worked, but was not able to go back to the way I always opened Bridge.  At least I could get to Bridge and go into Camera Raw. I never tried to open Bridge from the Start menu.  The odd thing about this is, it has happened before, and to get it "unstuck" and working again, I would shut down and restart again in a few minutes, and things would go back to normal.  This time it did not go back to normal after several attempts.  I shut down for about 3-4 hours, restarted, and it seems to be back to normal again. I am not sure if it's a problem that is getting worse each time it happens.       And yes I am using Mini Bridge in photoshop CS5.  Thank you for your help.  Dan

  • After installing the latest version of iTunes , I can no longer export files from EZ Vinyl Converter to iTunes. I tried restoring an older version which accepted these files, but that version no longer will open my library. I have been archiving my albums

    After installing the latest version of iTunes, I can no longer export music files converted by EZ Vinyl Conversion software to iTunes, which is the only export option available in the software. I have been converting my vinyl records, tapes and cd's to MP3 files in iTunes for about a year now, and have well over 1000 man-hours invested in this effort. I tried restoring the last version of iTunes, but it will no longer read my library, as, apparently, the new version modified the library file(s) in some way. I want to reenable this export-import function to finish my archival. What is necessary ???

    Apparently, security programs like Macafee and Norton view Itunes updates as new programs and block then from access. If you add Itunes to the list of exemptions, it solves the problem.

  • Copying Quantity from Contract to Order

    Dear all,
    I am having problems copying quantity from qtty contract to sales order. I am creating multiple sales orders against the same contract and would want only the open quantity (total contract qtty - qtty for which sales orders have been created)  to be copied into the order qtty. However, the original contract qtty is getting copied in all the sales orders. To clarify with an example:
    Contract <-> wk1 <->Material 1 <-> Quanitty is 10
    I created Sales Order 1 of OR type for Qtty - 3 in reference to the contract. The original qtty displayed was 10, I changed it to 3.
    Now I go and create another sales order with reference to the same contract. The default quantity displayed in the sales order is 10 and the system is allowing me to go ahead with the delivery. I want the qtty to be displayed as 7 and system to stop delivery creation if the user tries to create an order for more than this qtty.
    Please suggest a solution.

    Hi,
    this can be easily controlled through copy controls
    go to t.code  VTAA click display to change icon
    select QC to OR click on item category and select KMN
    go to detail icon and copy qty field and select appropriate (like keep it blank) ur problem may be solved
      I think it comes when copying, some one might have changed it.
    regards,
    sadanandam kasarla

  • BAPI for PURCHASE ORDER with OPEN QUANTITY field

    Hi All,
    I wanted to use the BAPI_PO_GETDETAIL to get the Purchase Order details upon triggering from Warehouse management system,
    But the details required contains a field called OPEN QUANTITY...which is not used in this BAPI.
    I request to let me know if any BAPI exits for PO details having the structure for this field:Open Quantity.
    Am using SAP version 4.0B.
    If not exists please advise how to customize the existing BAPI to meet the requirement.
    thanks
    mahi

    Hi,
    Open quantity is a calculated field. I guess the BAPI gives the details of the delivery, so take the ordered qty and substract the delivered qty from that.
    Delivery data is EKET table.
    Regards,
    Ravi

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • Open quantity in list of contracts(VA45)

    Hi,
    I cannot find the open quantity filed in list of contracts report(VA45). Could anyone tell me how to add this field into VA45 report?
    Many Thanks
    Jean

    Hi Jean,
    basically according, to the SAP - Sales concept is concerned, there are two things. One is the order quantity which always refers to the total order qty for a material. Other is the open order qty, which is always based on a formaula.
    For eg. I create an order for a material m1 for 1000 pieces.
    Suppose, I have already invoiced 250 pieces from it and also i have taken a fresh delivery for another 250 pieces. Then the open order qty will be = total order qty - ( deliveries + picking + PGI + invoice)
    i.e = 1000 - (250+250).
        = 500.
    So open order qty simply based on the above formula. You can use this formula in your programming.
    Lakshminarayanan
    P.S. Mark all helpful answers for points.

  • Open Order Quantity in Contracts

    Dear Gurus
    I am trying to create a report which will show the Open Order quantity of SD Contracts.
    This being the figure of the target quantity less the called off quantity.
    Please advise on the best method of getting this information, I can see the cumulative order total in the contracts but this is held in a structure (RV45a- KWMENG) and I am struggling to get this information into a report
    Many thanks
    Tony

    Hi Tony,
    To the best of my knowledge you will not be able to read value into your report from RV45A- KWMENG. To get this value you need to first fetch the list of subsequent SD documents from VBFA table. Later you need check status of those documents both at header and item/s level using VBUK and VBUP. If you find the open items for documents you need to sum up all those quantities to arrive at a open quantity for the contract using tables VBAK and VBAP
    Please keep in mind performance issues which may arrive in this process as it deals with linking of 5 tables. You may need additional database index for the table VBAK (Thanks to check on this point).
    Below information may be useful to activate the index:
    To activate the index, proceed as follows:
    1. Call transaction SE11 and enter the database table VBAK. Choose "Display" and then select "Goto -> Indexes" (Ctrl+F5) in the menu.
    2. Double-click the entry I01.
    3. Change the option to "Index on all database systems".
    4. Activate the index (Ctrl+F3).
    5. You must collect the database statistics for the index so that the optimizer can recognize the index (transaction DB20).
    Hope this helps you.
    Regards,
    Praveen

  • Issue in FF v 3.6.10: I have a page which have more than 20 link, clicking on these link opens up a popup using window.showModalDialog, for the first 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open.

    Issue in FF v 3.6.10: I have a web page which have more than 20 link, clicking on each of these link opens up a pop-up using window.showModalDialog, for the first consecutive 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open. This is m problem, the real user on the web page can click on more than 20 link in such a scenario it may create problem, please help

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • I have a problem when i close the prgram and i open it agin it open on the page which i closed at it

    when i close firefox at any page and also when i close my pc and then i open the program i find it open on last page which i closed at ,, although i made home page for it to open at and it doesn't make the order

    Check in preferences > general > Startup: Do you have "Show my windows and tabs from last time" selected? If so change to "Show my home page" (or blank page).
    Note: this may happen when quitting Firefox, and you inadvertently click "Save and Quit" and select "Do not ask next time".

  • HT1481 I have an ipod shuffle which i need to reset as i can not sinc it on my laptop which is using windows 8, but when i open itunes i d not have the 'source panel' on the left hand side which should show up my ipod. any ideas what i need to do? please

    Hi  I have an ipod shuffle which worked well on my old pc but since i have tried to link it with my new laptop I cant get it to sinc. I have athorised the device to my laptop so i thought it maybe worth resetting it but all the info I have read tells me that to reset my ipod i need to open i tunes and on the left hand side in the 'source panel' i will find my ipod listed but when i open itunes i do not have a source panel so i cant reset it. i have spent days trying to get this problem sorted and am about to throw the thing away. I have tried to manually sinc the thing, i have installed and reinstalled the latest version of itunes, i have restarted my laptop but i dont know what to do next. any help would be very much appreciated. Many thanks in advance

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • Open items yet to be cleared which have 2-3 years old document date

    Sap Experts,
    This is my first post and would like to ask for a help .
    I would like to clear all the open items which have Zero balance and belongs to Fiscal year 2007, 2008, 2009, 2010.
    In F-04 T.code, When I put the document date, it does not allow me to clear it.
    Please give me the best solution you think of any other alternative which is right or please provide me with steps to clear by using F-04
    Your help will be greatly appreciated.
    Kind regards
    LSD

    Thanks Atif & Sanil for your quick reply,
    But the problem is when I enter the GL account, it is giving me error, stating that "there are no open items managed in Account XXXXXXXXXX". I have checked the control data in FS00 and only Line item Display is ticked.
    I have recently joined this place, and the items are open from the day SAP was implemented. So they do not use Auto clearing.
    Some points I am thinking below,
    Q1. Does it mean that the control data must have open item to be "ticked"?
    Q2. The A/c i am trying to clear is Non-current Trade receivables, so can we clear such accounts.
    In terms of Clearing the data from 2007 till date,
    Q3. Do I have to open the old periods or can I clear in current period.
    Further info will be very helpful.
    Cheers

  • I can't use indesign since upgrade, it keeps asking me to upgrade java which I have done and still wont open please help me i have a deadline

    i can't use indesign since upgrade, it keeps asking me to upgrade java which I have done and still wont open please help me i have a deadline

    DL the SE 6 JRE from http://support.apple.com/kb/DL1572.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.1), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing!

    Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing! I am desperate to get access to my itunes to get music on my phone and all of this just makes me want me to sell my iphone since there is no other way to add music to my phone. If things go get sorted soon you can say goodbye to my support.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • When i want to return to my home page I click on the home icon and it resets the page to my home page but also open a blak tab which i don't want how can I stop this as i have too many tabs open.

    When I want to return to my home page after looking at a website I click on the home icon and it resets the page to my home page but also open a blak tab which i don't want.How can I stop this as I have too many tabs open and have to close all of them.

    You may have an unwanted extension that is modifying sites (or the toolbar area). Try this:
    Disable ALL nonessential or unrecognized extensions on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable.
    Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Does that flush the tab?
    Please report back on anything suspicious you find so others can learn about its bad behavior.

Maybe you are looking for

  • How do I sent mail out on the 1st of each month?

    I want to sent emails out on the 1st of each month. How can this be done in Apple Mail?

  • Best Practice Question: 1.3 to 2.1 import

    I will be installing LR 2.1 on my main machine that is currently runnig LR 1.3 with about 10,000 images in the library. What is best/safest? Let LR 2.1 import and convert the 1.3 library or Have LR 2.1 import all the 10,000 images fresh from their lo

  • CSV File mapping deployment gets failed

    Hi All, I have one CSV file. I want to pull it into OWB 11.1.0.7 and load into Target Table. I followed the following steps, but facing issues at the time of deploying mapping VLD-1141: Internal errror during mapping generation+ I created OTHER_MODUL

  • What is the problem with Mail Search???

    I've seen all the mentions here of a non-functioning Search feature in Lion Mail - I've experienced it, too.  I upgraded to Mountain Lion, and still... no fix.  Search does not find emails that I *know* are there.  I've rebuilt all the mailboxes, exp

  • Should it be like this???

    Hi, When the double[], "loads", is changed in the second line, also the corresponding value in the ArrayList, "loads__", changes! Should it work like this? Seems very strange to me. loads__.add(loads); loads[1] = 345635;Regards, Pingen