BAPI for Partial Confirmation CO11N

Dear Gurus,
REG : BAPI
How to get the actual activites for partial confirmation of qty
we have tried some bapis like for getting activites we have used
bapi_prodordconf_get_tt_prop
but in this bapi it is calculating total qty i.e, order qty not for the yeild qty.
I need to get the yeild qty planned activites
Tks
Murali

Hi,
Check the Bapis
BAPI_PRODORDCONF_CREATE_TT 
BAPI_PRODORDCONF_CREATE_HDR
Regards,
Raj.

Similar Messages

  • Workforce Planning for Partially Confirmed Activities

    Hi All,
    I have recently configured Workforce planning for one of the clients, and it has been working as per the requirement. Here, I have configured Workforce Planning profile and Scheduling parameters of Network. So, once a Project and a Network is created, User plans Personnel for this Network's activity using CMP2. Also, CATS profile is maintained in such a way that Worklist shows the Planned hours and accordingly a person can book Time against it.
    Now, the problem arises after a Personnel assigned to an activity books the Timesheet. Once a Person books time against this particular Activity, it gets disappeared from CMP2 screen. Now, practical implications are that, suppose that person goes for a leave or leaves the organization and PM wants to assign another person for the same Activity (which is partially confirmed).
    How can we address this issue - to perform workforce planning for Partially Confirmed activities?
    Any pointers to User Exits, BADIs, BAPIs or SAP Notes are highly appreciated.

    Hi Sanjeev,
    Thanks for your feedback.
    In CMP2, we are already checking the activity work hours. According to that only we are adding resource, then checking that resource's availability and then assigning work.
    As an example, activity work duration is from 20.08.2014 to 30.09.2014. I assigned a resource A from 20.08.2014 to 30.09.2014 for 8 hours because he is available in that duration.
    Now, the real problem comes when this resource is suddenly unavailable (due to any reason) and PM comes to know about this on 07.09.2014. Resource A has already booked Timesheet for the duration he has worked (20.08 to 06.09). So activity is PCNF.
    So PM wants to reduce the Work assignment for Resource A from 30.09.2014 to 06.09.2014 and assign Resource B from 07.09.2014 to 30.09.2014, but he is unable to get this activity in CMP2 view because it is PCNF. Here PM can only see activities of same project which are in REL status.
    So how can I enable this PCNF activity in CMP2 view.
    If there is any IMG activity settings, then let me know.
    If this is standard behavior and can be done through User Exit/BADI/BAPI then also let me know.
    Message was edited by: Aditya Kotak

  • In process inspection for partial confirmation of production order

    Hi QM Guru,
    how i will do in process inspection for partial confirmation of production oder
    Senior is this  I have maintain inspection type 03 in finish material u2026..suppose production order quantity 20 kg..there are 2 operationu202610 and 20.. I have maintained MIC on operation 20u2026after release the production order  lot are generatingu2026but when they confirm operation 10 they do partial confirmation for 10 kgu2026.then again when do confirmation 20..they checku2026for quality resultu2026
    Then I do the result record ok of 10 kgu2026then they confirm 20 operationu2026.
    Now. again he do the confirmation of rest production order 10 kg..opration 10 ok..but in operation 20..system does not check for qualityu2026..
    Again I want to do the quality inspection of 10kg on 20 operationu2026
    How I will do. kindly suggest me
    Regards
    Aqueel

    Hello
    I think that the process can be mapped in one of these ways:
    - according to what you describe this is closer to a good receipt inspection and not to in-process inspection, as the trigger for the inspection is the GR and not the release of the order. So, why dont you give a chance to a 04 inspection type, with inspection lot creation for every GR ? Check the indictor in MM02, QM view for "04" inspection, and uncheck the "Stock in quality", so you dont get caught by the stock in quality and resembles in process "Non-stock relevant" inspection
    - alternatively you can define the use of inspection points ? So you are adding new results as new confirmations are made. Disadvantage: you can only give one usage decision to the inspection Lot, irrespective of the number of samples you have analyzed.
    Regards

  • Restriction of posting date in transaction CO11N for partial confirmations

    Hi all,
          I am trying to restrict(by checking thru an exit)  the posting date in co11n , for this i m using enhancement CONFPP04.
         Import parameter AFRUD_IMP IS USED.
         Now when i m putting  production order no , operation activity no.(for e.g 10 , 20 etc ) and posting date IN SEL SCREEN OF CO11N
        AFRUD_IMP-BUDAT( POSTING DATE )  CONTAINS VALUE  in debugging mode , hence i m getting the value of posting date
        and in that case check is written in code.  This is the case of full confirmation.
                                     But in case of partial confirmation  i have to give   production order no , operation activity no , *Partial confirmed qty * and posting date , in this case the posting date value changes to 0 in the debug mode ie.
      AFRUD_IMP-BUDAT is showing 0 and hence no calculation can be done base on the date.
          Our requirement is such that if there is a prd order no say X,
    then in CO11N if user enters prd no X  , operation activity no 10 , post date say D1
    then again for  prd no X  , operation activity no 20 , post date  of activity 20 should not be less than D1
    SIMAILARY for  X,  ACTIVITY 30 ,  post date should not less than that of  activity  20. and so on.
        But if partial quantity is mentioned value of  AFRUD_IMP-BUDAT is becoming null.
          If anyone knows about this scenario please share.
      Thanks and regards
    Pankaj Gupta

    Hi, In the T-code Mb31 
    The Posting Date which is used  is when entering the document in Financial Accounting or Controlling. The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from this posting date.
    When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.But this posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).This is for the practical purpose .
    So its for the Monthly permitted and not for a day or range .
    Secondly when you are saying :
    "We want this <b>default date to get freeze</b> the moment you enter
    the transaction (MB31). If you are opting for second option we want
    <u><i><b>some flexibility to change the date as required</b></i></u>."
    Both freezing and opting for changes is not possible , either one can occur .
    You can freeze/display mode only  the field for the T-code and the document type, but that will not solve your problem .
    What i understand from the description is you want to Do GR on A particular date or GR should be allowed after a particular date . <u><b>Please let me know</b></u> if this is the case then there's a way around to do this that is you can do GR and Post on the dates near to your desirable dates .
    cheers KP

  • BAPI for REM Confirmation

    Hi Gurus,
    Can anyone let me know the BAPI name to be used for REM confirmation? I have inputs as Material and Quantty from a 3rd party tool. With only these two inputs, I want system to post GR and GI. All other fields can be defaulted.
    Thanks in advance.
    Sumeet

    Hi Vishal,
    Yes. I have been trying the same BAPI since yesterday but facing some issue. In the output I can see confirmation number but not other output. BAPI is not even returing a message.
    In the intervals of two attempts I also get an error "Function module MB_CREATE_GOODS_MOVEMENT cannot be executed"
    Can you let me know what to check.
    Sumeet
    Edited by: Sumeet Vaidya on Apr 8, 2011 11:11 AM
    Edited by: Sumeet Vaidya on Apr 8, 2011 11:12 AM

  • Bapi for final confirmation serviceorder

    I'm looking for a bapi which enables me to give a final confirmation to a serviceorder.
    in the current scenario people are using cats for hourdeclaration on serviceorders. most of the time it is not known after hours are entered if the job is finished or not. when it's know after a few days the engineer has to declare 0,01 hours to make it possible to give final confirmation.
    I 'm searching for a bapi where I can set the final confirmation for the serviceorder
    the other alternative is to use IW41 to set the final confirmation only that can't be fully programmed inside cats with bdc
    if anybody has any alternatives they are also welcome
    kind regards
    arthur de smidt

    when I use the BAPI_ALM_CONF_CREATE
    bapi I can enter the data already available like
    confirmation no order . I also set the indicator for final confirmation but I get the error ARU806 not valid call ??
    solution coding in my case
            SELECT SINGLE * FROM afru INTO gs_afru
                            WHERE aufnr EQ h_raufnr
                            AND vornr EQ wa_sap_catsd-vornr.
    * Indien terugmeldingsnummer aanwezig dan eindterurmelding met nummer doen                       
            IF sy-subrc = 0.
              gs_timetickets-conf_no = gs_afru-rueck.
              gs_timetickets-orderid = gs_afru-aufnr.
              gs_timetickets-operation = gs_afru-vornr.
              gs_timetickets-fin_conf = 'X'.
              APPEND gs_timetickets TO gt_timetickets.
              CALL FUNCTION 'BAPI_ALM_CONF_CREATE'
    * EXPORTING
    *   POST_WRONG_ENTRIES       = '0'
    *   TESTRUN                  =
    * IMPORTING
    *   RETURN                   =
                TABLES
                  timetickets              = gt_timetickets
                  detail_return            = gt_return.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =
    kind regards
    arthur de smidt
    Edited by: A. de Smidt on Dec 5, 2008 1:28 PM

  • Capacity Plan for Partially Confirmed Order

    Hi Guys
    Can any one please guide me on Capacity Planning (CM29) how to:
    1. Plan to plan a partial order. Or in other terms: how to plan a part order in wk1 and rest in wk2
    2. If the process order is partially confirmed, then how should supervisor re-schedule it again for later date!
    3. Ideally what should be followed:
      a. Schedule the Planned Order on CM29 and then Convert them to Process Order , OR
      b. Convert the Planned Order and then Schedule the Process Order on the CM29 screen
    Thanks in advance
    -Rahul

    Hi Mehdi,
    Once order status is PCNF you cannot create lot with inspection type as 03. You need to reverse all the confirmations/Goods issue and activate 03 inspection type in material master, maintain MIC related data in routing and do Read Master data. Then system will create inspection lot.
    For 03 inspection type manually inspection lot cannot be created. Once order is released inspection lot will be automatically created by system.
    Thanks & Regards,
    Ramagiri

  • BAPI for Order Confirmation along with measurement reading entry

    Hello Experts,
    I would like to know if there is any BAPI for PM Order completion Confirmation along with measurement reading entry?
    Thanks in advance.

    [BAPI for TECO|Function Module for TECO(technically complete) a maintenance work order;
    [BAPI to create Measurement document|BAPI or Function Module for creating measuring point;
    Based on the business transaction, by using user exit, you can accomplish these.

  • Overhead calculation for partial confirmation.

    Hi dudes,
    here we are working with production orders of huge quantities and doing partial confirmation according production process. suppose we running overhead calculation for these order which are being partially confirmed.
    if overheads are calculated where can we see these values.
    thanks in aadvance
    Robert

    Hi
    You could see it in the production order change mode itself.
    Open CO02,Click cost calculation button,then go to -> Goto ->Costs->Analysis
    There in the cost analysis structure you could see the actual values in the overhead cost elements by choosing appropriate layout(Layout-Cost trend or Plant/Actual)

  • Bapi For Production Confirmation ?

    Hi,
    I am using "BAPI_PRODORDCONF_CREATE_TT" for production confirmation.
    I need to also pass the corresponding goods movement for the order operation. How to achieve this. and also what are the mandatory fields to be supplied for good movement.
    Regards,
    Navneeth K.

    Hi Bothra,
    Follow the sample code.
    DATA : BEGIN OF TIMETICKETS OCCURS 0.
            INCLUDE STRUCTURE BAPI_PP_TIMETICKET.
    DATA : END OF TIMETICKETS.
    DATA : BEGIN OF GOODSMOVEMENTS OCCURS 0.
         INCLUDE STRUCTURE BAPI2017_GM_ITEM_CREATE.
    DATA :END OF GOODSMOVEMENTS.
    *DATA : LINK_CONF_GOODSMOV TYPE     BAPI_LINK_CONF_GOODSMOV.
    DATA : DETAIL_RETURN     TYPE     BAPI_CORU_RETURN OCCURS 0 WITH HEADER LINE.
    DATA : RETURN     TYPE     BAPIRET1 OCCURS 0 WITH HEADER LINE.
    DATA : POST_WRONG_ENTRIES LIKE     BAPI_CORU_PARAM-INS_ERR.
    DATA : TESTRUN     LIKE     BAPI_CORU_PARAM-TESTRUN.
    DATA: BEGIN OF LINK OCCURS 0.
    INCLUDE STRUCTURE BAPI_LINK_CONF_GOODSMOV.
    DATA: END OF LINK.
    DATA: BEGIN OF PROPOSE OCCURS 0.
    INCLUDE STRUCTURE BAPI_PP_CONF_PROP.
    DATA: END OF PROPOSE.
    DATA : BEGIN OF LINK_CONF_GOODSMOV OCCURS 0.
    INCLUDE STRUCTURE BAPI_LINK_CONF_GOODSMOV.
    DATA : END OF LINK_CONF_GOODSMOV.
    LOOP AT TIMETKT.
    MOVE-CORRESPONDING TIMETKT TO TIMETICKETS.
    APPEND TIMETICKETS.
    LOOP AT BAPI_ITAB1 WHERE SRL = TIMETKT-SRL.
        MOVE-CORRESPONDING BAPI_ITAB1 TO GOODSMOVEMENTS.
    CONF_QUAN_UNIT.
    CONF_ACTI_UNIT1.
        APPEND GOODSMOVEMENTS.
    ENDLOOP.
    PROPOSE-QUANTITY = 'X'.
    PROPOSE-ACTIVITY = 'X'.
    PROPOSE-DATE_AND_TIME = 'X'.
    PROPOSE-GOODSMOVEMENT = 'X'.
    APPEND PROPOSE.
        CALL FUNCTION 'BAPI_PRODORDCONF_GET_TT_PROP'
         EXPORTING
           PROPOSE                  = PROPOSE
        IMPORTING
          RETURN                   =
          TABLES
            TIMETICKETS              = TIMETICKETS
           GOODSMOVEMENTS           = GOODSMOVEMENTS
           LINK_CONF_GOODSMOV       = LINK_CONF_GOODSMOV
           DETAIL_RETURN            = DETAIL_RETURN.
        CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
         EXPORTING
           POST_WRONG_ENTRIES       = '0'
          TESTRUN                  =
         IMPORTING
           RETURN                   = RETURN
          TABLES
            TIMETICKETS              = TIMETICKETS
           GOODSMOVEMENTS           = GOODSMOVEMENTS
       LINK_CONF_GOODSMOV       = LINK_conf_goodsmov
        DETAIL_RETURN            = DETAIL_RETURN.
        if return-id is initial.
        commit work.
        endif.
    I think it will be helpfull to u.
    Regards
    Srimanta

  • Bapi for partial good issue with ref to reservation

    I have check the bapi for goods issue with ref to reservation. But how to take care scenario where good issue qty is less than reservation qty. How to map this in bapi.
    Please provide input its urgent
    Thanks
    JENA

    Hi Jena,
    Implement a check in your program calling  BAPI_GOODSMVT_CREATE.
    If you call BAPI_GOODSMVT_CREATE in your own program you have to fill the interface of it (GOODSMVT_HEADER, GOODSMVT_ITEM ...).
    So in the first step you have to select/colect all the required data for the interface. If you want to post a goods-issue with
    reference to a reservation you can implement a quantity-check in you own program similar to the checks in transaction MB1A or transaction MIGO which lead to message M7064. All the required informations are stored in the table "RESB - Items of reservation".
    This is the quantity-check implemented in transaction MIGO (... see note 409754):
    Take only reservation items with open quantity > 0 or
       or flag 'propose all items' is set (->default settings)
         l_open_quantity = ls_resitem-bdmng - ls_resitem-enmng.   >(1)
         CHECK l_open_quantity > 0 OR
                s_defaults-propose_all_items = abap_true.
    l_open_quantity  = open quantity -> is calulated here
    ls_resitem-bdmng = Requirement Quantity ->
                        table RESB / field BDMNG
    ls_resitem-enmng = Quantity withdrawn ->
                        table RESB / field ENMNG
    Furthermore you could check, whether the quantity you want to post now is larger than the (remaining) open quantity. If this
    not the case you could add this item to the interface-data. Otherwise you can ignore it and send a corresponding message or add the item to an error-log.
    After the check has been carried out and the interface has been filled with the valid items you can call BAPI_GOODSMVT_CREATE.
    In the customizing-transaction OMCQ you can maintain the category of messages. If you set the message M7 362 to the category "E - error message" the BAPI_GOODSMVT_CREATE will return with   this (error-)message as soon as the requirement quantity is exceeded by the goods-issue("Reserved quantity exceeded by ...").
    But: other processes/applications are using these settings too.
    This means: these processes/applications might have a different behaviour after your changes (error-message instead of a warning-  message ... for example).
    I hope this helps,
    Elaine.

  • Bapi for network confirmation

    Hi all,
    I am using BAPI_NETWORK_CONF_ADD to confirm actual duration against the network/activity.  I am executing the BAPI in se 37 and I am getting successfully message i.e. confirmation has been posted for network xxxxxxxxxxx .
    But it is not updated into database i.e. its is not visible in table AFRU.
    Please can you tell what are necessary parameters to be passed for database updation?
    Thanks,
    Sridhar

    Hi Sridhar,
         Try in a simple program by passing your values into this BAPI and use the BAPI_TRANSACTION_COMMIT after that and it will update the tables.
    Cheers
    JK
    PS: Award points if this helps you

  • FM for Delivery Confirmation

    Hi all,
    I am looking for a FM/ BAPI for Delivery Confirmation through transaction O4H1.
    I have been able to achieve my result through FM OIKDC_DELIVERY_CONFIRM but this FM is not released. I am looking for a released FM / BAPI.
    Points will be rewarded for helpful answers.
    Regards,
    Mayank

    Hi Mayank.
    You can use fucntion 'OIGI_DEL_CONF_CREATE'.
    Maybe, you work in IS-OIL or Gas..._
    I hope this will help you.
    good luck
    Regards
    Kyung Woo.

  • Please Help: Activity Units allocated in Full during Partial Confirmation

    Dear All
    I am facing a problem and need your help. When going for partial confirmation of a process order the system is allocating the full Costing Activity units. For example the process order is of 1000 units production and for 1000 unit production we have defined following controlling activities with certain rations
    Setup
    Machine
    Labor
    Factory Overhead
    The unit of these activities are totally allocated even if i am going for a partial confirmation or i finally confirmed the process order even for 800 units. The unit and cost of these activities is charged on the basis of 1000 initially planned units.
    Please help me urgently as we are having severe problems in Costing of process orders
    Regards
    Bilal Athar

    Dear Siva
    I have checked n OPK4 last tab page (Services --> Tick on Propose)
    Its already ticked
    And we are processing the confirmation through COR6N and here system is not displaying the activities automatically
    Tell me what to do
    Regards
    Bilal Athar

  • Help - Problem with BAPI confirmation (co11n)

    Hi gurus,
    Please , i need some help with some problems i am having with BAPIs for confirmations.
    I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to do this, because i want to know the proposal of goodmovements, just exactly that sap's does when i enter to the tx CO11N, enter the YIELD quantity and then press "goods movements" button.
    Please, is there some trick or something to make this work? ( i have already put "X" in the import "PROPOSE - GOODMOVEMENTS" , but still is not working).
    If get this, i could put this values in BAPI_PRODORDCONF_CREATE_TT and that's it... i suppose.
    Please help me
    Thanks a lot!

    Hi ,
    Before going into BAPI's , Auto goods movement happens in two ways.
    1. check whether Auto goods receipt is checked in T.code OPKP.
    2. The other way is to assign a Control Key to the operation which has a Auto GR checked.
    Please check these two and then trigger confirmation using your BAPI.
    Hope this helps.
    Best Regards.

Maybe you are looking for