on 12-26-2014 7:44 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Caetano,
Thank you fo the info.
As i have said already, the production order confirmation is posted in SAp through external system. The external system will send the following details.
Production Order Number & Yield quantity (Produced Quantity)
With the above information, i need to post the GR & GI separately in SAP for this production order (Note: Backflush is NOT set in my SAP system).
For this requirement, can you please explain how to use the above BAPI which you have mentioned?
I am not clear how to use the BAPI "BAPI_PRODORDCONF_GET_TT_PROP"? In this BAPI, where can i input the order number & yield quantity (these information is coming from external system)
Note: For your info. I am not using any activities & i do not have any routing. I have set default operation in OPJG for my plant & order type.
I understand that, i can use the below BAPIs, i am not having routing.
BAPI_PRODORDCONF_GET_HDR_PROP
BAPI_PRODORDCONF_CREATE_HDR
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 & second time for GR). Is this OK?
Thanks
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check the below one..
FM: MB_CREATE_GOODS_MOVEMENT
BAPI: BAPI_GOODSMVT_CREATE
Thanks
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.