Sales Order - Draft[Rejected] and Sales Order - Draft[Approved]

Hi,
I am using SBO 2004B.
I want to check through my VB6 code, if a Sales Order document is a normal Sales Order or it has been through approval system and is in Sales Order - Draft[Rejected] or Sales Order - Draft[Approved] status.
How can i do that?
Thanks.

Hi Satish,
The document drafts are saved in the ODRF table. The WddStatus field in the table (ODRF and in all other document tables, like OINV, ORDR, etc.) shows the authorization status of the document. Valid Values are
- Without Authorisation (Normal Transaction)
W Pending
Y Approved
N Rejected
P Generated
A Generated By Authorizer
C Canceled
Let me know if it helps...
Adele

Similar Messages

  • Erica Phone rep from California call center said order is placed and awaiting supervisor's approval, but NOTHING was placed and no follow up

    Erica Phone rep from California call center said order is placed and awaiting supervisor's approval, but NOTHING was placed and no follow up.  I'm very displeased with Verizon customer Service.  I guess I should expect that, given they are this giant and why should they care about 1 customer, even if its a very loyal one. 
    I was told that my order for an iPhone is placed and all it need is to get an approval from supervisor for a $300 coupon off a regular priced device.  This "need supervisor's approval" apparently is how Verizon reps get people off the line and forget about any promises made.  I called to follow-up and was told that someone from the call center will call me back.  Guest What??? No one did, even after I went to the corporate store in downtown San Francisco and spoke to the store manager there.
    I guess I should lower my expectations about a company which spends billions on advertisement, but delivers empty promises.

    gvitalik - You'll need to send a Follow request (located in the upper right-hand corner of their profile page) to AyaniB_VZW that they'll have to approve.  They likewise will need to send you a Follow request that you'll have to approve.  Once you both are Following each other, then you can send them a Direct Message.
    How To: Direct Message

  • Class for Purchase order item components and Production order components

    I'm looking for a some classes.   I'm very new to objects, so I could be searching for them incorrectly.
    The first class I'm looking for is a purchase order class that contains the item components.  I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM.  I couldn't find components as a part of either of the classes.
    The second one I'm looking for is not as critical.  It is for the components for a production order.   I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order.  However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
    Any help that you could give would be greatly appreciated.
    Thank you!
    Michelle

    Hello Michelle
    I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
    *& Report  ZUS_SDN_OO_READ_PO
    *& Thread: Class for Purchase order item components and Production order components
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
    "& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
    REPORT  zus_sdn_oo_read_po.
    TYPE-POOLS: abap, mmpur.
    PARAMETER:
      p_ebeln   TYPE ebeln  DEFAULT '3000000045'.
    DATA: gs_document    TYPE mepo_document,
          go_po          TYPE REF TO cl_po_header_handle_mm,
          gs_header      TYPE mepoheader,
          gd_tcode       TYPE sy-tcode,
          gd_result      TYPE mmpur_bool.
    data: gt_items       type PURCHASE_ORDER_ITEMS,
          gs_itm         type PURCHASE_ORDER_ITEM,
          gs_item        type mepoitem.
    START-OF-SELECTION.
    *  prepare creation of PO instance
      gs_document-doc_type    = 'F'.
      gs_document-process     = mmpur_po_process.
      gs_document-trtyp       = 'A'.  " anz.  => display
      gs_document-doc_key(10) = p_ebeln.
    *  object creation and initialization
    **  l_ebeln = purchaseorder.
      CREATE OBJECT go_po.
      CALL METHOD go_po->po_initialize( im_document = gs_document ).
      CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
      CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
    *  read purchase order from database
      gd_tcode = 'ME23N'.
      CALL METHOD go_po->po_read
        EXPORTING
          im_tcode     = gd_tcode
          im_trtyp     = gs_document-trtyp
          im_aktyp     = gs_document-trtyp
          im_po_number = p_ebeln
          im_document  = gs_document
        IMPORTING
          ex_result    = gd_result.
    *  there was a problem in reading the PO
      IF ( gd_result EQ mmpur_no ).
    **    l_messages = l_handler->get_list_for_bapi( ).
    **    PERFORM return TABLES l_messages return
    **                          poitem poschedule poaccount.
    **    CALL METHOD l_po->po_close( ).
      ELSE.
        gs_header = go_po->if_purchase_order_mm~get_data( ).
        WRITE: / gs_header-ebeln,
                 gs_header-bukrs,
                 gs_header-bsart,
                 gs_header-lifnr.
      ENDIF.
      gt_items = go_po->if_purchase_order_mm~get_items( ).
      LOOP AT gt_items INTO gs_itm.
        gs_item = gs_itm-item->get_data( ).
        write: / gs_item-ebelp,
                 gs_item-matnr,
                 gs_item-menge.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • How to identify the emergency orders in STO and Sales Order

    Hi,
    kindly let us know is there any field in header details of STO and Sales Order where we can identify the emergency orders,
    In our STO Process we are creating more STO's from one warehouse to one Store,but in that orders we have some of the orders are emergency order's.
    Note:-if we create new order type then we can deference the orders but as per the business requirement we need to give same order type. 
    Thanks & Regards,
    Murali.M
    +91-9321526563.

    Thanks

  • Find FM or BAPI to sales order routing (CA01) and sales order bom(CS61)

    Hi Experts,
    I just want to find a function module or bapi to create sales order routing.The related transaction is CA01.
    For the created routing, it's releated with sales order number and sales order item.
    And also need a FM or BAPI to create sales order bom.The related transaction is CS61.
    For the created BOM, it's releated with sales order number and sales order item.
    Watting for your response!!
    Thanks a lot,
    Frank

    Hi Experts,
    I just want to find a function module or bapi to create sales order routing.The related transaction is CA01.
    For the created routing, it's releated with sales order number and sales order item.
    And also need a FM or BAPI to create sales order bom.The related transaction is CS61.
    For the created BOM, it's releated with sales order number and sales order item.
    Watting for your response!!
    Thanks a lot,
    Frank

  • Planned Order for stock and planned order for customer requirement

    Hello everybody
    I want to make a different, in MD04,   between the planned order for stock and the planned order created for a customer requirement
    Thank for your help

    Hi,
    True planned order are generated for both the cases but the planned order generated for sales order will have sales order number in the below column and for stock will show independent requirement. Mainly no sales order reference will be there for make to stock scenario.
    Hope it will help.
    Regards,
    Alok Tiwari

  • Pre-order points missing and pre-ordering problems at the store level.

    Hi
    During the week of July 6th-July 12 there was an ad for pre-ordering certain movies and getting 100 bonus points for each movie.  On July 12th I pre ordered Rio 2, The Amazing Spiderman 2, and Transformers:AOE (Steelbook edition).  The employee was able to successfully pre-order Rio 2 using the provided in store pre order card but had difficultly pre ordering Spiderman 2 and Transformers.  Rio 2 and Spiderman 2 had set release dates while at that time Transformers did NOT have a release date until recently.  These pre-orders were done in three different transactions. 
    Picking up Rio 2 on 7/15 was not a problem.  The employee did an exchange in the system.  The 100 bonus points never posted.
    The Amazing Spiderman 2 had a lot of problems.  The employee thought I already bought it and picked it up on 7/12 when I went to pick it up on 8/19 (the release date).  At the time of the pre order purchase, there was no announcement of the BB exclusive Magno pack for the same price as the regular blu ray release.  Again the employee did a return/rebuy.  This employee also stated that the employee who processed the pre-orders Spiderman and Transformers did it incorrectly since it looks like she did it as a normal transaction instead of a pre-order.  The points have yet to be posted.
    Transformers: AOE (Steelbook edition) now has an official release date of 9/30.  My question is will the system allow for employee to process the pre-order pick up since it is outside of the 45 day window?  I am hoping it won't be but seeing how the employees have been processing pre-orders incorrectly when picking them up I expect problems when doing so. 
    I have also noticed a price drop for transformers (6760435) from the time I pre-ordered it on 7/12.  Will the employees be able to adjust the price and give me the difference?
    Not all stores carry the pre-order cards making this a difficult process for everyone (it takes me on average 30 minutes to pick up 1 pre-order instead of in and out within 5 mins like usual) because someone didn't do it correctly the first time.  So my question is, how should employees process a pre-order if there is NO Pre-Order card in store??  I would love to continue to pre-order at best buy, but am getting tired of having employees screw up my pre-order.

     Hello ITDEFX101,
    Pre-ordering your movies during these 100 My Best Buy™ Bonus Point promotions is a great way to ensure that you are able to get your hands on some great movies as soon as possible after release, while simultaneously earning extra points. It is regrettable to hear that your pre-order experience with Rio 2 and The Amazing Spiderman 2 were not as smooth as we strive for these processes to be, and in the end, you state you didn’t even get the bonus points you expected.
    Using the information you registered with the forum, I was able to review your pre-orders for all three movies, as well as your My Best Buy™ account. Sadly, it does appear that there may have been some issues with your pre-orders, and I would like to address these with you privately, especially concerning your pre-order for Transformers: Age of Extinction. I am sending you a private message, which you may view once you’ve signed into the forum and clicked the envelope icon in the top right corner of the page.
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Plan SD order in Week and Plan order in PP in day

    Hi,
    I have planed a SD order in weeks and in PP the plan oder ist in day. but in PP I always get a plan order on monday.
    How can I customize it to choose the start day in PP.
    Thanks
    Dede

    Hi RB,
       As you may be aware Billing plan can be either periodic or milestone billing. Billing plan is a schedule of individual billing dates for a single line item in an order. This is used mostly in Service , Maintenance or projects.
    If you want to bill a customer on a certain date for the specified quantities, I suppose you should use Scheduling Agreements to fulfill your requirement.
    Regards
    Raj

  • Parallel creation of sales orders, purchase requisitions and purch. orders

    Hi All,
    I have the following requirement, can you please provide feedback if it is feasible or not.If yes HOW ??
    There is report to upload data which first reads all entries in the file -> create SO/PR and then convert them into POs.
    The report displays the all the error and success records.
    When large volume of data is uploaded ,then start the PR to PO conversion after converting the first 500 SO/PRs so that the next 500 entries from file can be used to create SO/PRs and so forth. In this way the SO creation and PR to PO conversion happen in parallel batches thereby improving the performance.
    Is it possible to run the same program in parallel batches of 500 records??
    Thanks and Regards,
    Sachin M M
    Edited by: Thomas Zloch on Apr 12, 2010 3:08 PM - subject line enhanced

    It looks like each SO -> PR -> PO creation is a unit that can be handled in parallel with aRFC (asynchronous RFC), using all available dialog processes minus a few that you want to reserve for other purposes.
    Please search for "parallel processing" and "aRFC".
    I would not try to split SO -> PR and PR -> PO into several processes because of the dependencies.
    Thomas

  • Sales area for STO and sales

    Dear all...
    when we use ref sales org, ref dist channel and divisions (ref sales area) for STO purpose.
    so is there any problem if we make sales using the same sales area to any customer?
    Please solve my query.
    Thanks...
    Deepak...

    Hi,
    We wont required to create as many customer for different plant.
    As you know plant is determined in the sales order from customer material info record or customer master data or material master data.
    So if you have to many plant then donu2019t save any plant in customer material and in customer master data.
    So it will fetch the plant from the material master data automatically.
    Regards
    Raj.

  • Relationship table of Sales Order (VA03) and Delivery Order (VL03N)

    Hi everyone!
    What table can I see the relationship of Sales Order document (VA03) and Delivery Order document (VL03N) as shown in VA03 > Environment > Document Flow?
    I mean, what tables saves the partnerships of each document (query sales order no. and get equivalent delivery order no. or nos.)
    Thank you very much!

    Hi
    U can use the fm RV_ORDER_FLOW_INFORMATION in order to get out those links or you can read the item table LIPS:
    LIPS-VGBEL  = sales order number
    LIPS-VGPOS  = salese order item
    Max

  • Difference betwen cash sales and rush order

    hai members
    pl mail me the diff bet Cash Sales And Rush Order
    and there implication in Billing documents.
    mail me to: [email protected]

    <b>Rush Order</b>
    In a rush order, the customer picks up the goods immediately, or you deliver them on the same day as when the order was created. When you save the rush order, a delivery is automatically created in the standard system. Billing the rush order takes place as normal, after the delivery.
    In the standard system, sales document type RO is saved for rush orders with immediate delivery type LF. Once the goods have been removed from storage, the goods are picked, and goods issue is posted.
    Once the billing documents are created (for example, in collective processing), invoice papers are printed and sent to the customer.
    IN –IMG-SD-SALES-SALES DOCUMENT HEADER-ORDER TYPE RO/CS U CAN SET A FOR IMMEDIATE DELIVERY IN SHIPPING WHICH CREATES DELIVERY AUTOMATICALLY WHEN U SAVE SALES ORDER
    <b>Cash Sales</b>
    In cash sales, you can process an order for when the customer orders the goods, picks them up, and pays for them immediately. The delivery is processed at the same time as when the order is created and a cash invoice is printed immediately: billing is therefore related to the order, unlike rush and standard orders. Receivables are not created for the customer, as they are for rush and standard orders because the amount in the invoice is immediately posted to a cash account.
    In the standard system, sales document type BV (CS) is saved for cash sales with immediate delivery type BV.
    When the sales employee creates a cash sale, the system automatically proposes the current date as the date for delivery and billing. Once the order has been posted, a delivery with type BV is created immediately in the background and the system prints a document that is used as an invoice for the customer.
    The invoice papers are controlled with output type RD03, contained in the output determination procedure for order type CS.
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Cash sales and Rush order

    What is the difference between Cash Sale & Rush Order?

    Hi
    Cash Sales: In this type of order CS, as soon as you save the sales order the delivery is automatically created as same date and billing will also be generated at the same date as soon as you save the delivery document.
    In a rush order, the customer picks up the goods immediately, or you deliver them on the same day as when the order was created. When you save the rush order, a delivery is automatically created in the standard system. Billing the rush order takes place as normal, after the delivery.
    In the standard system, sales document type RO is saved for rush orders with immediate delivery type LF. Once the goods have been removed from storage, the goods are picked, and goods issue is posted. Once the billing documents are created (for example, in collective processing), invoice papers are printed and sent to the customer.
    Rush Order: In this type of Order RO , The delivery will be created as soon as you save the sales order. But you bill the customer later.
    In cash sales, you can process an order for when the customer orders the goods, picks them up, and pays for them immediately. The delivery is processed at the same time as when the order is created and a cash invoice is printed immediately: billing is therefore related to the order, unlike rush and standard orders. Receivables are not created for the customer, as they are for rush and standard orders because the amount in the invoice is immediately posted to a cash account.
    In the standard system, sales document type BV (CS) is saved for cash sales with immediate delivery type BV.
    When the sales employee creates a cash sale, the system automatically proposes the current date as the date for delivery and billing. Once the order has been posted, a delivery with type BV is created immediately in the background and the system prints a document that is used as an invoice for the customer. The invoice papers are controlled with output type RD03, contained in the output determination procedure for order type CS.

  • View sales order net price and relavent putchase order effective price

    I;m using purchase to order sap solution. every sales order has single or multiple purchase orders. I nned to check the putchase order effective price agianst the sales order net price. Can i see both data in sales order, purchase order or any other standard report for this.

    Hi,
    There is no direct way to see sales order net value and purchase order value associated with sales order.
    you can view it by going inside VA02 or VA03 and click on document flow,then SO and P.O net value viewed.
    check t-code ME2K, put sales order number and see
    kapil

  • Cash sale and rush order

    what's the differnce between cash sales and rush order?

    HI
    In case of cash sales the billing document is generated immediately after the order is saved.
    In case of rush order,delivery will be created immediately.
    In a rush order, the customer picks up the goods immediately, or you deliver them on the same day as when the order was created. When you save the rush order, a delivery is automatically created in the standard system. Billing the rush order takes place as normal, after the delivery.
    In the standard system, sales document type RO is saved for rush orders with immediate delivery type LF. Once the goods have been removed from storage, the goods are picked, and goods issue is posted.
    Once the billing documents are created (for example, in collective processing), invoice papers are printed and sent to the customer.
    IN –IMG-SD-SALES-SALES DOCUMENT HEADER-ORDER TYPE RO/CS U CAN SET A FOR IMMEDIATE DELIVERY IN SHIPPING WHICH CREATES DELIVERY AUTOMATICALLY WHEN U SAVE SALES ORDER
    Cash Sales
    In cash sales, you can process an order for when the customer orders the goods, picks them up, and pays for them immediately. The delivery is processed at the same time as when the order is created and a cash invoice is printed immediately: billing is therefore related to the order, unlike rush and standard orders. Receivables are not created for the customer, as they are for rush and standard orders because the amount in the invoice is immediately posted to a cash account.
    In the standard system, sales document type BV (CS) is saved for cash sales with immediate delivery type BV.
    When the sales employee creates a cash sale, the system automatically proposes the current date as the date for delivery and billing. Once the order has been posted, a delivery with type BV is created immediately in the background and the system prints a document that is used as an invoice for the customer.
    The invoice papers are controlled with output type RD03, contained in the output determination procedure for order type CS.
    Differences:
    1.order type is :CS--RO.
    2.Item category: BVN--TAN
    3.no credit active in case of cash sale at item category level.
    4.output type in cash sale:RD00.
    5.account key--EVV(cash sale).
    In cash sales the std sap sales doc type is CS, item category is BVN and Schedule line category is cp. Here when you are creating cash sales order system won't search for credit limits and once cash sales order is created system in background create delivery also .Here we are using a Separate Account key EVV and for output we are using RD03.In cash sales del type is BV, billing type is BV.
    In Rush orders the std sales doc type is RO, item category is TAN, Schedule line category is CP. dely type id LF, billing type is F2,output type RD00 here in rush sales order system in background will create delivery and it will check credit limit of the customer
    Scenario of Cash Sales and Rush Order
    Message was edited by:
            SHESAGIRI.G

Maybe you are looking for