How do I get the Sales Orders Statuses? Is there any API for that?

Hi!
I'm trying to track all the statuses of a sales order. I want to get the header status, lines status, holds status, shipping status and the invoiced status.
Does anyone knows if there is an API for that? Or I'll have to make lots of querys for that?
I found out the following APIs, but it only returned me Y or N:
-oe_header_status_pub.get_booked_status;
-oe_header_status_pub.get_cancelled_status;
-oe_header_status_pub.get_closed_status;
-oe_holds_pub.check_holds;
-oe_line_status_pub.get_pick_status;
-oe_line_status_pub.get_ship_status;
-oe_line_status_pub.get_invoiced_status;
Thanks for the help!

Hi,
You can find the status of both SO Headers ahd Lines from the FLOW_STATUS_CODE column in oe_order_headers_all and oe_order_lines_all tables.
Thanks
Gowrishankar

Similar Messages

  • Hey my headphone jack was broken and got stuck in may ipad, am not getting the audio output. Is there any solution for my problem

    Please do help me

    I too had a same problem, when I attached AUX IN pin of my car to my ipad it got stucked in it.I went to Apple Store, they were helpless and asked me to replace it with new one for 16000 INR.
    What I did is, I took a refill of a pen and sharped its back so that it exactly sits into the gap. After thar I applied some pressure and pulled it out...I got the remaining part wich was stucked.
    Try this, I hope this is risk free. All the Best.

  • Get the sales order number based on customer number

    HI all,
    how can i get the sales order numbers based on the customer number?
    plz tell me the table names.
    thanks,
    Srini

    hiiiii..
    go to database table VBAK
    where you can find customer id and sales order
    use a select statement in your report program
    and key as kunnr ...
    i hope it does ...the job

  • Calling VA01 from Report,how to get the Sales Order  No when Back.

    Hi all,
    I have a requirement of calling va01 from the report and have done that using
    did recording ...&
    call transaction va01 using bdcdata.
    but my problem is when back from that trasaction i have to get the sales order that is created . Is it possible to retrieve that value from va01 .i am unable to get . anyone pls share

    Use the addition MESSAGES INTO itab with call transaction va01 using bdcdata.
    Effect of MESSAGES INTO itab:
    Using this addition, all the messages sent during batch input processing are stored in an internal table itab of the type BDCMSGCOLL from the ABAP Dictionary.
    If the call transaction is successful then retrieve the last message from itab and then in any field among MSGV1,MSGV2,MSGV3,MSGV4 of itab u will get the document no.
    And when doing the call transaction pl. choose update mode as 'S' or 'L'.
    Regards,
    Joy.

  • Get the Sales Order number from Service Notification

    Hi Experts,
                       Please let me know if there are any BAPI's or standard Function modules to get the Sales order for a given Service Notification number.
    Thanks a lot

    Hi Ashish,
    Hope the listed BAPI's let you solve the issue:
    BAPI_SERVNOT_CLOSE Complete service notification
    BAPI_SERVNOT_CREATE Create service notification
    BAPI_SERVNOT_DEL_DATA Delete Items, Causes, Activities, Tasks, Partners of the service notif.
    BAPI_SERVNOT_GET_DETAIL Get details about a service notification
    BAPI_SERVNOT_MODIFY_DATA Modify a service notification or associated subdata
    BAPI_SERVNOT_POSTPONE Postpone service notification
    BAPI_SERVNOT_PUTINPROGRESS Put in process a service notification
    BAPI_SERVNOT_SAVE Save service notification
    BAPI_SERVICENOTIFICAT_CREATE Create service notification
    BAPI_SERVICENOTIFICAT_GETLIST Select service notifications according to customer or contact person
    BAPI_SERVNOT_CHANGEUSRSTAT Change the user status of a service notification
    Regards,
    Soundarya.

  • How to find out the Sales order no based on spool no

    Hi Experts,
    Anyone tell me how to find out the Sales order no based on Spool no.
    Thanks and regards,
    Amjad

    Hello Mohammed,
    Please check the following SAP Spool tables for your spool request.
    You will find your required document number as an Object key in these tables.
    TSCMSTAT   --> Field OBJNO
    SOOS           --> Field APPLKEY (Document number will be a part of this key)
    If your document is getting printed by SAP Script, then dont forget to take SCR value in the OBJTP field while searching for your record.
    Thanks and Best Regards,
    Vikas Bittera.
    ***Points for Usefull answers ***

  • HOW CAN I GET THE PURCHASE ORDER RELEASE DATE

    Dear All,
    HOW CAN I GET THE PURCHASE ORDER RELEASE DATE - any reprot is there?
    Thank you
    Ahmad

    Hi,
    u goto that PO and select Environment on top line .under that select header changes if u click on that u will get entire details who reased when released, date , time etc
    regards,
    Srinivas Kona

  • OIC: How does the projected commission work in quoting? Does it migrated from Quoting to Sales Order? Is there any documentation available?

    We are working in a project where they need to calculate commission "on the fly" according to the princing discount they gave to the customer on a quote (Oracle Quoting). As once confirmed the quote turn into a sales order in OM we would like to know if it (project commission) migrate to the sales order.?
    Thanks in advance for your help!

    Calamulus wrote:I completely agree; my confusion arises from the fact that the wiki has forever stated that the ondemand governor works like the conservative one by adjusting the frequency between all speeds available
    It does. But like litemotiv says, it only does so for brief moments. Because most of the time it's more beneficial to switch to highest freq, so the job is done as fast as possible, allowing to cpu to go to idle as soon as possible.
    Calamulus wrote:This can mislead users into thinking (like I did for about 3 years, if it turns out the wiki is mistaken) that by selecting ondemand they get the functionality that is actually offered by conservative instead.
    It is the same functionality. It's just that ondemand is better at it. Conservative was only created for some buggy amd processors which had trouble with fast switching, so it shouldn't be used. Unless you have one of those old amd processors of course.

  • Function module or BAPI to get the sales order details.

    Hi,
    Can any one revert back with the FM or BAPI to get the sales order details.
    I tried using BS01_SALESORDER_GETDETAIL, in my driver program of smartform but when i execute the form using VA03 -> Sales Document -> Issue output to -> Print preview, I am getting the required output.
    if i see the print preview in the overview of the sales order (enter sales order and press enter), the above specified FM is not populating any data.
    Thanks,
    Prathap

    Hi Prathap,
    The above specified FM BAPISDORDER_GETDETAILEDLIST should work. As you need the item conditions,
    Fill the I_BAPI_VIEW with header = 'X', item = 'X' and sdcond = 'X'.
    Fill the SALES_DOCUMENTS-vbeln = sales order number.
    Regards,
    Shylaja

  • How do i get the same order of songs in iTunes as on the original CD?

    I just downloaded a new CD from iTunes. I must have clicked something by mistake, but now all the tracks are in a different order from the order on the original CD. I'd like to restore the tracks to the original order. Is there any way to do this?
    Thanks for your help!

    and then they will be sorted in the correct order.

  • Sales Order Status "Being Processed"  after completion for Free Goods Sales

    Hello All,
    This problem is related to Free Goods Sales which is as follows.
    The process-flow for free goods sales is first we raise a sales order, then we do outbound delivery for the sales order and then finally PGI of the goods.We don't raise any invoice and the Free Goods Challan is issued to the customers by running a report.
    The document flow at the end always show the Sales Order  status as " Being Processed" and Outbound Delivery & PGI as "Completed".I want the system to show the Sales Order status as " Completed" and not " Being Processed".How to do that?
    Please suggest some solutions.
    Thanks & Regards
    Priyanka Mitra

    Hi Raja,
    Thanks a lot for your prompt reply and suggestion.
    Now we are able to get the Completed status in Document Flow.
    Thanks & Regards
    Priyanka Mitra
    P.S. -  I would request you to go through another problem which we are facing in Shipment , please go through this and suggest some solution regarding it if possible.
    I have already posted this problem in a separate thread few days back but am yet to receive any fruitful suggestion.
    The problem is regarding Shipment Cost Calculation while doing STO which is as follows -
    In our scenario the Shipment cost calculation is done on two basis -
    1) Absolute Rate / Flat Rate Wise - For example for transporting of goods from Kolkata Depot to Delhi Depot is Rs. 20,000 fixed.
    2)) Gross Weight Wise - where the weight unit is kg and rate for example is Rs. 4 / Kg. So for 10 Kg the shipment cost will be Rs. 40.
    Now I want the system to calculate the shipment cost on Rate / Carton Wise i.e. How will I be able to calculate the shipment cost of 100 cartons if the rate is Rs. 100/ Carton.
    How to configure this ? Please help in this regard.

  • How do I get The ipad locked to run only one application for customers (perhaps a webapp)

    how do I get The ipad locked to run only one application for customers (just one web app, or video- instructions, or just safari). What I really want is that my customers to only use one app that has all my services. It is an interactive app so I would not like them to go surfing elsewhere while they are in my store.
    Is it possible to do this on the iPad ?

    Try this:
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    checkbox - clusters_MOD.vi ‏23 KB

  • HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. MY question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this aren't working

    HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. My question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this, such as using turning off the SMS preview under the "passcode lock", well that option no longer exists, or if it does, I'm somehow missing it.
    When I go to the "messages" setting under settings on my phone, I still don't see an option of turning it off.
    If I can just get the name of the person sending the message, as I had it before, I'd be happy.
    Help!

    That option still exists in Settings > Notifications > Messages > Show Prview (OFF) and View in Lock Screen (ON). Here's how to configure your Notifications and Notification Center for iOS 5: http://iphone-and-i.blogspot.com/2012/01/how-to-customize-notification-center-in .html

  • How to get the page layouts programmatically and create a page for that pagelayout

    how get the page layouts programmatically and create a page for that pagelayout and add webpart
    please help me with da code.Thanks
    adityadugyala

    Hi if your page layouts alreday created then create new page programaticaaly  and apply your page ayouts to that page by coding you can do something like following
    PublishingWeb publishingWeb =
    PublishingWeb.GetPublishingWeb(web);
    PageLayout[] layouts = publishingWeb.GetAvailablePageLayouts();
    PageLayout layout = layouts[0];
    string pageName =
    "MyPublishingPage5.aspx";
    PublishingPage newPage = publishingWeb.GetPublishingPages().Add(newFolder.Folder.ServerRelativeUrl +
    "/"+ pageName, layout); 
    newPageUrl = web.Url +"/" + newPage.Url;
    newPage.Description = "This my sample publishing page";
    newPage.Title = "My Publishing Page";
    newPage.Update();
    Please follow link
    http://blogs.msdn.com/b/sowmyancs/archive/2008/03/15/create-publishing-pages-in-portal-sites-programmatically.aspx
    Please mark answer , if you think answer is helpful or correct.

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

Maybe you are looking for