How to make a new line item appear in a sales order in VA01 transaction?

Dear All,
I am trying to create a SO with single line item with quantity 100.
Upon hitting the 'Enter' key, if the available quantity is less than the requested quantity (say 20), it takes me to an availabilty control screen which has a push-button 'One-time delivery' on the application tool bar.
Upon clicking on this button, it takes me back to the main screen of VA01 where I currently see only one line item with quantity 100 and confirmed quantity 20.
My requirement here is to make two line items appear, one with quantity 20 and the other with quantity 80, once I navigate back to the main screen of VA01 after clicking on the push-button 'One-time delivery'.
Please provide me your valuable inputs. Any kind of help is highly appreciated.
Useful answers never go unrewarded.
Regards,
Sreekanth Reddy B.

Hi Sreekanth ,
creating line items based on the confirmation qty can be done thru config, not thru ABAP,standard SAP will gives you options to create a new line item for unconfirmed qtys.
check with ur functional consultant or try to post in SD /APO forums.
regards
Prabhu

Similar Messages

  • Billing date at line item level in a sales order

    HI!
    Can anyone let me know the significance of billing date being present at the line item level in a sales order?
    And why does it get changed as per the Requested delivery date if the Prop. Pricing date in the maintanenece of sales doc type is set  as 'A'?
    Can it be different for different line items?

    Hello Asha,
    Can anyone let me know the significance of billing date being
    present at the line item level in a sales order ???
    The comprehensive information is available at SAP technical help(F1) for the "BILLING DATE" field at Sales Order line item level...Before raising these type of questions, i would urge to  conduct initiate analysis and then post at SDN forum if you are unable to find out answers...For your quick reference, i have extracted the same description for Billing date from SAP techincal help (F1) and pasted below.
    Billing date for billing index and printout
    +The date on which the billing is processed and booked for
    accounting purposes.+
    Use
    +You can use the billing date as one of the selection criteria
    when you process billing documents collectively.+
    Procedure
    +If invoice dates are defined for the customer, the system proposes
    the billing date from the invoice date calendar. If no invoice dates are
    agreed, then the actual goods issue date is formed on the basis of
    delivery related billing. In order related billing, the billing date of the
    order forms the basis of the billing date.+
    +If you are billing services, the system proposes the date of services
    rendered. You can change the date manually in the sales document.+
    +If you are using a billing plan to bill a project, the system can propose
    billing dates for the billing plan on the basis of planned or actual dates
    in the corresponding milestone.+
    +In a billing plan for a maintenance or rental contract, you can specify rules
    by which the system determines billing dates on the basis of other dates in the contract.+
    Regards,
    Sarthak

  • How to add a new line item to a Purchase Requisition number

    Hello All,
    Can anyone please provide me with some FM or BAPI to add a new line item to an existing Purchase Requisition number.
    Can it be done using BAPI_REQUISITION_CHANGE; if yes, then how do I pass the parameters into the BAPI tables..?
    Useful pointers would be appreciated...!!
    Thanks & Regards,
    Tarun Gambhir

    @Gautham,
    Thanks for the quick reply.
    I want to update the table EBAN, so should I use the parameter table XEBAN to put in the new line item and then execute..
    Also to fill up this table I need to pass certain value, so can I use BAPI_REQUISITON_GETDETAIL and pass the same details as found from the same BAPI and create a new line item...
    Regards,
    Tarun Gambhir

  • How to create a new line item automatically in CRMD_ORDER

    Hi,
    While creating a sales order in CRMD_ORDER, after user enters a line item say 'xxxx' and press 'Enter', we need to create a new line item say 'yyyy' dynamically.  Any ways of how to achieve this functionality?
    thanks in advance,
    amar.s

    Hi Amar
    You can use structured products:
    Step1:COMM_PR01
    Open Product xxxx > Relationships > Tab Component > Select Relationship type = STRSET Set > Assing product yyyy
    Step2: IMG > CRM > Transactions > Define Item Categories
    Open you item category and in Structure scope field select option A Single-Level Explosion of structured products
    Step3: IMG >  CRM > Transactions > Define Item Category Determination
    create new entry
    Transaction type =
    Item   category group = Category group of xxxx product
    main item cat = item cat of xxxx product
    item cat =  item cat of yyyy product
    now when you enter product xxxx , product yyyy will be automatically added
    Hope it helps
    Rupesh

  • How to insert a new line item in VA01/VA02 by using ABAP code?

    Hi Gurus
    i have a very tough requirement. the customer wants to insert a free goods after an item has been populated in VA01/VA02 automatically according to some certain rules. the input material may be a main material of a sales BOM.
    for example. let's suppose there is a material A who has two sub-material B and C which is maintained in a sales BOM via CS01/CS02. when the material A has been input in the line item in VA01/VA02, its quantity input and after the ENTER key has been clicked, another material D may be displayed in a new line as a gift if the condition met.  the condition relates to customer/material/quanity and these information are stored in a Z-table.
    on the other hand, if the material A is only a single material(not a BOM), the gift(material D) will also be filled automatically if the condition met.
    i have already enhance the FM cs_bom_explosion to filfill the requirment for BOM materials. whereas it is very hard to find the enhanment point for the single material.
    so my question is where is the correct place for me to insert the ABAP code, which decides whether the gift should be given or not and furthermore inserts the new line item into XVBAP. i tried to use MV45AFZZ, whereas the data is always inconsistant if a new line has been inserted. it is very strange that there is no temperary internal table storing line item data input in the table controal of VA01/VA02. system reads the line item data , line by line, via a system kernal function call.
    any hints are welcome. thanks

    HI Stephen,
    I have the same prolem. I modified the 5 global tables, but I don't see the new line in the screen.
    Can you help me with some details?
    Thx!
    Mihaela

  • How to add a new line item when i click on UPDATE in orderpage B2B webshop?

    Hi Gurus,
    I need to add a new line item based on some condition when i click on update in the order page in b2b web shop. Is there any way to pass some parameters to the BADI crm_isa_basket_items and create a new line item when i update? If so can you please tell the parameters that i need to pass to the badi.
    Any help will be highly appreciated!!!!!
    Thanks in advance,
    Lakshman.

    You can put condition when you call java script function while clicking on "update" button.
    On order.jsp  update button call "submit_refresh()" java script function. You can check your condition over here.
    You can find this function in "orderTools.js" file.
    And when you enter item in last line on order page and click on the update button it will automatically add new empty lines on your order page as per your selected new line items from drop down box.
    Or may be you can call your custome action class when you click on update to check particular condition.
    I hope it will help you.
    Thanks and Regards.
    eCommerce Developer

  • How to change the posting date at the line item level in a sales order

    how to change the posting date at the line item level in a sales order

    Hi,
    I believe the POSTING DATE will appear on the accounting document
    In the Accounting document, the posting date will be based on the  Billing date.
    Please let me know if you need any more details
    santosh

  • How to Insert the new line items in Billing

    Hi Friends,
    I have an issue in Billing process.
    When the user is creating the billing document from Delivery document, then based on some conditions, I have to split the line item into 2 different line items(We have to change the Quantity and value).
    Please let me know what are all the possible options.
    Regards
    Elini.P

    Many times, there is no new line (unless there is some sort of list in the paragraph). Since Word (actually most editors now) word wraps automatically, the paragraph is usually (essentially) one long line that the editor wraps for you.
    But, to tell you the truth, I don't see anywhere in that code where you are even attempting to find newline characters. What, exactly, are you trying to accomplish. I.e. what is your desired result (not the process you are envisioning to get there).

  • How to avoid XVBPA line item values while creating sales order

    Hi Friends
    I am creating Sales order using function module IDOC_INPUT_ORDERS, for that I am passing partner details through segment E1EDKA1.If I pass the same partner details(Partner number, name1,name4,city,postel code) which is same like customer master,
    I can able to book the order and entries are coming only one time in VBPA table(Header Item level).But if I change any value for the particular partner in the Input(For example Name4, there is no value in customer master but I added through program).Now its creating an order but its showing the entered partner informations in header level.When I checked the same in line item level, its not picking the values from header, its picking the values from customer master for that particular partner.
    So this line item also coming in VBPA table, because its different from header data.
    Anyone guide me, how to avoid this problem while booking order through program.
    Thanks
    Gowrishankar

    I am updating Ship-To-Party value in segment E1EDKA1 and calling IDOC_INPUT_ORDERS function module to create the sales order.
    In this case for the particular partner there is no NAME4 value in KNA1, I am passing some value through this segment E1EDKA1.
    So its creating an order with this new addresses , so its generating new ADRNR in VBPA header level.Thats fine.But the same time
    its not copying the same value from header to line item.
    In Line item level again its picking the address details from KNA1 for the particular partner number.So its showing Blank value in NAME4 field of line items.Its creating and spllitting issue, while creating delivery.
    Thanks
    Gowrishankar

  • Line Items Greyed out in Sales Order

    Hi,
    In sales order we are using KMAT material and selecting the required components as per customer requirement and same are coiped into sales order. High level KMAT material has item category TAC and Lower level line items have item categroy TAE.  TAC ITEM IS NOT GREYED OUT OK.. And if i change quantity of  this it will effect the lower level items ok.
    All the line items( TAE items) are greyed out and i want to edit the quantity of line items with out changing the quantity of TAC item.... Is it possible??? Any answers will be highly appreciated.
    Thanks in advance
    Ramagiri.

    Hi
    Our requirement is to edit the line items of TAE item category with out editing TAC category..Is their any configuration etc etc to do...
    Ramagiri

  • How to make Different Price for same product in one Sale Order

    How can i customizing my system?
    I need to sale for different price same product A in one sale order. And price condition type cant be manually. i can separate them by position. for ex. in first position: product A is one price and in 2nd product A with discount. i tried to do it by changing a price group for 2nd position to determinate a discount condition but it generates invoice split.
    Someone have any suggestions?

    Hi
    you can have it automatically determined after some custo and using userexit_pricing_prepare_tkomp in MV45AFZZ and RV60AFZZ.
    The idea is to use ítem category field (PSTYV) as a part of pricing data to determine different prices for same material by changing manually ítem category when creating a sales order
    - you'll need to create a new ítem category copied from the one you´re using and do all assignments
    - add field PSTYV, if not there, to pricing field catalog. This thread has an example on how to and coding required for userexits
    http://scn.sap.com/thread/1693234
    - Adjust your pricing sequence as per new table
    - Maintain specific prices in new table for materials with this new ítem category
    Finally, when creating a sales order change, when required, default ítem category by new one to get specific price for material.
    Regards,
    JM

  • Appending new quotation items into an existing sales order using copy cntrl

    Hi,
    Following is the requirement:-
    1) Customer negotiates a quotation.
    2) The quotation is converted to a sales order. The order replicates to ecc for fulfillment.
    3) The customer negotiates another quotation and decides to place additional order.
    4) However, the implementing organization wants to append / update the original sales order with the additional items on the new negotiated quotation using copy control.
    Can this functionality be achieved through copy control enhancement or can this be handled some other way?
    Regards
    Ashish

    Hi Alexander ,
    Yes ofcourse you can use consignmentment Process
    and you can use the concept of special stock partner in the partner profile
    Spoecial stock partner (SB) can assign to your ship to party
    1stly you can do consignment fill up(  with your customer name (ex-2316)
    then at the time of creating the consignment issue parter function use 2361 customer
    Regards    
    Ramesh

  • Empty line item added in incomplete sales orders after upgrade

    Hi,
    We are upgraded from 4.7 to 6.0 version of R/3. After the upgrade in sales orders which were incomplete in 4.7, a empty line item have got added in those sales order. While opening those order in VA02, first line item is completely empty and due to that it doesnot allow me to do anything on that order. Also, on checking the tables such as VBAP, VBKD an empty line item is there.
    Kindly Advice.
    Thanks in Advance.

    Hi Kishore,
    I have already checked SAP notes but got nothing related to it.

  • How to make ship to address fields mandatroy while creating sales order

    Dear forum Members,
    My client oraganizes trade shows and hence ship to address vries everytime when sales order is entered for the same sold to party.So one times ship to customer is used in the sales order and address is entered at sales order level. Please note that at master data level all address fields are suppressed for one time customer.Hence there is no question of going back to one time customer account group and making any field mandatory.
    While changing address for ship to at order level, there are few fields which are mandatory, for example city is mandatory. I also want to make zip code and region as mandatory.where is this controlled?Please note that this is not account which controls this. i have already done lot of r&d on account group and transaction variants which are not controlling these fields at sales order level.

    Hi Kanwal,
    Only incompletion procedure will not suffice for your requirement.
    You need to make the field mandatory wherein, if you dont enter, system will not allow you for enterin further fields. For this you should do the following:
    Goto transaction SHD0, you will get a screen where you need to enter you Tcode "VA01"
    Below you define a transaction variant (starting with Z).
    On the next tab you have Screen Variant. Here you enter screen variant name, program name & screen number.
    Then you click on create.
    Its like as if you are doing some kind of recording. Finally you will reach to the screen where there are options available to make the field mandatory.
    For your reference the program is SAPMV45A screen number is 4001.
    Further screen are self explinatory.
    Hope this should solve your requirement
    Regards,
    Dhananjay

  • How to Update the New Condition values for list of sales orders

    Hi
    Client requirement is they have set of old Sales Orders to be executed. But the material prices have been revised in the meantime. Now they want to update the current prices in the sales order before proceeding further.

    Hi,
    Though Lakshmi suggested you the right option, it may not be carried out for Sales Documents in random and will be much suited for Sales Documents with continuous sequence like 00010, 00011, 00012, 00013, etc.
    If you want to New Pricing to be carried out for Specific Lists of documents like 00010, 00017, 00043, 00057, etc, then you can do by following option:
    Go to Transaction "MASS", Select the Table - VBAK and Field - PRSTD and proceed by entering the Sales Documents Lists to carry out New Pricing.
    Hope this will be helpful to you.
    Rgds,

Maybe you are looking for

  • Can there Be More Than One I-Tunes Account on One Computer?

    I don't know where to post this question and can't find it anywhere in the Faqs. If there are a couple of people using I-Tunes, can they use the same computer but with their own accounts? If so, how can they set up their own account? The reason I am

  • Tools not working photoshop cc 2014 surface pro 3.

    I tried resetting tools. I've even reinstalled the program. I can select any tool but when I go to work on the canvas, no cursor, nothing. I don't have any of these problems in illustrator. Don't know what else to do. Has anyone else had this problem

  • What index types do you suggest when you have...

    If you have tables A, B, C and they are all partitioned range by created_date where that is a timestamp If nearly all queries can only specify created_date on C only because the B's that belong to A and the C's that belong to B can all be in differen

  • Equivalent to windows home button

    Reading the MacBook manual, I am on page 63. How do I get back to page 1 without scrolling up for ten minutes? On PC's there's a "Home" button that takes you to the top. What's the Mac (Lion 10.7) equivalent?  Thank you!

  • Can i change to ethernet while syncing thru wireless? apple tv 1st generation

    im syncing iTunes with my apple tv (first generation) for the first time thru a wireless connection but its taking too long. can switch to ethernet connection while the scycing is in progress to make the sync faster?