Its urgent.!!!!!!BAPI for Production Order
HIi All ,
i need to fecth Storage Bin/Material/Quantyti/Descrition .
All values can be obtained from the production order record using the BAPI.
which BAPI is there for this req?
some of the function modules are
<b>BAPI_PRODORD_CHANGE
BAPI_PRODORD_CHECK_MAT_AVAIL
BAPI_PRODORD_CLOSE
BAPI_PRODORD_GET_DETAIL
BAPI_PRODORD_GET_LIST
BAPI_PRODORD_RELEASE etc</b> better you put BAPI_PRODORD_* in Function module field and press F4 and get more BAPI fuction modules according to your production order scenario.....
reward points if helpful...
thanks,
velu....
Similar Messages
-
IDOC/BAPI for Production order creation from Legacy system
Hi all
We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
thanks a bunchHi John,
For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
If there is an inbound IDoc available, I would recommend to use an IDoc.
IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
BAPI is also good approach to use and fast in term of processing.
For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
Hope this will help.
Regards,
Ferry Lianto -
BAPI for Production order creation against wbs element
dear all,
I am using BAPI (BAPI_PRODORD_CREATE) for Production order creation against wbs element.I am putting following input paramters in this
material no,
order type
plant
qty
basic start dt & end dt
wbs
But during GRN it is not taking the account assignment as project stock i.e. its picking movement type 101 but it should be 101Q.
For this what changes are required.
regards
ravi aroraHi,
2 options i can think of:
1. Create a BDC program by recording co10
2. Create a planned order with order type PR using BAPI_PLANNEDORDER_CREATE, specify the WBS element & other details. Now use BAPI_PRODORD_CREATE_FROM_PLORD to create a production order with reference to the planned order created earlier.
I believe option 2 should meet your need. Check & revert.
Regards,
Vivek -
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
UdayHi 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 -
IDOC/BAPI for production order confirmations
Does anyone know IDOC or a BAPI for confirming a production order? CO11 is the normal transaction for confirmation.
I found one BAPI: BAPI_PRODORDCONF_CREATE_HDR
Is this the right one?
-Thanks
BhavenHi Bhavan,
status can be find using function module <b>STATUS_TEXT_EDIT</b>.
Sample code:
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
client = sy-mandt
objnr = >object number of order<
only_active = 'X'
spras = 'E'
IMPORTING
line = hold_status
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
*Exception in case status is not found
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*Check Status of the Order
IF hold_status CS 'CNF'.
confined production orders.
ENDIF.
Best regards
Suresh Babu Karanam -
Need FM/BAPI for production order
Hi all
Let me know FM / BAPI for get component overview based on production order?hi
check this
BAPI_ALM_ORDER_GET_DETAIL
or check from SPRO>Production>Shop Floor Control-->System Modifications->Enhancement in the Adding and Changing of Components
-ashok -
FM or Bapi for production order creation?
hi Friends,
Any FM or bapi is exist to create Production Order
regards,
MaheshHi All
BAPI_PRODORD_CREATE does not contain all the parameters which are required to create a Production order.
It doesn't has some parameters like Size1,Size2,Size3,Unit, Formula,Length,Colour etc.
Pls suggest how to overcome this problem.
Kindly, let me know if the same BAPI can be used to create collective orders also or not? -
FM or BAPI for production order component split batch
Hi,
I'm trying to split a production order component quantity into batchs with FM or BAPI.
Using BAPI_ALM_ORDER_MAINTAIN i can create or modify components but i can't set field split batch flag SPLKZ and reference SPLVR.
Can you help me?In standard product order process in CO02 when i split material with standard function I obtain several lines. These new lines refer to the originale one by fields SPLVR and SPLKZ.
Eg. In operation 0010 i've 10 PC of MATERIAL1
Item
Material
Qty
Batch
Batch Key (SPLKZ)
Itm no stock (SPLVR)
0010
MATERIAL1
10 PC
In CO02 i take MATERIAL1 from BATCH1 and BATCH2 the final result is
Item
Material
Qty
Batch
Batch Key (SPLKZ)
Itm no stock (SPLVR)
0010
MATERIAL1
1
1
0010
MATERIAL1
7 PC
BATCH1
2
1
0010
MATERIAL1
3 PC
BATCH2
2
1
So I'm trying to reproduce this standard behavior with BAPI or FM.
Thaks -
Function module for Production order update (Table AFKO)
Hello All,
I know similar subject has been posted but please read the following.
SAP 4.6c doesn't provide BAPI for production order update.
We did develop an ABAP program that update production order and schedule it in a job.
We are looking of avoiding direct update in table AFKO which our program do right now.
We looked (with SE37) at either BAPI or FM to pass parameters to a functioin that would perform that update and ensure data integrity.
CO_ZV_ORDER_POST seems interesting but is also using a lot of parameters and we have diffiulties to test it and understand it our dev team being fairly new.
Can somebody tell us how to use this function or tell us another FM that could be used. (ie passing internal table content (New fields values) and a key value (AUFNR)) to update table AFKO and related objects/tables
Regards
Marchi,
TABLE IS AFKO
rgds
anver
if hlped mark points -
Error while doing Good Issue for Production Order using BAPI
Hi All,
I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
*Action in Transaction (GM_CODE)
*GM Code for Goods Issue for Production Order is 03
gs_gmcode-gm_code = '03'.
*Header Data
*Posting date
gs_header-pstng_date = sy-datum.
*Document date
gs_header-doc_date = sy-datum.
*Item Data
*Material
gs_item-material = zptp_s_rf_migo_261-matnr1.
*Movement Type
gs_item-move_type = '261'.
*Movement Indicator
gs_item-mvt_ind = 'F'.
*Stock Type
gs_item-stck_type = 'F'.
*Plant
gs_item-plant = gv_plant.
*Storage Location
gs_item-stge_loc = gv_str_loc.
*Quantity
gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
*Unit
gs_item-entry_uom = gv_uom.
*ISO code for unit of measurement
gs_item-entry_uom_iso = gv_uom.
*Order Number
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = zptp_s_rf_migo_261-aufnr
IMPORTING
output = gs_item-orderid.
*Reservation Number
gs_item-reserv_no = gv_resv_num.
*Reservation Item
gs_item-res_item = gv_resv_itm.
*Reservation Type
gs_item-res_type = gv_resv_type.
APPEND gs_item TO gt_item.
Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gs_header
goodsmvt_code = gs_gmcode
IMPORTING
goodsmvt_headret = gs_headret
TABLES
goodsmvt_item = gt_item
goodsmvt_serialnumber = gt_serial
return = gt_return.
Thanks in Advance.hi,
did you look at message ?
System says, there are differences between the interface data and the order data. It can be anything. I think you should check
data in the interface .
this is the long explanation of your message :
Diagnosis
When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
The system checks this for the material and the order item.
System response
Due to this difference, the system cannot post the goods receipt.
Procedure
Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
<< Moderator message - Point begging removed >>
Edited by: Rob Burbank on Feb 6, 2012 11:24 AM -
Business Object (BAPI/IDOC) for production Order
Hi All
I have requirement where data is coming from legacy system to R/3 via XI to generate a production order. I am not able to get right BAPI/ IDOC for inbound Production Order. Can anyone has done similar scenario. Can u suggest me BAPI or IDOC for same. I am using IS-Mills 4.7 version for R/3
Thanx in advance
Regards
VinodHI Vinod,
I think U can use IDOC <b>LOIPRO01</b> for Production Order...
Regards,
Sridhar Reddy -
Dear Guru's,
we have a requirement i.e. user can convert planned orders in to production orders (CO41) based on those production orders we can get Route card( Z Smart form) presently we are using manual input for that Route card. recently we got requirement for this i.e. make to automatic generation of route card for this requirement we need to get the list of child's production orders based on parent production order
so as per my requirement i need to get all child part numbers production orders based on parent production order number and quantity i tried in MD4C and CO46 but those transactions codes are picking multiple lines also so for this requirement please give your valuable suggestions
Regards,
VenkatDear Friends,
Thanks for your reply,
My business process is MTS purely strategy 10, for route card all components with production orders we can give input as like bellow these production orders are converted from planned orders,between few components are don't have production orders those are F-30 materials,because of this reason i need link for production order to child components orders
01
IND1
IND1
A1CE2003520103-005
55685815
02
IND1
IND1
A1CE2003520103-010
55685814
03
IND1
IND1
A1CE2003520103-015
55685813
04
IND1
IND1
A1CE2003520103-020
55685812
05
IND1
IND1
A1CE2003520103-025
55685811
06
IND1
IND1
A1CE2003520103-030
07
IND1
IND1
A1CE2003520103-035
55685810 -
RFC/BAPI For Sales Order Credit Block Release like vkm3 (very urgent )!!
hi experts,
I need the RFC/BAPI For Sales Order Credit Block Release like vkm3 function ,please help
thanks
Godspeedhi
can get the list of all the bapis..
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Reward if USeful
Thanx & regards.
Naren.. -
Inbound idoc for production order
Hi.
I am having a requirement in Interface to create a production order in SAP .
My production order have multiple items.
Can you suggest me IDOC or BAPI or FM which i can used to create production order with multiple items...??
I tried with BAPI_PRODODER_CREATE but it used only for header data not for item one.
The Idoc LOIPRO is used i guess for outbound purpose i didn't found ne process code attatch with this so i guess we can't used for inbound.
Please respond me its urgent for me.
I will reward for helpful ans.
Thanks
DeeptiHi,
I dont know about which basic idoc is being used for production order.
But if you know any F.M or Message type or Basic type, then from WE57 you can find the corresponding process code.
Goto WE57 and make use position button and u will get one popup screen and then press F4 on any field then it will open the other screen in that screen make search for process code by giving the input values in Ctr+F search.
Reward with points if helpful.
Regards,
Vijay -
How can I add a new line item for production order?
HI all,
How can I add a new line item for production order through BAPI/FM? Thanks in advance.Hi Mil,
Unfortunetly SAP is not in front of me.
But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
Reward if useful!
Maybe you are looking for
-
Calling a non-static method from another Class
Hello forum experts: Please excuse me for my poor Java vocabulary. I am a newbie and requesting for help. So please bear with me! I am listing below the program flow to enable the experts understand the problem and guide me towards a solution. 1. Cla
-
Adobe acrobat pro xi won't open
I purchased acrobat pro xi several weeks ago and now today i cannot open any adobe file. I get a window asking for permission for adobe to change settings on this computers. I click yes and then nothing. No selected pdf will open.
-
Using STORED PROCEDURE IN ORACLE FOR LOGIN AND UPDATES
HI, I am trying to use oracle stored procedure to use it for LOGIN[AUTHENTICATION] purpose and also to update table values in the database. anyone has and idea as to how i can accomplish this . Please send in your replies. Thank you.
-
Searched nx8600gt td512ez - didn't find anything relavent -- tv out is black an
Hi TV out using the supplied cable to a nx8600gt td512ez, has 3 composite HD connectors and a s-vid connector.. using this I have a s-vid to standard composite (RCA Jack) ....... I am using the most recent drivers indicated for this device on the we
-
Please help. Setting up a Library on external HD and reconfigure Apple TV
Please help. I have a macbook air and recently purchased the apple tv. I am looking for help on 2 things. 1- how do I create a new iTunes library on my external HD so that the movies I have purchased from iTunes can be stored there instead of on the