User Exit to default operations in IW31
Hello Everyone,
I have the following requirements
1. I need to dafault the Operations in IW31 transaction. I have tried with the following code
1. I used cmod to open up user exit EXIT_SAPLCOIH_020.
2. Then i used cmod to open up user exit EXIT_SAPLCOIH_003
(IWO20001 PM order: User exit to pass routing to order).
Here in INCLUDE ZXWOCU03, I entered the following code
IF NOT CAUFVD_IMP-AUART = 'SM03'.
( Use above to filter order types and PMActTypes)
SEL_TAB-PLNTY = 'A'.
SEL_TAB-PLNNR = 'SAFE_INS'. "***This is the name of the task list
SEL_TAB-PLNAL = '01'.
APPEND SEL_TAB.
ENDIF.
Using the above code the Operations are getting defaulted even before entering the Maintenance Activity type (PMActType) and Base Start Date. My requirement is i want an User-Exit which fills Operations based on Order Type and Maintenance Activity Type(ILART).
2. I also want an User-Exit to change the Control key values in the Operation tab in IW31 transaction.
Note:The version is 4.6C
Thanks in advance!
Regards,
Sandhya
Edited by: Sandhyap on Nov 19, 2010 2:56 PM
Dear Saket Tiwari & Dëv Päträ
I think I've given you the not clearing impression. i mean that T-Code OLMB is for "Inventory Management and Physical Inventory" configuration. (I think that you already know about it)
1) Go to T-Code >> OLMB > Physical Inventory > Default Values for Physical Inventory &
OLMB > Physical Inventory > Field Selection for Physical Inventory
Pre-settings for entering physical inventory documents
Reason for inventory difference
The default value you specify here is only displayed when you enter an inventory difference
without reference to the corresponding document. But you can also change the default value.
2) and You can control "Filed selection for Physical Inventory" such as MIGO filed selection.
I think that before finding Technical Enhancement Spot, You can consider Configuration Control for your process.
I hope that my options will be helpful for your project.
Regards,
Jeong, Yeong-Chul
Similar Messages
-
BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N
Hi,
I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
Please could anyone help me with this .
Regards,
Sushanth H.S.Hi!
User Exits in Transportation
In Transportation, there are enhancements that you can use with transaction CMOD.
For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
Business Add-Ins in the transports
Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
Customer-specific functions can be executed before the save time and after the database update.
The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
IN_UPDATE: BADI is called up after the database update.
Standard Settings
Creating a BADI method:
Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
Afterwards, go to the heading and activate the interface.
Regards
Tamá -
BADI or User Exit validation of operations tab and displaying an error mess
Hello,
Could you please let me know the BADI or User Exit validation of operations tab and displaying an error message in iw32
Thanks,
Suresh MglHi ..
I tried that user-exit...but i need to block the changes for purchase requisition which is in released stutus..
.i hope i need to do implicite enchancement spot.....could you please help me to do that..
Thanks,
Suresh Mgl -
User exit for BADI for Tcode: IW31
Hi
Can any one tell me User-exit or BADI for Tcode: IW31.
Whenever an Order is released (IW31) or saved then automatically Purchase Requisition will be created by standard program. My requirement is like at the same time , we need to create Purchase order automatically based on Requisition created above within the transaction IW31.
Thanks in advance.
Sowjanya.Try this
BADI : IWO1_ORDER_BADI
IWO1_PREQ_BADI
IWO1_SCREEN_MODIFY
User Exit : IWO10012 (SMOD) -
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 or BADI for Tcode IW31 when saving the Service Order
Dear ABAPers,
I would like to add one more line in Service order item when saving the Service order in (IW31).Is there User Exit or BAdI.It is very Urgent Please help me.
Thanks & Regards,
Ashok.Dear ABAPers,
These Exits does not meet my requirement.
These Exits are not called at the time of saving Service Order.
Thank you for your valuable reply.
My Requirement is when saving the service Order i want to add the Line itm at runtime.
It is very urgent requirement.Please help me.
Thanks & Regards,
ashok. -
User Exit for default values in IW51
Hi All,
Can any suggest User Exit or BADI for default values like Cause code in IW51 Tcode.
Regards,
Samatha.Hi,
Please check these
Exits
IWO10026 User check on setting status 'Do not perform'
IWO10027 User exit: Generate user-defined settlement rule
IWOC0001 Create PM/SM notification: Determine reference object
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0003 PM/SM authorization check of ref. object and planner group
IWOC0004 Change single-level list editing PM/QM/SM ALV settings
Business Add-in
IQS_MASS_CHANGE BadI for Mass Changes to Notifications
IQS0_STATUS_MAINTAIN Control of Changeability of User Status
NOTIF_AUTHORITY_01 Additional Authorization Checks for the Notification
WOC_FL_DETERMINE Determine Date for Determining Installation Loc. Equi.
IWOC_OBJECTINFO_CHNG Changes to Data of Object Info Screen
IWOC_LIST_TUNING Performance Tuning for Lists in PM/CS
IWO1_SUBSCREEN_0170 Display Additional Data on Object Screen 0170 PhysicalSample -
User exit at PM order reading (IW31/IW32)
Hi!
Does anyone know, which user exit is triggered, during the reading of a PM order in IW31/IW32?
If I enter the PM order number in IW32 and press enter, it has to stop, before the order appears...
Please do NOT list all of the exits, I know their names...
Thank you
Tamáuse following prog to find user exits for the given tcode.
*& Report ZUSEREXIT *
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
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 eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
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.
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.
Sameer -
User exit to default reason code on MI07
Hi MM Experts,
Am an ABAPer and need your expert advice on this. For some reason I have been asked to default the reason code on MI07 screen with a certain value as soon as the user gets on the screen. I have not been able to find a user exit where I can default the value on MI07 for reason code.
All MM experts can you please suggest a user exit where we can do this.
Regards,
Saket.Dear Saket Tiwari & Dëv Päträ
I think I've given you the not clearing impression. i mean that T-Code OLMB is for "Inventory Management and Physical Inventory" configuration. (I think that you already know about it)
1) Go to T-Code >> OLMB > Physical Inventory > Default Values for Physical Inventory &
OLMB > Physical Inventory > Field Selection for Physical Inventory
Pre-settings for entering physical inventory documents
Reason for inventory difference
The default value you specify here is only displayed when you enter an inventory difference
without reference to the corresponding document. But you can also change the default value.
2) and You can control "Filed selection for Physical Inventory" such as MIGO filed selection.
I think that before finding Technical Enhancement Spot, You can consider Configuration Control for your process.
I hope that my options will be helpful for your project.
Regards,
Jeong, Yeong-Chul -
User exit for order operation and internal assignment (SAPLCY18)
Dear all,
I am currently facing the problem below, which I have posted in PLM forum. However, I have been advised to ask in EAM forum, since probably my problem is more EAM-related.
The problem currently facing is related to PM order operations. The customer's requirement is to use operations and to include the personnel numbers involved. For this solution, our proposal is to have the operations and within internal operation data to use the tab requirement assignments in order to include the personnel numbers. Also at this level, the client expects to maintain the the 'hr' (work requirements) for each personnel. For example there are used 2 personnel ids with hr requirements of 2hrs and 3 hrs respectively. Let me mention that in the operation screen, the hr requirements are initially defined equal to 1 hr.
In the above case the message "The work of all the splits is greater than the work in the operation" apperas, since 1hr 5hrs. The question is if there is any way (user exit, badi) to update the work requirements in the operation with the sum of the internal assignment data.
Program SAPLCY18 may be help, although I have not found the work around.
More explanatory details to help:
The combination using Work-Number of capacities-Duration and the Calculation key is already used, however the requirement is to use specific personnel numbers. SAP, as far as I am aware, allows you to define personnel numbers within internal operations.
TAB Requirements assignements is available as long as in the operations main tab you have completed for the selected line the values Work-Number of capacities-Duration and Calculation key. Thus, in TAB Requirements assignments you can input the personnel numbers and the work of each one.
The question is if we can use the Requirements Assignments TAB, using the button internal in the operations tab in order to define the personnels involveld and according to the work (hrs) to update the respective field of the operation (otherwise let's say to update the duration field for each personnel id and automatically the operation respective duration field to be updated).
Your feedback is highly appreciated,
thank you in advance,
Bou.LisPeteA,
thank you for your response. I am actually looking for such a development solution (more-or-less I know that it is not possible using standard SAP customizing) but unfortunately I have not yet found such a user exit or BADI that could help solving the problem facing.
Do you have any idea of such a development tool to use?
Thansk and regards,
Bou.Lis -
Reg : User Exit for IA05 - Operation Overview
Hi Team,
I have a requirement in IA05 in the operation overview we have a field called Std Text field(PLPOD-KTSCH) , Where the user gives the text field in the screen,
So based on the text key i need to populate work,duration, in the same screen as attached
How can i achieve this i mean exit/badi??
i am trying but i am not getting a suitable one.
Please help he to crack this.
Thanks!
Karthik.SEXIT_SAPLCPDA_001 -Customer-Enhancements for Tasklists
EXIT_SAPLCPDA_002 -Customer-Enhancements for Tasklists
EXIT_SAPLCPDO_001 -PS: User fields
EXIT_SAPLCPDO_002 -PS: Customer specific fields in process
EXIT_SAPLCPDO_003 -PS: Customer specific fields in process
EXIT_SAPLCPDO_004 -Test units of measure for reference operation set -
User-exit for default values in service order
Hi,
i use EXIT QQMA0025 (EXIT_SAPLIQS0_017) to set some default values by creating
a service notification.
Is there some exit or badi to do the same for service orders. I don't want to use TPMUS.
Regards, DieterI create this thread in SD, because
i don't get any answers.
Regards, Dieter -
User Exits:Shift wise Operator
Hi Guys,
Anyone knows any enhancement to add customer specific fields in trasanction MF42N .In my client, they have three Shifts. Shifts will vary based on week that means this week may be first shift (say Group AA)then the next week they are moved to second shift.
So in REM I want to confirm shiftwise along with the shift group.
Pls throw some light on this.
Tell me the prodcure ..
Thanks & Regards,
Meenahi
You have below 3 exits for that tcode.
PTRM0001
SAPLRMPU
XMRM0001
goto SMOD tcode give above name and select component radio button press 'DISPLAY'. you can find FM for . Check with that FM for your requirment.
Reward if it is helpful.
Thanks
Siva kumar -
Service Order Operation User exit
Hi,
I am looking for user exit to validate operation data in sevice order on entry and while saving.
I have checked IW01 user exits but enable to find the correct one.> Hi,
>
> I am looking for user exit to validate operation data
> in sevice order on entry and while saving.
>
> I have checked IW01 user exits but enable to find the
> correct one.
Hi,
This is my first post. I think you can also use function EXIT_SAPLCOIH_009. This is fired on any of maintenance order/service order save event.
Regards,
Abhijit -
User exit: save PM order
Dear all,
I'm looking for an user exit that will be actived during order save. However, it seems most exits just for check, I can not change any data.
The requirement is: if user save certain order, then field function area 'CAUFVD-FUNC_AREA' is filled automatically. This fiels in the order header.
Thanks,
BenHi,
Orders
User Exits BBPK0001
Description Exit for determining the external procurement profile
User Exits CNEX0013
Description Default item category for component assignment
User Exits CNEX0026
Description Customer enhancement for general inspection of material
User Exits CNEX0027
Description Customer enhancement: Plant, storage loc. finding for comp.
User Exits CNEX0037
Description Check new component
User Exits COCCA002
Description Customer Functions for Organizational Authorization Checks (SETTLEMENT)
User Exits COI20001
Description Changing of person found
User Exits COI20002
Description Alternative procurement of HR availability data
User Exits COOM0001
Description Customer Functions for Overhead Percentages
User Exits COOPA_01
Description Customer check modules for internal orders
User Exits COOPA002
Description Customer function for master data maintenance - internal orders
User Exits COOPA003
Description User-Defined Fields in the Order Master
User Exits COOPA004
Description Customer function: Print order master data
User Exits COPCP005 (see: 1, )
Description Material Costing: User exit for material valuation (strategy U)
User Exits CY190001
Description Capacity Planning: Change order operation
User Exits COZF0001
Description Change purchase req. for externally processed operation
User Exits COZF0002
Description Change purchase req. for externally procured component
User Exits CYPP0001
Description Change sequence criteria and sequencing
User Exits ICSV0001
Description Display of geographic location data
User Exits ICSV0002
Description Automatic task determination for service notifications
User Exits ICSV0003
Description Partner selection
User Exits ICSV0004
Description Check PM object and display object information
User Exits ICSV0005
Description Determining reason for rejection - resource-related billing
User Exits ICSV0008
Description Validation of additional partner types
User Exits IWMI0001
Description User exits for SM/PM IDOCs
User Exits IWO10001
Description Create a PM sub-order
User Exits IWO10002
Description Customer check for order release
User Exits IWO10004
Description Customer check for order completion
User Exits IWO10005
Description Customer specific determination of profit centre
User Exits IWO10006
Description FCode exclusion through customer enhancement
User Exits IWO10007
Description Customer enhancement - permits in the order
User Exits IWO10008
Description Customer enhancement: Determination of tax jurisdiction code
User Exits IWO10009
Description Customer Check for 'Save' Event
User Exits IWO10010
Description Customer enhancement for determining WBS element
User Exits IWO10011
Description Customer enhancement for component selection
User Exits IWO10012
Description Priority handling on central header
User Exits IWO10015
Description F4 Help for user fields on operation
User Exits IWO10016
Description Customer enhancement to check operation user fields
User Exits IWO10017
Description Determine external order number by customer logic
User Exits IWO10018
Description User fields on order header
User Exits IWO10020
Description Automatically include task list
User Exits IWO10021
Description Automatic task list transfer when creating order from notification
User Exits IWO10022
Description Determine calendar from user exit
User Exits IWO10023
Description Service order: Change header data for advance shipment document
User Exits IWO10024
Description Service order: Changes to items for advance shipment
User Exits IWO10025
Description Finding responsible cost centre
User Exits IWO10026
Description User check on setting status 'Do not perform'
User Exits IWO10027
Description User exit: Generate user-defined settlement rule
User Exits IWO10029
Description Inclusion of bill of material in PM/SM order
User Exits IWO10030
Description Predefining the fields for the profitability segment
User Exits IWO10031
Description Hide personnel number in PM/SM order
User Exits IWO10033
Description Customer-Specific Authorization Check PM/CS Order
User Exits IWO10034
Description Operation status based on the status of capacity requirements
User Exits IWO20001
Description User exit to pass routing/task list to order
User Exits IWOC0003
Description PM/SM authorization check of ref. object and planner group
User Exits M06B0002
Description Change communication structure for purchase requisition release
User Exits MGA00003
Description Material Master (Industry and Retail): Number Display
User Exits PPCO0001
Description Application development: PP orders
User Exits PPCO0005
Description Storage location/backflushing when order is created
User Exits PPCO0023
Description Checks changes to components
regards,
Venkatesan Anandan
Maybe you are looking for
-
Can i use usa itunes store in the other countries if i have an account without credit card number
I'm inside the States and using US iTunes store on my iphone 4s (contract free). However I have an account without credit card number. I wonder if I am able to use US iTunes store connected with this account outside the States (say in Russia or Armen
-
Time Capsule (Dual Band), iTunes and tv
Here is my little story. I had an airport extreme, with a usb disk holding my iTunes library. I run two tv's (wirelessly) and things were fine. At times iTunes would give me a spinning beach ball, but streaming tv shows and movies to the tv,s worke
-
Im trying to buy a song from a album but i get error that it is no longer available. The other songs is working and its a new album. I typer in the wrong password on this song. Could that be the issue?
-
EP Memory Consumption - Help!
Greetings SAP'ers, We are running a few WebDynpros (ESS Travel & Expenses and one custom Java Dynpro) as well as some PCD content in a production environment. We have a huge amount of resources available to run this: four servers running 5 JVM's wit
-
Editing bugged jsp with sed.
I have a problem with my jsp pages, because after moving them, addresses are not resolved correct anymore. There are lots of tags such as: <img src"/*" which need to be rewritten into something like this: <img src"<html:rewrite page="/*" />" i tried