Skip to Content
avatar image
Former Member

GR & GI for production Order

Hi Team,

I am posting production order confirmation in SAP through interface. The confirmation details will sent from external system to SAP through interface. When this interface is triggered in SAP, the goods receipt for production order header & goods issue for production order components to be posted separately in SAP (No Back flush is setup in my system). Do we have any BAPI / FM for  GR & GI posting in SAP?

Your guidance is very much appreciated.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 26, 2014 at 08:52 AM

    Hi,

    check the below one..

    FM: MB_CREATE_GOODS_MOVEMENT

    BAPI: BAPI_GOODSMVT_CREATE


    Thanks

    Kumar

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2014 at 10:26 AM

    Selva,

    Try with below enhancements.

    BAPI BAPI_GOODSMVT_CREATE  Business Application Programming for Goods movement

    BADI WORKORDER_GOODSMVT  Business Add-In PM/PP/PS/PI Orders: Automatic Goods Movement.

    BR
    KK

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2014 at 10:33 AM

    Hi,

    The Below list contains the BAPI for Production order and its Confirmation scenarios, It would be useful to solve your query.

    Production order:

    BAPI_PRODORD_WM_MAT_STAGING                                               WM Material Staging

    BAPI_PRODORD_SETUSERSTATUS                                                 Set User Status

    BAPI_PRODORD_SET_DEL_INDICATOR                                          Set Deletion Indicator

    BAPI_PRODORD_SET_DELETION_FLAG                                         Set Deletion Indicator

    BAPI_PRODORD_SCHEDULE                                                            Carry Out Scheduling

    BAPI_PRODORD_REVOKEUSERSTATUS                                        Cancel User Status

    BAPI_PRODORD_RELEASE                                                               Release

    BAPI_PRODORD_GET_LIST                                                               List of Order Headers

    BAPI_PRODORD_GET_DETAIL                                                          Order Detail Data

    BAPI_PRODORD_EXIST_CHECK                                                       Existence Check

    BAPI_PRODORD_CREATE_FROM_REF                                           Create with Template

    BAPI_PRODORD_CREATE_FROM_PLORD                                     Create with Planned Order

    BAPI_PRODORD_CREATE_CAP_REQ                                             Generate Capacity Requirement

    BAPI_PRODORD_CREATE                                                                 Create Production Order

    BAPI_PRODORD_COSTING                                                               Create Cost Estimate

    BAPI_PRODORD_COMPLETE_TECH                                               Complete Technically

    BAPI_PRODORD_CLOSE                                                                  Close Order

    BAPI_PRODORD_CHECK_MAT_AVAIL                                              Check Material Availability

    BAPI_PRODORD_CHANGE                                                                Change Production Order

    Production order confirmation:

    BAPI_PRODORDCONF_GET_TT_PROP                                          Propose data for time ticket confirmation

    BAPI_PRODORDCONF_GET_TE_PROP                                          Propose data for time event confirmation

    BAPI_PRODORDCONF_GETLIST                                                      Confirmation lists

    BAPI_PRODORDCONF_GETDETAIL                                                 Detailed data for production order confirmation

    BAPI_PRODORDCONF_GET_HDR_PROP                                       Propose data for order confirmation

    BAPI_PRODORDCONF_EXIST_CHK                                                 Check existence of object

    BAPI_PRODORDCONF_CREATE_TT                                                Enter time ticket confirmation

    BAPI_PRODORDCONF_CREATE_TE                                                Enter time ticket confirmation

    BAPI_PRODORDCONF_PDC_UPLOAD_TT                                      Transfer time ticket confirmations from PDC system

    BAPI_PRODORDCONF_PDC_UPLOAD_TE                                     Transfer time ticket confirmations from PDC system

    BAPI_PRODORDCONF_CREATE_HDR                                            Enter order confirmations

    BAPI_PRODORDCONF_CREATE_ACT                                             Enter activity confirmation

    BAPI_PRODORDCONF_CANCEL                                                      Cancel production order confirmation

    Regards,

    Vibin

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 27, 2014 at 05:01 PM

    Hi Selva

    The best approach is to use BAPI BAPI_PRODORDCONF_GET_TT_PROP to read the proposed goods movements from the order. Then, you can use this information to post the goods movements during the confirmation using BAPI_PRODORDCONF_CREATE_TT.

    BR
    Caetano

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Caetano Almeida

      Hi Caetano,

      Thank you for the info.

      Shall i use the BAPI "BAPI_PRODORDCONF_GET_HDR_PROP" instead of BAPI_PRODORDCONF_GET_TT_PROP



      Since my requirement is, to post the GR & GI separately (different material document number for GR & GI), i need to call the BAPI "BAPI_PRODORDCONF_CREATE_HDR" two times (first time for GI postings & second time for GR postings). Is this OK?


      Thanks