Bapi BAPI_PRODORDCONF_GET_TT_PROP

Hi, how can I use this function module (PRODORDCONF_GET_TT_PROP) to post also the standard times in the confirmation?
Many thanks.
Luca

Sometimes the function module gives the standard times, other times it doesn't work.
I don't know the reason. So, it's better to calculate the times and insert them into table "timetickets".

Similar Messages

  • Bapi re: CO11N BAPI_PRODORDCONF_GET_TT_PROP & BAPI_PRODORDCONF_CREATE_TT

    Hi,
      I have a little problem with the bapi's
      BAPI_PRODORDCONF_CREATE_TT and BAPI_PRODORDCONF_GET_TT_PROP
    1.  in abap i call BAPI_PRODORDCONF_GET_TT_PROP first , the proposed goodsmovement is not the same as the default on co11n, it does not included the bom components of the materials, same thing if i leave the goodsmovement table on bapi BAPI_PRODORDCONF_CREATE_TT.
    2. so i manually added the bom components on the goodsmovement table, also populated the link_conf_goodsmov table, BAPI_PRODORDCONF_GET_TT_PROP confirmation was okay but now the results are  generating 2 documents.
        tried populating other fields on the goodsmovement table but with no effects
      i want to ask if there are configuration regarding the default values in bapi  BAPI_PRODORDCONF_GET_TT_PROP because its not the same as c011n
    Best regards,
    Francisco

    thanks but note for 4.6c is only help documentation
    solved BAPI_PRODORDCONF_GET_TT_PROP to generate goodsmovements for all materials + components by copying and modifying the fm and adding  TRANS_CATEGORY = 'X' to functiom module CO_RI_TIMETICKETCONF_CREATE
    still 2 matdocs are being generated instead of 1 like co11n

  • BAPI For Procduction Order Confirmation

    Hi Expert,
    How to use the BAPI_PRODORDCONF_CREATE_TT for Process Order Confirmation
    I have to use two internal tables for order confirmation 
    GOODSMOVEMENTS
    LINK_CONF_GOODSMOV
    Please help.
    Thanks in advance.

    Hi Arpit,
    This BAPI is having Table parameter 'TIMETICKETS' as mandatory. You can use it as below:
      ls_timeticket-conf_no            = i_rueck. " confirmation number
      ls_timeticket-yield                  = i_erfmg. "Quantity   
      ls_timeticket-conf_quan_unit = i_erfme. " Unit
    ** propose goods movements
       ls_bapi_propose-goodsmovement = 'X'.
      CALL FUNCTION 'BAPI_PRODORDCONF_GET_TT_PROP'
        EXPORTING
          propose                      = ls_bapi_propose
        IMPORTING
          return                         = ls_bapi_return    
        TABLES
          timetickets                 = lt_timeticket
          goodsmovements     = lt_goodsmovements
          link_conf_goodsmov = lt_link_conf_goods_mov
          detail_return               = lt_detail_return.
    CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
          IMPORTING
            return             = ls_bapi_return
          TABLES
            timetickets        = lt_timeticket
            goodsmovements     = lt_goodsmovements
            link_conf_goodsmov = lt_link_conf_goods_mov
            detail_return      = lt_detail_return.
    If you already have data for internal tables GOODSMOVEMENTS and LINK_CONF_GOODSMOV, you can skip the propose goods movements BAPI  'BAPI_PRODORDCONF_GET_TT_PROP'.

  • Delivery Completed Indicator set during BAPI_PRODORDCONF_CREATE_TT

    Hi Gurus,
    I am using BAPI_PRODORDCONF_CREATE_TT to perform our production confirmation.
    I want to force a goods movement item to be "Delivery Completed". I found the field GOODSMOVEMENTS-NO_MORE_GR in the BAPI which has a component type ELIKZ. When i put an X for this item during the BAPI run, it does not change the status of the item in the production order as Final Issue.
    Is GOODSMOVEMENTS-NO_MORE_GR equal to the field "Indicator: Goods movement item completed" (ENDKZ) in the confirmation? They have the same description.
    I found another field which is GOODSMOVEMENTS-WITHDRAWN (KZEAR) but it also does not change the status of the item after BAPI run.
    Thanks in advance for all your help.
    Regards,
    john

    Hello John
    Indicator NO_MORE_GR should be used only for the goods receipt with movement 101 and it will not affect the components.
    Field WITHDRAWN is the correct field to be used to set the final issue indicator for a component, however, you must ensure that you are sending the correct reservation number and item.
    I suggest you to use BAPI BAPI_PRODORDCONF_GET_TT_PROP to get the proposed data for the confirmation, including the components, and change the values when necessary.
    BR
    Caetano

  • Enquiry in bapi

    Dear all,
    I am calling these 2 bapi's in my program
    BAPI_PRODORDCONF_GET_TT_PROP,
    BAPI_PRODORD_GET_DETAIL.
    Due to this Bapi's report is very slow.
    How can I improve the performance of my report?
    Regards,
    Pooja

    Hi Pooja,
    I agree to the suggestion given adding to that Check with the individual BAPIs too.
    BAPI_PRODORDCONF_GET_TT_PROP :Propose Data for Time Ticket Confirmation 
    it took nearly 6 lak microsecs.
    BAPI_PRODORD_GET_DETAIL: Order detail data
    better to check the where list of these BAPIs also will give u hint the required field too
    code check with SCI and also have a trace
    ST05 .
    May help u.
    Cheers
    Mohinder Singh

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

  • BAPI for Production Order creation ?

    Hi Experts,
    I am new to PP module and as per my requirement I have to:
    1. Create Production order in ECC 6.0
        After searching BAPI explorer, SDN and other sites I could see that there is no BAPI for Create Production order.
        In one of the link I could find FM CLOI_CHANGES_UPL_31 used to create Production order in SAP.
    Is there any BAPI to create ??
    Can anyone let mw know right FM or BAPI to create Production order with an example.
    2. And I have to:
    Delete Production order
    which BAPI is used for deletion of Prd Ord
    BAPI_PRODORD_SET_DEL_INDICATOR or BAPI_PRODORD_SET_DELETION_FLAG
    For Confirm Production order - in ECC 6.0 Let mw know the BAPI for this ..
    Really helpful if you answer my queries...
    Thanks
    Uday

    Hi udaya,
    use the BAPI 'BAPI_PRODORD_CREATE'
    The following BAPIs are available confirmation of production orders:
        Entry
            Time ticket
            ProdOrdConfirmation.CreateTimeTicketMultiple
            BAPI_PRODORDCONF_CREATE_TT
            Time event
            ProdOrdConfirmation.CreateAtHeaderLevelMultiple
            BAPI_PRODORDCONF_CREATE_HDR
            Order confirmation
            ProdOrdConfirmation.CreateAtHeaderLevelMultiple
            BAPI_PRODORDCONF_CREATE_HDR
            Activity confirmation
            ProdOrdConfirmation.CreateActConfMultiple
            BAPI_PRODORDCONF_CREATE_ACT
        Defaults
            Time ticket
            ProdOrdConfirmation.GetTimeTicketProposal
            BAPI_PRODORDCONF_GET_TT_PROP
            Time event
            ProdOrdConfirmation.GetTimeEventProposal
            BAPI_PRODORDCONF_GET_TE_PROP
            Order confirmation
            ProdOrdConfirmation.GetAtHeaderLevelProposal
            BAPI_PRODORDCONF_GET_HDR_PROP
        Cancelling confirmations
        ProdOrdConfirmation.Cancel
        BAPI_PRODORDCONF_CANCEL
        List of confirmations
        ProdOrdConfirmation.GetList
        BAPI_PRODORDCONF_GETLIST
        Detail data for confirmations
        ProdOrdConfirmation.GetDetail
        BAPI_PRODORDCONF_GETDETAIL
        Existence check
        ProdOrdConfirmation.ExistenceCheck
        BAPI_PRODORDCONF_EXIST_CHK
    Regards,
    Ravi

  • Bapi 4 process order confirmation??

    hi abapers.............
    can ne1 tell me wt is the BAPI  4 process order confirmation.
    thanx in advance .
    anil

    Hi
    BAPI_PRODORDCONF_CANCEL
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    BAPI_PRODORDCONF_EXIST_CHK
    BAPI_PRODORDCONF_GETDETAIL
    BAPI_PRODORDCONF_GETLIST
    BAPI_PRODORDCONF_GET_HDR_PROP
    BAPI_PRODORDCONF_GET_TE_PROP
    BAPI_PRODORDCONF_GET_TT_PROP
    BAPI_PRODORDCONF_PDC_UPLOAD_TE
    BAPI_PRODORDCONF_PDC_UPLOAD_TT
    Regards
    Kathirvel

  • 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.

  • Help- Problem witth BAPI Confirmation

    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.

  • 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.

  • Create confirmation by BAPI for color size

    Dear All,
    We can create confirmation by BAPI_PRODORDCONF_CREATE_TT.
    But there has no option for add the AFS grid value(color/size).
    Is there any other BAPI for this?
    Please advice me.
    thanks B/R
    Bishnu
    07/07/2010

    Dear
    I am not quite sure about BAPI  usegability .Check this BAPI if it comes to your work :
    BAPI_PRODORDCONF_CREATE_ACT Enter Activity Confirmation
    BAPI_PRODORDCONF_CREATE_HDR Enter Order Confirmations
    BAPI_PRODORDCONF_CREATE_TE Enter Time Event Confirmation
    BAPI_PRODORDCONF_CREATE_TT Enter Time Ticket Confirmation
    BAPI_PRODORDCONF_EXIST_CHK Existence Check for Confirming Production Order
    BAPI_PRODORDCONF_GETDETAIL Detailed Data for Production Order Confirmation
    BAPI_PRODORDCONF_GETLIST Confirmations List
    For production order different BAPIS are available
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    for proposals
    BAPI_PRODORDCONF_GET_TE_PROP
    BAPI_PRODORDCONF_GET_TT_PROP
    For more details and documentation, please have a look at transaction BAPI.\
    Try with them to accomodate your rquirement and revert
    Regards
    JH

  • Bapi - Goods Movement

    Dear Gurus,
    I am using Bapi to create production order confirmation by time tickets. That is insists of using the transaction CO11N i am using bapi becoz for the confirmation input getting from non sap.
    Here i have used two BAPI'S
    1) BAPI_PRODORDCONF_GET_TT_PROP
    2) BAPI_PRODORDCONF_CREATE_TT
    I am getting the input from external system and passed to first bapi and according to the inputs i get  the proposed value and i passed the output of first bapi to second bapi as input and i create confirmations.
    In that i am using Back flushing concept for the goods movement. so when i am confirming system automatically propose materials to goods movement. Here i have finished goods material (ie) movement type is 101 and for consumption material (ie)261 and i have byproduct material as 531 movement.
    When i am using the above said bapi to confirm the production order - order quantity partially
    E.g:
    Order qty - 1000kg
    1st confirmation - 100 kg using the bapi's
    i have back flush component as
    MAT A 100kg - PLANT - STOR LOC - MOV TYPE(101)
    MAT B 120kg - PLANT - STOR LOC - MOV TYPE(261)
    MAT C 20kg - PLANT - STOR LOC - MOV TYPE(531)
    For this system creating two material document as for 101 movement type separate document and for 261 and 531 movement material separate document.
    But when i am using CO11N transaction to confirm the same with three material system creating one document.
    Why system is creating two material document when i am using the functional module? i need to create one document for this.
    Please suggest your idea.
    Regards,
    Vimal

    Dear Vimal,
    please review SAP's FAQ note 540392, question/answer #10.
    Regards, Andreas

  • Open Purchase Order UPload Using the BAPI 's

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

  • URGENT: Function modules or BAPIs

    Hi Experts,
    I need function modules or BAPI to get the open items and cleared items G/L Account wise.
    Useful replies will be surely awarded.

    Hi Chakradhar,
    Check tcode : BAPI
    u will get all bapis there.
    Regards,
    Hemant

Maybe you are looking for

  • Saving Projects and Organizing Files

    I am having trouble storing my Sites in folders and accessing them after I've done so. As described in the DW tutorial, I saved the test Site (Cafe Townsend), to a folder called Local_Sites. However, when I created a NEW Site and also tried to Save i

  • Opportunity

    Hello Expertu2019s In opportunity How will Maintain Expected sales Value, Expected Total value and Budget Prospect value  According to the pashas Status will change how it will happen Any one Please Explain to me  I will give you Full pointu2019s Tha

  • HT4236 i cant find the photo tab under the ipad at the left side

    hello i got dell vostro. i got back from a trip, whike i was at the trip i download pictures ti my ipad from the sd. i edit the pic in ulbums. now i want to move my albums to the pc. i read the support answer about it but i cant find  the photo tab o

  • Error in Unicode - Move statement

    Hi ,       I get the error message for the following code saying   "WA_EXT-VALUEPART1" and "WA_ITEMEXT" are not mutually convertible in a unicode program. how to correct this type of error. i cannt use move-corresponding i guess as there are no commo

  • Inception download error 3259

    Got a free digital copy of Inception, but keeps coming up with Network timed out Error 3259. I can download other movies no worries. Gav