Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Group Getting Mixed Up.

Former Member
0 Likes
650

Hi,

There's this issue on BAPI_FIXEDASSET_CHANGE regarding authority checks. I am required to remove the authority check on the cost center.

Here is the series of calls:


BAPI_FIXEDASSET_CHANGE
...
CALL FUNCTION 'ASSET_MASTERRECORD_MAINTENANCE'
...
PERFORM screen_performing
...
PERFORM berecht_allg_prufen
...
PERFORM berecht_kostl
[authority check to be removed]

Modifying the said function modules/subroutines is not possible as they are SAP Standard. So, what I did was to copy the entire function groups 1022 (group for BAPI) and AIST (group for asset maintenance). Then modified it. When I tested it, I encountered some error.. "account allocation....". I checked the program and found out that the original function group AIST (main program SAPLAIST) is getting mixed up with the copy ZRFI_AIST (main program SAPLZRFI_AIST). One example is when the subscreen 99 is called, the subscreen 99 of SAPLAIST is called and not that of SAPLZRFI_AIST. I was wondering, why?

My first finding is that both function groups share some include programs. Is this it? Another is that, maybe there's some sort of configuration for the screens that made the program messed up.

Please help.

Thanks alot.

4 REPLIES 4
Read only

Former Member
0 Likes
596

If you cleary undestand that to do, take a key for object and modify it. Copying sap function group is not a good idea, it too complex. After all you can remove modification.

Edited by: Pave Martynov on Nov 25, 2010 9:35 AM

Read only

Former Member
0 Likes
596

Hi

If you are using ECC6.0 then try to check the Enhancement options..

You can implement Implicit Enhancement or change an Enhancement..

Or Else it is better to ask for Access key to modify if it is really important, otherwise SAP does not guarantees the further support for the Development if they are Opened by Access Key

Thanks n Regards

Pushkar Joshi

Read only

Former Member
0 Likes
596

There is a reason why SAP built an authorisation check, don't you agree?

And is there any reason why it's not possible to adjust authorisations for users so they do pass the check? And thus avoiding you from deliberately deactivating the authorisation check...

Read only

0 Likes
596

That is weird, I think my account got deleted. (This is my thread and after a day I couldn't login, so i re-registered)

Anyways,

That is what we questioned. Unfortunately, users are not willing to provide authorizations. They wanted to just remove the auth check.

I also suggested the enhancements as what said. The functional team didn't like the suggestion so now I am back to square one.