Sales order line with status calcelled picked by auto invoice program

I cancelled  one line in Sales Order and Shipped remaining lines
after Ship Confirm process ,I ran workflow background process.
I am getting cancelled line information to AR interface tables
when I run Auto invoice amount is sitting in Unearned account
The status of cancelled line -  Cancelled
Flow status code is cancelled
INVOICE_INTERFACE_STATUS_CODE I AM SEEING is YES for that line.
Why the cancelled Sales order line is picked by auto invoice program?
Thanks,
John

Hi Ivruksh,
Thanks for the reply, the reference you gave was not actually related to the issue I had, let me put it this way,
Our Auto Invoice Job is scheduled at midnight, it runs and process only few CM's, rest of them are left behind with out any error message in error tables. Al I can see in the ra_interface_lines_all table is interface_line_id is populated, which shows that the Auto Invoice program has picked all the records but it is processing only few, the rest are left out with out any error message.
Interestingly, when I tried to run those stuck CM's Individual one by one its gets successfully processed.
Is anyone faced with similar kind of issue, kindly let me know of any solutions you guys had.
Thanks in advance.
Regards
Srinivas

Similar Messages

  • Sales Order Line item status with Resource Related Billing

    Hi
    The Resource related billing is done based on the costs accumulated on account assigned WBS Element. The WBS Element system status is set 'Finally Billed'. The overall status of Sales Order line item is still 'open' and does show up in 'Open Order' reports.
    SAP vide their note 439288 recommends running report SDVBUK00 to correct the sales Order item status. However this note is applicable only upto 4.6C. Our system in ECC 6.0. We tried running this report and did not get desired results. We checked the program and discovered that the corrections suggested as per above note, are not available.
    Is there any new SAP note applicable for ECC 6.0 needs to be applied ? Or is there any other report needs to be run in case of ECC6.0?
    Thanks in advance
    with regards

    HI,
    Please raise message to SAP through service marketplace.
    Thanks,
    Vrajesh

  • Sales Order Line Flow Status Code

    Hi All,
    When the sales order is "Pick confirmed", why the Sales Order Line Level Flow Status Code remain "AWAITING_SHIPPING" in table level.
    Thanks
    Ram
    Edited by: ram on Dec 2, 2008 3:15 PM

    Ram
    When the order line is in shipping process, there can be many stages it can go through. Those stages or statuses you can find in the delivery details. As far as the order line is concerned, the line is in shipping area.
    On the screen you see the status as Picked, because they use the order line status in conjunction with the delivery detail status to show that.
    Thanks
    Nagamohan

  • When running the workflow background process for drop shipment order, sale order line's status gets automtically closed instead of awaiting shipping

    Hello friends,
    I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
    Plz guide me if i have missed something in the setups.
    thanks,
    Sachin

    Hi Sachin,
    pls check the below notes from MOS
    Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
    Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
    Thanks
    -Arif.

  • Sales order line item status for an item with PR

    Hi Gurus,
                  Here is my business scenario.
    i have got following list of line items in a sales order.
            Line item no        Material no       Order quantity     Schedule line confirmed qty     Line item overall status           Plant
                    10        A                    3                              3                                   Open                         X
                    20        B                    5                              5                                    Open                        X
                     30        C                    8                              0                                    Open                        X
    1. I can create delivery for the line tiem 10 & 20 as they are confirmed for schedule lines.
    2. Line item 30 is not actually available in Plant X now if i do the availability check and select another plant "Y" where the material is available. For this STO should process should follow up (Correct me if i am wrong)
    Now i have got following questions
    1. How can i track which line items are followed up by PR's and which are not in the sales order.
    2. tell me how follow up happens by creating PR's
    Thank you

    1. So i am assuming that for each schedule line item there will be associate PR number and PO number if there are any.
    Yes every non stock article will have a associated PO.
    2. Suppose if Purchasing department make a decision to get this line item thru 3rd party then what happens for this schedule line item.I mean how do we differentiate in showing Sales order? Here my scenario is one Material can get thru either STO or thru 3rd Party.
    If you have more than 1 vendor listed for an article in EINA table. Then at that point the system will prompt you to select the vendor you want to create the PO against. (Given that the regular vendor flag is not checked for any vendor).
    Eg: Suppose if i have a schedule line item which can get thru STO and i have got another schedule line item which i can get thru 3rd party, Can i see this differentiation in sales order?
    3. How to create purchase requisition?
    Tcode Me21n (Advise to use this tcode) or ME21
    Found a link hope this helps
    http://www.le.ac.uk/mis/docs/sapdocs/mm/mm46b_41.doc

  • Sales order line item status as open

    Hi,
    Can someone let me know the factors depending i on which the  status of a line item of sales order will be as OPEN.

    adding,
    it can be configured in item category details:-
    in "Completion rule" field-
    Check the differ options: for this field0 in VOV7,
    blank - Not rel for completion
    A- completed with first ref
    B-  ,,           after full qtty has been ref'd
    C-   ,, after the target qtty is fully ref'd
    D-   ,,   ref'd via contract release
    E-   ,,    after full target value is ref'd
    hope it adds info

  • Sales Order line item status change using STATUS_UPDATE

    Hi all,
    I need to change status of a Sales order item during (VA02) transaction. I have written an user-exit in MV45AFZZ (perform user_exit save_document_prepare- using STATUS_UPDATE FM and passing appropriate values to JEST_UPD and JEST_INS table for the FM. If the user chooses a status while changing the SO line item, it should be over written by another status which I supply in the user-exit.
    How can i achieve this? Please let me know if someone has achieved this?
    Thanks
    Ricky

    Hi Ricky,
    Instead of user exit , if you want to maintain a status update at the sales order item.
    Go to BS02 and create a status profile when you can give the approval and rejection node. also maintain the business transaction according to business requirement
    than go to vov7 and maintain this status profile at the item level.
    Try it out it will definately work.
    Regards,
    SAPSD000 ...

  • Sales order line item status when packed is complete

    Hi ,
    When a line item is packed even though its not invoiced sales order item status is as completed,
    Is this the standard behaviour? cn we change it to be being processed until its invoiced?
    thanks
    Keshi

    Yes,of course, this is the standard behaviour only.
    If ur delivery has completed and PGI is done completely, the sales order status becomes completed,
    u need not wait till the time of  invoicing
    Hope it useful..
    Reward points if useful..

  • Sales Order Line Item Status Table

    Hello All
    In which table the item status is stored?
    I am referring the fields in the status tab of item in sales order.
    Eg: There are total 6 fields under status tab of line item in sales order.
    I want to see where these fields can be configured and in which table they gets stored.
    Please help .
    Thanks in advance
    Sonali

    Hi
    In  VVBUP  the fields the fields UVP01...UVP05 and  VBUP the fields UVP01...UVP05 contain the item staus.
    Thank you,
    Sekhar.

  • Sales Order Lines with inclusive VAT prices

    I am integrating a 3rd party web site order into SAP B1. The site can only provide VAT Inclusive Prices and cannot provide the VAT rate or code - that SAP order will be loaded with the VAT rate taken from the BP / Item matrix.
    This is not a problem when creating order lines as I can use the <PriceAfterVAT> element (using DI Server). However when adding Freight Lines to the B1 order there is no equivalent element. It appears that I can only add a value excluding VAT.
    Is there any way of adding a VAT Inclusine value to a Freight Line?
    Can Freight Items be set up so that the value can be entered as Vat Inclusive?
    I would prefer not to have to caluclate and enter the VAT exlcusive price as this invovles mimicing the Web Sites VAT Matrix calculation and hoping that this mimics the SAP VAT calculation and hopefully not ending up with rounding problems. Note that the Web Site has already taken payment via credit card and the invoice from SAP must match the Web Transaction.
    Any help would be appreciated.

    Hi Nick,
    Have you considered storing the freight costs on the order as a non-stock item on the item rows rather than using the freight lines? In that way you could use the same PriceAfterVAT field to back calculate the exclusive price.
    I'd recommend you also ask your question on the application forum:
    SAP Business One Application
    as they may have other suggestions as to how you could set your tax up.
    Kind Regards,
    Owen

  • Create multiple single unit wip jobs for total sales order line qty

    Hi all,
    I want to know if there's a standard way to create multiple single unit wip jobs from a sales order line which has 2 or more units, i mean...
    I have a sales order line with item A with 3 units. If I progress the sales order, a single job is automatically created in WIP with 3 units to be created. What i want is to create 3 jobs with one unit each, all of them linked to the sales line order...
    Thanks in advance!
    Regards!
    Answered.........
    Edited by: user604737 on Nov 10, 2010 3:51 PM

    Hi Sandeep
    We have similar requirement (SO qty = 3 then 3 WIP jobs should be created). However when planning releases WIP jobs it does not tie back(reserve) the jobs to sales order.
    Are you aware of any standard way to do the same??
    Regards
    Mudit Gupta

  • How to save LIST_LINE_ID of Price List when create Sales Order Line

    I dont know how save the LIST_LINE_ID of the Price List on Sales Order or anywhere when create Sales Order Line.
    I create with the following steps:
    Step 1: Create Price List for Item A with two line: Line 1 (Unit Price = 10,5, Pricing Attribute with Tax Classification Code = 5%), Line 2 (Unit Price = 11, Pricing Attribute with Tax Classification Code = 10%)
    Step 2: I create Sales Order Line with Item A, Tax Classification Code = 5% --> Unit Selling Price = List Price = 10,5 but dont bookorder
    Step 3: I update the Unit Price of Line 1 into 11.55.
    Step4 : I book this Sales Order. Howerver, I use form personalization to customize Book Event: if the Unit Price of Item on Price List > Unit Selling Price then cant not Book. But I dont konw List Price of Sales Order belong the line of Price List.
    Please help me check this issue. Thanks for your supports.
    BinhTC
    Email: [email protected]

    Bob's right - except that if you have OM: List Price Override Privilege set to 'Unlimited' (and from your scenario it sounds as if you have) it is possible that the value in unit_list_price will vary from what was originally retrieved from the price list.
    In that case, a safer bet is to use :LINE.original_list_price in your personalization as this will always contain what was originally retrieved and will mean you can avoid any repeat lookup via list_line_id.
    Regards,
    Jon

  • How to create multiple WIP jobs from a single Sales Order Line

    Hi all,
    I want to know if there's a standard way to create multiple single unit wip jobs from a sales order line which has 2 or more units, i mean...
    I have a sales order line with item A with 3 units. If I progress the sales order, a single job is automatically created in WIP with 3 units to be created. What i want is to create 3 jobs with one unit each, all of them linked to the sales line order...
    Thanks in advance!
    Regards!

    Assuming simplest of scenarios....
    In case of changes to Sales order qty, an unplanned order will simply disappear.
    If a wip job has already been created, you will get a cancel message (in case the job is not needed) or a reschedule out message (if the quantity needs to be reduced).
    ASCP will give you a reschedule in /out message if the dates change.
    Sandeep Gandhi

  • Billing schedule Dates using a BAPI/FM for a sales order line

    Hello,
    I am trying to update a sales order line with an Item category which inturn updates the Billing Plan.
    I am able to update the sales order with required details and the default billing plan.
    Now I want to change the Billing schedule i.e the Billing Plan dates Invoice end date and the percantage etc whcih I am trying to do using
    SD_ORDER_BILLING_SCHEDULE AND BILLING_SCHEDULE_MAINTAIN AND THEN BILLING_SCHEDULE_SAVE.
    This for some reason will not update the Billing schedule.
    It triggers the user exists etc but even though I pass all the required details in the Old and new FPLA and FPLT tables...it is not helping.
    When I tried using BILLING_SCHEDULE_DIALOG it opens the screen with the Billing plan in edit mode.
    Is there any other way to do the updates.I tried changing in the User exist etc. I also checked the program sdfpla02.
    Many thanks,
    Krishna.
    Edited by: Krishna on Mar 21, 2011 8:30 PM

    See the following example
    * Read the billing plan
        CALL FUNCTION 'BILLING_SCHEDULE_READ'
          EXPORTING
            fplnr = hfplnr
          TABLES
            zfpla = hfpla
            zfplt = hfplt.
        MOVE hfpla TO hfpla2.
    *READ TABLE zfpla2 INDEX 1.
        hfpla2-lodat = p_stat.
        hfpla2-tndat = p_end.
        hfpla2-rfpln = ''.
        hfpla2-lodar = ''.
        hfpla2-tndar = ''.
        hfpla2-fpart = p_bplan.
        hfpla2-perio = p_bplan.
        hfpla2-horiz = p_hori.
    *** Very important to set field updkz = 'U' ***
        hfpla2-updkz = 'U'. "--> UPDATE!!
        APPEND hfpla2.
        CLEAR pos.
        CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
          TABLES
            fpla_new = hfpla2
            fpla_old = hfpla
            fplt_new = hfplt " --> NEW
            fplt_old = hfplt.
        CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
          EXPORTING
            i_no_messages = ' '.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
    CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
            EXPORTING
              document_number = doc.
          MOVE zbill-itm_number TO pos.
          CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
            EXPORTING
              i_vbeln                = doc
              i_posnr                = pos
            IMPORTING
              e_fpla                 = e_fpla
            TABLES
              e_fplt                 = e_fplt
            EXCEPTIONS
              no_billingplan_allowed = 1
              no_billingplan_found   = 2
              OTHERS                 = 3.
          IF sy-subrc NE 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    * Read the billing plan
          CALL FUNCTION 'BILLING_SCHEDULE_READ'
          EXPORTING
          fplnr = e_fpla-fplnr
    * I_VFKDAT =
    * I_BFKDAT =
          TABLES
          zfpla = zfpla
          zfplt = zfplt.
    * Upddate the ZFPLT2 table with the new values
    *MOVE zfplt TO zfplt2.
          MOVE zfpla TO zfpla2.
    *READ TABLE zfpla2 INDEX 1.
          zfpla2-lodat = zbill-datesfrom.
          zfpla2-tndat = zbill-datesto.
          zfpla2-rfpln = ''.
          zfpla2-lodar = ''.
          zfpla2-tndar = ''.
          zfpla2-fpart = p_bplan.
          zfpla2-horiz = p_hori.
    *** Very important to set field updkz = 'U' ***
          zfpla2-updkz = 'U'. "--> UPDATE!!
          APPEND zfpla2.
        ENDLOOP.
        CLEAR pos.
        CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
          TABLES
            fpla_new = zfpla2
            fpla_old = zfpla
            fplt_new = zfplt " --> NEW
            fplt_old = zfplt.
        CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
          EXPORTING
            i_no_messages = ' '.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.

  • Change pricing UOM for sales order line

    Hi,
    I'm on release 12 and would like to have a sales order which is ordered in pieces and priced in meters.
    Therefore I want to have a sales order line with order quantity UOM in pieces and the pricing quantity UOM in meters.
    I'm however not able to change the pricing UOM in the sales order line form.
    Is there anyway in which I can change the pricing UOM in the sales order line form without changing the order quantity UOM?
    Or should the order quantity UOM always have the same value as the pricing quantity UOM ?
    Regards,
    Jan

    Hi Vinoth,
    Thanks for your reply.
    I'm able to create sales order with order quantity UOM in pieces and with price quantity UOM in meters.
    The issue I have is that I want to be able to change the price quantity UOM to another UOM just like I'm able to do with the order quantity UOM.
    This is required because we want to have pricing for European customers in meters and for US customers in feet. At the moment the vaue of the price quantity UOM defaults to meters for the sales order line but I want to change this manually to feet for US customers.
    What I would like is that I can change the price quantity UOM of a sales order line from meters to feet just like I can change the order quantity UOM from pieces to for example boxes.
    When I use the sales order line form or when I use the order API, I'm now not able to change the price quantity UOM.
    Is is possible to change the price quantity UOM from a sales order line to another UOM (and therefore overwrite the default price quantity UOM) ?
    Regards,
    Jan

Maybe you are looking for

  • How to get the hour:minuts:seconds using java

    I have table xydata here i get the gsTime like this 2010-04-21 10:58:40 the above time i want to get only 10:58:40 how to write the java for this please help me Thanks in Advance

  • Sidebar not available in some windows

    The pill button has disappeared in Lion. I could toggle the sidebar off and on with it. Now it is a real pain to get the sidebar to appear when I insert a disc or mount a disc image that opens without it. I would like to be able to set a preference t

  • Best way to connect CF10 DB Connection to FoxPro?

    In previous versions of CF this was a pain. Now in CF10 it seems even more so. I need to connect to a Microsoft Visual Fox Pro database from ColdFusion 10 running on Windows Server 2008 R2 64 bit edition. Can someone point me to a tutorial on how to

  • How get multiclips to stay in viewer when playing/editing in timeline?

    I just started editing in multiclip. I can get my 3 multiclip clips to show in the Viewer on a 4-up display, but when I play the Timeline, the Viewer jumps to full frame active view. I've set the RT at Multiclip Playback, set the Open option on the P

  • Why is iPhoto automatically opening every time I plug in my phone?

    Every time I plug my iPhone into my Macbook it automatically opens up iPhoto whether or not I have new photos to import, which I usually don't. It's really annoying. My husband has the same phone and his doesn't do this. Is there some way to stop it?