Quantity control when creating from reference document

Hi,
When creating a follow-up document, is there a configuration that the quantity in the follow up document cannot exceed it's parent document.
For example, I have a Quotation with one line item that contain Product A 10 units.
Now, when I create a follow-up sale order from this quotation, it will first show me the copy screen, after that it will lead to the sale order screen and the item in quotation will be copied to item in sale order.
The problem now is that I can change the quantity in sale order to 100 or any number disregarding the quantity in the referenced quotation.
One of the solution that I've found is to insert a check in BADI such as CRM_SCHEDLIN_BADI or CRM_ORDERADM_H_BADI and manually get the parent document number and find out the quantity of the parent.  But this method is quite complicate especially when the quotation was referenced to many sale orders.
Is there a better way to do this? Thank you in advance.
Gilbert

Hi Gilbert,
Lets take a scenario wherein, we have one quotation leading to multiple sales order.
Here by customizing we cannot have a check on the quantity being exceeded.(the way it is present for sales contracts). Hence the check can only be implemented by the use of BADIS.
Here u may have to keep a variable at the Quotation level, which has the detail of the released quantity (i.e. how much has been used in the sales order). And as soon as the released quantity becomes same as the total qunatity maintaned in the quotation, the system should throw an error, and the saving of the order should not be allowed.
Wish the information is useful.
Regards,
Shalini Chauhan

