User Exit for IW32 accessrights check on fields
Hello,
i need to implement a check that enables me to block the access on a column within the table (transaction IW32) at the objects-tab for users of a specific role.
That check could be done by showing an error message once the user presses SAVE or by blocking the input in that table. I checked the Userexit EXIT_SAPLCOIH_009 but that one only allows a check on the header data not on the data of the objects-tab.
I hadnt found any other user exit that could do the trick. Is that only possible by SAP-code manipulation ?
Could somebody help me out here ?
Thanks and best regards,
oliver
Hello and thank you very much for the answers.
Pete, i checked the BADI IWO1_SCREEN_MODIFY but im unsure if that would work because it only hides fields and doesnt allow to disable input. Another problem is that the screen-loop only runs over the input-fields above the tab and the table. (like Order, Sys. Status etc)
But i need to modify the table itself. Any idea how i can access the table on the tab here ? I normally use ALVs so the question is too if the screen-loop even run over such old-styled-tables usually. Cant say that 100% but i thought it would. For me it looks it doesnt actually :/
The loop-screen runs only over the elements of dynpro 1108 and not 0300 which contains the table.
Any idea ?
thanks again, your help is highly appreciated.
oliver
Edited by: Oliver Neumann on Jan 29, 2009 10:25 AM
Similar Messages
-
User exit for me 51 to put field descryption for ekbn-sakpto in screen 505
hi .
i have a requirement to put field descryption in screen 505 for me51 tcode(program sapmm06b) for field g/l account in screen 505(Account Assignment for item 00010).
waiting for your resposne.
bye.
sita.Hi Seetaram,
Hi,
By using the below code you can find the User exits for a particular TCODE.Execute this program and the TCODE in selection screen.
REPORT z_find_userexit 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.
Reward if helpful,
phani -
Need a user exit for Export Control check in Sales Order fro VA01/VA02
Hi ,
I need a user exit for Export Legal Control process in Sales Order.since Ship-to country in the Sales Order is not always the ultimate destination country User Exit needs to be built in with following logic
1. Check to see if ultimate destination country field is maintained in Sales Order
2. If a value is maintained then for the Export control checks use ultimate destination country instead of the Ship-To country (step 1)
3. If no value is maintained then use Ship-To country as default
The user exit is called when the user creates or changes a Sales Order.
Can anybody help ?
ThanksHi,
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
SDAPO001 Activating Sourcing Subitem Quantity Propagation
<b>Reward points</b>
Regarsd -
BADI or USER Exit for BP Adress check
Hi All ,
what is the badi or user exit for giving a additional check on Postal Codes when creating a BP ?
I have checked BUPA_ADDR_CHECK
BUPA_ADDR_EXPORT
BUPA_ADDR_IMPORT
BUPA_ADDR_UPDATE
BUPA_ADRREL_EXPORT
and the user exit ZXSZARU01
but when i am entering the postal code and pressing Enter , i am not able to catch the User/EXIt or badi .
Thanks for help.Hi
Use the BAdi : ADDRESS_CHECK
Implement the method: ADDRESS_POSTAL_CHECK
Once you enter the Post Code and Country on BP Txn, Pressing Enter will trigger this Badi for address check !
Good Luck !
Thanks
<b>Allot points if this helps !</b> -
User exit for Credit Management check on SD document
Is it possible to enhance and put in some custom logic during CREDIT check on SD documents?
Can some one tell me which User exit can I used?Hi,
Yes, I think you can do. Here is what SAP help says....
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:
LVKMPTZZ
LVKMPFZ1: USER_CREDIT_CHECK1
LVKMPFZ2: USER_CREDIT_CHECK2
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.
Hope this helps
Thanks
Mukund S -
User exit for CJ20n (to check budget when create Reservation) for project
Dear All,
Plz advice, is there any user exit for CJ20n(project builder) in order to check available budget when we create reservation under a network/activity for a project?
Many thanks in advance.Hi,
Budget functionality is available against actual / commitment items, but n't against reservation of materials as there cane be reservation at projects or plant level. Morever there is no such user exit in CJ20N.
If you can make developments of reservation agsinst network as committments items then budget functionality may work in that case.
Hope this will help you.
Regards,
Rakesh Pradhan -
User Exit for Changing ATP Checking group
Hi All
I am new to this area. I have a requirement to change the ATP Checking Group and ATP: Product availability check to new value.I was looking out if theres any specific user exit for this .Any pointers would be highly appreciated.
Thanks
AmrutaHello, still I do not have clearcut idea of business process for changing ATP group?
However i have understood that u want to influence selection of ATP group in the process.
In case u want to retain it for longer period, then u may use EXIt in cif which is called during transfer of Product master. With this u can have predefined value of ATP group as per your requirement.
Else you may change the ATP group in R/3 prior to ATP calls to APO. U may use exit "EXIT_SAPLATPC_001" in program " AVAILABILITY_CHECK_CONTROLLER". I am not sure which all prameters u can change in this exit
Please test in detial before finalizing the design
Regards
Mangesh A. Kulkarni -
Hi PM Gurus.,
Could you pl give the user exit or BADI for IW32., while click the TECO Flag Give pop-up Screen for Check Password to control the Order TECO.
Thanks in advance..
Regards,
Murugesh RDear Guru...
I tried the Exits IWO10004, IWO10009, IWO10012.. those are not triggers at the same of Clicking the TECO and as well as Save.
Kindly Suggest me my requirement is Control the TECO by checing password for workcenter wise.
(ELE/MEC)
Regards,
Murugesh R -
User Exit for assignment number check
Hi SAP GURUS,
I want to have a cheque in system for not to enter a cheque number twice in assignement field. Which user exit i can use for the cheque payment made thru F-53 OR F-58 OR F110.
Thanks
CHEERS
Edited by: NITIN on Apr 26, 2010 7:50 AM
Edited by: NITIN on Apr 26, 2010 11:18 AMIdentification of user EXIT
1. Enter T.code for which you want to maintain User exit. For ex : ME51 (Purchase requisition)
Path: Status Status Double Clicks on the program NameGo toAttributesNote down development class.
For Ex : ME51u2014development class/package name is ME
2. Enter T.code : SMODutilities FindEnter Development class/package name Execute
3. It shows all the Exit names. Click on Exit Name and click on Functional module name.
for ex: f-53 having following exits.
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
Thanks
ANJI -
BADI or User exit for FB50 to update custom field in table COEP
Hi all,
i have added one custom field in table COEP through include CI_COBL .
when i do posting through sales order(VA02) or purchase order(ME22n) that custom fields in COEP get updated with controlling document
and through BADI AC_DOCUMENT i m updating that custom field in COEP.
but when i do manual posting through FB50 controlling document is generated in COEP but i m not able to update that custom field
because in this case BADI AC_DOCUMENT is not get triggered.
is there any BADI or User exit or enhancement spot for FB50 through which i can update that custom field in table COEPHi Sandy,
Thanks for u r reply,
RFAVIS01 is not getting triggered through FB50
and F180A001 ( EXIT_SAPLF048_001) is getting triggered but it doesnt contain COEP field in its parameter
import - F180A_DOC_HEAD_TAB
F180A_DOC_ITEM_TAB
changing - RELATION_TAB -
User exit for IW31 which capture screen field Po number
Hi all
I have the requirement that when we save work order created by IW31. It shud trigger any user exit or BADI.
In that we have to validate the screen field Purchase order number BSTKD from the Ztable entries.
My problem is that no user exit passes this value as export parameter. so without that how can I get this value in the include program. Please let me know the user exit which hit after save and passes PO value so I can validate this field. Thanks!!!
Quick answer will highly be appreciated!!
Nikhilesh VyasHello Kiran
Thanks for ur reply
But this Badi does not have purchase order number as parameter in any method which call after user press save button.
Please let me know any other alternative if u have ...thanks!! -
User exit for FF68 edit check list
Hi to all
My requirement is to impose a check in FF68 - edit check list to allow change/enter check details only for certain customer.
Now please tell me how it is possible and which user exit will be used.
I want to use the authorization object if possible.
Thanks in advance.
Regards
anubhavclosed.
-
User Exits for MM to hide screen field
Hi All,
I want to make input = 0 for a screen field (valuation price) in PR. Could you tell me the exits available to achieve this,
like field modification exits available for sales document processing.
Thanks
PradeepHi,
I have achieved the result thru a BADI ME_PROCESS_REQ_CUST and method FIELDSELECTION_ITEM_REFKEYS.
if screen-name = 'MEREQ3320-PREIS'. " valuation price
SCREEN-INPUT = 0.
MODIFY SCREEN.
endif.
I tried doing it with the Exit you have mentioned, but it did not work, can you tell me in which include we can
get the result.
Thanks
Pradeep -
User exit for lower tolerance check and block of invoices
Hi,
Is there any user exits or ways to block invoices for their lower limits. Presently, for upper tolerance limits, the invoice is blocked, but for lower tolerance limit only a warning message is displayed.
Regards,
Arun MohanHi,
I have the similar problem.
Did you find solution?
Best regards. -
BADI/user exit for me22n - disable/grey out field quantity (MEPO1211-MENGE)
Dear all SAP gurus,
When changing PO (ME22N), I need to disable (grey out) the quantity field on item (MEPO1211-MENGE), when all scheduled quantity is already received (EKET-MENGE = EKET-WEMNG).
Have tried using LMEIGICJI and Handle_event method in CL_SCREEN_VIEW_MM. But still doesn't go to the screen that wants to be disabled.
Tried using BADI ME_PROCESS_PO_CUST, but couldn't find how to disable the quantity field.
(IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM only works for custom field).
Please kindly advise
thanks in advanceHi Ahmad,
No need of ABAP, follow this IMG Path.
Material Management -> Purchasing - Purchase Order -> Define Screen Layout at Document Level
After Executing it . Choose ME22 from list and then choose display icon.
than double click Quantity and Price here uncheck opt. Entry and check display.
save your work.
Hope this works.
Regards
Ahsan
Maybe you are looking for
-
Cannot Send Mail from my iPhone 4s
I am no longer able to send out replies or new emails from my phone, this is very recent and I have tried everything I know of.. But I am not THAT tech-savvy. So, anyways, when I go to send an email or reply to one, I get a pop-up box that says "Cann
-
Windows Media Player and audio engine behavior
I have made one LFX and one GFX module both residing in the same dll. I have noticed some strange behavior with windows media player which I don't understand. When playing back audio with WMP there are always two processes (image names) that loads my
-
Hi All How can i know cline ip address which is runing in network.Code is only runing on server machine. Plz help me
-
So I have finally gotten my ASP pages to display correctly as far as the records I want to show for each page - a miracle in itself. I created a button to go to a details page which, on press, does go to the details page, but it doesn't display the c
-
Delete 0IC_C03 to start from scratch
Hello all, I want to start again with the install of the Business Content, do anyone know how to clean up SAP BW from Business Content Install? For your help thanks in advance. Cheers, Alejandro Donis