Just one line's order quantity is ok

Hi all,
I have used the bapi :BAPI_SALESORDER_CREATEFROMDAT2 to create sales order, for following code part,
just first line quantity is ok and others are zero,0.
What could be the reason?
loop at itab.
   order_schedules_in-req_qty = itab-KWMENG.
    order_schedules_in-itm_number = order_partner-itm_number.
    order_schedules_inx-req_qty = 'X'.
    APPEND ORDER_SCHEDULES_INX.
    APPEND ORDER_SCHEDULES_IN.
endloop.
Thanks.
deniz.

Hi,
You are looping at itab but you are moving the item number from order_partner-itm_number. Make sure that the item number is correct in that field everytime it comes inside the loopo at itab.
regards,
Advait

Similar Messages

  • How can I enable spell checking for a text box that is just one line, e.g. subject in e-mail?

    In a prior version of Firefox I found a website somewhere that told me what to do to enable spell checking for text boxes that are just one line. I got used to being able to send an e-mail with a Subject Line that didn't have a misspelling. Now it doesn't work. Please tell me how I can enable that again. I am on a Mac using Firefox 6.0.2. Thanks!

    See:
    *http://kb.mozillazine.org/Spell_checking
    *http://kb.mozillazine.org/layout.spellcheckDefault
    You can set the pref <b>layout.spellcheckDefault</b> to <i>2</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • Text has just one line left on the bottom to write in.

    I have a BB Curve 8900 v5.0.0.900 (Bundle 1626, PkRDIEN 5.2.0.96) with T-Mobil service. I did the update for my phone a while ago. When I want to do a text message, the screen displays the previous message over most of the screen with just one line left on the bottom to write in. It makes writing a text a pain because I have to scroll up every time to make sure my text is correct. I've tried to live with this but I don't love it. Can I change this?
    Thank you,
    Girlfriend

    The easiest solution is VPN on Demand
    System Preferences -> Network -> (VPN) -> Advanced -> VPN on Demand
    Add the hostname/domain name of the resource you're trying to access over VPN to this list. Now the OS will track any access attempt to the specified hostname/domain and will automatically bring up the VPN connection (prompting for username/password if needed).
    As for the Dock icon, that depends on the resource you're accessing.
    If it's a file share, just mount the share manually then drag the share's icon from your desktop to your Dock. You can now click on the Dock to mount the sharepoint (initiating the VPN connection thanks to VPN on Demand).
    If it's a web site, drag the URL from your browser to your Dock. Clicking the icon will launch the URL in your preferred browser (again, triggering VPN on Demand as appropriate).

  • Mark just one line in ALV

    Hi everybody!
    I'm doing an ALV (with FM REUSE_ALV_GRID_DISPLAY) that the user should mark just one line and click in a button to starting the process... But today the user can mark more than one line. I don't know how to configure just to mark just one line...
    Can you help me???

    HI,
    you check the number of lines selected by the user
    if the user selects more then 1 line you can throw a error message
    refresh gt_selected_rows.                                      
    call method vl31_grid->get_selected_rows                       
                         importing et_index_rows = gt_selected_rows.
    *-- more than one line was marked                              
       READ TABLE gt_selected_rows INDEX 2 TRANSPORTING NO FIELDS.  
       IF sy-subrc = 0.                                             
         MESSAGE s755(06).                                          
         EXIT.                                                      
       ENDIF.                                                                               
    *-- nothing marked                                             
       READ TABLE gt_selected_rows INDEX 1 INTO wa_selected_rows.   
       IF sy-subrc <> 0.                                            
         MESSAGE s277(me).                                          
    Check the above example if the user selects more than one row throws a error message
    Regards,
    siva chalasani.
    <b>Reward points if usefull</b>

  • Why am I not able to select just one line on certain pages of Adobe reader?

    I can select and highlight just one line on most pages of a PDF in Adobe Reader 10.1.2 on a Mac OS X, but for some reason there are a few pages which make me select three or four lines. Why is this?

    1.  Was Lion on the machine and trying to downgrade?
    2.  If so this might be an issue.  Newer machines are done for current OSX.
    3.  If you have Lion on your machine try to install Snow Leopard on another partition or portable HD
    4.  After you format and install SL on the other partition or drive Try to boot from this machine retarting and holding the Option key at boot up.
    5.  See if that work. 
    This is a trial and error way but Mountain Lion is right around the corner and Snow Leopard is 2+ yrs old.
    Brian

  • Sending output to just one line

    I'm trying to get a guy script together to help view the indexes of our deployment wim files out of a folder.  I'm getting there, but, stuck at a point.  This is my first attempt at scripting, so, I'm a bit new and ignorant...  please forgive
    me...
    I can get the list of wim files, select the wim file, and get the output how I want, except, only one object at a time...  for example...
    $objWimListBox.Add_Click(
    $cmdlet = $objWimListBox.SelectedItem
    $wimfiles = Invoke-Expression "Get-WindowsImage -ImagePath c:\$cmdlet"
    $objIndexListBox.Items.Clear()
    if ($wimfiles –ne $Null)
    foreach ($index in $wimfiles)
    [Void] $objIndexListBox.Items.Add($index.ImageIndex) + $objIndexListBox.Items.Add($index.ImageDescription)
    gives the output of:
    1
    W7x86Laptop
    2
    W7x86Desktop
    3
    W7x86TermClient
    4
    W7x86Basic
    Where as I am wanting the output to be:
    1 W7x86Laptop
    2 W7x86Desktop
    3 W7x86TermClient
    4 W7x86Basic
    I want the index number to be on the same line as the description, so I can select the line and pass the selection on to my next bit of code...
    What am I missing here?  

    # the correct way to add a collection to a listbox
    $cmdlet = $objWimListBox.SelectedItem
    $wimfiles=Get-WindowsImage -ImagePath "c:\$cmdlet"
    $objIndexListBox.DisplayMember='ImageDescription'
    $objIndexListBox.DataSource=[System.Collections.ArrayKist]$wimFiles
    #In the selection event get the image
    $wimfile=$objIndexListBox.SelectedItem
    ¯\_(ツ)_/¯

  • Limiting a TextFlow to just one line

    Hi there
    Simple question; is there a way to set the maximum number of lines to 1.
    It used to be simple before TLF; multiline = false
    Now its doing my head in.
    Any thoughts highly appreciated. Cheers

    lineBreak attribute -a TextFlow level attribute
    <xs:attribute name="lineBreak" type="xs:enumeratedString" default="toFit"/>
    Specifies a line break.
    lineBreak is non-inheriting.
    Valid values include:
    ·         toFit: Wraps the lines at the edge of the enclosing <TextFlow>.
    ·         explicit: Breaks the lines only at a Unicode line end character (such as a newline or line separator).
    It's a attribute in TLF that can satisfy you. There may be also some other attributes of the containers (Sprite, Spark Components in Flex and TLFTextField in Flash pro) that can help you.

  • Why does tthe page scroll to the bottom when the down arrow is pressed rather than moving just one line;the up arrow does not return you to the top. scrolling must be done using the slide which is very touchy on long pages.

    i think the question tells the story

    Try hitting '''F7'''. You may have inadvertently turned on Caret browsing.
    http://kb.mozillazine.org/Accessibility.browsewithcaret

  • Schedule lines not covering  the total order Quantity

    We have an issue  with Schedule lines
    Order created on  19-02-201
    Material =M
    Requirement type =KSV
    Order Quantity =2500
    Delivered Quantity=1700
    Schedule Lines
    Date               Order quantity       Confirmed Quantity        Delivered  Quantity
    19-02-2010     801                                        0
    19-03-210       500                                        0
    16-04-2010      500                                    500                                       500
    14-05-2010      500                                    0
    15-06-2010     0                                        500                                        500
    15-06-2010      0                                        500                                        500
    18-06-2010      200                                   200                                         200
    Item  Status
               Processing Status
                                         Overall status=Completed
                                         Delivery Status= Fully Delivered
    1)Even though we have not delivered the total Order Quantity 2500,Delivery Staus is Fully Delivered Why?
    2)Why the system not created SCHEDULE LINES for the remaining Order Quantity  2500-1700=800

    Check if there are still requirements existing for this order on MD04.
    You might also want to check how the availabilty is carried out, whats the replinishment lead time - anything mentioned there. Generally if you take RLT into consideration - then the unfulfilled qty is shown at the end of RLT.
    Not too clear at this moment on the dates you have mentioned, bit hard to read.
    Am curious too, why this is happening.

  • Multiple line item in billing but only one line item in accounting document

    Hi Everyone,
    I am having one scenario in which sales order has more than one line item. Only one billing document is create for all line items in Sales Order but billing document contains as many items as sales order has. In accounting document of billing i find only one customer line which has total amount of all line items in billing as debited. My requirement is Accounting document also should have as many line of customer-debit as in billing items i.e sales order. For example :
    (1) Sales order has 2 line items.
    (2) Billing document is only ONE and has 2 line items
    (3) currently accounting document has only ONE line of Customet - Debit ( Total amount of both items)
    My requirement is
    Accounting document should have 2 line item of customer - Debit
    Customer - Debit (amount of first line item)
    Customer - Debit (amount of Second line item)
    Sales - Credit
    How can it be done ?
    Regards,
    Manish

    Hi,
    This is the SAP expected behaviour
    As far as the values correspond to same account key and same GL account as per account determination, then ti will be posted as a single line item in FI document.
    If you want the customer specific items to be posted in two GL accounts , then you have to do the account determination that way.
    For example, you should have a condition table in FICO as follows.
    Sales org/ Account key / Customer
    For this condition table, the entries shoudl be as follows.
    5110/ERS/Customer A  GL ACCOUNT IS 5000100
    5110/ERS/Customer B GL ACCOUNT IS  5000200
    In this case, there will be 2 entries for the invoice instead of just one line entry.

  • Deleting line from Order

    I had an order in SBO. It was synchronized do NP. Then i made an shipment for just 3 lines (5 lines in order). i deleted one line from order (this line was not on the delivery document, it will not be delivered).
    In next synchronization i have conflict:
    <b>
    DELETE statement conflicted with COLUMN REFERENCE constraint 'FK_ShipmentDetail_OrderDetail'. The conflict occurred in database 'np', table 'ShipmentDetail', column 'OrderDetailID'.
    The statement has been terminated.</b>
    Is there possibility to synchronize order with deleted line (after shipment)

    Hi Lukasz,
    This is a known bug.
    During synchronization, all line items are deleted and readded if the order is updated.  If there is a delivery document already in place prior to the update, the delete of the line items will cause this error.
    This is fixed in 2007 sp0 p3.
    There is currently no fix for 5.9.
    At the moment, the only way around this is to delete the shipment and shipment detail for this order in NetPoint.
    You can then edit the delivery document in B1 to get the shipment to synch back to NetPoint.

  • Tracking the actual sale order quantity

    Hi Friends,
    How to track the actual sales order quantity given by the customer.
    Ex: we assume the customer has placed an order of 100 units and stock is only 90 so we create the sales order for 90 units only.
    How to find out the difference of 10 units as a report in standard sap system.
    Thanks
    AJ

    Dear AJ,
    This is how normal sales process works.
    You create Sales Order line item for the quantity that customer has requested. (eg: 100)
    Then you do a ATP for that Line item. Let's say you have only 90 in the stock. In that case system will confirm 90 for the sales order line item. (You can see the confirmed quantity in the Schedule line tab)
    Normally we don't change the LI quantity as per the ATP confirmed quantity (i.e 90). Because then we loose the visibility to the customers original requested quantity (i.e 100).
    Say you don't change your Line Item Order quantity to 90. Then your delivery & billing will be for 90.
    So you can see in VA05, Order quantity as 100 and confirmed quantity as 90.
    Your sales reports will show delivery & billing as 90. So that you have a clear visibility to the original order quantity, delivered quantity & billed quantity.
    Further if remaining (open) quantity 10 is appearing your MRP & creating troubles, please use Line Item Rejection Reason as Completed. So that everything is perfect.
    Coming back to your issue.
    Since your changing LI quantity to 90, you cant see 100 in the VA05 report. It always show the existing sales order line item quantity, which is 90 in this example.
    Only way you can find your original sales order quantity is in the Line Item / Change Log.
    This can be view by selecting below Menu option.
    Environment -> Changes
    If you execute it for the relevant Line Item, you can see the Change log. In that by double clicking relevant quantity change line, you  can see the old value & new value. (In this example 100 & 90)
    But that is not a good practice to do as changes will show all quantity changes that you might do based on  customer request. (Imagine if you customer ask to change it later to 95 not 100).
    In that case change log will display 100 to 95, then 95 to 90. So your loosing the required visibility.
    Hope this is helpful to you !

  • Generate delivery items for packaging materials but aggregate in one line

    Hy, we have a requirement for delivery process, we have WM and we make picking by RF, and automatic generate items for packaging materials, but one line per pallet and the deliveries have a lot of line items that we want to aggregate in only one line item, instead of having for e.g. 30 lines with one pallet we need to have one line item with quantity 30.
    can you help us,
    Thanks in advance.
    jonh

    Hi,
    You can very well achieve this by usinh a spilt routine in your copy control from sales document to delivery document.
    Goto tcode: VOFM - Data transfer - deliveries.
    For this you need to write a routine with the help of  your ABAPer & to include logic something like this:
    You have to identify some unique feild in the two material or even the material code itself.
    Then in the routine logic, you pass this feilds in the combination criterai field in delivery that is "ZUKRL"
    Then in copy control sales doc to delivery: you attach this routine in header details in data transfer "Header Data"
    See the code below for your help:
    SELECT SINGLE PRAT1 PRAT2 PRAT3 PRAT4 PRAT5 INTO (MVKE-PRAT1,MVKE-PRAT2,MVKE-PRAT3,MVKE-PRAT4,MVKE-PRAT5) FROM MVKE
                      WHERE MATNR = CVBAP-MATNR
                      AND   VKORG = CVBAK-VKORG
                      AND   VTWEG = CVBAK-VTWEG.
    IF NOT MVKE-PRAT1 IS INITIAL.
    ZUK1-C+0(1) = 'O'.  "FOR OIL
    *LIKP-ZUKRL = ZUK1.
    ENDIF.
    IF NOT MVKE-PRAT2 IS INITIAL.
    ZUK1-C+0(1) = '1'.  " FOR FRAGILE 1
    *LIKP-ZUKRL = ZUK1.
    ENDIF.
    IF NOT MVKE-PRAT3 IS INITIAL.
    ZUK1-C+0(1) = 'N'.  " FOR NON FRAGILE
    LIKP-ZUKRL = ZUK1.
    ENDIF.
    IF NOT MVKE-PRAT4 IS INITIAL.
    ZUK1-C+0(1) = '2'.  " FOR FRAGILE 2
    LIKP-ZUKRL = ZUK1.
    ENDIF.
    IF NOT MVKE-PRAT5 IS INITIAL.
    ZUK1-C+0(1) = 'B'.  " FOR BULK / OVERWEIGHT
    LIKP-ZUKRL = ZUK1.
    ENDIF.
       LIKP-ZUKRL = ZUK1.
    CONDENSE LIKP-ZUKRL NO-GAPS.
    endif.
    Hope this helps you
    Regards,
    Dhananjay

  • Automatic Freight Service PO just one item

    When I create a new Freight the item gets added in a PO (our setting is one PO per week per vendor).
    My problem is although all the items show in the PO History tab, in the item overview there is just one line: the first item created.
    If anybody has an idea how can I fix this I will appreciate it.
    Regards,
    Carlos

    There is a note for this.

  • Sales Order Credit Status Block with Schedule Line ATP Confirmed Quantity

    I would like to keep the Credit Status Block on a Sales Order when it is created and over the credit limit and at the same time be able to Confirm the Order Quantity (if inventory is available) on the Schedule Line.  Has anyone done this?  I'm using ECC 5.0
    In the IMG --> Sales and Distribution --> Basis Functions --> Credit Management/Risk Management --> Credit Management --> Define Automatic Credit Control --> If I remove the Status/Block indicator the schedule line does confirm the sales order quantity but the sales order is not blocked and a delivery can be created.
    Thanks.
    Donna

    Hello Donna,
    I think I solved your problem.
    There are two ways to block the sales order - one is to not confirm the Schedule line i.e. block delivery... block further action that can be taken. The second is to not let the person save the sales order.
    Another option is to get Just a warning message, that the credit limit has been exceeded, but able to save the sales order with a confirmed schedule line.
    The setting will be in OVA8.
    For the Document Value you make the setting C or A. and make sure the block is not set.
    Don't worry about the Open order or open delivery unless you want the system to perform a credit check considering the orders that are already existent. Same with open delivery. It will take into account all the cost of the orders that are open for delivery.
    Now here some options:
    Either consider a 'warning' by the system good enough and still be able to confirm the schedule line.
    (ii) Put in a Delivery Block in the Sales Document Types, in the Shipping tab. That way, you will be able to save the sales doc. but not be able to deliver it.
    (iii) Put a Billing Block in the Sales Doc type, in the Billing tab. You will be able to deliver but not bill.
    (iv) Create a new routine (with the help of an ABAP guy) and place it in the auto credit check, 'Reaction' field where it will place a Delivery Block.
    Do let me know what your thoughts are and what you decided to do.
    Thanks
    Noel

Maybe you are looking for

  • Close all open windows

    Is there any way to close all open windows at once? I cannot find any way to do so. Any keyboard shortcut?

  • How can i reset my air port base station deleting all back to new

    Hello All... I'm desprate to get back control of my computer.... Everytime I go to an apple store they look at me like I'm crazy and not once have taken the time to resolve the problem. I have been dealing with what I think a hi jacked computer for g

  • 5200 : Error Executing query , Invalid Item ID in HFR

    Hello, To start with I read about this Error in OTN discussion forum itself and none of them helped in this situation. Basically , We are trying to Make some modifications in a Report from Financial Reporting studio. When tried to run the report with

  • Difference in JRE 1.6.0_14 Classic Plug-in & JRE 1.6.0_14 Next Gen Plug-in

    Using the "Next Gen Plug-in", when a method argument is passed as a "blank" from Javascript to Java, it is treated as NULL in Java, whereas if we use "Classic Plug-in", there is no change to the argument value and a blank argument is always treated a

  • Bad video quality from iPhone videos on PC?

    Hello all, I have been experiencing a fairly annoying problem.  I have a small library of videos taken on my iPhone 4S (iOS 5) which have been transferred to my PC (Windows 7).  I realize that these are .MOV files and Windows Media Player will not pl