10-09-2007 3:44 AM
Hi experts,
I want to create an Order, in the operations tab, my control key is 'PM03', and i click the external button. Then in the services tab, i can enter my service numbers. also, i can enter my cost element. I need to do some checkings on that particular cost element field (ESLL-KSTAR). so, when I want to save it, or press enter, the enhancement will kick in and run the checking. Can anyone tell me which enhancement i should use? which customer-functions or BADIs? or anything?
Thanks & regards
10-09-2007 3:55 AM
Transaction Code - IW31 Create Order
Exit Name Description
IWO10012 Maintenance order: Priority handling on central header
No of Exits: 1
Transaction Code - PM03 Maintain Features Number Range
No User Exit exists
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Rewards if useful.........
Minal
10-09-2007 4:02 AM
Hi Minal,
Think you misunderstood me. it is not Tcode PM03..
It is tcode IW31.. PM03 is our external services. in the external services, we have to enter service numbers etc.. and also cost center.. i need to do a checking at this cost center when saving or pressing enter. so is there any customer-exit / badi exists?
thanks
01-18-2008 4:15 PM
Hi Putra...
I have the same problem in IW31, I need to do some checkings on cost field..
Can you resolve this problem??? Can you tell me how do it please?
Thanks...
08-21-2013 4:16 PM
Have a look at exit IWO10009
Use the following:
* get settlement rules from ABAP memory
call function 'K_SETTLEMENT_RULE_GET'
exporting
objnr = p_caufvd_imp-objnr
x_all = ' '
tables
e_cobra = lt_cobra
e_cobrb = lt_cobrb
exceptions
not_found = 1
others = 2.
if not sy-subrc = 0.
* if not found, then go to database for settlement rules
call function 'K_SRULE_READ_ARCHIVE'
exporting
i_archive_handle = 0
i_objnr = p_caufvd_imp-objnr
i_append = ' '
tables
t_cobra = lt_cobra
t_cobrb = lt_cobrb
exceptions
not_enough_info = 1
others = 2.
endif.
Program the validations you need.
Hope it helps, saludos!