Skip to Content
avatar image
Former Member

BAPI_PRODORDCONF_CREATE_TT


 

Hi,

I am using BAPI- BAPI_PRODORDCONF_CREATE_TT, for confirmation and goods movement.


I am passing parameters in that BAPI and I'm successfully getting order confirmed as well as goods movement.


Problem is,only Header material (For ex: 12001) with movement type 101 is getting posted where as all the down level components with movement type 261 are not getting posted and all are hitting COGI. This COGI error is not able to solve from 2 months.


Where as, I’m confirming through normal transaction CO11N and make a Goods Movement, all the components Header level to down level components are getting posted.


PP experts please help me in this regard.


Regards

Sharath Kumar S P

Message was edited by: Sharath Kumar S P

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 29, 2012 at 06:58 AM

    Hi Sharath

    Do not Use MVT_IND = F, for items which are being Issued. This indicator is used if we are receiving Goods from Order i.e. for header items and co products only. Items which are issued can be posted directly to order, if these are components of order the reservation number can be give(recommended).

    Regards

    Prince

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I'm actually using BAPI_GOODSMVT_CREATE to make the goods movements against my production order in 2 completely different steps. I could make it work fine for issuing materials against the production order with GM Code = '03' and Movement Type = '261', but not for posting the GR with GM Code = '02' and Movement Type = '101'.

      I now know that you also have to set the Goods Movement Indicator = 'F' for the goods receipt.

      Many thanks to Prince and Sharath!!

      Regards,

      Tim.

  • Sep 26, 2012 at 08:30 AM

    Dear,

    Please first go through OSS note 208477 you can restrict the COGI when confirmation done withBAPI confirmation parameter of OPK4 for incorrect good movements will not be considered.

    To prevent this records you should us report CORUPROC as scheduled job

    Also refer this link,

    http://scn.sap.com/thread/1193515


    Regards,

    R.Brahmankar

    Add comment
    10|10000 characters needed characters exceeded

    • There can be many causes for that error.

      In the table GOODSMOVEMENTS, make sure you're passing MVT_IND = F

      ValueDescription          Goods movement w/o referenceBGoods movement for purchase orderFGoods movement for production orderLGoods movement for delivery noteKGoods movement for kanban requirement (WM - internal only)OSubsequent adjustment of "material-provided" consumptionWSubsequent adjustment of proportion/product unit material

      Also check:

      ORDERID

      ORDER_ITNO

      RESERV_NO

      RES_ITEM

      RES_TYPE

      MVT_IND


  • Sep 26, 2012 at 08:34 AM

    Dear Sharath,

    1.If in T.Code OPK4,for the order type and plant combination,if the check box for all components

    under Generally Valid Settings tab page is included means,then in CO11N,once after entering the

    order no and operation details,if the goods movement key is hit and then if the data is saved

    means,the system will perform 261 movement automatically even if the backflush indicator is not

    either at the component's material master level or else in the work center or in the routing or else in

    the production order.

    2.If the backflush indicator is set means,then during order/operation confirmation the system will post

    the 261 movement automatically or the non-manual posting of GI is carried out for 261 movement for

    the order components.

    3.Check the reason of the error that is available in COGI.In my understanding this functional Module

    works in the same way like CO11N and if it's working fine for CO11N,then it has to behave so in the

    BAPI. Check for the exact error of goods movements.

    Regards

    Mangalraj.S

    Add comment
    10|10000 characters needed characters exceeded

    • Dear,

      Do you have the components batch managed  then you have to pass the batch number and storage location too.  Please note goods receipts 101 and goods issues 261 must be transferred in separate packages

      See SAP Note 540392 question 10

      Also for technical reasons, goods receipts and goods issues must be transferred in separate packages of inventory management - this  leads to the different material documents.                         

      Please try the same and come back.

      Regards,

      R.Brahmankar

  • avatar image
    Former Member
    Sep 27, 2012 at 12:47 PM

    Hi,

    For BAPI_PRODORD_CONF_TT, Goods Movement are linked to a confirmation via LinkConfGoodsmov table. Check the details of BAPI2017_GM_ITEM_CREATE & BAPI_LINK_CONF_GOODSMOV which are linked associated with BAPI_PRODORD_CONF_TT

    Regards,

    Bhaskar

    Add comment
    10|10000 characters needed characters exceeded

    • Dear Mukesh,

      Actually, I have the situation which is described for you.  I'm using BAPI_PROCORDCONF_CREATE_TT to post goodsmovements but the "completed" indicator that appears when I checked the confirmation (and GMs post) in CORT (detail view) is not set.  But if I check the order using COR3 (Display Process Order) the "Final Issue" indicator is set.  In the same way, the indicator is visible in the reservation.

      There are a SAP note or official documentation about this?  I need supported it to the production users.

      Thanks in advance,

      Jose


  • avatar image
    Former Member
    May 08, 2014 at 08:33 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded