Confirmed quantity field

Dear Guru ,
We are developing an abap program that can do the the production order confirmation ( like CO15 ) .
In order to calculate the open quantity ( "Current to Confirm" field in CO15 ) , we need the "Already Confirmed" field .
Is the "Already Confirmed" field saving in table "AFRU" ? I saw there have two fields : GMNGA & LMNGA , But i am not sure which one can be used .
And i am also not sure the relation-ship between AFPO & AFRU , because in my abap program , i only have the production order number as a parameter .
If i search the record on AFRU table with production order number , the performance will be very bad ... Does another solution can improve the performance ?
Many thanks .
Best Regards,
Carlos

Hi Carlos,
As AFRU is the confirmation table for production/Process orders. and if u want to use the order confirmation from some ABAP development then u should use AFRU for the quantity field.
Are u using any fuction module for this?
AFPO is just the Order item table, that u can use to verify the production order no. but not the confirmed quantity. Use the field "GMNGA" and also take care of the reversal too.
Thanks,
SISL !!

Similar Messages

  • Confirmed quantity on the schedule line tab is 0 in Sales Order Screen?

    Hi,
    I created a sales order but the Confirmed quantity field on the schedule line tab is 0 .
    There is unrestricted  stock present in the plant also.
    I am not able to do delivery because of it.So,please let me know if I need to check anything.
    Regards
    Nicky Samtani

    I checked the avaliability screen and it shows me 3 columns
    Received/Req Quantity = 15.386
    Confirmed = 0
    ATP Quantity = 0.
    Does that mean that There is no stock avaliable for my SO and if it is then why Received/Req Quantity = 15.386  is coming.
    Also is there any way I can get rid of this error by putting some more stock in the plant or anything on similar lines?

  • Material Confirmed quantity and Open quantity

    Hi All,
      I am working on a report where the user wants the material confirmed quantity and open quantity at the batch level. I know for open quantity VBBE-OMENG can work. Just need confirmation that this is the correct field. However for confirmed quantity I am not able to narrow it down to one field. I have the following fields as possibilities but not sure which is the right one.
    1) VBBE-VMENG
    2) VBEP-BMENG (This is the at the sales order level though. We need it at the batch level)
    Can you please let me know if i have the right approach here? The report has Material, plant, sloc and batch along with a bunch of other fields.
    Regards.
    Sid

    Hello,
    you should extract the quantities from all the deliveries selected for material and batch, and selecting only open deliveries.
    Use a selection like this:
        SELECT lips~MATNR lips~WERKS
               lips~CHARG lips~LFIMG
          INTO TABLE lt_lips
          from lips as lips
          INNER JOIN vbup as vbup
            on lips~VBELN = vbup~VBELN AND
               lips~POSNR = vbup~POSNR
         WHERE lips~MATNR = p_matnr
           AND lips~WERKS = P_WERKS
           AND lips~CHARG = P_CHARG
           AND ( vbup~WBSTA eq 'A' or
                 vbup~WBSTA eq 'B' ).
    Best regards,
    Andrea

  • How to link Invoice Quantity and Confirmed quantity in schedule line

    Hello,
    I'm working for a report in BW. The user want to compare the invoice quantity to the confirmed quantity in schedule line for a sales order.
    I can't find any table linking these two fields.
    Could you help?
    Thanks a lot
    Jeannie

    Ashish,
    When we link these two tables by Sales Order Number / Item, we would take following result:
    Sales Order    /     Itme     /     Schedule line     /    confirmed quantity   /     actual billed quantity
    1                  /      10        /      1                     /    3                            /              5
    1                /         10      /       2                    /     2                            /             5
    But in fact, for Sales order/itm 1/10, we have only 5 PC billed, not 10.
    When billed 5 PC, I want to despatch it to the Schedule line as 3, 2.
    Regards,
    Jeannie

  • Check on quantity field of co11n

    hi all,
        I want to display error messages when the quantity field at goods movement level of transaction co11n is 0 or space.
    Find me the user exit or badi , but field exit is becoming complex as the screen is a table control.
    help me.

    hi madhav,
    CONFPP01                                PP order conf.: Determine customer specific default values
    CONFPP02                                PP order conf.: Customer specific input checks 1
    CONFPP03                                PP order conf.: Cust. specific check after op. selection
    CONFPP04                                PP order conf.: Customer specific input checks 2
    CONFPP05                                PP order conf.: Customer specific enhancements when saving
    CONFPP06                                PP Order Confirmations: Actual Data Transfer
    CONFPP07                                Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                                PS confirmation: Determine customer specific default values
    CONFPS02                                PS confirmation: Customer specific input checks 1
    CONFPS03                                PS confirmation: Customer specific check after op. selection
    CONFPS04                                PS confirmation: Customer specific input checks 2
    CONFPS05                                PS confirmation: Customer specific enhancements when saving
    CONF0001                                Enhancements in order confirmation
    CONFPI01                                Process order conf.: Calculate cust.specific default values
    CONFPI02                                Process order confirmation: Customer spec. input checks 1
    CONFPI03                                Process order conf.: Cust. spec. check after op. selection
    CONFPI04                                Process order conf.: Customer specific input checks 2
    CONFPI05                                Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                                Process order confirmation: Actual data transfer
    CONFPM01                                PM/SM order conf.: Determine cust. specific default values
    CONFPM02                                PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                                PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                                PM/SM order conf.: Customer specific input check 2
    CONFPM05                                PM/SM order conf.: Cust. specific enhancements when saving
    these are the list of userexits for the transaction co11n try keeping the break point in each user exit and check which suits your requirement.
    the second method is you can do it by reading the documentation of the each exit.
    Hope its clear to you,
    Reward points fi usefull,
    Thanks,
    kalyan.

  • How to control not to confirm quantity in sales order schedule line

    Hi,
    We have a problem with confirmed quantity in sales order schedule line.
    When I reject a position in a sales order, confirmed quantity still remains with quantity ( diferent to 0).
    I need in some cases that system not to confirm quantity in schedule line at item level.
    I've tried to do this with a new routine in OVB8 transaction, but it didn't work.
    Could you help me? How can I avoid the system to confirm quantity in a sales order item?
    Thanks in advance....

    Hi Lakshmipathi,
    I'm sorry. The rejection was a bad example.
    I need, in some cases, that the system doesn't confirm quantity in sales orden item. We have a custom field in sales order item and we need to confirm with 0 quantity , when that field has a specific value.
    Due to that field is a custom field, I need an exit, or rutine, or .. i don't know...to inform a standard field too ( delivery block, rejection...) something to get confirmed quantity to 0.
    I've tried with rutine in OVB8. But It didn`t work
    I've tried with delivery block, but with this all items in sales order, confirms with 0. I need at item level.
    Thanks

  • Confirmed quantity during sales order migration

    Do any of you experts see any issue with the following approach to set the schedule line confirmed quantity?
    We need to migrate open order from Legacy to SAP system. While migrating we need to keep the schedule lines (dates and confirmed quantities) to be same as that in legacy (Note that legacy has exactly one schedule line per order).
    For Migration we are using the program RVINVB10.
    On order to bring in the confirmed quantity we plan to apply the following logic
    1. Add following logic to user exit - MOVE_FIELDS_TO_VBEP (in MV45AFZZ)
    If the order is a migrated order then
       check if VBAP-POSEX <> ''    (This an unused field so we will use this to pass the confirmed quantity)
          then VBEP-BMENG = VBAP-POSEX
               VBAP-POSEX = VBAP-MTVFP (Save Valye of Checking Group)
               VBAP-MTVFP = ''.        (clear the checking group to override the ATP check)
    2. The following logic is added in User Exit SAVE_DOC_PREPARE (in MV45AFZZ)
    If the order is migrated order then restore the value in VBAP-MTVFP from VBAP-POSEX and clear VBAP-POSEX.
    This way we are able to get the confirmed quantity in schedule lines.
    Any suggestions welcome,
    Regards,

    Here is an alternative functional approach
    Depending on what is being used by your ATP config to determine supply you can create following pseudo supplies only for Sales order migration purpose
    Planned orders
    Purchase requisations
    reservations
    you can load any max quantity such as 9999999 at an earliest Material availability date (MAD) determined from sales orders for Material Plant combination.
    This will help ATP to confirm the same CDD if you pass CDD as required delivery date (assumption it uses backward scheduling)
    Assumption: you are moving only completely open sales order & itu2019s not delinquent (CDD in past, schedule lines not confirmed completely)
    You have to remove this pseudo supply after sales order migration is complete.

  • User Exit for credit management  at confirmed quantity in sales order

    Dear All ,
    kinldy tell how to define a user exit and where i can write for credit check to be done to the confirmed quantity in the sales order .
    Also pls tell me that how to define the user exit and attach to customer reserve field in the customising for automatic credit control .
    regards
    Baranidharan Ramar

    Hi
    The following is the information from the sap documentation...you can also refer from IMG - SD - System modification - userexit - userexit for credit check
    Credit Check
    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    User exit for availability check
    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
    Thanks,
    Ravi

  • Confirmed Quantity and Goods Receipt

    Hi,
    Currently SAP does not restrict for Goods Receipt in MIGO even if I have not confirmed single quantity of Production Order. But I want to restrict the user to MIGO only Less than or equal to confirmed quantity on last operation. Is there any way to do this? Kindly reply.
    Regards,
    Hammad

    Hi,
    You don't want underdeliveryof the production order qty when You do the goods receipt.
    For that no need to give tolerance. System will not allow to do GR for less quantity.
    Put %  under delivery tolerance in work shceduling view as per ypur requirement . the under delivery tolerance ticked in Workscheduling view of Material Master & also in Production order CO02, GR Tab page.
    Go to the TC : OPK4 select the value for the field as
    Under Delivery: " Delivery tolerance is checked"
    Pls try and come back.
    Regards,
    R.brahmankar

  • Set quantity field disabled in MIRO for Services PO

    ¿How can I do in order to disable the quantity field in MIRO transaction ? (Only for Services PO)
    Edited by: Luis  Ganoza on Oct 11, 2011 9:01 PM

    Hi,
    Please check whether you have selected service based invoice verification indicator in service PO or not. I f not selected select and see. Ultimately the quantity field will be greyed out. An alternative is use OLMRLIST transaction and Now Click on "Change" button and Confirm the Message by Pressing Enter. Here mark  Quantity (DRSEG-MENGE)
    field as "Output Only". Thanking you.

  • Hide the quantity field at goods movements in cofirmation.

    HI,
    My client is using CO11N for confirmation. and doing auto goods reciept and auto goods issue.
    Whn I am clicking on Goods movement in CO11N system is showing me which material is going in goods reciept and which is in Goods issue.
       Now my requirement is I want to hide the quantity field of the material in goods movement because some time user is changing the quantity of goods issue.
       Wat can I do for the same?
    Please sugest
    Thanks & Regards,
    Nilesh Ithape.

    Dear Nilesh,
    Try to achieve the same using the authorization control.
    You can take the help of the BASIS consultant and try to find the authorization object and the value
    which's allowing to change the quantity.
    Check whether this is the particular object C_AFKO_AWA is allowing the same(I'm not sure).
    After finding out the Authorization object remove the tick mark for the value which's for change or delete.
    You can find it using SU24 T code or using SUIM and other related T codes.
    If it cant be done even after authorization control ,revert back to the forum.
    Regards
    Mangalraj.S

  • Sales Order Confirmed Quantity Zero

    Hi Experts,
    Any idea how to prevent sales order from being saved in VA01 and VA02 when the confirmed quantity is zero ?
    I know one way is through using user exit in MV45AFZZ but I am just wondering whether there is any config (SPRO) solution to this.
    Thanks.
    Regards,
    T.K.

    Hi,
    If you are using AVC and TOR, then the system will be giving you the confirmed quantity, based on the duration it takes either for procuring the material or for producing the material, these are maintained in Material Master record. Confirmed quantity will be post date of the creation of Sales order.
    But in OVZ9, for the combination of AVC and Checking rule if you check "Check without RLT' it will not give you any confirmed quantity.
    I dont think even maintaining in Incompletion log. it will stop you from giving an error. So better solution is going for ABAP development. You can ask your ABAPer to write a program with logic saying system should not save if the field VBEP-BMENG is zero.
    Regards
    Vamsi Javaji

  • Schedule line item with no confirmed quantity

    I encountered that the schedule line item has no confirmed quantity. What are the possible reasons these happened?
    Thanks.

    Hi,
    The 1st reason could be no stock ( can check using T.code .MMBE).
    2nd reason could be not relavent for avaliability check ( check in VOV6 select the relavent scheduline category and check in transaction flow tab field availability if checked)
    3rd reason could be either the customer is blocked for his credit.
    Kindly Reward points if useful.
    Regards
    vK

  • Actual duration is overwritten by quantity field

    Hi all,
    we have a problem in CRM service. When entering the times/dates in the confirmation, the actual duration
    is overwritten by the quantity. What happens is this:
    we enter the start date/time, and enddate/time
    we enter the actual duration, and give enter.
    After this, we enter the quantity, and now the actual duration is overwritten by the quantity field.
    Anybody an idea how to solve this?
    regards,
    Wim

    solved it ourselves

  • Quantity fields not getting displayed in the second total row

    Hi,
    As per the requirement I have to display 2 total rows for an ALV report using CL_GUI_ALV_GRID. I am able to get the first total row properly using method get_subtotal(). However for the next total row only the character fields are getting displayed and the quantity fields are coming blank.
    The second total row will have different values based on a formula.
    Please help me out in resolving the issue.
    Thanks,
    Abhishek

    You can provide first row as the SUBTOTAL and next row as the TOTAL.
    Get one extra column on which you can do the SUBTOTAL.
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Tray Expand button not working

    Dear Expert, After the SPS upgrade of SP 21 for java stack, I am facing a issue of Expand button of the tray is not working for the iviews which contain dynamic information such as BI reports etc., Please help me out in this issue Regards Noel

  • JPanel's wait(long timeout) function

    Hey, I wanted to make a line go across the screen when the user clicks a button. I tried calling the paint(graphics) function in the button's actionPerformed(..) function, in a loop so that it can show the line move across the screen. in the paint(..

  • How to turn off CTRL+scroll zoom in the grid view of Lightroom?

    Please help - I'm working with a big catalogue, where I have to do a lot of scrolling and keywording. I'm new to Windows machine (corporate), and having a problem when I want to hold CTRL and scroll down (to individually select more photos), it only

  • Photoshop brushes not working

                   All my Adobe programs (Illustrator, Photoshop, Elements, ects) the paintbrush commands (or simply brush) will not work. Someone suggested uninstalling Photoshop and performing a clean reinstall. I tried that but now the Photoshop insta

  • Error in prod category delta replication

    Hi, I'm using EBP 3.5 and when I created a new site with the SMOEAC in order to replicate the product categories, the system ask me for user/password in the R/3 backend system. I completed this information but when I try to start the replication with