Remaining Order Line Calcellation

Hi,.
I have to cancel Order lines which r still open , For this am looking for
OE_SALES_CAN_UTIL.cancel_remaining_order API , But in this api, there r two Parameters (p_header_Rec , P_header_id ) , header_id is ok , I can pass it, But p_header_rec is a Record type parameter , and i do not know which which value will pass in it..
Can anybody tell me ?
If there is any other api for Remaining Order Line Cancellation then plz tell me ASAP..
This is on Urgent Basis ...?
Regards
Lalit

Use the Process Order Api.cancellation to cancel the lines.
Srini C

Similar Messages

  • 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

  • External Sales Order lines remain in Internal Req Requested status

    Hi
    Customer sales order lines are fulfilled by IR-ISO. When line progresses, it is set to have Internal Req Requested status. A scheduled program runs amd IR are created. However, sales order line status does not change to Internal Req Open. It remains in Internal Req Requested status.
    As a work around, workflow is rewound to 'Check ATR Qty' which is customized activity and then status changes to Internal Req Open.
    What could be the reason that workflow is not setting the status to Internal Req Open?
    Please help.
    Regards,
    Apps version : 12.0.4

    I think you better file this question in the Order Management group because they know the internals of headers, lines, etc. Unless there is something specific to the execution of the workflow process and you would like to modify it. You would have provide more details here.
    Regards,
    Alejandro

  • Sales order line items delivery cancelled but still appears in MD04.

    Hi PP Gurus,
    In the sales there are 6 line items are there out of which for 1 line item delivery and PGI happened. And for remaining line items delivery got cancelled, but these line items for which delivery cancelled appearing in the MD04, I have rejected the sales order line items but these line items still shows in MD04. Please advise how to remove these line items from MD04.
    Thanks and Regards,
    SHARAN.

    Hi
    Pl refer SAP Note : 1166713 for the Problem which says " You have posted goods issue and therefore the delivery requirements should no longer be existing. These inconsistencies can be seen using report SDRQCR21"
    Regards
    Brahmaji

  • OM: Sales order lines are cancelled automatically without backordering.

    Intercompany sales orders lines are being cancelled automatically on the delivery when a split line is shipped with a quantity of one remaining. This line should remain backordered. A quantity of 61 was entered and 60 was shipped and 1 remaining. This 1 should have been backordered but no new line was automatically generated and infact when I view the Additional information I can see that the quantity 1 is cancelled. The profile option OM: Under Shipment Tolerance is set to .5

    HI,
    You can cross check by running the AUDIT HISTORY REPORT in Order Management, which gives the in depth details of the sales order amendments.
    Thanks,
    Raghav

  • Need to Split Sales Order Line Item in VA01

    Hi,
      I have a requirement in which i have to split an order line item for KMAT materail number. system popup configurable screen, here all the required characteristic values have to be selected as per the customer requirement.
    After entering all the required customer specific characteristic values, system determines batch automatically. If characteristic values of the Batch matches with the characteristic values of configurable screen selected in the sales order
    Here also we have to check the sales Order Quantity (VBAP u2013 KWMENG) and order Confirmed quantity (VBEP u2013 BMENG), if the both the quantities are not same, consider order has partially confirmed.
    If Order quantity is partially confirmed, check for the batches with the same characteristic values of the quotation configurable screen and if batch found, system has to create a one more line item and new batch has to be assigned to create line item.
    Reduce the order quantity equal to the confirmation quantity in the first line item.
    Create a new line item in the quotation, copy all the remaining unconfirmed quantity from the first line item and also copy all the characteristics and properties (item category, schedule line category, business data, item data, and requirement type) and assign the batch to the new line item. System does the availability check automatically and confirms.
    In another scenario system doesnu2019t find batch, in this case capable to promise has to trigger directly.
    Here we have to check the Order confirmed quantity, if confirmed quantity is equal to zero.
    Change the item category of the line item, due to which system determines different Requirement type and schedule line category.
    Based on the Requirement type system triggers the capable to promise.
    I would lke to know which is the suitable user eixt or BADI to split the line items and what all the tables or structures i need to populate in order to create a new line item successfully.
    I have seen many post in sdn but no body gives the right user exit name where i can add new line item.
    Regards,

    Hi Amit,
      Thanks for your reply. In this scenario configurable material is involved. And first Make to Stock scenario is executed to check any material with customer entered characteristics are avialable. If its so it will determine its batch and assigned the quantity.
    If zero quantity is assigned or no quantity is assigned then I have to trigger the Make to Order scenario for rest of unconfirmed quantities in order.
    I have check it in USEREXIT_MOVE_FIELD_TO_VBAP but it was of no use. I even tried in USEREXIT_CHECK_VBAP but still no result. I am not sure what all the tables and structures i need to populate there.
    Regards,

  • Changing Pay Terms on Order Line Item

    Hello -
    When an invoice is cancelled,  SAP permits payterms to be changed on the line item of the corresponding sales order,  however, upon saving the order,  the payterms revert back to the original ones.   I am trying to re-invoice using new/changed payterms but cannot do this when changing the payterms on the order line item.   
    The payterms can be changed on the header level of the sales order and everything works and follows into a new invoice with the new payterms and the original baseline date.     If you only use the line item payterms on the sales order,  then SAP will revert back to the original payterms on the sales order. 
    How can I re-invoice using the new payterms?   I am aware and expect that the original baseline date /  original invoice creation date will remain the same.    This is also what I want to happen.
    Also - if an adjustment document (crediting the customer for additional payterms / extending their payment date) should be done,  please suggest what type of adjustment document and how to create one.   A credit memo request requires a quantity and there is no crediting for a product quantity in this scenario.
    Thank you,
    LP
    Edited by: LP on Apr 14, 2008 4:45 PM

    Forms Personalization is NOT a feature of Oracle Forms. It is a feature of the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

  • How to show logic of picking multiple stores to fulfill an order line item

    I'm still learning some basics with OPA.
    How do I represent the logic of picking multiple stores to fulfill an order line item when no one store has the requested quantity? A concrete example would be greatly appreciated as I'm still thinking procedurally for solutions.

    Hi!
    I believe this is following on from the thread:
    Calculating least cost of a product across stores using OPA
    So I'm assuming we're using a similar data model.
    If we want to involve quantity as well as cheapest price, then I'm assuming the requirement is:
    Find the cheapest price for the product from all the stores which still have quantity left of that product.
    This is where inferred relationships come in handy.
    Here is an example of what you can do with them to help solve this requirement.
    the store is a member of the product's stores if
    .ExistsScope(the store's prices)
    ..the price's product name = the product name
    the store is a member of the product's stores with remaining stock if
    .the store is a member of the product's stores and
    ..ExistsScope(the store's quantities)
    ...the quantity's product name = the product name and
    ...the quantity's amount > 0
    Then we basically want to pick the cheapest price for the product from the members of the relationship "the product's stores with remaining stock"
    Note that "the product's stores with remaining stock" could obviously be many instances, all with different prices. But for an order, a product needs to come from only one place! The deciding factor to "pinpoint" one place from this potential list of many could be based on anything, such as location, sales ranking, etc. But in this case Im going to assume lowest price is the decider.
    In the previous post we created a simple relationship between "the product" and "the prices" (which are contained by the store).
    We can make a more powerful relationship now:
    the price is a member of the product's available prices if
    ForScope(the price's store, the main store)
    .the main store is a member of the product's stores with remaining stock
    (I'm using an alias here to be 100% sure of which store is in scope)
    Now we can use the rules in the previous post, but change the relationship to the more advanced one we just created:
    the product's cheapest available price = InstanceMin(the product's available prices, the price's amount)
    Then
    the product's cheapest available store name = InstanceValueIf(the product's available prices, the price's store name, the price's amount = the product's cheapest available price)
    This is all psuedo code so many need some slight tweaks when you put it into OPM. Make sure you set up the relationships in a property file and declare all the attributes etc.
    Inferred relationships are really useful as "filters" sometimes. Here we first filtered all the stores which have prices for the product (i.e. have it in their catalogue). Then we filtered to get a list of all the stores which have stock remaining for the product. From that, we could find the cheapest available price.
    This is by no means the only way to do it! It's also by no means a simple problem but the great thing about OPA is that you can put all of the relationship config rules in the system rule folder / word doc, meaning that the source / business rules can still look relatively simple (in the end, it only took 2 lines of source rules to find the cheapest available price!). Once you've got the right set up and invested time in designing your data model, you will find it much easier to solve seemingly complex problems across entities.
    One word of warning though: if you have thousands of instances of prices, stores, products etc. then there is a performance impact of using many inferred relationships and alternatives should also be considered.
    Hope this helps!
    Feel free to contact me for more help on this. If you are relatively new to OPA and trying to tackle this you should consider investing in some training.
    Cheers,
    Ben

  • Order line invoiced even it has a fulfillment set value

    Hello all,
    I am facing this issue with some SO....my order lines are getting invoiced even it has the fulfillment set value...let me explain with an example:
    I have SO with 3 lines, which have the same fulfillment_set value, lets say letter "A" is the value for the 3 lines....
    When lines get closed and invoiced...i get a different invoice for each line....for example:
    Line 1 has invoice B
    Line 2 has invoice C
    Line 3 has invoice D
    Somebody know why?
    As far as i know, the 3 lines should get the same invoice number because they have the same fulfillment_set value.....
    I would appreciate to get an answer from you guys....
    Thanks in advance

    If the lines are part of the fullfilment set then they will fulfill together.
    Say you have 3 lines
    L1
    L2
    L3 and all are part of same fulfillment set , and suppose L1 and L2 are already shipped , but L3 is not yet shipped .In that case workflow for L1 and L2 will remain at FULFILL_LINE - Notified status and status for these lines will be AWAITING_FULFILLMENT, and once L3 will be shipped and workflow background process will be complete, L3 will Push itself , L1 and L2 to invoicing and finally close.
    But in your case some lines though part of Fulfillment set are already reached to either Invoiocing or closed but some other lines of same set are not yet shipped, In such a case best solution is remove the open lines from the set and progress them as Individual lines.
    check my blog eoracleapps.blogspot.com for more details.
    Regards
    eoracleapps.blogspot.com
    Edited by: 874289 on Jul 21, 2011 11:20 PM

  • 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

  • Sales Order Line in Back to Back stuck in PO-ReqCreated Status

    Hi
    I am running a Sales Order Back to Back Cycle. The status of SO Line Remains in PO-ReqCreated inspite of the PO linked to Sales order line is created, approved and receipt is done. Due to this the line is released for shipping ; WF mailer is up and running.
    Has anyone experienced this in the project , pl let me know the resolution.
    We are on 11.5.10.2.
    Thanks

    Hello,
    Check the similar note in metalink
    Cannot Progress Sales Order Since Order Line is Stuck In PO-ReqRequested Status CTOPROCB.pls [ID 411955.1]
    I suggest you to followup with Oracle Dev team thru SR.
    Thanks
    -Arif.

  • Items are not getting displayed in Sales Order Lines 'Ordered Item' field

    Hi All,
    Ordered Item field in Sales Order lines is not getting values When trying to create a Manual Sales Order.
    When clicked on Ordered Item LOV, no values are getting displayed.
    Thanks,
    Chandra.

    879035 wrote:
    Hi,
    I was unable to select any item (nothing is getting displayed in Ordered Item field when the LOV is clicked) in Sales Order Lines.
    The Sales Order header information i was able to enter & generate the Order Number.
    R12.1.3 is the version i am using.
    Thanks,
    Chandra.Have you done all the required setup in OM??
    Like system parameters...Imp one would be Item Validation Organization
    Make sure item is also available in the price list which you are using in order
    Mahendra

  • My customer is looking for a comp. open (unbilled) sales order line report

    Hello:
    My customer wants a listing of open (unbilled) sales order lines.  List of everything they have ordered and do not have a bill for yet.  That seems to be spread between 'Open' Sales Orders - see VA05 (no outbound delivery created yet) AND outbound deliveries that have not yet been billed - see VL06O with Billing Status not completely processed.
    How can both of these be merged into one? 
    Is there something else that can show this TOTAL picture?
    Thanks.

    Hi,
    To show all picture you can go for z report
    Take data from table VBAK,VBAP,LIKP,LIPS,VBRK,VBRP,VBFA
    Kapil

  • Need to report on sales order lines using specific pricing modifier

    Is there a report I can run for a specific modifier number that will give me all the sales order lines that were adjusted using that pricing modifier?

    Use oe_price_adjustments table and link that to the qp_list_headers and lines to get the details of the modifiers.
    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.

Maybe you are looking for

  • Issue with Agent Profile from AM 70 OpenSSO interesting issue

    Hi All, I have a specific scenario and if it is not possible then ugrade from AM 7.0 to OpenSSO cant be true. I have issue with the agent profiles (BTW I am not doing upgrade from AM 7.0 to OpenSSO but its a fresh OpenSSO install) In AM 7.0 Agent pro

  • Will the Apple 30 Inch display work with my MacBook pro? Confused!!

    Hi all, thinking of getting a used Apple 30 inch display to go with my MBP, but not sure if it will work at the correct resolution. Ive read you need a Duel Link DVI cable, but I have Thunderbolt not mini-display port. My MBP is early 2011 (think), s

  • I am having trouble provisioning my ipad to work on Xcode.

    I did all of the steps in the tutorial titled "Provisioning Your Devices for Development" except in step two of "Launch your app on the device" my iPad does not show up as a option to run the build. https://developer.apple.com/library/ios/#documentat

  • Rooms: Find out in which Room a User is?

    Hello Friends, I want to extend the Rooms by contructing a seperate Component and iView. (So I don't have to manipulate the standard application) Does anyone know how I can find out, which Room the actually entered one is? Means: The User Navigates t

  • Aperture 4???

    Aperture 3 does not work well with Mac OS 10.8.2.  The code base is getting really old to work with the newer versions of the Mac OS.  Is Aperture 4 coming anytime soon?  I would rather not switch to Adobe Lightroom 4 because I love the integration w