Check for Production Order
Hi experts
i want to put a check while Production order creation such that without Standard cost estimate(costing),It should not allow to create Production order.
Regards
Sandeep Patil
hi
What venki has told abt the exit, its absolutely correct.Even i have used the same exit
From table CAUFV pick Material(PLNBEZ),Basic Start Date(GLTRP),Plant(WERKS) .
Pass parameter Material(PLNBEZ) and Plant(Werks) in table MBEW in respective fields i.e. Material(MATNR) and Plant(WERKS).
Pick the latest record for the current period(LFMON) and year(LFGJA).
Pick Product Cost Estimate number(KALN1) from the record and pass it to table KEKO.
Check if Production Order Basic Start Date(GLTRP)<= BIDAT, if NO post Error Message.
This is the FS for EXit PPco0007
Reward if useful
Amit
Similar Messages
-
Material availability check for production order
Hello,
Is there any functional module to check the material availability of production order. So that it can be used in developments.
Regards,
GaneshHi,
Following are the available Function Modules for avaibility checks in Production orders,
BAPI_PRODORD_CHECK_MAT_AVAIL - BAPI: Execute Material Availability Check for Production Orders
And for Process Orders,
BAPI_PROCORD_CHECK_MAT_AVAIL - BAPI: Execute Material Availability Check for Process Orders
Regards,
Dhaval -
Authorization check for production order settlement
Hi All,
Production order settlement currently can be done by any user of any company code. there is a high risk involved in the same since unauthorized postings may happen. Hence we need to add authorization check for production order settlement. Can we maintain the same at the plant or the company code level?
Waiting for your replies. Thanks in advance!
Regards,
Aman Goelhi
What venki has told abt the exit, its absolutely correct.Even i have used the same exit
From table CAUFV pick Material(PLNBEZ),Basic Start Date(GLTRP),Plant(WERKS) .
Pass parameter Material(PLNBEZ) and Plant(Werks) in table MBEW in respective fields i.e. Material(MATNR) and Plant(WERKS).
Pick the latest record for the current period(LFMON) and year(LFGJA).
Pick Product Cost Estimate number(KALN1) from the record and pass it to table KEKO.
Check if Production Order Basic Start Date(GLTRP)<= BIDAT, if NO post Error Message.
This is the FS for EXit PPco0007
Reward if useful
Amit -
Collective ATP check for production orders
Hi Gurus,
I tried the MDVP tcode, but I can only do the collective ATP check for planned orders. we wanted to do the collective check with production orders, can you tell me how I can do this?
Thanks.I've posted this question but didn't get any response. Can some one please give me an idea how to do the collective ATP check for production orders.
Thanks
Vijaya -
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 -
User Exit/BADI for Production Order Availability Check
Hi PP experts,
Is there any user exit or BADI which can be used for Production Order Availability Check during order creation/release or while running collective availability check (COMAC) to include additional check conditions such as do not commit quantity (commitment qty = 0) if storage location for a component is missing in the production order due to storage location is not maintained/specified for that component in the material master.
Note: In this case the availability check is set (configured) to check at the storage location level.Dear ,
Availablity Check is not Plant Specific or Storage Loaction spefic .ATP does not check the stock for any particualar stock in storage loaction rather it cheks various stocks based inward and out ward movement time through PR/PO/Dependent /Planned Order /Stock Type irrespective of any Storage Location .
BAPI which can be used :
1.BAPI_PRODORD_CHECK_MAT_AVAIL
can we exclude materials of prod order in availability check
what is availability check concept how it is used in SAP
Check the above if it is useful
Regards
JH -
Exclude stock reserved for production order from availability check
Hi Experts,
We have a problem in the availability check.
There is a material used as selling product and components in the same time.
When the material has been reserved completely for a production order, the new sales order still get confirmed despite there is no physical stock at all!
Please advise how to exclude the stock reserved for production order from the availability check in sales order? Many thanks!
Regards,
QiangGo to MM02 and check what availability check is maintained for that material. Next go to OVZ9, select that available check with the combination "A" and maintain "X" or "F" in the field "Incl.production orders".
thanks
G. Lakshmipathi -
Report to check open reservations for production orders where GI not posted
Hi experts,
Can we get reservation details from any report/ table for production order where material has not been issued, report should also display the value of the reserved material.
I could not find desired details in RESB (it has price but not value) and MB25.
Thanks in advance, useful ansers will be rewarded.
Thnx
AnandHello Anand,
there is no report but you may use the production order info system with list "components" and create a layout contaning the issued quantity and/or the final issue indicator. With a correct sorting, the list should show all orders with non-issued components at the top.
Regards, Andreas -
Error during goods receipt of Finished goods for production order
hi friends
pls help me iam struggle this issue and mentioned the issue .
when i do goods receipt for production order system getting error like
No price could be determined for material/batch FG/ plant ZTP
Message no. CK 465
Diagnosis
The system could not calculate a price for material/batch FG/ in plant
ZTP for valuation view 0, because none of the valuation strategies in
valuation variant 007 was successful.
System Response
User-defined error management enables you to specify whether the message
is an error message, a warning message or an information message.
o If you have defined the message as a warning message or an
information message, the costing item will be entered in the cost
estimate with a value of zero.
If you have defined the message as an error message, the cost
estimate contains an error or errors.
- In the case of a material cost estimate, the system sets the
status KF.
- If it is a cost estimate without quantity structure, or base
object cost estimate (that is, a unit cost estimate), the
system cannot proceed with costing until you have corrected the
errors.
If the system issues a termination message, the cost estimate cannot
be processed, and processing is terminated.
procedure
o Check the master data for material/batch FG/ in plant ZTP.
o If you have authorization for Customizing, check the valuation
strategy for materials in valuation variant 007.
Note
If the message is a warning message or an information message, there is
a danger that materials with errors will be ignored by the system.
If, because of this, you issue a warning message and at the same time
include materials with a zero value in cost estimates, you can make the
following settings for these materials in the costing view of the
material master:
1. Enter a very low price in the planned price 1, 2 or 3 fields
manually, for instance 0.01 USD. These prices are used for costing
purposes only; they are not read by other applications.
2. Enter the highest price unit possible, for example 10000.
Note: If you enter a new price unit that is higher than the costing
lot size, the system increases the costing lot size accordingly.
3. Change the valuation strategy, such as strategy 4, where you could
enter the planned price field in which you entered the low price.
The system now costs as follows:
Using the valuation strategy, the system finds planned price 1, 2 or
3. Due to the low price and high price unit, the system rounds the
value to zero. However, the cost estimate still obtains status KA
(free of errors), and no error message is issued.
This procedure can be used for all materials that have caused error
message CK465 to be issued.
with regards
dinesh
Edited by: code acess on Nov 8, 2010 4:06 AMhi ragavendra,
this is dinesh .i maintained the costing view and planned price. but again i have same error.so please reply me where i missed the data
with regards
dinesh
Edited by: code acess on Nov 9, 2010 4:01 AM -
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! -
Error in scheduling parameters for production orders
Hi Guys,
Greeting for the day u2026u2026u2026.
I am trying to create production orders creation for own order type ex MM01, but I am getting error message as u201C scheduling parameters are not defined for the order type u201C even though I have maintained following parameters as below,
Production scheduler -
xxxxx,
Detailed scheduling -
check box of scheduling ticked,
Rough cut scheduling --- scheduling id u201301, scheduling and generate capa requi,, boxes ticked,
Adjust scheduling -- requi to operation date,
Scheduling control for detailed scheduling ---backwards and check box of auto scheduling ticked
Operation segment ---setup,
All operation in order will be reduce
Do not reduce,
Could any one light on this issue,
Thanks in advance,
MohanHi,
This error will come if you have not maintained Define scheduling parameters for production orders.
Check this order type whether linked with respective plant in OPU3.*And give production scheduler * mark ie, all.*
And in Define production scheduling profile - OPKP, link your order type in the page below.
In material master work scheduling view, input production sch profile or prod scheduler.
Regards,
Dharma -
Error during Goods Receipt for Production Order
Hi All,
When using MIGO to post Goods Receipt for a Production Order, I got a customize message saying that the posting is only available between 2010.08.25 to 2010.08.27. I have checked in Business Add-in using SE19 but there are no implementation present. I know that in Logistic Verification MIRO there is a transaction OMRM to set messages. I would like to ask is there anything similar for MIGO.
Or is there any other place in Configuration which allows me to add these Customize message.
Thanks.
Edited by: jamison2004 jordan2004 on Jul 9, 2010 9:09 AMHello Jiaul,
Sorry I may have mislead you. The actual error message is "Goods Receipt for Production Order XXXX can only be made on 2010.08.25 to 2010.08.27". These two dates are the Start Date and FInish Date for the Production Order in CO03,
The Basic Start Date for the current Production Order is 2010.08.25
The Basic Finish Date for the current Production Order is 2010.08.27
I think what it means is that you can only Post Goods Receipt for the Production Order only after the Basic Start Date of the Production Order. Do you know where I can find the configuration for this message?
Thanks -
BAPI_GOODSMVT_CREATE for production order,not update database
hi guru,
i am using BAPI_GOODSMVT_CREATE for production order.When i m testing this BAPI
at se37 it creates one mat doc no and i m not getting any return messages.Now i m
writing code for it at se38. but it does not update the database even though i used
bapi_transaction_commit. here sy-subrc = 0.bt when i m checking MSEG table showing
that mat doc no does not exists.
please help me out asap.
thanks and regurds,
manasiCHECK THIS CODE
REPORT ZBAPI_GOODSMVT_CREATE.
*DECLARING INTERNAL TABLE TO HOLD FILE DATA.
DATA: BEGIN OF itab OCCURS 0,
text(200),
END OF itab.
*DECLARING INTERNAL TABLE TO PASS FILE DATA.
TYPES: BEGIN OF tw_goodsmvt,
pstng_date TYPE budat,
doc_date TYPE bldat,
material TYPE matnr,
plant TYPE werks_d,
stge_loc TYPE lgort_d,
move_type TYPE bwart,
* entry_qnt TYPE erfmg,
costcenter TYPE kostl,
END OF tw_goodsmvt,
tt_goodsmvt TYPE STANDARD TABLE OF tw_goodsmvt.
DATA: lt_goodsmvt TYPE tt_goodsmvt,
lw_goodsmvt TYPE tw_goodsmvt.
*declaring internal table of bapi structure.
DATA:s_goodsmvt_header LIKE bapi2017_gm_head_01,
lt_goodsmvt_item TYPE STANDARD TABLE OF bapi2017_gm_item_create WITH HEADER LINE,
lt_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
DATA:str_filename TYPE string,
gm_code TYPE gm_code,
v_head_count TYPE i VALUE 0,
v_prev_count TYPE i VALUE 1,
v_qnt TYPE string,
v_dummy.
*selection screen
SELECTION-SCREEN BEGIN OF BLOCK bk with frame title text_001.
PARAMETERS:p_docdat TYPE bldat,
p_pstdat TYPE budat,
fname LIKE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK bk.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR fname.
*to provide F4 functionality.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
IMPORTING
file_name = fname.
* start of selection
START-OF-SELECTION.
str_filename = fname.
gm_code = '06'.
* to upload data
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = str_filename
filetype = 'ASC'
has_field_separator = 'X'
read_by_line = 'X'
TABLES
data_tab = itab.
*SPLITING DATA TO INTERNAL TABLES.
LOOP AT itab.
IF itab+0(1) EQ 'H'.
v_head_count = v_head_count + 1.
IF v_head_count GT v_prev_count.
PERFORM bapi_upload.
ENDIF.
SPLIT itab-text AT ',' INTO v_dummy
lw_goodsmvt-pstng_date
lw_goodsmvt-doc_date.
s_goodsmvt_header-doc_date = lw_goodsmvt-doc_date.
s_goodsmvt_header-pstng_date = lw_goodsmvt-pstng_date.
v_prev_count = v_head_count.
ELSEIF itab+0(1) EQ 'L'.
SPLIT itab-text AT ',' INTO v_dummy
lw_goodsmvt-material
lw_goodsmvt-plant
lw_goodsmvt-stge_loc
lw_goodsmvt-move_type
v_qnt
lw_goodsmvt-costcenter.
* PASSING DATA TO INTERNAL TABLE TYPE BAPI STRUCTURE.
lt_goodsmvt_item-material = lw_goodsmvt-material.
lt_goodsmvt_item-plant = lw_goodsmvt-plant.
lt_goodsmvt_item-stge_loc = lw_goodsmvt-stge_loc.
lt_goodsmvt_item-move_type = lw_goodsmvt-move_type.
lt_goodsmvt_item-entry_qnt = v_qnt.
lt_goodsmvt_item-costcenter = lw_goodsmvt-costcenter.
APPEND lt_goodsmvt_item.
ENDIF.
v_prev_count = v_head_count.
ENDLOOP.
PERFORM bapi_upload.
*& Form bapi_upload
form bapi_upload .
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = s_goodsmvt_header
goodsmvt_code = gm_code
* TESTRUN = ' '
* IMPORTING
* GOODSMVT_HEADRET =
* MATERIALDOCUMENT =
* MATDOCUMENTYEAR =
tables
goodsmvt_item = lt_goodsmvt_item
* GOODSMVT_SERIALNUMBER =
return = lt_return.
PERFORM commit_work TABLES lt_return.
CLEAR : lw_goodsmvt, s_goodsmvt_header.
REFRESH: lt_goodsmvt[], lt_goodsmvt_item[].
endform. " bapi_upload
*& Form commit_work
* text
* -->P_LT_RETURN text
form commit_work tables p_lt_return structure bapiret2.
IF NOT lt_return[] IS INITIAL.
*error handling
loop at lt_return.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = lt_return-id
LANG = sy-langu
NO = lt_return-NUMBER
V1 = lt_return-message_v1
V2 = lt_return-message_v2
V3 = lt_return-message_v3
V4 = lt_return-message_v4
IMPORTING
MSG = lt_return-MESSAGE
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
WRITE: lt_return-id, lt_return-message, lt_return-message_v1, lt_return-message_v2,
lt_return-message_v3, lt_return-message_v4.
CLEAR lt_return.
ENDLOOP.
ELSE.
* commit work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
IMPORTING
RETURN = lt_return.
WRITE: lt_return-id, lt_return-message, lt_return-message_v1, lt_return-message_v2,
lt_return-message_v3, lt_return-message_v4.
CLEAR lt_return.
endif.
endform. " commit_work -
Automatic Batch determination at time of Goods receipt for production order
Hi SAP experts,
Greetings to you all. I wish to ask a query that how batch is determined automatically at the time of goods receipt for production order .
I have done the following settings:
1.Specified batch level at material level
2.External batch number assignment
3.Defined production order condition table '501' (plant/material)
4.Defined production order access sequence (order type-plant -material)
5.Defined Production Order Strategy type.
6.Defined Batch search procedure in Production Order.
7.Assigned Batch search procedure to Production order type for a particular plant , batch check not activated.
Please let me know of any more settings to be checked for the same.
For example, a production order is being confirmed for a quatity of 5 nos . at a time . However, the GI movement (261 movement type) for the production order components is taking place for 1 EA qty. from 5 different batches.
So now, how the system will define the GR (movement type 101) for the production order header material for the qty. 5 nos. EA ?
It is desired that the system should do GR for the qty. 1 EA of the header material for the 5 different batches (batches which were automatically deteremined for the Goods issue of the components).
Thanks in advance. good day.
Best regards,
RBHI Rahul,
As explained earlier, for e.g., if the GR is taking place for the production order for qty. 5 nos. , and in that , if the component qty. is 1 EA for 1EA of header material ; then , the GR for the header material should take place for the same different batches from which the order components were issued for the order and not for the other batches in stock for the header material as well as components.
I am not sure if i understand your requirement 100%.
But let me explain you standard behaviour.
When Confirmation for production order happens and GR is posted during confirmation , All the GR happens agaist same batch number which i sassigned in production order assignment screen.
So for all the order qty single batch would be fixed. Say batch A1 is created for Header material for 100 qty.
Now during components issue to production order, If 100 qty needs to be issued for compoenent B it is possible to use multiple batches of componenets ( using splilt batch functionality /or manual batch number entry agaist componenet in goods movement screen) but header batch remains the same.
Check and Revert,
Santosh Sarda -
Bins problem while creating goods receipt for production order.
Hi All,
I am facing a problem with selection of bins while creating goods receipt for production order in transaction MB31 and MBBE.
The order of filling bins is with respect to storage Unit not by document no, Please suggest something.
The scene is like that.
The bins are not filled in the proper sequence, the system checks for the empty bins and filled those later on.
like this,.
Typ StorageBin SC SS Stock Avail.st BUn GR Date DocumentNo Storage Unit Time
SLoc Batch Re IA PutawayS Pick qty Cert. No.
VN1 106A088 0 0 CS 01/25/2010 4739297 1005721391 10:00:59
100 0001020069 60 0
VN1 107B076 0 0 CS 01/25/2010 4739298 1005721392 10:01:01
100 0001020069 60 0
VN1 108B076 0 0 CS 01/25/2010 4739299 1005721393 10:01:04
100 0001020069 60 0
VN1 109A077 0 0 CS 01/25/2010 4739300 1005721394 10:01:06
100 0001020069 60 0
VN1 110B079 0 0 CS 01/25/2010 4739301 1005721395 10:01:08
100 0001020069 60 0
VN1 106B088 0 0 CS 01/25/2010 4739302 1005721403 10:01:11
100 0001020069 60 0
VN1 123B158 0 0 CS 01/25/2010 4739303 1005721389 10:01:13
100 0001020069 60 0
VN1 124A160 0 0 CS 01/25/2010 4739304 1005721390 10:01:15
100 0001020069 60 0
VN1 118A133 0 0 CS 01/25/2010 4739305 1005721396 10:01:17
100 0001020069 60 0
VN1 119A128 0 0 CS 01/25/2010 4739306 1005721397 10:01:20
100 0001020069 60 0
VN1 120B162 0 0 CS 01/25/2010 4739307 1005721398 10:01:22
100 0001020069 60 0
VN1 121B159 0 0 CS 01/25/2010 4739308 1005721399 10:01:24
100 0001020069 60 0
VN1 122B159 0 0 CS 01/25/2010 4739309 1005721400 10:01:26
100 0001020069 60 0
VN1 123B159 0 0 CS 01/25/2010 4739310 1005721401 10:01:29
100 0001020069 60 0
VN1 124B160 0 0 CS 01/25/2010 4739311 1005721402 10:01:31
100 0001020069 60 0
Thnks you,
Anmol.
Edited by: anmol112 on Jan 25, 2010 10:34 PMno replay, clossing threat.
Maybe you are looking for
-
Frequent Kernel Panics w/ core duo mac mini
I have been having kernel panics left and right. It's random... meaning it seems to happen whenever it wants to do anything er.. out of the ordinary. - It's crashed on me frequently when trying to view the dashboard - It's crashed on me frequently af
-
READ THIS If you're suffering freezing issues to your SL series ThinkPad
I've owned a ThinkPad SL510 since 2009, been rather happy until I installed the Windows 7 Professional upgrade disc onto it. After using Word 2007 on it for a while, it hanged completely. BIOS and swapping the RAM around fixed it temporarily but it c
-
MMO best practice. Download music and heavy files to users hard disk?
MMO best practice. Download music and heavy files to users hard disk? I have just downloaded a Hello Kitty MMO app for research (for my kid of course). I am developping my English teaching app with LOADS of classical music, mp3 sentences and heavy ba
-
Subcontracting in sales order costing
Dear Sapfans, We are having make to order with sales order process (sales order as cost object). We are having a scenario where we are sending the goods for an external processing (subcontracting) . After the MRP run, we are converting the purchase r
-
I just updated to Premiere Pro CC 2014 and it can't start up
I just updated to Premiere Pro CC 2014, and now I am seeing an error message saying it cannot find any capable play modules. I updated the driver for my graphics card (Firepro), and tried running as administrator with no change. I am running amd fire