User Exit for CO01/CO02 : How to check production order before saving ?
Hi all,
I try to check production order before saving.
if AFPO-LGORT or RESB-LGORT or some other field is initial, throw an error msg and stop saving process.
I try using badi WORKORDER_UPDATE and user exit PPCO0001 EXIT_SAPLCOBT_001, find out that i can check the data but can't stop the saving process.
Anyone knows some other user exits can do this?
Thanks a lot.
Solved.
A wired solution from
http://abaplog.wordpress.com/2007/03/01/reading-other-programs-data-using-field-symbols-in-abap/
Similar Messages
-
User Exit for the Settle rule of a Production Order
Hello all
i got a requirement to change the settlement rule of a production order to multiple receivers.
suppose i have the following rule
Categeory | Settlement Reciever | Receiver Short text | % | Settlement Type | No | Source Assignment
MAT ZMDT89 ZMDT88 100 FUL 1 left as blank
now my requirement is that i have to default the source assignment as 200 (Materials) so as to allow the other reciever entered with the same settlement type as FUL and also the No should be 2
i.e. my req is like this
Categeory | Settlement Reciever | Receiver Short text | % | Settlement Type | No | Source Assignment
MAT ZMDT89 ZMDT88 100 FUL 1 200
G/L G/L A/C no G/L shor text 100 FUL 2 100
the bold one is i have to ADD
the T-Code is CO02.
your help is highly appreciated...
thanks in advancehi,
check these exits in co02.
Transaction Code - CO02 Change Production Order
Enhancement/ Business Add-in Description
Enhancement
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
PPCO0009 Enhancement in goods movements for prod. process order
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
reward points if hlpful. -
User exit for MD12 to do authority-check
Hi,
Is there any user exit to code the authority-check for the transaction MD12 inorder to restrict the users from editing/changing the production order plan screen(similar to CO02 screen)?
Regards,
P.S.ChitraHi,
For MD12 only 2 Exists are there.
LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg
LMDZU001 User exits in additional planning
U can check in SMOD transaction. -
User Exit for bypassing Dynamic Credit Control Check in Del Cre via VL01N
Hi All,
I have a scenario where I need to bypass a credit check for a particular condition in the sales document(i will be able to check this condition if i know the sales order no) before delivery creation via VL01N. I have searched through for user exits/BADi's but havent got any. If any one has any pointers for the same, it would be of great help.
Regards,
KarthikUser Exits For Credit Checks And Risk Management
Credit Check
If you want to carry out your own individual credit checks, that differ
from those in the standard system, you must define them in the following
user exits:
o LVKMPTZZ
o LVKMPFZ1: USER_CREDIT_CHECK1
o LVKMPFZ2: USER_CREDIT_CHECK2
o LVKMPFZ3: USER_CREDIT_CHECK3
User exit for availability check
User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
This user exit allows you to determine whether the system should or
should not carry out an availability check after a blocked document has
been released or after a new credit check.
Risk Management for Receivables
Regards
Prabhu -
User exit for MIGO - Change on Posting A/C Code Upon Saving.
Hi,
I have a requirement to to split the GR/IR clearing account during the posting of goods receipt in MIGO by filled in BSEG-HKONT with specify a/c code (hard coded).
I'm not able to find any user exit to change the value in BSEG-HKONT
while click on save.
Is there any suggestion on it?
Thanks.Hi ,
Try with the following User Exits for MIGO.
MB_CF001 Customer Function Exit in the Case of Updating a Mat. D
MBCF0002 Customer function exit: Segment text in material doc. i
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREA
MBCF0011 Read from RESB and RKPF for print list in MB26
Thanks,
SVREDDY -
User-exit to update material component in a production order with a batch
I am looking for a solution to update a production order material component with a batch number what is stored in the configuration of a sales order. The production order is defined for salesorder related production. How can I update the field RESBD-CHARG in the production order.
Tried already the exits PPCO0001, PPCO0008, PPCO0021. Also looked for a solutions with batch search stratgegies, but I have no idea kind of possiblities I have here. Other problem is that we are stil on release 4.7.
Hopefully some can help me with a solution.
Regards,
Peter GeurtsDear
You have to update the batch in a production order component via RFC Call of BAPI_ALM_ORDER_MAINTAIN.You should also pass operation number to T_COMPONENT and T_COMPONENT_UP
T_COMPONENT-ACTIVITY = Operation Number
You need to pass the following tables
IT_METHODS should have 2 values
Refnum - '000002'
Objecttype - 'COMPONENT'
Method - 'CHANGE'
Objectkey - 300054 (Prefix the zero's)
Append IT_METHODS
Method - 'SAVE'
Append IT_METHODS
T_COMPONENT should have the following values
RESERV_NO - Reservation number ( you can see in production order)
RES_ITEM - Reservation item ( you can see in production order)
BATCH - populate the required value
APPEND T_COMPONENT
T_COMPONENT_UP should have the following values
BATCH - 'X'
APPEND T_COMPONENT_UP
Or else look at BAPI 'BAPI_MATERIAL_GETBATCHES'. This might help you.....
CALL FUNCTION 'BAPI_MATERIAL_GETBATCHES'
EXPORTING
material = MATERIAL
BATCHNUMBER =
plant = PLANT
expirydatefrom = DATE
Hope this will be useful
Regards
JH
Edited by: Jiaul Haque on Sep 12, 2010 11:14 PM -
User Exit For Co01 Transaction
Hi Friends,
When I create a production order in co01 Transition. Header Storage location should be filled based on order type. Please share user exit do the change storage location.
Regards,
Jyo
Moderator Message: Duplicate Post. Thread Locked
Edited by: kishan P on Oct 18, 2010 3:37 PMHi
Go to transaction CMOd and create a project there and activate it
then find the user exits there for transaction CO01.
you will find it there.
Or go to SE84 and look for enhancement there.
thanks
Lalit Gupta -
Hi All,
Want to trigger my user exit whenever any production order is released. Here i need to check the available material quantity.My enhancement is PPCO0005 and
component EXIT_SAPLCOSD_001.Please suggest from which trasaction and where i should debug my prg.
Thanks in Advance
KavyaHi Ravi,
Have tried my exit in CO02 but its not triggering.Added the enhancement in the given project and activated also.
while pressing Release without triggering exit its giving status as "Released order".
Have to do any changes on CO02? Kindly suggest. Its urgent.
Thanks in Advance -
User Exit for eliminating double condition type in sales order
Sir,
In SE38, Program SAPMV45A, I am using user exit ( Userexit_pricing_prepare_tKomp ) to avoid double entry
of condition type like PR00 in sales order . But i am not getting how to write code.
Please, help me how to write code in user exit.
thanks,
Manoj.Thanks for replay.
Sir, I want to impliment it in sales order (VA01 OR VA02 )
for pricing . Here I want to avoide double condition types like PR00, packing forwarding, frieght ....etc
in sales order pricing.
Here i want to give logic that codition type is already exit and you canot enter same condition type
again. means if condition type is already exit then system should not allowed to enter again the same condition type
in sales order pricing.
Thanks
Manoj. -
User Exit for New Field Creation & Updation at Sales Order Level
Hi All,
I want to create one new field in Additional Data B Tab of Sales Order.
Also when the sales order is created with reference to a Contract, that Contract number to be updated in that field.
Which user exit need to be used for this field Creation & Updation at the time of order creation? Is it MV45AFZZ?
Pls suggest.
Rgds,
Senni.BHi
Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
Regards
Madhu -
User-exit for carry out new pricing while sales order save automatically
Hi all,
I need to carry out new pricing while sales order save automatically. Please any one help me to finding proper user-exit to achieve my requirement.
Thanking You.
Moderator message: please search for available information.
Edited by: Thomas Zloch on Jan 11, 2012 12:53 PMPl help.
-
Re:User exit for number range assignment assignment to purchase order type
Hi All,
Is there any user exit which assign the purchase order type to number range.
Please help.
Regards,
vivekHi
Implementing the User exit
MM06E003
Number range and document number
Goto Transaction CMOD , Create a Z - Project proceed as follows:
Choose Create.
Describe the nature of the project by providing a short descriptive text.
Choose Save.
The system then prompts you to assign a change request. This assignment allows you to transport the project and its components into a productive system once you have completed it.
Specify which SAP enhancement packages you want to include in your project by choosing SAP enhancements.
Enter the Enhancement MM06E003.
Click on Components
Docuble Click on the Exit & it will Take you to the Function module . Write your ABAP code in the Include ZXM06U17
Activate the Z - Project
Thanks & Regards
Kishore -
User exit for pop-up box in creating sales order
how to display a pop-up window while entering a particular material in the creation of the sales order
You can use userexit 'USEREXIT_MOVE_FIELD_TO_VBAP' in include MV45AFZZ. This is executed every time a user changes anything on a material (e.g. put in a material number) and hits return. Just raise your pop-up window there if the user puts in the particular material you are talking about. The material number is available in xvbap-matnr.
Hope that helps,
Michael -
User exit for changing operation scap in PP order
Hi,
I want to know user exits for changing operation scrap in PP production order. Please help
Regards
ShaliniI could found only one at the moment...
QEVA0002 - Calculation of share of scrap in inspection lot
check if it is helpful.....else u can go on
CMOD - Utilities - SAP Enhancements - (Remove Maximum No of fields) - Execute (F8)
You will get all user exits.
Now i need points.... :)...My score is not gettin increased... lolz
kapil -
User exit for item level plant checking for va01
Hi ,
I have got many user exits for va01 .I have to check the plant at item level in va01 . Kindly give name of user exit for this task as im not able to find the right one.
Thanks .Hi,
Please check through path
S&D>>>System modification>>>Userexits.
here you will find various user exits available for SD module.
Regards
kapil
Maybe you are looking for
-
On Mac. Colours changed after switching to 64bit mode (ver 2.7)
Been using Lightroom 2.7 on my iMac quite happily and after reading a few articles realised it wasn't running in 64bit so changed it. Now colours are all out, most noticeable on reds: Before change After Change Any ideas why this is happening? Tried
-
How to add one second to a date time stamp
What is the proper syntax to add one second to a date/timestamp?
-
How to generate Incident Report with incident description field? in SCSM 2012 sp1
Can incident description field be displayed in reports? in SCSM 2012 SP1 Regards Shujjat Metalsoft
-
Print Queue "Stopped" after restarting...
I'm having problems with a Print Queue that keeps reverting to "stopped". I'll restart it using either Printer set-up utility or Server Admin but when a job goes through it just stops again. The printer is set up to print using IPP and is set to enfo
-
Where is the page forward/page back drop down arrow? Went missing in 4.0
Prior to upgrading to 4.0 there was an arrow to the right of the page forward/back icon that opened a drop down of the last 20 or so pages. It is no longer there. I have tried "restore default set" with no luck.