Disabling the Qty field for Input for Sub items in Sales Order and Delivery

Hi..
I have a requirement, where by we need to disable the qty field vbap-kwmeng for input for sub items of the BOM.
I am planning to use the user exit USEREXIT_FIELD_MODIFICATION...in the include MV45AFZZ for sales orders.
But i need to disable the input only after the BOM Explosion and item category determination in the sales order.
Can i Use the same exit ?? what additional conditions i need to take into account.
also we need to disable the delivery quantity field also for the sub items of this sales bom.
I see that this User exit is not available in delivery procesing.  How to acheive the required functionality in the delivery processing...
your advice is much appreciated in this matter.
Regards
Srini

hi,
Route is determined
1.Country of Departure & Departure Zone taken from Shipping Point
2.Country of Destination & receiving Zone from Ship to party
3.Shipping condition from CMR
4.Transportation Group from MMR
5.Weight Group which is optional.
Check the above.
Route is determined in delivery.
ASHA

Similar Messages

  • Copy down Ship-to Partner from main item to sub-items on Sales Order

    This is my first post on the forums here.  I'd appreciate any help you can give on my issue below.
    I have a requirement to copy down the ship-to partner from the main item to sub-items during sales order create or change.  Currently I have code in include MV45AFZB within user exit USEREXIT_FILL_VBAP_FROM_HVBAP as follows:
    <i>* Need to be able to copy the ship-to of a BoM parent down to the
    respective BoM children if the parent has a different ship-to
    from the header.
    data:  wa_xvbpa like vbpa.
    Clear: wa_xvbpa.
    read table xvbpa into wa_xvbpa with key posnr = hvbap-posnr
                                            parvw = 'WE'.
    A BoM parent line has a different ship-to from the header.
        if sy-subrc = 0.
          read table xvbap with key uepos = hvbap-posnr.
    See if current line is the child of that BoM parent
            If xvbap-uepos = hvbap-posnr.
              move wa_xvbpa-kunnr to xvbpa-kunnr.
              move xvbap-vbeln to wa_xvbpa-vbeln.
              move xvbap-posnr to wa_xvbpa-posnr.
              move 'WE' to wa_xvbpa-parvw.
              modify vbpa from wa_xvbpa.
            endif.
          Endif.</i>
    This isn't working for me.  At one point, I was able to copy the ship-to down to the first sub-item but not any subsequent ones.  I'm sure I need to add some code to another sales order user exit to get this to work, but I'm at a loss at this point.   Has anyone had to do this or something similar before? 
    Thanks very much in advance for your help.
    Angela

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

  • One billing for Many sales order and Delivery

    Dear Sap Guru's,
           I have an issue - in version 4, i have a scenario, In scheduling agreement i am able to do multiple delivery and multiple billing, but my client want me to do scheduling agreement with multiple sales order , multiple delivery and one billing for that scheduling agreement
    If any one can help - please do as early as possible
    vl10e and vl10c is not working here.
    My email id is [email protected]
    regards,
    Shruthi

    YOU CAN DO SINGLE BILLING FOR MULTIPLE DE4LIVERY BY USEIN THE TCODE--->VF04
    you can also combine different documents (orders and/or deliveries) fully or partially in a common billing document.
    Prerequisites
    The following prerequisites must be met:
    the header data appearing in the billing document must agree
    the split conditions specified do not apply
    Process billing due list
    The system combines documents with the same customer number, proposal billing type and sales organization, and attempts to include them all in the same billing document. If the preconditions are met, then a single invoice is created for the deliveries and/or orders.
    Create billing document
    When creating several billing documents, user exits can be used to reset the header data, so that more can be combined than in the billing due list.

  • Disabling logistic tab on Sales order and Delivery

    How can I disable updating/changes on Logistic Tab for Sales Order, Sales Quotation and Delivery?

    Hi John,
    In Standard, there is no Setting to Disable any documents Tab Fields.
    To achieve your requirement you have to use SDK or Third Party Add-on.
    Please also visit below link.
    Disabling TAB key for specific users
    Hope this help
    Regards::::
    Atul Chakraborty

  • ATP logic for sales order and delivery

    Hi experts
    Generally, the ATP quantity that having in sales order ia available to other deliveries.
    I wish know if batch is allocated to sales order, is it available for other deliveries? or system will not consider for delivery ATP.
    warm regards
    sairam

    Hi,
    ATP qty is generated against the Sales Order requirement. It is not assigned to other deliveries.
    If Batch is assigned to Sales Order, it will not assigned to other deliveries.
    Regards,

  • Rounding Off TotalLC for Sales Order and Delivery

    Experts,
       Needs help, I'm using SBO2005B Korean Language. Korean money which is Won is so small that they don't have decimal. I need to round off all the linetotal into 0 decimal.
    Example: if the linetotal is 45,900.80 is should display 45,901
    or 32,765.40 it will display 32,756
    thank you
    Whiteman

    Dear,
    Please go to the administration->system initialization-> general settings -> display tab, you can set the Decimal setting in the field of "Decimal Places  (0..6)"for either amount and price. Simply set it as 0.
    You can also define a decimal setting for Korean Wan only, go to administration->set up-> financials->currencies, define a currency code for Korea Wan and set the decimals for it in the decimal field
    following information about changing Decimal places for your reference
    When decreasing the Decimal Places (under Administration -> General Settings -> Display for amounts, prices, exchange rates, quantities,
    percentages, and units) you might come across with an error message when updating previous documents or when adding documents based on previous
    documents.
    just for you informaition  In 2007 version the user will not be allowed to reduce the Decimal Places only to increase.
    I also attached a note1102900 for your reference.
    Wish the information is useful for you.
    Regards
    Apple

  • Sale Orders and Delivery Orders for a Particular Plant?

    Hi,
       Could you please tell me which tables or reports are to be used to
    find
    a) Sale Orders for a particular Plant
    b) Delivery Orders for a particular Plant?
    Regrds,
    Binayak

    You can see sales order for Particular Plant by using VA05,  in that report you can find plant column.  On that column you can sort out.
    In Vl06 you can find the deliveries according to the Shipping point.  Each shipping point is assigned to plant.  So, indirectly you can find the delivered orders from the shipping pont and plants
    Reward points if it is helpful

  • Process for adding no cost item to Service Order and show on invoice SM

    We want to put a non-cost item on a service order without having to put a $.01 value on them.  We might  purchase a box of bolts at a hardware store with a purchasing card and just expense items.  We add the bolt as a line item on our Service Order to charge customer some amount.  But we do not have a cost on the item.  To put a bogus $.01 cost  value on the item and have it show up in COPA and in the GL makes the data incorrect. It is our understanding that to pass an item on the service order through process related billing to the invoice it has to have a cost or it does not show up on invoice.   How do other folks deal with putting a no cost item on service order?

    Hi,
    I have tried everything, still its not working.
    First I tried creating a Service Ticket and adding the line item at one go.Then I was getting status error:
    System error: An attempt has been made to create a status object
    with the object number DE20131333937DF180C5001372F65D25.  However,
    a status object with this number exists already.
    Code sample given below:
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
          header          = itab_header
          item            = itab_item
          partner         = itab_partner
          status          = itab_status
          text            = itab_text
          return          = itab_return
          service_os      = itab_service
          input_fields    = itab_input_fields
          created_process = itab_created_process.
    Then I tried creating a service ticket first and adding item later.Then there was no dump, but item details are not getting saved. Code sample given below:
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_product_i      = lt_product_i
        CHANGING
          ct_orderadm_i     = lt_orderadm_i
          ct_input_fields   = lt_input_fields
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
    Can anybody please help me out on this? What is the correct approach?
    Thanks and Regards,
    Rohit

  • Sales order and delivery qty

    The sales oreder # has a material to deliver it's requirement is 8400 and the stock is good but q"ty of 340 EA has not been picked up ...
    IN the Delivery the Qty picked uo is 8060 not 8400.
    but the order status in now fully delivered
    any body can answer what is exact issue there an dis there any setting have to be made as there is no partial delivery in order but delivery qty is less than order qty.
    if want more info pl let me know..
    Regards !
    Vaibhav

    but the order status in now fully delivered
    Check for your item category in VOV7 for the field Completion Rule
    thanks
    G. Lakshmipathi

  • Variant as sub-item in Sales Order

    Dear Experts: 
    I have a scenario as follows:
    1. i want a variant as a sub-item in the sales order with reference to a higher level item. when user will enter the KMAT article, the pop-up will come for choosing variant and the KMAT will be replaced with the variant as it happens in configurable material.
    2. this variant article should not be relevant to pricing, delivery and billing; i. e. - document should not be incomplete for net value,  this variant should not come in delivery and billing document.
    how can i achieve this scenario?
    Regards,
    Farahnaz Sobhan

    Hi
    Delivery creation that is selection date is controlled by the schedule line of the line item in the sales order
    Try by changing the schedule lines in sales order in VA02
    there you try to change the delivery date to past
    It might be possible if you had enough stocks at that time
    Regards
    Raja

  • How to highlight the whole row of a particular line item of sale

    How to highlight the whole row of a particular line item of sales order depending on condition?
    Please help its urgent..
    Looking forward your reply.
    Moderator message: please do more research before asking, show what you have done yourself when asking, do not flag posts as "urgent".
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Aug 9, 2011 9:30 AM

    Any ideas on what would cause this NOT to work? I added this row right after the table is created and populated and it is still not highlighted when I enter the form. The snippet of code that does this is:
    MyTableModel modelS = (MyTableModel)dataModel.get("S");
    jTable1 = new JTable(modelS);
    jTable1.setRowSelectionInterval(0,0);MyTableModel is this:
    class MyTableModel extends DefaultTableModel {
      public MyTableModel(Object[] columnNames, int numRows) {
        super(columnNames, numRows);
      public boolean isCellEditable(int row, int column) {
        if (TableKey == 'S') {
          if (column == 6) {
            return false;
        if (TableKey == 'O') {
          if (column == 0 || column == 4 || column == 5) {
            return false;
        if (TableKey == 'P') {
          return false;
      return true;
    }Can anyone help? Thanks.
    Allyson

  • What are the Corresponding fields in CRM for sales order in ECC

    HI! Experts,
    While creating a standard sales order in CRM I want to poulate these fields in ECC Sales order, these fields are
    VBKD-BSARK - Purchase order type
    VBAK-BNAME - Name: user ordered
    VBKD-IHREZ - Web Confirmation Number
    VBAK-TELF1 - Telephone number
    Or the other way round I want to know what are the corresponding fields in CRM for these fields so that when I pass the data in crmd_order in those fields it gets populated in the above mentioned fields.
    Thanks and Regards
    Mayank

    Mayank,
    May I suggest you to create an Order in R/3 with these fields and check that back in CRM. This is not as easy as it may sound. It is possible that some of these fields are "determined" by the system - for example the "Sold-To"'s first telephone number maintained in VBAK-TELF1. So, though it becomes a part of the Order header in R/3, CRM, generally doesn't duplicate them in the transaction but allows to refer back to the master data from the transaction!
    Check the following fields in CRM and see if you find the data you require.
    VBKD-BSARK - Purchase order type There is a field in CRM that "holds" this value. ACTIVITY CATEGORY. This can be found in the ACTIVITY_H set of the transaction. Filed name CATEGORY. Problem with this is, - "Category Type" of a CRM Activity to be mapped to PO type? Didn't workout good for us since the master data for both vary widely. So, we used custom Header Extension data for this (EEWB). So, you have to work
    VBAK-BNAME - Name: user ordered Is usually CREATED_BY in the CRM Order Header (CRMD_ORDERADM_H). But this fills up the VBAK_ERNAM bit not the BNAME.See the next item, that may give a clue if this is related to the next item.
    VBAK-TELF1 - Telephone number is usually "determined". Usually the Sold-To's first telephone number maintained in the Business Partner "Communication" section for that Sold-To.
    VBKD-IHREZ - Web Confirmation Number Actually it is Customer's or vendor's internal reference as per standard use. Looks like your customer is using it for custom purposes. Well, if you maintain the relationship  "Is Correwspondence Recipient for" with the Sold-To partner in CRM, and maintain the details of this Person, then this will be transferred to R/3.
    Hint: Once you have the R/3 order in CRM, try using the Report program (SE38)  CRM_ORDER_READ in CRM. This is a good tool to "dissect and see" and order in CRM. The program needs only the Transaction Number as the input.
    Easwar Ram
    http://www.parxlns.com

  • Incorrect field KNA1-STCEG in output list for input tax Line items-RFUMSV00

    Hi all,
    I found the incorrect field in RFUMSV00 - Advance Return for Tax on Sales/Purchases. If you want to configure the output list for Input tax: Line items, there is the field VAT Registration No. which has to be LFA1-STCEG, but there is incorrect field KNA1-STCEG. After that I cannot find the values for this field in my output.
    In the output list for Output tax: Line items there is correct field in configuration /LFA1-STCEG/.
    I tried to find some SAP notes but without avail.
    Thanks for help.
    Miroslav

    Hi,
    Please check the following OSS note:-
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=736203
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=640269
    It is picked up from bseg-stceg and not from lfa1-stceg or kna1-stceg
    Regards,
    Gaurav

  • What are the mandatory fields in DTW for opening balances imports?

    Hi All,
    As the title mentions could you please help by listing all the mandatory fields in DTW for importing opening balances ?
    Thank you for your help,
    MB

    Hi Gordon and all,
    I have a look at the SDk help files and almost cried but am i right in thinking it is Account Code, Debit and Credit fields that are the mandatory fields for opening balances?
    These sdk help files are awful by the way...really awful.
    MB

  • I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    click and hold on one cell, then drag to select the range, then release, then type the delete key.  Only inlude cells in the range you do not want to keey the contents of the cell.  You can remove one-off cells by holding the command key and clicking cells to add or remove as needed.
    You can download the Numbers users guide here:
    http://support.apple.com/manuals/#productivitysoftware

Maybe you are looking for

  • Assets panel styles, can i change the color of a style to be an exact color?

    Assets panel > styles, can i change the color of a style to be an exact color? for example, if i want to create a navbar with the black and gray glass affect style, but i want to change the color but keep the same style of shading. each style in the

  • Trading partner - BSEG

    Hello all, We have build a program based on BSEG table in order to extract gl account information into a Z report. This report was running properly until two changes have been installed in SAP: -New general ledger -Trading partner The program is not

  • Is indexing HD necessary?

    I found this post about indexing a hard drive, http://discussions.apple.com/thread.jspa?messageID=692070. One of the replies said indexing was time consuming and unnecessary. They also mentioned they personally index only their documents folder, beca

  • Problem starting a G4

    I currently work for a family buissness and have told to work on the computers, mostly macs ranging from a 610 to G4s. Currently i have a G4 that was bought in an auction. Now i've been told to get it up to speed to get it on a desk so it can be prod

  • LocalTransaction.RolledbackException

    Hi, I am working with a Servlet in a WebSphere Application Server, using DB2/400 JDBC and a autoCommit(false) Connection, the problem is when i finish my transactions, and all are commited, then the Servlet that is loaded throws the exception: [6/05/