This website is not affiliated with, sponsored by, or approved by SAP AG.

Logbook (LBK1) checks no authorisations [RESOLVED]

SAP Security

Moderators: thx4allthefish, Snowy, jurjen

Logbook (LBK1) checks no authorisations [RESOLVED]

Postby Baz » Wed Mar 24, 2010 8:25 am

we are implementing SAP ECC 6.0 and we are using LBK1.

however a defect/test issue has been raised as there are no authorisations checked on running LBK1.
we need to restrict the Functional Location to those that have that authorisation in their security profile, however on checking the program, there are no authorisation checks at all!!!

surely this can't be right? has anyone come across this and applied authorisations on this transaction?
does anyone have any suggestions on how we could restrict the data that is displayed?

Last edited by Baz on Thu Apr 15, 2010 2:37 am, edited 1 time in total.
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4704
Joined: Fri Nov 08, 2002 5:54 am
Location: dirt box Derby

Re: Logbook (LBK1) checks no authorisations

Postby thx4allthefish » Wed Mar 24, 2010 11:10 pm

I am shadowing this in Security/PM.

Baz, there are notes on that topic - have you checked 948460, 816787, 984703, 956288 ?
curiousorange wrote:I give up. Humanity isn't worth saving. Why is there never a Vogon Constructor Fleet around when you really need one?
thx4allthefish
 
Posts: 6371
Joined: Sat Oct 26, 2002 6:18 pm
Location: barolo barrel

Re: Logbook (LBK1) checks no authorisations

Postby Baz » Thu Mar 25, 2010 12:11 am

Thanks Fish

we need to hang the authorisations off of the functional location as this is how the design was built and all the other transactions that use this field work properly!
i will refer these notes to my team and see if they have already discounted them due to the fact that they are for old versions and we are implementing a new version of a bolt-on for SAP.

i may have to add an ehancement to the standard transaction add in my own authority check!
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4704
Joined: Fri Nov 08, 2002 5:54 am
Location: dirt box Derby

Re: Logbook (LBK1) checks no authorisations

Postby Baz » Thu Mar 25, 2010 2:09 am

I am looking at utlising SU22 to see if i can add my own check into the transaction....
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4704
Joined: Fri Nov 08, 2002 5:54 am
Location: dirt box Derby

Re: Logbook (LBK1) checks no authorisations

Postby Al. » Thu Mar 25, 2010 7:32 am

Hi Baz

Don't use SU22. If the auth check isn't in the code then you'll need to use an exit or EP to add it in. Updating SU22 won't change that.

Once you have added in an additional check & logic then use SU24 to update the customer check indicators. SU22 updates the SAP delivered ones and is not something you want to change as it can cause (more) pain later on.
http://www.turnkeyconsulting.com/
Al.
 
Posts: 3032
Joined: Tue Feb 25, 2003 5:35 am
Location: London

Re: Logbook (LBK1) checks no authorisations

Postby Baz » Thu Mar 25, 2010 7:38 am

Thanks Al

We did have an open OSS Note and they were supposed to be delivering the solution as part of the fix...
but they failed to deliver on all the objects...

i am thinking an Ehancement is the way to go..... as we should block at selection stage rather than filter out after the event in an Exit....

i did find an OSS Note that told me how to do it in SU22 but for a different object....
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4704
Joined: Fri Nov 08, 2002 5:54 am
Location: dirt box Derby

Re: Logbook (LBK1) checks no authorisations

Postby Al. » Fri Mar 26, 2010 7:54 am

Baz wrote:i did find an OSS Note that told me how to do it in SU22 but for a different object....

Hi Baz,

If SAP deliver some additional code as part of an OSS note and also list a standard auth object to restrict with then you could get away with SU22 as it is in effect "sanctioned" by the Walldorf wizards. Generally well worth leaving it alone for any other applications (like no supporting code) as it can cause some real trouble at upgrade time.
http://www.turnkeyconsulting.com/
Al.
 
Posts: 3032
Joined: Tue Feb 25, 2003 5:35 am
Location: London

Re: Logbook (LBK1) checks no authorisations

Postby Baz » Thu Apr 15, 2010 2:37 am

I have a solution! :)

using the BADI - TOOLBAR_FUNC_OHFW - create a custom version of LBK_SELECTION.

add Authority check in here.
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4704
Joined: Fri Nov 08, 2002 5:54 am
Location: dirt box Derby

Re: Logbook (LBK1) checks no authorisations [RESOLVED]

Postby Al. » Thu Apr 15, 2010 6:34 am

Thanks for the update, glad it works :)
http://www.turnkeyconsulting.com/
Al.
 
Posts: 3032
Joined: Tue Feb 25, 2003 5:35 am
Location: London

Re: Logbook (LBK1) checks no authorisations [RESOLVED]

Postby Baz » Thu Apr 15, 2010 6:41 am

Al. wrote:Thanks for the update, glad it works :)


it's only right to close it off as working! :)
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4704
Joined: Fri Nov 08, 2002 5:54 am
Location: dirt box Derby

Re: Logbook (LBK1) checks no authorisations [RESOLVED]

Postby Baz » Tue Jun 08, 2010 2:20 am

just to update this....

there is another BAdi that resolves Authorisation issues:

BADI_EAM_AUTHORITY_CHECK_ORDER

if you create a custom implementation of this, then you can have checks on the following transactions:

IW38
IW39
IW72
IW73
IW37N
IW49N
IW30
IW40
IE07
IL07
IW32
IW33
IPM2
IPM3



but my original problem... although the load button checks authorisations, the Load Extended bypasses the check... so a partial success...
just working out how to disable the Load Extended button
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4704
Joined: Fri Nov 08, 2002 5:54 am
Location: dirt box Derby


Return to SAP Security

Who is online

Users browsing this forum: No registered users and 4 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.