Application Development 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: 

Proposed authorization objects in web dynpros

Former Member
0 Kudos

Hi all!

I´ve read the suggestions in below discussions regarding making changes to proposed objects in SU24 for web dynpros. I have a dynpro in SRM that is checking object BBP_FUNCT, the dynpro is /SAPSRM/WDA_L_FPM_OIF, so I want the PFCG role to bring the proposed object and values from USOBT_C to avoid manually adding the object in the role.

The dynpro was not available in SU24 to maintain so I ran FM AUTH_TRACE_WRITE_USOBHASH using R3TR WDYA and the Dynpro name. After that I could see it in SU24 and maintained proposed objects/values, however when I go into PFCG and merge with new data it doesn´t bring the proposed object.Not even creating a new role with the dynpro brings any object.

Is there any step I´m missing here?

These were the discussions
Authorization objects in web dynpro ABAP and SU24 transactionhttp://scn.sap.com/thread/1798678

http://scn.sap.com/thread/1431719

Thanks in advance,

Victor Guerrero

1 ACCEPTED SOLUTION

martin_voros
Active Contributor
0 Kudos
Hi,  from you screen shots it seems that you click on button Other and then select web dynpro app. If this is correct then the reason why it does not pull any data is that you maintained values for TADIR service. So if you select Authorization default values for service instead of WDA then you can select option TADIT and it will bring default values from SU24.  Cheers
7 REPLIES 7

martin_voros
Active Contributor
0 Kudos
Hi,  from you screen shots it seems that you click on button Other and then select web dynpro app. If this is correct then the reason why it does not pull any data is that you maintained values for TADIR service. So if you select Authorization default values for service instead of WDA then you can select option TADIT and it will bring default values from SU24.  Cheers

0 Kudos

Thanks Martin,

Does this mean that for every Web Dynpro that I insert in the menu, I do have to do a second "insert" of Authorization default?

If so, I'm thinking that if someone in the future removes the web dynpro from the menu, the authorization default and its objects will be kept until someone removes the entry from the menu as well. It doesn't make much sense, it's kind of similar to adding authorizations manually: I mean,  they'll be kept there when someone removes the tcodes/Dynpros that made you insert them manually.

Thanks!

0 Kudos

Hi Victor,

I've never had this issue because in my cases the apps were exposed through portal. So menu definition was defined in portal roles and backend authorizations in ABAP role using authorization defaults.

Anyway, I just checked it and there is no way how to link auth. defaults to web dynpro app record as you enter it. These records are excluded when default values are read. The only way is to include TADIR service. Honestly, I don't know what is the best way. As you noticed TADIR record does not appear in menu so you can add 2 menu items for each app. You already mentioned disadvantage of this approach. Do you use NW Business client? You could define transaction for each app and handle as transaction in SU24 and PFCG (for example this thread http://scn.sap.com/thread/1720145 describes how to create transaction but I haven't tested it).

Cheers

0 Kudos

Hi Martin.

I opened a message 2 weeks ago and SAP just answered that the complete integration of tadir-based web dynpro applications and web dynpro configurations will be available until 7.31 (is it even available for download to all customers or is it ramp-up?) Funny 😃

So in the netweaver basis versions before 7.31 we have only the workaround with that "2-step-model"

As for the custom tode to call a dynpro... and adding the objets to this dummy tcode,  I think it´ll be too complicated to hire a dev team to do that for every dynpro just to adapt our PFCG need 😉 and will be kind of messier.

Thanks for your inputs!

Victor

0 Kudos

Hello Victor,

I just checked with the S-user you have used to open the message at SAP and with that S-user-ID you can access the download for Basis release 7.31 (-->search for installations and upgrades->enter '7.31' and you get some hits then).

b.rgds, Bernhard

0 Kudos

Hi Victor,

thanks for passing update from SAP.

You also don't need to hire a development team to create transactions for your web dynpro apps. Just check the definition of transaction SOAMANAGER in SE93. You can use exactly same config. The only change is that you need to change parameter APPLICATION from APPL_SOAP_MANAGEMENT to your web dynpro app. If i am not mistaken a user does not need to be registered as developer to create new transactions.

Cheers

0 Kudos

Quick update. As far as I believe SAP merged two branches and hence 7.03 and 7.31 is same code base. SAP released their trial version of 7.03 system that can be downloaded from here. I just finished installation and quickly checked PFCG. It seems that web dynpro app became first class citizen. For example you can maintain auth. default in SU24 directly for web dynpro app. You don't have to use TADIR service. So if you want to play with it then there is an easy way.

Cheers