Reg. Open Order with Status

HI,
can anyone let me know about Open Order with Status normally that we have to create Generic Extractors to extract that data.
thanx in advance
peter b

Hi peter,
Normally for Open Order with Status, you need to create a generic data source
on the database table 'VBBE', this table contains the Open Orders along with
the open quantities, then coming to the status, it is the business process to
determine since how long the sale order is Open, and the status of the Order..
I would suggest you to create a table level data souce on VBBE and try to
build the logic in the extractor if at all needed..
Hope it would give U an idea to begin..if you can achive any this with this do not
forget to assign point..
for any further questions revert..
Cheers..
Pattan.

Similar Messages

  • How to find open orders with amount and open deliveries?

    Hi All,
    I want to find out the open orders with open amount and open deliveries for a particular customer.
    We need this for credit check purpose.
    Kindly guide us for this.
    Regards,
    Satish.

    Hi,
    To find out open order:
    data: c_bef_pgi(1) TYPE c VALUE 'A',
    RANGES: rg_wbstk FOR vbuk-wbstk."range for wbstk
      rg_wbstk-sign = 'I'.
      rg_wbstk-option = 'EQ'.
      rg_wbstk-low = 'C'.
      APPEND rg_wbstk.
      rg_wbstk-low = 'A'.
      APPEND rg_wbstk.
    1.first put query on vbak table
    2.Put query on vbuk table as
          SELECT vbeln bestk lfstk gbstk FROM vbuk
                  INTO TABLE it_vbuk_open
                  FOR ALL ENTRIES IN it_vbak
                  WHERE vbeln = it_vbak-vbeln AND
                        bestk IN rg_wbstk AND
                        lfstk = c_bef_pgi.
    so this wil give u open orders.
    3. Then according to vbuk, get the details from vbap.
    To find open delivery
    1. First put query on vbak table
    2. Put query on vbfa as
      SELECT vbelv posnv vbeln posnn vbtyp_n vbtyp_v FROM vbfa
                 INTO TABLE it_vbfa
                 FOR ALL ENTRIES IN it_vbak
                 WHERE vbelv = it_vbak-vbeln AND
                       vbtyp_n = 'J' AND
                       vbtyp_v = 'C'.
    3.Then from VBfa,get the details from LIkp
    4.Then put entry on vbuk as
    *entries from vbuk
          SELECT vbeln wbstk fkstk gbstk FROM vbuk
                 INTO TABLE it_vbuk_del
                 FOR ALL ENTRIES IN it_likp
                 WHERE vbeln = it_likp-vbeln AND
                       wbstk IN rg_wbstk AND
                       fkstk = c_bef_pgi.
    Thanks & Regards,
    Anagha Deshmukh

  • Closing the Production Order with status PCNF

    Hi Experts,
    May I kindly ask if I can close an order with status Partially confirmed? If not, how can I cancel the confirmation if I had already reversed the goods movement in the confirmation thereby flagging an error of a deficit in the material quantity during cancellation of the confirmation?
    I really need your help since I need to close the production orders with this case.
    Hoping so much for your replies.
    Many thanks in advance.
    Sincerely,
    Ria

    Ria,
    I am not so clear about the exact situation.
    When you say you have reversed the goods movement with MIGO, is it reversal of the documents posted with confirmation or the individual documents?
    You can only cancle the document with MIGO which are independent of the confirmation.
    The  documents which are with the confirmation can not be reversed in any case with MIGO.
    I suggets you go this way,
    1. Check why system is giving you error as 'Deficit......'. The one thing I suspect that you must have performed auto GR & moved out the stock of FG from that location.
    If it's so then bring back the stock to it's original location & cancel the confirmation.
    While cancelling the confirmation where you might have executed goods issue with backflush this error won't arise as the stock will be bring back to storage location form the order.
    Don't reverse the cancellation of the of the documents youhave performed with MIGO for independent material posting on the order. Keep it as it is.
    This way the cancellation of confirmation & material movement will be done & now cost on the order will be zero.
    You can assign the status CLSD as well as DLFL to the order.
    2. In case you find the above activities can not be carried out for some reason then give status TECO to the order.
    Sttle the order so that the cost on the order will be zero, then give status CLSD.
    As far as possible stick to solution no. 1 only.
    Go for solution no. 2 when you don't have any other option.
    Hope this helps you.
    SmanS

  • WIP calculation for Prod.order with status DLV

    Dear experts,
    Is there any way to change WIP calculation method for Prod.order status ?
    In t-code OKGC:: By default system will set:
    Order status      Status number         RA type
    REL                          2                             WIP Calculation on Basis of Actual Costs
    DLV                          3                            Cancel Data of WIP Calculation and Results Ana
    PREL                  1                            WIP Calculation on Basis of Actual Costs
    TECO                  4                            Cancel Data of WIP Calculation and Results Ana
    I can not change any thing in t-code OKGC (gray after insert: CO, RA version, RA key).
    As I understanding: Prod.order with status DLV will not be considered to calculate WIP.
    But I want to calculate WIP for Prod.order with status DLV. Could you pls guide me how to configure the system?
    Thank you!

    Hi,
    I suppose it is positive variance as the yield from the order is 10 pieces more than the planned quantity of 1000 and it is always a variance and no WIP involved in this case. It can be settled to FI/PCA and to CO-PA by variance categories (if you have configured accordingly)
    Therefore the accounting entry would be:
    1. Delivery to stock of 10 pieces:
    FG Debit
    Change in Stock Credit
    2. Variances will post the difference:
    Change in Stock Debit
    Price Difference is Credit
    Concerning the valuation method it needs to be tested before it can be implemented.
    Kind Regards
    Umapathi G

  • WIP calculation for Prod.order with status TECO

    Hello all.
    My question is the similar to WIP calculation for Prod.order with status DLV
    But I need that
    - if the Production order has status TECO - the system calculate WIP
    - if the Production order has status DLV u2013 the system settle the order.
    1.     I try to change u201CStatus Numberu201D in TCODE OKGC. But I have receive two different result:
    - if I change u201CStatus Numberu201D for status DLV from 3 to 2, then during WIP calculation of the order with status DLV u2013 WIP have been calculated.
    - but if I change u201CStatus Numberu201D for status TECO from 4 to 2, then during WIP calculation of the order with status TECO u2013 WIP have been CANSELED.
    2.     I try to change results analysis key for status TECO from u201CZu201D to u201CFu201D in TCODE OKG3. BUT during WIP calculation the system create error message KJ 363 which require that results analysis key must be change to u201CZu201D
    How can I resolve my problem?

    Hi,
    I don't have the answer if the requirement is that even after producing the materials, till the time accountant checks the order and does this action, it should remain in WIP. Honestly it doesn't make any sense to me or i have not understood this problem. Anyways as per my current understanding I can suggest the following process for your scenario.
    Once production is stopped in between the process, the order should be in PDLV status (partial confirmations happened in the order)
    Now go and clear the reservations manually from the production order .( delete the component line items from the order). Now depending on whether you are following WIP at actual cost, system will post the difference between credit and debit of that production order as WIP for the month end process.
    Once Accountant okays the entries in the production order, he can do the TECO and settle the order. Now WIP will be reversed and variance will be posted.
    To avoid the already produced goods mixing up with your other stock, u might want use Quality Management with the help of your PP consultant.
    Best Regards
    Vimal

  • Reg Update Order System Status

    Hi,
    My requirement is, while doing TECO (technical complete) of maintenance order I want to check for open reservation/requisition in maintenance order. and if we found any any open reservation/requisition then order status TECO will not update. maintenance order will remain in present status. any other update done in this order before TECO will save.
    Please suggest how I can acheive this.
    I tried to use uesr exit IWO0009 and BADI WORKORDER_UPDATE but not abe to update order system status in this point.
    Please suggest me any EXIT or BADI or Solution for this requirement.
    Regards,
    Atul

    Hi Atul,
    Following codes can be help u for Open PR before TECO.
    *&  Include           ZXWO1U03
    EXIT_SAPLCOIH_004
    DATA: BEGIN OF IT_EBAN OCCURS 0,
            BANFN LIKE EBAN-BANFN,
            BNFPO LIKE EBAN-BNFPO,
            EBELN LIKE EBAN-EBELN,
            LOEKZ LIKE EBAN-LOEKZ,
          END OF IT_EBAN.
    DATA: IT_AFKO LIKE AFKO.
    DATA: BEGIN OF IT_AFVC OCCURS 0,
             BANFN LIKE AFVC-BANFN,
          END OF IT_AFVC.
    DATA: X_AUFPL LIKE AFKO-AUFPL,
          X_BANFN LIKE AFVC-BANFN,
          STR TYPE STRING.
    SELECT SINGLE AUFPL
       FROM AFKO
         INTO X_AUFPL
           WHERE AUFNR = CAUFVD_IMP-AUFNR.
    IF SY-SUBRC = 0.
      SELECT SINGLE BANFN
         FROM AFVC
           INTO X_BANFN
             WHERE AUFPL = X_AUFPL
               AND STEUS = 'PM03'." Extenal Service Control Key"
      SELECT BANFN BNFPO EBELN LOEKZ
         FROM EBAN
           INTO TABLE IT_EBAN
             WHERE BANFN = X_BANFN.
    ENDIF.
    LOOP AT IT_EBAN.
      IF IT_EBAN-EBELN = '' AND IT_EBAN-LOEKZ = ''.
        CONCATENATE 'PR' IT_EBAN-BANFN 'is not converted to PO.TECO is disallowed' INTO STR SEPARATED BY SPACE.
        MESSAGE STR TYPE 'E'.
      ENDIF.
    ENDLOOP.

  • Error - Only partial orders with status ER, IG, WO and WR are allowed

    Hi,
    How to troubleshoot the distribution error "only partial orders with the status ER, IG,WO, WR are allowed"
    All other settings are made.
    BR,
    Anirudh,

    Hi Anirudh,
    Generally, logs in CVI9 with status 'PC' indicate the processing of the documents at the communication layer/server. You can also check the sending orders in transaction SCOT (Utilities > Overview Send requests). If, for example, the documents are in 'waiting' status, this indicates that it is not distributed due to improper SCOT settings.
    From DMS point of view please check the following settings on your system:
    1. Please activate the workflow templates again in transaction SWDD:
    - WS20000104
    - WS20000137
    2. Furthermore, please check whether the data processing distribution type (e.g.: INT) has been maintained with value "2" in SPRO customizing
    3. Verify that the event type linkage is set in SWE2 for BUS1082 INITATED. So,Go to swe2 transaction. In the line below set the 'Type linkage' flag:
    "BUS1082 INITATED WS20000104"
    Please see also SAP note 997428 for further information and check if the recieving user has maintained the full name (first and last name) in transaction SU01.
    Best regards,
    Christoph
    P.S.: Please reward points for useful information.

  • Printing PP order with status TECO

    Hi Gurus,
    We have to print orders (manufacturing forms) with all the confirmations (mostly, for investigation purposes).
    Sap prevents us from doing this, after the order is in TECO.
    Has anyone dealt with this issue?
    Thanks,
    Shim

    Dear Shim,
    In my understanding you may not be able to achieve this in standard SAP.
    But you can take a download of the TECO status set production order's using the report COOIS and print the same for
    understanding purpose.
    Check and revert back.
    Regards
    Mangalraj.S

  • Extended Payment Order with status 51 Application document not posted in IHC

    Dear Gurus,
    We are make an extended payment order (PAYEXT), through the transaction F110, and then when we want to see the IDOC (by Tx. WE02) we have the following error in the Inbound IDOC´s:
    IDoc: 0000000002179110 Status: Application document not posted
    Error Message: A transaction type could not be (uniquely) determined - IHC 0308
    We enter a payment method and payment method supplement in the proposal on F110.
    I don´t know whats the reason of the error. I hope you can help me please.
    Kind Regards,

    Hi Jayj,
    Thanks for your response. Sorry for the delay in responding you
    I make the following steps to get the error:
    1. I´ve created the invoice through FB60, on the company CO05.
    2. IThen I pay the invoice by F110, (I´m attaching the log of the payment).
    3. When I want to check by WE02 the IDOC the system generate the error message: a transaction type could not be determine. (I´m attaching the error message)
    Please I hope you can help me.
    Thanks a lot and kind regards,
    Ivan R. Menacho

  • Internal Order with status as Released not allowing postings

    Hi Experts,
    We are trying to interface expense reports against Internal orders wherein the IO is in REL GMPS status but is rejecting the ERs.
    Can we have the possible reasons for the same?

    Hi..
    You define user status management as below.(IMG Menu path : Internal order>Order master Data>Status Management)
      -. If you select Status number “10”, SAP don’t allow FI posting.
      -. If you select Status number “20”, SAP allow FI posting.
    After you assing above user status to order type, you create internal order and you can control FI posting as below.

  • Print Production Order with status CRTD

    Hi gurus,
    Our system is configured to print production order when the order is released, but when the order is in status CRTD,Created, (not Released) we try print the order an error message appears "Object ORD xxxxxx has system status CRTD (Created).  According to this status, transaction 'Print order (original)' is not allowed".
    Is it possible print orders before release action?
    Thank you, I have points for the best answers.

    Through transaction  BS22 you can configure the system to Print the Order even at CRTD status.

  • Any batch process to release the sales order with status profile

    Hi,
    The sales manager need to release the sales order 1 by 1.
    This is very tedious.
    Is there a process for her to release selectively?
    For example,
    if the sales value of the order is visible and within the approval limit or too small,
    she could release, says, more than 10 sales order in a single click.
    Possible?????
    Bye

    Hi,
    I like to perform a mass release of multiple Sales order from the proposed custom report.
    I would like to built the releasing coding into the report.
    I need some references on how to set the release.
    Maybe, there is a standard function for me to pass it in and it would release the sales order status.
    if that the case, it is BONUS.
    Otherwise, there must be some steps that need to be built to set the release.
    what I am asking, is there any such routines that would define the steps to release the sales order in coding?
    I understand there would be a change in status aftef the released and it is also vital to enable the audit log for future investigation.
    Having a BAPI would result the audit issue as the system would have taken care of it.
    I hope it is clearer now as to why I am requesting a sample of the standard routine.
    If there is no such routine, do let me be aware of it.
    Thanks

  • How to fetch service order with partucular system status and user status

    Hello All,
    How to fetch service orders with specific system status and user status.
    thanks

    I want tables or views from where I can fetch service orders. I have to design ALV report based on this.
    I want to fetch released service orders with status INIT and RENT.
    Here, SYSTEM Status = Released and
             USER Status     = INIT
                                        RENT
    So is there any function module available for the same.....

  • Order with CLSD status selected

    Hey All
    I am not sure if this is question in CO but While calculating variances the orders with status as CLSD are also being selected. The system in the output shows the orders with CLSD status which is causing long runtime issues. I am sure that orders with status as CLSD are excluded from processing . Can anyone help me on this
    Thanks
    Ankur

    Hi ,
    You need to regulary set the deletion flag in the closed process orders . Please refer Note 397110 - Performance: Archiving manufacturing orders.
    Also refer Note : 393686 on other performance related issues in Cost Object Controlling..
    Regards
    Sarada

  • How to find open orders and open quantity

    Hi abap gurus,
    i want to find the open orders with the quantity  means those orders for which we don't have goods issues(and partial deliverys is also possible). i get this scenario but i don't know how to start.
      i think i should go to VBUP table and get all the orders
      which have overall status GBSTA = 'A' OR 'B'.
      So from this i will get all the open orders but i need to find open quantity also .
      please tell me how can i find out and  which table do i need to use.

    You need to check between delivery line item table as well sales order line item table.
    Sales order Line item table : VBAP
    Delivery line item table : LIPS
    if order qty and delivery qty are same then there is no open qty if not then there is open qty.
    Thanks
    Seshu

Maybe you are looking for