Update error in  RV_SALES_DOCUMENT_ADD during Sales order creation

I get an Update/ ABAP runtime error during Sales order creation. The error occurs during processing of the update module -RV_SALES_DOCUMENT_ADD.
This error does not occuring always, as I am sometimes able to create a Sales order without getting update error. I am getting the error of all types of Sales orders and even contracts.
Am I missing any configuration parameters?
Thanks,
Chitra

Yes , I can see the error in ST22.
While exceuting VA01 (Oder type OR, Entering Sold-to-party, Purchase order NO, Material, Qty, Plant),
- I get run-time error "Run-time error "GETWA_NOT_ASSIGNED" occurred".
    Analysis of error shows:
     Update terminated in "Update module: RV_SALES_DOCUMENT_ADD"
      Fails in the Read table in one of the form
        Termination occurred in the ABAP program "SAPLV45U" - in "VBAP_BEARBEITEN"
The main program was "RSM13000 ". In the source code you have the termination point in
line 147 (READ TABLE FYVBAP WITH KEY VBAP_KEY.)
of the (Include) program "LV45UF0V".
The ABAP's say the functional module is trying to do an 'UPDATE' instead of 'INSERT" in the internal table FYVBAP.
Thanks,
Csuman

Similar Messages

  • 100% advance payment during sales order creation

    Dear Experts,
               One of our international client is having one requirement for collecting the 100% advance payment from customer during sales order creation itself. Our customer is in Germany.
    For high risk customers they want to collect the advance payment for 100%. And if this 100% advance payment was not paid by customer then, sales order should not be processed.
    And during regular sales invoice creation the same down payment also needs to be displayed in the invoice as advance payment.
    Is it possible to setup this process using milestone billing.?? .or some other process is available to setup this process.
    Thanks for your cooperation.
    Warm Regards,
    Velmurugan

    Hi
    Try with this with Credit management.Put High Risk with Error message.
    When ever you will Create Sales Order it will Block due to Credit Chech.For this scenario Enter the Parking  Vale at F-66.
    Then make a entry for Customer-CR to BANK-DR.
    This may solve ur requirement.
    Regards
    JS

  • Dump during sales order creation for a config material (uding order BOM)

    Dear all,
    I am getting the following error during sales order creation for a configurable material
    When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
                                   'Field symbol has not yet been assigned'
    Thanks,
    Yogesh

    Yogesh,
    what was the problem ?
    Thanks,
    Pavan Verma
    Edited by: Pavan Verma on May 11, 2010 9:31 AM

  • How to Overrride ATP values during sales order creation

    Hi all,
    How i override ATP values during sales order creation.
    The scenario is that we need to migrate open orders from an existing legacy system to SAP.
    While migrating these orders, we need to make sure that dates on the schdule lines are same as they are in the old system. Hence we need to override ATP.
    Any suggestion welcome..
    Regards,

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • Capacity check during sale order creation

    hi,
      i have the following doubts,
    1. During sale order creation i need capacity availability check for that i make settings, its working good,if i put the order in the evening time but system take the start time as morning shift starting time.can any one guide me to take the time as the order creation time. and also help me how the system check the capacity.
    2. During sale order creation , if suppose capacity is loaded means it will show a pop up with the name capacities with overload,
      Here i need the clarification how the system calculate the requirements and requirements order, capacity load, from where the system get the information for these calculation.
    Muthamil

    Hello, you are working with a make to order scenario, that means that a planned / production order must be created to address specifically your customer requirement ??
    By standard SAP you can have a capacity availabily check once the production order is in the creation phase....but this should be too late for you.....

  • User Exit during Sales Order Creation - New Line Item needed

    I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
    The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
    I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
    I will definitely reward points for useful answers.
    Clark

    Hello Mahendra
    The requirement is as follows :
    PART 1:
    Sales Order Enter: 
    1.     When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check items where VRKME <> EA
    2.     If VRKME = EA, go to MARM for MATNR.
    3.     Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
    4.     Divide the order quantity (VBEP-WMENG) by UMREZ.
    5.     If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
    6.     Add a new line to VBAP for the same material with the case quantity.  If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
    •     Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
    PART 2:
    Batch Job to run prior to the Delivery Due List:
    1.     Read VBUK for Delivery Status (LFSTK) = A (delivery not processed).  Get all of the document numbers (VBELN).
    2.     Go to VBEP for those document numbers to get the goods issue date for the order.  There will be many records in VBEP for the same sales order.  Look at all orders with a goods issue date (WADAT) of next day.
    3.     Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
    4.     For customers who have more than one order in VBAK, search all line items (for all orders).  If there are no duplicate materials across sales orders, do nothing.
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
    5.     If there are duplicate materials, go through the same logic as in part 1.  If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order.   If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, ‘Line Item Consolidation’. If there is no remainder,  update the qty on this item directly.
    •     Part 2 is relevant for order types ZOR, ZCA, ZSM
    •     This batch job will have to be run manually for Day Pick orders.  The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
    Business Justification:
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking.  This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material.  In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines.

  • BADI triggered during sales order creation

    Hi,
    Can any one please let me know the BADI triggered during sales oredr creation and  sales order change.
    Thanks

    <b>BADI for VA01:</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    <b>BADi for VA02</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    Regards,
    Nilesh

  • One Time Customer Mandatory field during Sales Order Creation

    Hi
    My client has lots of one time customer and they need to capture the phone number  and name of the individual customer at the time of sales order creation using one time customer code.
    They want only "NAME & PHONE NO" as mandatory field so that the Person who creates a Salesorder should enter the NAME & PHONE NO" . Please let us know where the configuration for teh above is?
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Regards
    Anis

    Hi Anis,
    In the Account group , if you check the one-time customer then while creating the sales order itself it will appear to change the address for that customer.
    By the time you can enter your required fields.
    I think you mentioned as
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Order creation and creation of sales order are both same.
    May be you would have confused.
    regards,
    santosh

  • Error Msg during Sales Order Creation V1201

    Hi,
    I have created a new conditon ZZ01, applied to the pricing procedure, tested it in sandpit and it works.  But after transport it toour QA client,  the error msg
    No text is defined for language EN usage A appl. V cond. type (T586T)
    Message no. V1201
    Diagnosis
    There is no entry for condition type with the specificed characteristics in text table T685T
    Anyone know what could cause this error and how to fix it?
    I have tried to update the condition description and transport it again, but it doesnt fixed the error.
    Thank you so much in advance.
    Regards,
    Rebella

    Hi
    you have created new pricing condition ZZ01, but look at the error, its error in TEXT determination not in pricing:
    No text is defined for language EN usage A appl. V cond. type (T586T)
    Message no. V1201
    Diagnosis
    There is no entry for condition type with the specificed characteristics in text table T685T
    Please check your text determination for your sales order type.

  • Enhancement of Popup window of Open contracts during Sale Order Creation.

    Hi,
    I have a requirement as follows.
    1. During creation of Sales Order we are getting a pop up window with the list of open Contracts.
    Currently there are following fields in that popup.
    1. Doc Num, 2. Doc Type 3. Valid From 4. Valid To.
    Now my requirement is to add one more value (Document Description) in this. Please help me if any one did simillar enhancement.

    Transaction Code - VA01                     Create Sales Order
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    No of Exits:         15
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Item Category Determination during Sales Order Creation

    Dear All,
    This is Chee Wee, i'm new to SD, i would like to seek for an advice for the topic related to Item Category in Sales Order.
    We have a material "Mat005" define as "Stocked" Item category in MM03,
    *Stocked means our MM team will always keep stock for the material.
    The document Item category assigned to this "Stocked" are "NoPo" --> No Auto Po creation and "AuPO" --> AutoPo  creation.
    During the SO creation for Mat005 with Qty50 and warehouse stock availale for 60, i'm wondering when i select the itemCat "AuPO", the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
    Can any Guru advice me what is the actual setting or configuration behind to determine which are the correct Item Category that i can choose?
    Thank you very much,
    Regards,
    Chee Wee

    Dear Chee Wee,
    Basically tem category will determine based on these key combination
    Item category group(Material master)+Sales document type(We enter doc type in the creation initial screen)--->Item category
    For Example NORM+OR--->TAN.
    As per your explanation
    I hope In your case stock availability also one of the factor in the item category determination.This might have done some enhancement.
    There are two item categories in your process one is  "NoPo" --> No Auto Po creation and  second one is "AuPO" --> AutoPo creation.
    the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
    60 Qty Stock available, you have created sales order for 50 Qt here requirement is less than stock availability so system will not allow you to enter AuPo item category Because there no need of auto PO creation for stock.
    When you created sales order for 70 Qty, stock available only 60 so there is shortage of 10 Qty.now system needs to allow to create Auto PO to procure the shortage stock of 10 Qty, so system is allowing you to enter Yaupon item category.
    There might be some work around kind take help of ABAPer to get the more details about your item category determination.
    I hope this will help you,
    Regards,
    Murali.

  • Withholding Tax Selection during Sales order creation

    Hi,
    Do we have an option to select or deselect Withholding Tax Codes at the time of Creating Sales order / Billing for the Customer?
    As, We get the popup during the time of invoice creation to the vendor.
    Your inputs are appreciated.
    Thanks & Best Regards
    Shashikanth.M

    Hi,
    Refer the below OSS note:-
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=178824]
    Regards,
    Gaurav

  • Information during sales order creation in GATP

    Hi,
    While creating sales order, ATP is getting triggered in APO.
    A function module is called in a BADI on APO side which requires profit center data from sales order line item. In case of ATP check in change mode of sales order, this information is available in /SAPAPO/SD_DOC in APO as the sales order number reference is there.
    How this information (profit center) can be fetched in case of creation of sales order?
    Regards,
    RS

    Hi Michael,
    We are able to fetch profit center using BAdI   APO_BAPI_BUS10400.
    Actually we wanted the information during ATP check where we have used some other BADI.
    Regards
    RS

  • Issue while changing Item Category during Sales Order Creation

    Hi,
    Requirement:
    Requirement is to change the item category of Sales Order item while creating the sales order.
    Rule is: If item category is IRAT then it should be changed to IRLN.
    For this, I am using the user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" available in the include MV45AFZZ.
    Issue:
    Using the above mentioned exit, Item category is getting changed to the desired value in the created sales order BUT value of Billing Status (VBUP-FKSAA) which is supposed to get changed is blank.
    For example, Sales order is created from VA01 and item category is changed manually to the value mentioned above, then for the sales order created we have VBUP-FKSAA = 'A'. But when value of Item category is not changed manually and it is changed from the exit, then value of VBUP-FKSAA is blank.
    I have to find a solution which would change the value of Billing Status according to the change in the value of Item Category.
    Please suggest a relevant solution.
    Thanks a lot for responding.
    Abhinav.
    Edited by: Abhinav Jain on Apr 9, 2010 6:47 PM

    Hi Abhinav,
    I have a simmilar problem. In my case I am changing Reason of Rejection in the user-exit, but net value is not getting updated. Did you solve your problem? Any other way to change a field of a sales order item?
    Thanking you in advance,
    Nisha

Maybe you are looking for

  • Can't Open JPG images in CS4

    I reformated my computer a few days ago, and I have not had time to install all the programs I have used. My digital camera is Kodak and it came with the software that I could edit my pictures.   However, I never use it for editting, for I use photos

  • Nokia Music downloading problem

    I am using Nokia Lumia 520. My problem is when I want to download a song from Nokia Music, it shows ' Activation Problem.. This phone is already registered with Nokia unlimited subscription' so tell me how solve the problem so that I can enjoy the No

  • Agent States in ICM script

    Hi, I would like to know if the states of an agent such as Logged on and Ready can be checked in ICM scripting . We are developing a script which will check the agent state Logged on and then checks the agent state ready , only if these conditions ar

  • Error in Business Rules

    Hi Experts, I'm receiving an error each time I try to save or validate a business rule in the Admin Console. The error message is as follows: Cannot access a disposed object named "StatusDialog". Object name: "StatusDialog". This error occurs in all

  • Copy/Paste "limits"

    Is there a size limit to the use of the Copy/Paste function (under 10.6.3) ? So many megabytes or gigabytes? Or a limit to the ~number~ of individual files or folders that can be copied at once for that matter, I guess? I have a large number of pictu