Similar Messages

  • VA01 copies texts, but VA02 does not when creating from reference

    Hello,
    I am having an issue with text determination configuration.  It is currently set up to copy some header texts from the quote to the order when an order is created from reference.  This works correctly when using transaction VA01 to create an order from reference.
    However, the issue arises when using VA02 to create from reference, the items copy over correctly from the quote, but texts and other data do not copy over correctly.  Any ideas on why this might be the case?
    Thanks,
    Tony

    Hi Everyone,
    Thanks for your replies.  I know the correct way to do this is to use VA01 and Create from reference.  However, the way that the order processing group has always done this is to create a "dummy" order using VA01, then use VA02 to "modify" the order by going to menu option Sales Document -> Create with Reference.  This has the effect of copying over all items from the quote into the order.  However, no sales texts are copied over when this is done.  I'm wondering if there is a config that needs to be modified to allow texts to copy over using this method.
    When I go into the texts tab in VA02 and display the log, the texts that I need copied over say something like, "Text does not exist".  I have a feeling that the text is not copied over because the order does not have a reference to the quote at the time the text determination is evaluated.
    Thanks,
    Tony

  • Error when creating link to documents from material

    Hi all,
    while creating the purchase order the error message "Error when creating link to documents from material 61260224060" is displayed.
    why this error message is displayed.?
    Regards,
    GaneshRaja

    Hello Ganesh
    Please check material master - view 'Bases data 2'.
    There is checkbox 'No link'. You can activate this checkbox if you are not storing any drawing/designe docuemnt for this material.
    Try to do this and check out again.....
    If this helps you in resolving your issue, i would appreciate if you reward the answer with suitable points.
    Best Regards
    Avinash

  • Userexit or BADI to change service price when create PO reference from PR

    Hi,
    I need userexit or Badi to change the gross price ( ESLL-TBTWR ) when create PO reference from PR.  Currently , when I do this it will recalculate the gross price based on the service master and ignoring whatever the price put in PR.  Could anyone tell me userexit or Badi that would allow me to change the price when i create PO from PR via ME21N.
    Thanks,
    Gilbert

    Hi Gilbert,
    You can try using Function Exit EXIT_SAPLMLSP_030 of Enhancment SRVESLL.
    This Function Exit has ESLL data as changing parameter.
    But this Function Exit is called from a number of transaction. So do put in correct checks (like sy-tcode or sy-ucomm) before substituting any values. If proper checks are not put in then values may be substituted when this function exit is called from other transactions (like tcode "ML81N").
    Hope this will help.
    Regards,
    Abhisek.

  • How can I create accurate decimal dimensions when creating a new document or using the art board in Illustrator CS6? When I type in a number with a decimal, it automatically rounds the number up.

    How can I create accurate decimal dimensions when creating a new document or using the art board in Illustrator CS6? When I type in a number with a decimal, it automatically rounds the number up.

    For my part you are welcome, sdowers.
    Unfortunately, the uncertainty arising from the rounding has been up several times here in this forum.
    I just came to remember a warning that needs to be given:
    The rounding of the representation of a numerical value may be harmless in itself, but if you use it for any operation that changes the value, such as multiplication or whatever, things will go wrong because the operation will be made on the basis of the rounded value instead of the true value. So, as in your first case in post #2, 39.625 rounded to 39.63 will become 79.26 instead of 79.25.

  • COPA document created from billing document, cost components are twice

    Hi Experts,
    Ref Subject line : COPA document created from billing document, cost components are twice.
    I have checked the following :
    1.  Cost Estimate of a material
    2.  Production Confirmation of the Order
    When comparing both of the above, they are same, without variance.
    Now when a COPA document is created, we observe the Cost Component Split in Sales Order to be exactly TWICE as compared to Cost Estimate of the material.
    May I please request help from you all. What must be the cause & where do i check / rectify.
    Regards,
    Hussein.

    Hi Hussein
    If you are seeing double in KE30 Report - May be you are updating both sales order and billing doc in COPA and hence you are seeing 2 line items.. But one of them will be record type A and the other one with F
    If the above is not the case and you are seeing double in the COPA document itself - Then See if you have mapped VPRS cond type in KE4I to the same value fields as Cost Comp Split
    Also, one strong possibility that you are using Batch Split in SD.. .... Which means your delivery document (VL03N) will have multiple batches of materials being delivered to the customer....
    a. In this case, your Item Category for main item (HPOS) and Sub Item (UPOS) has to be different and the Item catg for UPOS should not be relevant for billing / Costs... Note 77414 descirbes this situation and the settings to be done in SD Customizing
    b. You may need to apply note 352441 in your system
    Regards
    Ajay M
    Edited by: Ajay Maheshwari on Dec 1, 2010 5:36 PM

  • HT5534 When creating a Numbers document (Iworks), the data is does not input in black

    When creating a Numbers document (Iworks), the data is does not show in black.  Cannot read the data entered.  Please help.

    SP,
    Problems like you describe have been reported by users who update one part of their system but not others. If you upgrade your OS, you must Update your applications. That is the most common cause, but of course there could be others.
    Please check your profile data. I doubt that you are really using OS X 10.0
    Please tell us your exact OS version and Numbers version.
    Jerry

  • User statuses on notifications should carryover to order when created from

    Hi,
    I have requriement for user statuses on notifications (IW21/22) should carryover to order when created from notification automatically.
    Did anybody worked on this type of scenerios. I already found some userexit (QQMA0014) but i could not able to find any thing related to user status in VIQMEL view.
    At the time of creation of notification IW21, when i go for creation of order, User status of notification should copied to order automatically.
    Appreciate any help.
    Regards
    MM

    Thanks Anji for your response.Yes there is FM status_read which i can use to get Status but my problem is during creation of order from notification, i don't have notification number so i can't use any database tables to get status for later use. As per requirment, during creation of notification, I can go to order creation. at that time whatever user-status I choose at notifcation, same status should get copied to order. I hope it got clear to you now.
    Please suggest.
    Regards
    MM

  • Credit note - copy item from reference document

    Hi SD Wizards,
    When creating a price correction order referenced to sales invoice SAP returns an error - "Item xxxx is not copied from the reference document". The problem is strange beacause for the same material but not for the same batch a price correction is created.
    I cheked in copy control but I think when it will be a problem there nothing will be copied.
    Is someone meets a problem like that ? Where I should search a resolve ?
    Best
    Piotr

    Hi ,
    Thanks for replies ...
    Lakshmipathi,
    User tries to make a ZDR (Debit Memo Req NoQty)  from a target F2 (Invoice) so I checked on VTAF on header and copying requirments is 021 -Billing header . Where else I have to check.
    Hrishi,
    I check it and 'do not copy batch' is not ticked.
    Maybe I describe you a problem with  more details.
    Invoice F2:
    Item.                      Material                  
    10.                         10001
    20.                         10002
    30.                         10003
    When user tries to do a ZDR (Debit Request) a message shows : "Item 30 is not copied from the reference document"
    But  when the user tries to do a ZDR (Debit Request) for another F2 (Invoice) - on F2 is the same material 10003 , but the batch is not the same - he can do it.
    So where I can search a resolve ?
    Best
    Lukasz

  • User getting error when creating a new Document Library

    The user is getting the following error when trying to create a new Document Library in SharePoint 2010:
    Error
    Cannot complete this action.
    Please try again.
    Correlation ID: 37ecd5eb-6129-4fa3-84bd-c6f0ad8115d5
    Has anyone come across this error and know how to resolve it?

    Hi,
    According to your post, my understanding is that the user could not create a document library.
    To narrow down whether the issue is related to the user permission, you can check which permission the user has.
    You can also assign the user full control to check whether it works.
    What’s more, did the issue occur in other sites? You can check with other sites or create a new site to check whether it works. Maybe the site has been corrupted.
    To quickly and accurately find the issue, I recommend you can check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • PDF has missing text when created from FM 9

    My Software:
    Windows XP Professional Version 2002 SP 3
    FrameMaker 9.0p255
    Adobe Acrobat 9 Pro Version 9.4.1
    When generating a PDF document from FrameMaker, the PDF document has random missing text, including whole paragraphs, sentences and some text in tables. We have several FrameMaker books and they are all having the same issues. These books were fine when we last published updates within the last month and we have not made any changes to fonts.
    When generating a PDF from FrameMaker, we always print the book to a postscript file first following these steps:
    - Go to File > Print Book.
    - Select the Adobe PDF printer.
    - Select the Print to File option and specify a .ps filename.
    - Select the Generate Acrobat Data option.
    - Use Acrobat Distiller to convert the PS file to PDF.
    Note that I also tried File > Save As PDF and got the same results.

    Did you reboot after the hotfix? fwiw, other users on the forum have had difficulty with the hotfix not being installed correctly the first time around.
    once you download the hotfix from MS you have to run the .exe, and then  when it’s finished you have to reboot. Then check the Add or  Remove programs in Control panel, and click the “show updates” button,  then scroll way down to see the hotfixes, to be sure that #952909 is  shown.
    What fonts are you using in your documents? Specific type (PS, TT, OTF) and any other info you have (foundry, etc).
    Do the "gaps" seem to occur when there are font changes in the document, e.g. when words in a sentence are bold or when a paragraph in a different weight (e.g. bold italic) follows, say, a "regular" text weight paragraph? As another test, can you highlight a segment of good+bad+good text in the PDF, do Control+c to copy it to the clipboard, then Control+v to paste it into a different file (Word, text editor, even another new FM document).  Do the words of the "missing" text segments show up?
    edit: the hotfix download process is a bit confusing; if I remember correctly it has to be requested, then MS sends a link to the download webpage, then the downloaded .exe has to be run.

  • PDF File to be created from Billing Document (VF01)

    Hi,
    I have created the Billing document.  When I select the following menu path.
    Billing document --> Issue output to -->
    I am choosing the message type RD00.  When I select the Message type and give enter i should get the PDF saved in my C:/.  I had also written the smartforms to work as per my requirement and assigned the smartform names to the Message type.  But when i try to do Issue Output, I am getting the message "Output Successfully Issued".  But the PDF file is not generated.  I beleive that there is an config issue.  Please help me in this regard.
    Regards,
    Shankar

    Hi,
    Did you try executing the SMART Form individually?
    Place a break point in the print program and then create the billing document, you should be able to find out what is the issue.
    If you are not sure of the print program you can find it from the TNAPR table.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Calculating  PO Delivery Date when created from PR

    Hi,
    When a PO is created with reference to a PR, the "delivery date" is copied from the PR. However, if the PR has been unprocessed for 7 days, the delivery date is now effectively old.
    So is it possible to change the settings so that instead the delivery date is always calculated from lead time either in PIR or material master, so it is always accurate.
    For example:
    Requisition created on 1st July for delivery 1st Aug based on lead time.
    PO created after 1 week - on 8th July - delivery date in PO is 1st Aug - unless changed prior to printing manually.
    Please advise,
    Thanks.

    do you really think that this is the way to improve the situation.
    Instead of changing SAP, you should speed up your buyers.
    If the material is needed on August 1st.
    Then the delivery date of august 1st + 7 day for sleeping buyers  does not meet the requirements of the planner.
    Maybe you should think about extending the lead time with the sleep time (purchasing processing time), so MRP can plan more accurate the next time.

  • When creating a merged document the images seem to lose their quality

    When I create a merged document, the images on the master pages seem to lose their quality, any thoughts why? Is there anyway I can prevent this.
    Example:
    becomes

    I also had another problem where when I merged the document and applied a master page to the document the column on the left seems to shrink.
    It goes from this
    to this

  • Error when creating billing / accounting document with VF01

    Hi All,
    When I use VF01 to create an invoice with reference to a LF D/N, I got the following error after saving.
    "An exchange rate type is not defined for country CN
    Message no. FF 802". And billing document is created but with no accounting document.
    I checked the exchange rate type is defined. but I can not find the place where I can assign to the specific country.
    Best Regards
    Jean

    Thanks for your help.
    Hi Dave,
    I checked in S_BCE_68000174, it has been already assigned.
    Hi Ferry,
    In FTXP, the tax code has been maintained.
    And you are right, when I maintain the field KURST in table T005, it is ok. But I am confused in 4.6C, the field KURST can be maintained by T-code OY01, but in 470, exchange rate type cannot be found in OY01. Where can I set in 470?  And why in 470, even field KURST is empty in table T005, but there is no such error when creating billing document?
    Many Thanks
    Jean

Maybe you are looking for

  • Superdrive not able to read DVDs or CDs

    I'm having an iMac G5, running MacOs 10.4.3 with an Matshita DVD-R UJ-846. Since quite some time now I'm not able to read inserted DVDs or CDs. Either a dialogue box appears telling me I've inserted a blank disk or nothing appears and I have to find

  • Try to sink my ipod but itunes says everything will be erased

    I'm trying to sync up my ipod touch to itunes to transfer all the music/photos ect. ect. over to my new (current) computer. My other computer was stolen unfortunately and everything was stored on that computer with itunes. When I hit "sync music" it

  • Plug-in licensing

    With all the commercial plug-in development that's been done, i'm sure several have crossed this bridge. Any decent non-intrusive ways of implementing copy protection? I scanned this forum all the way back to '07 and didn't find a single post on this

  • How to I downgrade from 20GB to 5 FREE option in iCloud ?

    how do I downgrade iCloud storage option to 5GB free.  The all locks out the DONE button when choosing a new option.  Help!

  • Lightroom not opening completely

    Okay, so this morning I went to edit images in a catalog (150-200 images) Lightroom starts to open like always. The splash screen comes up and displays all of the "credits" like it would while it opens the last catalog, and that is it. The splash ban