User exit when save production order
Hello,
I have to fill the OVERHEAD KEY field value in production order header at runtime based on some calculation. So I need a user exit which can be used to save the value of overhead key.
I already tried the exits PPCO0001, PPCO0007, PPCO0006, PPCO0012, and PPCO0018 but these all are not working for me as I am trying to insert or change the value of Overhead key(ZSCHL) but at the last value is not changing at all .
Please suggest me if you have any solution.
Thank you in advance!!!
Rock,
My question was:
I need a user exit, using which I can change the value of overhead key at runtime.
suppose I am creating a production order with a sales order (CO08), and overhead key value is NULL currently.....but at the time when I save that production order based on sales order type I have to enter the value of overhead key.....for that I need a user exit where I can change the value of overhead key
at runtime.
I already tried the exits PPCO0001, PPCO0007, PPCO0006, PPCO0012, and PPCO0018 but these all are not working for me as I am trying to insert or change the value of Overhead key(ZSCHL) but at the last value is not changing at all .
Please suggest me if you have any solution.
Thank you in advance!!!
Rock,
Similar Messages
-
User Exit to Create Production Order when creating of Purchase Order
Hi Guru's,
I want to create the Production Order when creating the Purchase Order. i want to know is there any user exit exists for that??
My scenario is as follows.
we are converting the Purchase Requisition to the Purchase Order , while doing this we want to create the Production Order.. Is this possible??
If possible how can we do that???Please suggest me the possible solution.
Thanks in advance.
Thank you,
Adi.Teja,
My Scenario is as follows.
P1- Manufacturing Plant
P2 - WareHouse Plant (Procures Material from P1 using STO)
When we run the MRP in P2, it creates a Purchase Requisition, that Purc.Req is going to be convert as STO (Stock Transport Order) in P1 Plant.
When converting the Purchase Req to STO, we need to create a Production Order in P1 Plant.
we know that system will creae the Purchase Order only, is there any possibility that,For creating the Production Order is there any user Exit/BADI or any other procedure while creating the Purchase Order????
Thanks,
Adi. -
Applying user exit PPCO0007 Exit when saving production order
Hi,
I need the Production Order no. generated when above exit is called. Please suggest.Hi,
Try with the Method: IN_UPDATE
This is the documentation:
IO IF_EX_WORKORDER_UPDATE IN_UPDATE
Short Text
Save Order Time: Update
Functionality
This method is executed during the update after the order is saved.
Parameters
All tables relevant to orders of all the orders processed within this
transaction (also cross order type) are transferred. A table containing all
changed records is transferred for each order object and a table *_old that
contains the original state of the changed records when the transaction was
started.
To differentiate between different order categories, evaluate the "AUTYP"
field in the order headers.
To determine which actions were carried out on the individual objects of an
order, you can evaluate the update indicator in the individual tables. In the
different tables, the update indicator is called "VBKZ" (exceptions:
IT_PMPARTNER-UPDKZ, IT_PRT_ALLOCATION-MODKZ, IT_MILESTONE-VBKZ_MLST or
IT_MILESTONE-VBKZ_MLTX) and can contain the following entries:
"I": Insert
The data record is written to the database again. No *_old
entry exists
"U": Update
The data record already exists in the database and has been
changed in the transaction. An *_old entry exists.
"D": Delete
The data record already exists in the database and is to be
deleted. An *_old entry exists
The data record exists in the database. No changes have been made in
the transaction. An *_old entry exists.
Notes
Note that the method is carried out in the update process. In particular, no
dialog is possible, no messages may be sent and no database commit may be
executed because otherwise an orderly rollback is no longer possible.
Kind Regards,
Mariano -
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 -
User Exit when save Purchase Requisition (ME51N and ME52N)
Hy Everyboby,
I want to know an enhancement point/user exit activated when saving a Purchase requisition to control all item amount for a budget check.
So anyone can help me ?
Thanks in advance.Hi All,
i am working on an enhancement where in i need to enhance the transactions ME41,42 , ME51n, 52n and ME21n and ME22n.
the requirement is whenever a PR is created/modified (ME51/52) and a business document is attached to it, then the same business document should be available in the RFQ created for this PR as an attachment. and the same flow should happen while creating the PO using the RFQ. I am unable to find a correct user exit for this requirement. kindlyreply me if you have any solutions for it.
your help is very much appreciated.
thanks,
Mohan -
Exit at the Production order release
Hi every one,
Can you please help me in finding the user exit for either CO01 or CO02 when a Production Order is released.
I.e, when a production order is changed or created and once it is released, i want the exit at that point. i want to trigger some code once the order is released.
Thanks
RichHi,
ppco0007- Exit when saving production order
ppco0012 - Prod order display/change order header data
ppco0005 - Storage location/backflushing when order is created
In transaction smod, in enhancement field type a name & then press f4. In the pop up screen enter the package as co,keep the exit name field as "blank" & press enter.All the relevant exits will be displayed.
Regards,
Senthilkumar -
How to find the ME29N 'USER EXIT' when our save the release PO after.
How to find the ME29N 'USER EXIT' when our save the release PO after.
which user exit will be used?
thanks.
alex.Hi,
process :
go to tranx code : ME29N ,
System---->Status , here copy the program name (SAPLMEGUI),
go to abap editor and specify the program name SAPLMEGUI and find the package "ME".
tranx code : CMOD , Utilites--->Sap Enanchement,
specify the package name : ME
and execute, displays a list of exits ,
and find out our suitable exit based on requirement.
check these : EXIT_SAPMM06E_021
reg
Siva -
User Exit Problem in Sales Order
Hello All,
This problem is related to Sales Order.I want the system to forcibly consider another line item and calculate its pricing while saving the sales order at the last moment.
For Example in the sales order I am giving 1st Line Item Material A of quantity 10 and Unit of Measurement BT (Bottle).Then when I am pressing the save button I want the User Exit of Material B as 2nd line item to be populated at that very moment which will be forcibly included and pricing will be calculated in that sales order.The user exit should work at this level.
Now considering the above scenario please suggest solutions in SD / ABAP regarding the successful running of User Exit in the Sales Order are required to attain my requirement.
Looking forward to some valuable suggestions.
Thanks & Regards
PriyankaHi priyanka,
though ur requirement is a bit complex i suggest userexits in this kind of scenarios wont help..rather an additonal program needs to be inserted in the standard sales order program..but for ur reference i am sending the list of all the user exits used in price determination. and the requirements fullfilled by them.... .hope it may help u....and cater to ur requirements....
User Exits For Price Determination
u2022 USEREXIT_PRICING_PREPARE_TKOMK (module pool SAPLV60A, program RV60AFZZ)
This user exit allows you to copy additional fields for pricing in the TKOMK communication structure (header fields), which have not been provided in the standard SAP system. These fields can also be used for pricing in the billing document.
This user exit is described in detail in the "New fields in pricing" section.
u2022 USEREXIT_PRICING_PREPARE_TKOMP (module pool SAPLV60A, program RV60AFZZ)
This user exit allows you to copy additional fields for pricing in the TKOMP communication structure (item fields), which have not been provided in the standard SAP system. These fields can also be used for pricing.
This user exit is described in detail in the "New fields in pricing" section.
u2022 USEREXIT_FIELD_MODIFICATION (module pool SAPMV61A, program MV61AFZA)
You can use this user exit to adjust the display of individual lines in the condition screen by changing the display attributes of the screen fields. This does not include the display of subtotals.
This user exit is also used in order processing.
u2022 USEREXIT_FIELD_MODIFIC_KZWI (module pool SAPMV61A, program MV61AFZB)
You can change the display of subtotals in the condition screen by changing the display attributes of the screen fields.
This user exit is also used in order processing.
u2022 USEREXIT_FIELD_MODIFIC_KOPF (module pool SAPMV61A, program MV61AFZB)
You can adjust the display of subtotals in the condition screen to your requirements by changing the display attributes of the screen fields.
This user exit is also used in order processing.
u2022 USEREXIT_FIELD_MODIFIC_LEER (module pool SAPMV61A, program MV61AFZB)
You can adjust the display of blank lines in the condition screen to your requirements by changing the display attributes of the screen fields.
This user exit is also used in order processing.
u2022 USEREXIT_PRICING_CHECK (module pool SAPMV61, program MV61AFZA)
You can install additional checks to the standard checks of condition lines (e.g. maximum/minimum value).
u2022 USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA)
In the standard SAP system, it is predefined which condition categories and classes can be copied or recalculated per pricing type. You can change the predefined standard procedure for each pricing type.
u2022 USEREXIT_CHANGE_PRICING_RULE (module pool SAPMV61A, program MV61AFZA)
You can use this user exit to change the pricing type that has been predefined in the copying control table in billing.
u2022 USEREXIT_XKOMV_BEWERTEN_INIT (module pool SAPLV61A, program RV61AFZB)
This field is used in the formulas and therefore initialized before the loop for the pricing procedure starts.
u2022 USEREXIT_XKOMV_BEWERTEN_END (module pool SAPLV61A, program RV61AFZB)
Within a loop for the price components during pricing, specific values can be transferred into the communication structures in pricing to be further processed.
u2022 USEREXIT_XKOMV_ERGAENZEN (module pool SAPLV61A, program RV61AFZB)
In change mode, you can change the dynamic part of the condition record (KONVD) that is always redetermined (i.e. it is not stored in database table KONV).
u2022 USEREXIT_XKOMV_ERGAENZEN_MANU (module pool SAPLV61A, program RV61AFZB)
You can use this user exit to change the ready-for-input fields of the manually entered condition record in add mode in the condition screen.
u2022 USEREXIT_XKOMV_FUELLEN (module pool SAPLV61A, program RV61AFZB)
This user exit is always called up during a redetermination of all or individual price components. You can change the work fields of the condition line. However, this only applies to conditions that have been determined via a condition record.
u2022 USEREXIT_XKOMV_FUELLEN_O_KONP (module pool SAPLV61A, program RV61AFZB)
This user exit is always called up during a redetermination of all or individual price components. You can change the work fields of the condition line. However, this only applies to conditions that have been determined via a condition record. This may include subtotals, manually entered conditions or conditions that have been calculated with a formula.
u2022 USEREXIT_PRICING_COPY (module pool SAPLV61A, program RV61AFZA)
You can change the KONV fields for copied price components. -
FB60 Looking for user exit at Save
hello all,
i need to do some verification on the company code and wbs. It would be best if i could find a user exit when the Save button is executed. Does anyone have any ideas ?
thanks ScottThe below program gives all the user exits..try the program and awards points if it was useful
*& Report ZUSER
REPORT ZUSER no standard page heading.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Thanks and regards. -
User exit in create sales order
Hi expart ,
In sales order have 10 user exit . my requirement is n't satisfied in 10 user exit . Plz. tell me any idea my requirement is putting in sales order .Find the user exits below for Sales order.
Transaction Code - VA01 Create Sales Order
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
If user exists doesn't suit ur requirement then go for customer exit. Goto program MV45AFZZ then serch for Customer exists. -
User exit on SAVE event in tranasaction CS01
Hi all,
Please tell me user exit on save event in transaction cs01.
Thank you.Hi,
Check the following user exits.
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0013 Customer-specific processing of an explosion for BOM browser
hope it helps
Regards
Rajesh Kumar -
USER-EXIT on SAVE event for IE01
Hi,
I need USER-EXIT on SAVE event for t-code IE01.
EXIT IEQM0003 work only first time after pressing "SAVE".
IF i press "SAVE" second time equipment will be created.
Edited by: andriy.hulyk on Jan 26, 2012 12:45 PMHere is my code:
IF DATA_ILOA-TPLNR IS INITIAL.
AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
ID 'ZZFLC' FIELD '*'.
CASE SY-SUBRC.
WHEN 0."SAP-ALL User
EXIT."OK
WHEN 12."User without restriction
EXIT."OK
WHEN OTHERS.
AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
ID 'ZZFLC' FIELD '01'.
CASE SY-SUBRC.
WHEN 0."Create eq. only with FL for some work centers
MESSAGE E250(ZPM) WITH 'test' RAISING POSTING_NOT_ALLOWED_EXT.
ENDCASE.
ENDCASE.
ENDIF.
If i press "SAVE" firs time it work great. But next pressing just create new equipment. My restriction does not work( -
User Exit for Va01[ Return Order ]
I Have Written User Exit for Va01[ Return Order ] in MV45AFZZ,
I'm Making tax field VBAK-TAXK1 as 0 when making this field as 0 Pricing Condition Tax calculation should not be exit and tax value must be 0.
How to do this process...plz give me a solution.Hi
For price calculations or modifications, you may have to write the code in SD routines. Check this T.code VOFM.
Reward if it helps!
Krishna -
Auto Material & Capacity Availability check when releasing Production Order
Dear Experts,
Is there any configuration in Production Planning that will automatically check material availability and capacity availability automatically when a Production Order is released?
Meaning to say, users will not need to manually click on the Check Material Availability and Check Capacity Availability button.
Please advise.
Thanks in advance.Hi,
I've solved the problem. Just maintain the config in transaction OPJK.
Thanks -
User exit to change sales order status once a delivery is created
Hello Experts,
I want to update the Overall status(VBSTT-GBSTA_BEZ) of a sales order to completed once a delivery is created for that order.Please guide me how can i do this and also the user exit or badi where i can write the code for this.
Thanks in advance.
Regards,
KoustubhGot the complet guidance in new thread.
User Exit to update Sales order text (Terms of delivery) on saving it
Thanks
Maybe you are looking for
-
Spill has caused right shift key to be stuck on
A few months ago I spilled juice on my MBP keyboard (out of warranty - purchased June 2012). I removed all the keys effected and cleaned them. The result of this was that the right shift key was stuck on and it would only start in safe mode + I could
-
Not able to stop Universal Work Queue Server
Hello, I have created a Server Group in the ICSM (Call Center HTML administration->ICSM->Server Groups) and it has all the server processes required for Interaction Center. I started all these processes and now am trying to stop them. I am able to st
-
HELP! Cannot Compress Footage to Single Layer DVD...
Here's my problem. I cannot compress footage to single layer DVD. I'm trying to make a DVD with motion menus and a full length feature. TRT 1 hr 47 min 3 sec. I compressed the video and audio using compressor after it did not fit on one single layer
-
Need help with formula that puts values in Field1 based on value of field2
I have two custom fields in the Contact record - Date met and Time Known. Date met is a standard date field that is entered by the user. I then wanted Time Known to automatically populate with specific values based on a formula I wrote. However, the
-
Subject: SNA/QOS I AM CURRENTLY RUNNING 12.1(11a) IOS ON A ROUTER BASED NETWORK WITH FOUR 7500 ROUTERS. I AM CURRENTLY RUNNING CUSTOMER QUEUEING AS MY QOS. I AM NOW LOOKING TO USING LLQ W/ CBWFQ AND DISTRIBUTED MODES, AS WELL. I HAVE VIP-40 CARDS IN