Badi for IW31
hi,
i need to modify the basic finish date in transaction IW31. Any BADIs (and it's method ) through which i can access that field and update it ?
thks
Go to Transaction SE24
Enter the Object Type CL_EXITHANDLER and click on Display.
Double Click on method "GET_INSTANCE".
Put a Break-point on
Call method cl_exithandler=>get_class_name_by_interface
Run any Transaction for which you need enhancements.
The execution will stop at the break point. Check the values of variable 'exit_name', it will give you the BADI name called at that time.
This way you will find all the BADIs called on click of any button in any transaction.
Thanks
Kiran
Similar Messages
-
BADI for IW31/32 (work order)
Hi,
I have to find BADI for IW31/32 (work order). The requirement is to update delivery address on automatic PR created from non-stock items of the work order.
Please suggest. Points will be rewarded for appropriate suggestions.
Thanks,
ParvatiHi
Execute the below program . It will give you all exits and badis for a transaction.
You can excute this by giving IW31 in the selection screen and you will get the badis and exits related to it.
REPORT Z_FIND_BADI .
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
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,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
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 in ('SMOD', 'SXSD')
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:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
do 2 times.
enddo. -
Dear all,
When i create a maintenance order(iw31) with reference to equipment it defualts teh equipment cost center, in the location tab.
I have a requirement to change the cost center based on the workcenter / priority, when i save the order.
Is there is any user exit / Badi available for my requirement?
Regards
MuraliHi
Enhancement/ Business Add-in Description
Enhancement
IWO10012 Maintenance order: Priority handling on central header
Business Add-in
IWO_UI_USEFLEX BAdI for Calling Up an Alternative UI
No.of Exits: 1
No.of BADis: 1
Arunima -
Hi All,
I am looking for a BADI or userexit for IW31, service order. when entering a component, (ex. material AAA), click on availability check, if the qty committed < qty required, then update the component with different material (ex. material ABC instead of AAA).
your help is greatly appreciated.Hi,
Try BADI
IWO1_TL_INTEGRATION
IWO1_ORDER_BADI
Hope it helps...
Lokesh
pls. reward appropriate points -
User Exit or BADI for 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) at runtime.Is there User Exit or BAdI.It is very Urgent Please help me.
Thanks & Regards,
Ashok.Hi
U can go through the tansaction.
System/ Status
Double click on program name.
For badis:
Search for the Phrase:
cl_exithandler=>get_instance.
U will the badi definitions.
For User exits:
search for the phrase: CALL CUSTOMER-FUNCTION
u will get the user exits.
If it is helpful rewards points.
Regards
Pratap.M -
BADI for IW31 which has values of Plant,Fundcenter,cost center
Hi,
My requirement is that While running IW31,if the first four characters of Settlement Rule(Cost Center) and FundsCenter is not equal to Planning Plant then an error message should be raised . Can you suggest any appropriate BADI or User Exit for this?
Path for Funds Center-->Go to>Assignment--->Funds Management
Thanks
K SrinivasHi Srinivas,
In order to find Badi or User Exit, you can put a STOP point at class CL_EXITHANDLER and in method GET_INSTANCE, CALL METHOD cl_exithandler=>get_class_name_by_interface and then you can execute the Tcode and then at every click it will stop in debugging & give the name of the Exit or Badi.
Hope it Helps...
Regards,
Shailesh Jadhav -
Badi for IW31 to keep check on Funds Center and Settlement rule
Hi,
My requirement is that While running IW31,if the first four characters of Settlement Rule(Cost Center) and FundsCenter is not equal to Planning Plant then an error message should be raised . Can you suggest any appropriate BADI or User Exit for this?
Path for Funds Center-->Go to>Assignment--->Funds Management
Thanks
K SrinivasHii Srinivas,
Did you find any solution for this, i am also encountering the same problem.
Regards,
meenakshi -
Need User exit or BADI for IW31/IW32 transactions
Hi all,
Is there any user exit OR BADI availble for transactions IW31 and IW32. I need to restrict some Activity types and work centres(Error message should come when we give wrong combination of these 2 and press on save button).
Thank you very much in advance.
Thanks,
VenuHi,
Check the BADI
WORKORDER_UPDATE - Business Add-In PM/PP/PS/PI Orders Operation: UPDATE
This is multiple use Badi , hope this is the one you are looking for.check by implementing and placing the breakpoint in appropriate methods.
Alos check the below
IWO1_SCREEN_MODIFY
IWO1_PREQ_BADI
WOC_FL_DETERMINE
Regards,
Raj. -
I would like to populate the cost center in work order to PR. Is there any user exit or BADI ? I had try IWO10009, it doesn't work.
Please help on this. Thanks.Hi all
I am from FICO but I have quite the same issue. I would really appreciate if PM gurus can help me in this. From FICO point of view, the Cost Center from t/code iw31 needs to be populated so that later, auto-created PR then PO followed by GR, will be reflected in Cost Center Reports such as Cost Center:Actual/Plan/Variance. This is important for accurate management reporting. In addition, t/code FBL3n Display Line Items for that G/L account, will show which Cost Center expenses are posted into.
Eva
Does this why you need the Cost Center to be populated?
Thanks & regards
Fauzi -
IW31 - User Exit or BADI for modifying Fund
Hi,
Would you know any user exit or BADI in IW31 I Work Order Create) Transaction , to Modify Fund based during creation ?
I am looking for User Exit or BADI that could modift fund with my Logic, During SAVE "or" when ever user clicks on Menu GOTO-> Assignments -> Funds Management "or" when use enetrs Functional Location/ Equipment in main Screen ?
Any Help really appricated. Thanks in Advance.hi
this is the only exit for iw31..
Transaction Code - IW31 Create Order
Exit Name Description
IWO10012 Maintenance order: Priority handling on central header
To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
double click on method get_instance, get a break point on case statement.
execute and start the required transaction in new session.
look for variable <b>exit_name.</b> It would show the available badi's.
Please do reward if useful
Regards
Swati -
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) -
Hello,
i need an Exit or Badi for transaction iw31.
I want to create a new order with a template order.
Order will be create like the template order WITH reservationdata (charg and lgort is filled for components)
I need an exit or Badi to delete the reservation data from the new order.
thanks in advance.
best regards,
DennisHello Dennis,
First you have to find out your operation's standard program from T-Code-OIDF for this transaction IW31.
Then after acquiring the standard program name, through SE38, open it and through find button search for CALL CUSTOMER statement which will give you list of exits in your transaction IW31.
You can also search a BADI for any particular transaction , for that first go to T-Code-SE24 and give the Object Type as CL_ExitHANDLER.
Then double click on to Get_Instance Method and set a brakpoint on the line:
CALL METHOD cl_exithandler=>get_class_name_by_interface.
Next step is to execute your T-Code IW31.
It will go into debugging mode.
Start debugging by writing EXIT_NAME in the checking area while debugging.
This EXIT_NAME will give the BADI'S used with each screen processed.
Hope It helps You.
Thanks Mansi -
User Exit / BADI for Transaction IW31 to create a POP-UP.
Hi,
I need to have a POP-UP Message in transaction IW31 on the press of ENTER. Could you give me the name of the EXIT or BADI which can be used for this purpose.Hi!
In IW31/IW32, there is no user-exit/badi for pressing Enter. User-exits are attached to well determined event (enabling, closing, saving the order and so on).
If you wanted to solve it, it seems, you have to modify the standard COIH function group. Use SE80 transaction for it. The first dynpro is 3000.
Regards
Tamá -
Hi all,
I need a BAdI for the TC IW31
my requirement is like review of the order data should be required when the order is created or changed.
Unable to find the BAdI. please provide me the information.
its urgent.
Thanks in Advance.
Regards,Hi,
Transaction Code - IW31
Enhancement/ Business Add-in Description
IWO10012 Maintenance order:
Priority handling on central header
No.of Exits: 1
No.of BADis: 0
Regards,
N.Jain -
Hi all,
I need a BAdI for the TC IW31
my requirement is like review of the order data should be required when the order is created or changed.
Unable to find the BAdI. please provide me the information.
its urgent.
Thanks in Advance.
Regards,Hi,
Transaction Code - IW31
Enhancement/ Business Add-in Description
IWO10012 Maintenance order:
Priority handling on central header
No.of Exits: 1
No.of BADis: 0
Regards,
N.Jain
Maybe you are looking for
-
So as the title says, after I got my iPhone 5s from apple, factory unlocked, my brother used his sim card in it for a moment to allow it to be registered and usable on WIFI until I made it to Japan. Now that I have a data SIM card, I have to input s
-
Meggaging server security problem
Hi All, We have messaging server 7.3 and convergence 1_U3. Client site we are using Iexplorer 7.X and Mozilla 3.X . Now we are facing problem is, If we shut down the system with out logging messaging server console. Next login is not asking user name
-
Update Date field automatically
When a user is adding a new entry I want two of the fields in the table to be automatically updated without the user knowing (hidden fields), I want a current date and time to be entered into the Updated Date field and the :APP_USER to be entered int
-
Dear All, I have problem to sum data using filter/conditon i want to sum data like this: No Budget SM GG 1.2 *400 200* 1.2.1 100 100 1.2.2 200 200 1.2.3 300 300 1.3 400 400 and using <?sum(current-group()/TotalPrice[.!='' and PaymentAllocation='GG'])
-
Mainstage won't open after Mountain Lion upgrade!!
I've updated the Mainstage app to 2.2 but still can't run after Mountain Lion upgrade!! Any thoughts on how to fix? Here's the report: Process: MainStage [3920] Path: /Applications/MainStage.app/Contents/MacOS/MainStage Identifier: