Production Order Function Module details
Hi Team,
I am would like to get the following production order informations using function module. Which function module will provide the following information?
1. Production order status
2. Production order scheduled start date and scheduled end date
3. The operation at which the production order being currently processed (current operation of routing being processed)
4. All the dependent production order details for given finished goods production order
Your information will be very much appreciated
Thanks
Kumar
Edited by: psk.psg on Jul 13, 2011 10:12 AM
Hi,
I had the same problem this morning and I found out a FM you have to run to fix this problem.
FM: CO_IT_SET_FLG_ITAB_NEW
Rgds,
Parise
Similar Messages
-
Material Availablity check for production order - function module?
I have a production order with Material BOM, which has more than 30 components in it. Please suggest me if there is any function module to do the material availability check of a production order. I need the missing component list as output of that function module, with quantities if possible.
thanks,
SubbareddyYou might want to look at these FMs:
CO_ZA_AVAILABILITY_CHK_ORDER
ISA_AUC_MATERIAL_AVAILABILITY
Thanks,
Santosh -
Bom for production order - Function module
Hi
I'm looking for a function module or bapi which can provide me with the BOM for a specific production order.
The FM should also handle changes to the BOM and just show me the updated BOM on the production order.
KR
Jesper DueholmDear JDU,
You can use this FM BAPI_PRODORD_GET_DETAIL if you want to get the BOM components related to the production order or
use FM,CS_BOM_EXPL_MAT_V2 for getting BOM multi-level display.
There is no functional Module through which you can do BOM changes in the production order or in the BOM and it has to
reflect the changes in the order immediately.
Check these functional modules for BOM change,
S_BI_BOM_CHANGE_BATCH_INPUT Change bill of material via batch input
S_BI_CHG_CHANGE_BATCH_INPUT
S_CL_P_ITM_MASS_CHANGE
S_CL_S_ITM_CHANGE
S_CL_S_ITM_CHANGE_COMPLETE
S_CL_S_ITM_ODP_CHANGE
S_CL_S_SUI_CHANGE
S_CL_P_BOM_MASS_CHANGE
S_CL_S_BGR_CHANGE
Regards
Mangalraj.S -
Direct Delivery Sales Order - Function Module for Purchase Requisition
Hello Experts,
When we creat a Direct Delivery Sales Order at Production Plant then one Direct Delivery Purchase Requisition automatically gets generated at the Distribution Warehouse. If anyone knows the function module which actually generates this Direct Delivery PReq, then request him/her to please let us know.
Thanks and Regards
JosephHi,
Whatever Function Module's given are for or above 4.6C versions.
I want for 4.6B version.
At the same time, the returned tables should return more than 1 Pur.Req number as the FM's mentioned returns only 1.
Thanks,
Mich -
In-House Cash - Payment Order Function Modules
Dear all,
i want to develop a function module in abap that can be called from java ( via jco or webservice).
The function module ( can be more than one function module) has to simulate the behavior of the following transactions:
- tcode F9I4: Enter Intern. Posting
- program IHC_UTIL_COCKPIT
Does anyone know the standard function modules or bapi's that are used in those transactions to check postings, save postings, create payment order, ....
I found some BKK_* function modules, but they dont seem to be called when u do a check in the cockpit transaction for example.
any help is appreciated.
Kind regards,
J.
Message was edited by:
Joren CrauwelsThe PAYRQ tables are not being populated once the payment order has been created. This is a pre-requisite to running F111 for the final external payment. Any ideas on how the PAYRQ tables can be populated ? Standard FM are not doing the trick.
-
Production Order COst Itemization details : which table stores the data
Hi gurus ,
Please help in the followoing scenario
For any production order : GOTO > Costs>Itemization : it says Planned values are recalculated
At which table level we would retrieve the Itemization details for any production order(containing Material).
The requirement is to develope a report to display the Cost Itemization details for any production Order.
Any help is appreciative or helpful.
Thanks
KylietishaDear,
Check the table COAS and COEP or use BAPI_COSTESTIMATE_ITEMIZATION or K_ORDER_ITEMIZATION_GET
Please refer this link,
production order - table for cost itemization
Regards,
R.Brahmankar -
Sales Order function module to retrieve the item availability values
Hi,
Is there any function module to retrieve the item availability schedule line values.
Navigation:->
Go to sales order (Change Mode) -> Schedule lines tab -> In application toolbar you can find Item availability icon.
When this is pressed, next screen you can find the split up of schedule line values. I am developing an ALV report and is required to retrieve the Split up of the schedule line values.
Is there any function module to retrieve the same.
BR/ JoshHI,
I have found one function module ATP_EXPLANATION. I am not able to figure out the parameters that needs to be inputted to this function module. If anyone has used this before, could you kindly help me out.
This function module returns the Split up for Schedule lines in the tablea 'MDVEX'.
BR/ Josh -
Purchase order function module
the CHANGEDOCUMENT_READ_POSITIONS is capturing the changes in the line item level but if there is any change in the PO inforecord text level then it is not caputring .................
Please suggest what action need to be taken so that it caputres the info record text level change alsoHi,
function module "CHANGEDOCUMENT_READ" will give list of all change logs related to object key (for which the change logging is activated).
Regards
Vinod -
Tables for Production order BOM item Details
Dear all,
I am new to PP Module i want know table where we can find BOM quantites used against Production.
Also Please help me with table Structure of PP Module.
Regards,
Gaurav SoodHi can you please tell how link this table with AFPO table
STLTY STLTY CHAR 1 0 BOM category
STLNR STNUM CHAR 8 0 Bill of material
STLKN STLKN NUMC 8 0 BOM item node number
Regards,
Gaurav -
Check in Production order qty with ref to Planned order
Dear all,
Please suggest me, when i am creating a productin order with ref to planned order , so the order qty should not exceed the planned order qty.
How can i control this , please give ur valuable inputs on the same.
regards
Ravi AroraDear
If you are not particualr to conver the planned order to production order through CO40 , then you can control with the help of
Enhancement : PPCO0007 (Exit when saving production order)
Functional Module : EXIT_SAPLCOZV_001
Include : ZXCO1U06
Compare the Order header Qty with the sales order Qty If the production order header qty is more do not allow the system to save the production order..
Otherwise please check those out for your requirement :
Planned Ord. to Production Order User Exit (PPCO0005)
EXIT / BADI for Tcode CO40
Regards
JH -
Regarding Goods Reversal and Goods Issue process for Production orders
Hi,
I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>.
Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to
make the <b>Goods Reversal</b> happen.
The code for the above is as below:
i_mvtit-material = wa_mdfa-matnr.
i_mvtit-plant = i_resb-werks.
i_mvtit-spec_stock = 'Q'. "New
i_mvtit-stge_loc = 'ZWIP'.
i_mvtit-stge_type = i_resb-lgtyp. "New
i_mvtit-batch = i_resb-charg. "New
i_mvtit-orderid = i_resb-aufnr.
i_mvtit-spec_stock = i_resb-sobkz.
i_mvtit-entry_qnt = i_resb-enmng.
i_mvtit-entry_uom = i_resb-erfme.
i_mvtit-entry_uom_iso = i_resb-meins. "New
i_mvtit-wbs_elem = v_frwbs.
i_mvtit-move_type = '262'.
i_mvtit-xstob = 'X'.
i_mvtit-gr_rcpt = i_resb-aufnr. "New
i_mvtit-reserv_no = i_resb-rsnum.
i_mvtit-res_item = i_resb-rspos.
APPEND i_mvtit.
* HEADER ELEMENTS
k_gmvt_code-gm_code = '03'.
k_gmvt_head-pstng_date = sy-datum.
k_gmvt_head-doc_date = sy-datum.
* CREATE GOODS MOVEMENTS
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = k_gmvt_head
goodsmvt_code = k_gmvt_code
TABLES
goodsmvt_item = i_mvtit
return = i_return.
The Above code does the <b>Goods Reversal</b> but then i will update one Z Table with fields like
Production Order Number[AUFNR], Number of Reservation[RSNUM], Item Number of Reservation [RSPOS], Material Number [MATNR], Requirement Quantity [BDMNG], WBS element[PSPNR] etc. If Above BAPI runs sucessfully.
That is happening correctly.
But Then actual issue is i have do <b>Goods Issue</b> for those Z-Table records.
There i will give Production order Number's & Storage Location in Selection-Criteria.
Then i need to do <b>Goods Issue</b> for that order.
The code i had written as follows.
* POPULATE VALUES FOR BAPI CALL
i_mvtit-material = i_zpsi7603_01-matnr.
i_mvtit-plant = i_resb-werks.
i_mvtit-spec_stock = 'Q'. "New
i_mvtit-stge_loc = p_sloc.
i_mvtit-stge_type = i_resb-lgtyp. "New
i_mvtit-batch = i_resb-charg.
i_mvtit-orderid = i_resb-aufnr.
i_mvtit-spec_stock = i_resb-sobkz.
i_mvtit-entry_qnt = i_resb-enmng.
i_mvtit-entry_uom = i_resb-erfme.
i_mvtit-entry_uom_iso = i_resb-meins. "New
i_mvtit-wbs_elem = v_frwbs.
i_mvtit-move_type = c_261.
i_mvtit-mvt_ind = 'F'. "New
i_mvtit-xstob = c_x.
i_mvtit-gr_rcpt = i_resb-aufnr. "New
i_mvtit-reserv_no = i_resb-rsnum.
i_mvtit-res_item = i_resb-rspos.
APPEND i_mvtit.
* HEADER ELEMENTS
k_gmvt_code-gm_code = c_03.
k_gmvt_head-pstng_date = sy-datum.
k_gmvt_head-doc_date = sy-datum.
* CREATE GOODS MOVEMENTS
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = k_gmvt_head
goodsmvt_code = k_gmvt_code
TABLES
goodsmvt_item = i_mvtit
return = i_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_x.
READ TABLE i_return INDEX 1.
IF i_return-type EQ c_s.
DELETE FROM zpsi7603_01 WHERE aufnr = i_resb-aufnr AND
rsnum = i_resb-rsnum AND
rspos = i_resb-rspos.
ENDIF.
If i run above code for <b>Goods Issue</b> it is giving error can anybody tell me what changes i need to do to make it work.
The <b>Error Message</b> i am getting is as below:
<b>Qty and / or "delivery completed" ind. or final issue ind. are missing</b>
<b>Error Number for the above is : 264.</b>
Can anybody solve my issue.
Any help will be appreciated.
Thanks in advance.
Thanks & Regards,
Rayeez.Hi,
Thanks boss.
It is working now correctly.
The issue is the i_mvtit-XSTOB should be equal space in case of Goods issue while incase of Reversal it should be equal to X.
Thanks for ur efforts.
I had awarded you points.
Thanks a lot.
Thanks & Regards,
Rayeez. -
How to add the long text in Production order through FM
Hi,
Iam having custom program which has BAPI (BAPI_PRODORD_CREATE) inside it and this program is used to create Production orders with the details of Sales order Number,Line item,Plant,Order type,Quantity and Start date. This program is scheduled in Background.
Now client wants to add the Long text (seperate TAB in production order and they want to update the VC details of Sales order in the Long text area).
One option is after creation of Production order, through BDC(calling CO02 and update the long text) we can update the long text and client doesn't want this option.
Another option is after creation of Production order, using Function module SAVE_TEXT, Update the Long text in Production Order and this is not working in Production order (already my ABAP consultant checked it ).
If any one of you came across this requirement, pl share with me how you addressed it.
Regards
A.SureshbabuHi,
The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
Order No.
Line - 1
Line - 2
Line - 3
Line - 4
Line - 5
12345
txt - 1
txt - 2
txt - 3
txt - 4
txt - 5
67890
txt - a
txt - b
txt - c
txt - d
txt - e
Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
Regards,
Vivek -
Table for Settlement rule in production orders
Hi All,
Is there any table by which I can get list of production order numbers & the details of the settlement rule maintained in that order.?
Regards,
MHPThere will be object number (OBJNR) against each production order number which you can obtain from table AUFK.
Later pass this object number to function module K_SETTLEMENT_RULE_GET to get the settlement rules.
Also try function module K_SRULE_PRE_READ for reading the settlement rules. Here pass the object numbers to the tables parameters -
How to change status of operation (Production order)
Hi all,
I would like to know if there is a way to change the status of an operation for an operation order.
I found a BAPI for changing the status of the production, a function module to get the status of an operation but nothing standard for changing the status of an operation.
The solution is using a call transaction?
Thanks for your help!
DavidDear,
It is not clear what you want to do. Usually the operation system status is driven by the way you release the operation or at headre level. On the other hand you can influence the user status as per your logic. Please let us know you are looking for which status?
Raj -
Technically completed production order
Hi Friends,
I am facing one problem in production order. In CO01 i am creating production order and when i try to change the production order in CO02 it is giving error '"Change" is not allowed (ORD .........) . Some times this problem is coming and sometimes this problem is not coming. If i check in debugging i found that the problem is coming becuase of status TECHO, if that status is active then this error is coming. But i do not understand why this problem is coming only for some times. I am creating production order with same details but the problem is coming some times only. Any help will be highly appreciatedd.
Thanks a lot in advance.Hi,
This TECO status is set through CO02 transaction itself.
Goto CO02 if order is already teco, it will show u the msg.press ok button.
after that goto Functions->Restrict Processing->Revoke technical completion.
This way u can undo teco.
May be your user is setting this status as part of his regular exercise.
Regards,
Sunny
Maybe you are looking for
-
Ipod Classic 120gb inbuilt recording capabilities
I have had my Ipod classic 120gb for about 4 years. Although I am aware that it had the capcaity to record when used with an external mic, I found that I was actually able to use it to record without such equipment before. About a year ago, there was
-
Images in Finder vs Images in Iphoto
My computer is almost full and I have removed several thousand images from iPhoto to an external hard drive. However, my computer still shows that most of my space is taken up by image files. When I open Finder, the images section shows I have over 1
-
ICM Profile Parameter icm/host_name_full is disabled
Guys , Coming back to the problem , icm/host_name_full is disabled in SMICM . how to fix my prev problem
-
Ilustrator CS4+Snow Leopard Profile issues
Seems like something is not working in Cs4 Illustrator with Snow Leopard. Can someone give it a try to verify. When I print to my Epson 3800 from Illust. It's not matching the same image printed via PS Cs4. ( It should if you follow a controlled work
-
How to activate CS4 on new Mac which does not have CD/DVD drive?
One answer to this elsewhere in the foum was to copy the discs to a thumb drive, then copy them to the new computer, then use those to install CS4 (or any pre-Cloud version) on the new machine. This works for disc-1. But there's no way to "install" d