Deactivate authorization checks in BSP or function modules?
Hi all
I have a BSP application that seems to use a standard function module that performs an unwanted authorization check on object M_MATE_VKO (Material check on sales organization)
I know it is possible to globally deactivate authorization checks in certain SAP transactions (SU24)
Does anyone know if there is a similar functionality for BSP applications or function modules? Any suggestions on how to deactivate such authorization checks in BSP applications?
Regards
Mike
> I will also check with my developer if this function module has any return codes etc that can be useful for a custom authorization check. However, I thought these checks were all done within the function module and that it will only return a true/false authorization, sort of... and I am not sure it's a good idea to override all standard authorization checks in this function module
Sometimes you can handle the messages, but your developer will be able to help you decide whether that is a good idea or not.
Globally deactivating the object for the whole system is most likely not a good idea, as you seem not to want to grant it because you need it somewhere else...
Deactivating all checks for the function module is probably not wise either, as I would think that it applies to the whole function group. Developers can do such things sometimes, but often it results in all end users being able to do the same.
I know that proposal indicators can be set for function modules, but have not tried check indicators. Again, I suspect that it would apply to the whole function group.
I would think that a carefull choice of function module and consulting with your functional guru about config which will not interfer with other requirements is the best route to take.
I like threads like this. If I bump into a specific solution I will remember it. Try using the search here at SDN on the names of some of the FM's which you are considering - someone might already have solved it...
Cheers,
Julius
Similar Messages
-
How to deactivate authorization check?
hi ,
how to deactivate Authorization check?
thanks.
reddy.Use switch T77S0 to control the use of an authorization object during the authorization check.
If value is 0 authorization check is inactive, if value is 1 inactive. See example below.
AUTSW ADAYS 15 HR: tolerance time for authorization check
AUTSW APPRO 0 HR: Test procedures
AUTSW DFCON 1 HR: Default Position (Context)
AUTSW INCON 0 HR: Master Data (Context)
AUTSW NNCON 0 HR:Customer-Specific Authorization Check (Context)
AUTSW NNNNN 0 HR: Customer-specific authorization check
AUTSW ORGIN 1 HR: Master data
AUTSW ORGPD 0 HR: Structural authorization check
AUTSW ORGXX 0 HR: Master data - Extended check
AUTSW PERNR 1 HR: Master data - Personnel number check
AUTSW VACAU Activate Auths for Maintaining Vacancies (PBAY)
AUTSW XXCON 0 HR: Master Data - Enhanced Check (Context)
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/84/49ba3b3bf00152e10000000a114084/frameset.htm
Regards,
David -
Dear All,
in BSP, I want to call a Function Module.
the question is, how to display the result of Function Module into page layout, if I called a function module in/from Event Handler (onInitialization)
thanksmoving on from what Brian said - check the doco,
but in a nutshell, your function module will have probably export parameters or some results, you need to create some attributes in your BSP and then assign the values of the results from the function module to these attributes and then in the layout of the bsp you can use the <%= Attribute_Name %> syntax to display the value of your attributes whether in a textView or dropdownListBox etc.
Here's an example:
assuming your function module has en export parameter UName then you need to create an Attribute in the Attributes section of the BSP which you will assign the value of this export parameter UName to eg,
fm_UName TYPE STRING parameter to assign FM UName to
then in the event handler, after you have executed the Function Module assign the export parameter UName value to your local attribute with,
fm_UName = UName.
then in your layout, in the right place display the value of your parameter with the syntax,
<%= fm_UName %>
That's it.
Milan. -
Uncatchable exception: BSP calling Function Module
Hi all,
currently i'm facing a very weird problem. My application class calls function module
HR_INFOTYPE_OPERATION. Normally, in case of an error, the function module gives you back a return parameter. But if i call it from my BSP, the processing doesn't leave the function module. It directly throws an exception ERROR_MESSAGE_STATE instead of writing the message into parameter return.
If i call the function module with the same parameters from a report, it works fine and the error message is written to return parameter without throwing an exception.
What am i doing wrong? I don't want that exception and need to go on with filled parameter result.
Regards
Mark-AndréHi MA,
try using ERROR_MESSAGE in the exceptions list, like this.
CALL FUNCTION 'func_name'
EXPORTING
string = text
pos = position
IMPORTING
string1 = text1
string2 = text2
EXCEPTIONS
string1_too_small = 1
string2_too_small = 2
ERROR_MESSAGE = 3
OTHERS = 4.
Cheers
Graham Robbo -
To overcome Authorization error while executing a Function module
Hello Friends,
In my custom workflow , I need to execute a validation function module ( SAP standard ) in a dialog step - Approval step.
But the issue is approvers will not have authorization to the FM ( They have minimum authorization - Just to approver the custom workflow ) .
So , I need to know is ther a option to execute the FM using another user ID ( a BATCH user ID ) .
thanks
Raghu Vmake the validation task before the dialogue step. a general task will run in background from user WF-BATCH and that wont need to authorization issue... after completion of this validation you can go for the dialogue step i.e the approval step..
|
__u2193__
| u25BA__| Validation task
u2193
__|___
|_?u25BA_| User decision
|
u25CF_______
u2193 u2193reject
|
approve -
Syntax check for tables and function modules
Hi,
I am writing a program that perform syntax check on object such as executable programs , function modules and tables.
Syntax check works fine for programs, but not for tables.
How can I perform syntax check on my tables or structures?
I get my data from the table TADIR. But I don't get my function modules from there. What is the table for this.
Thanks 4 ur replies.
Parvezhi
good
generally in sap while creating a table or structure we get the error and we solved them,but like reports during runtime it is not possible to check the syntax of a table or structure.
thanks
mrutyun^ -
Hi all,
Iam having a requirement that i need to perform the authorization check for the portal users.
ie, my report is based on the input companycode and customer number, So it should allow the user
to view the report only he has been authorized for that company code.
Can anyone help me out in this..
Thanks
Nehru.There is no difference in how you perform an authorisation check in BSP to any other ABAP application.
Just use the ABAP AUTHORITY-CHECK OBJECT syntax as usual.
Cheers
Graham Robbo -
Material Availablity check for production order - function module?
I have a production order with Material BOM, which has more than 30 components in it. Please suggest me if there is any function module to do the material availability check of a production order. I need the missing component list as output of that function module, with quantities if possible.
thanks,
SubbareddyYou might want to look at these FMs:
CO_ZA_AVAILABILITY_CHK_ORDER
ISA_AUC_MATERIAL_AVAILABILITY
Thanks,
Santosh -
ATP Check through programme (any function module? )
Hi,
I want to do ATP check for a sales order through a programme. Could you please help me out with any Function module or any process?
Thanks,
SandeepHi,
My exact requirement goes like this:
In Sales Order, if I remove delivery block at header level, and save it, then ATP check availabily should happen automatically (without clicking on check availability).
Could you please help me, if any one had similiar kind of situation?
Thanks,
Sandeep -
ALE Consistency Check Msg - Permissibility of function module
Hi,
I'm running a consistency check (BDM5) on a ALE model and I am getting a red messaged on Permissibility of function module - Function module is not valid. The function module does exist. What is this msg referring to?
Thanks,
NancyHi Mateus,
The systems ED1, ET1 and EP1 are JAVA systems and therefore no client number applicable. When I run a project which has only a JAVA landscape there are no error. However, with a mixed landscape i.e. ABAP and JAVA in the same project this error message occurs.
At this point in time we have decide not to run projects with a mixed landscapes.
I am still interested to know if it's possible to run such a project and assign to CHaRM.
Regards,
Latief -
Trace of Authorization checks on recursive called functions
Hi all,
I need to search all authority checks that one standard report make on recursive calls to reports/functions. Does somebody knows how I can do it?
Thanks a lot.Hello,
Start transaction st01 and enable the trace for "authority check".
Start your programm and when it is done disable the trace.
Then choose analysis and all the checks will be displayed.
Hope this help,
Walter
Please reward all participants -
Calling Z function module from BSP page
hi,
i am calling a z function module from BSP application ROS_SELF_REG ,The z function module is inside a z function group,It does not give any sytnax error..but while running BSP application ,it is going into dump saying that Z function module is not found..Any idea why this is happening???Hi,
Check whether the Z function module is spelled correctly. Also try activating the whole function group and function module in se80 transaction.
Check whether the BSP application is calling the Z FM from the correct server/client where it is available.
Regards,
Harish -
Hello,
We are implementing CRM 5.0 and we are using BSP for opoprtunity management.
We need to implement quite complex authorization rules. We have found the standard authorization object for the Opportunity Management as well as the authorization object for the BSP application.
Unfortunately the parameters that are checked in standard does not meet our requirements we need to check more things before granting access to the user.
Please advise if we should enhance authorization object and create new fields or there is also another way for authorization check in BSPs.
Thanks in advance,
JuliaHello, Gregor and Tiest.
Thanks to both of you for the answer.
I have read the blog and I analyzed the customizing activities that you recommended.
Unfortunately, this functionality does not fit our requirements.
To make the problem more clear I will give more explanations:
- We are working with Opportunity Management application (crmd_bus2000111)
- We have enhanced the standard opportunity view by adding new tabs.
- These tabs are called by custom classes and are using custom structures.
- We have defined the roles using standard authorization objects. They influence the standard tabs even with custom fields, however there is no influence on custom tabs.
- Ex. We need to create the role for the viewer, who can only display the opportunity. When we enter the application with the user to which this role is assigned the user can see everything in display mode except for the custom tabs which are still allowed for changes.
Do you know if it is possible to create an authorization object that can be used to handle the custom tabs?
Will it be enough to create an object and assign it to the transaction or do we need to enhance also the classes to refer to this custom ocject?
Thanks for help,
Julia -
Spell Check using the function module LXE_SP_CHECKSPELLING_TABLE_MS
Hi,
I am using this function module to do a spell check on description and text/note fields. This works great using IC WinClient (SAP GUI). When this is called from IC WebClient (BSP), the function module is returning NO_ACTIVEX error. Did someone encounter the same issue?
Please let me know.
Thanks
VennyHi,
This might also be of help....
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/technologies/ms%20word-like%20spell%20checker%20for%20sap%20gui%20fields">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/technologies/ms%20word-like%20spell%20checker%20for%20sap%20gui%20fields</a>
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna. -
Authorization objects to function module
Hi Experts
I want to set the authorization object to the particulare function module.
How can we set the authorization objects to the function modules, plese explain me briefly.
regards
rajaramHi,
Goto
s_tcode,s_program,s_rfc,s_tabu_dis these are authorization objects that SAP provides..
also go through thsi following link..
http://help.sap.com/saphelp_nw04/helpdata/en/4f/b541d812aea34695d54758cec0796f/content.htm
Regards
Kiran
Maybe you are looking for
-
The situation: Whenever I go to use the address bar or the small search toolbar (which is set to google) in my window, the search engine used instead is "search.searchcompletion.com", which returns very shitty search results and is annoying. The thin
-
Problems encountered while running Java EE tutorial in JDeveloper
I am using JDeveloper version 10.1.3.1 to run Java EE tutorial, I got the following error messages while running ServiceRequestFacadeClientEmbed to test the data model (tutorial page 44 of 222), please help me fix those errors. Thanks a lot for your
-
Dear all, my customer makes usage decision (acceptance with a specific discount) and wants that discount affects the invoice automatically, i suggested to create different U.D codes with all expected discounts (ex. : accepted with 10% disc.), but how
-
My Prefered Start Up Disk Stop Working
Here's my problem: As of yesterday, my prefered start-up disk (on the Hard Drive "Bob") stop working as a start up disk. The smaller older Hard Drive "Michele" is the only one that works, and is dated back to June (thus being outdated with our Email,
-
Good afternoon, I have the following issue, I have that do a LOOP to a table Internal, ie. Loop at it_tabla where lgart = '0100' or lgart = '0200' or lgart = '0300' or lgart = '0400' or lgart = '0500' or lgart = '0600' or lgart = '0700' or lgart =