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

Updating authorization group for zprograms

Former Member
0 Likes
1,219

Dear All,

I have to update the authorization groups of a large number of zprograms ( which i have in an excel file) . The table trdir is write protected so i cannot update it directly. What is the best way to go about it? Is there a BAPI i could use or should i be using BDC?

Thanks in advance!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,109

Hi,

You may want to consider using function modules 'RS_TRDIR_SELECT' and 'RS_TRDIR_UPDATE'.

Step 1: Read the TRDIR row for the uploaded program name via 'RS_TRDIR_SELECT'.

Step 2: Change the authorization group (TRDIR_ROW-SECU) to the new value.

Step 3: Update TRDIR via 'RS_TRDIR_UPDATE'.

I don't think there are any other dependent tables that need to be updated in your case, but please double-check before proceeding with my proposed solution.

Regards,

James G.

6 REPLIES 6
Read only

Former Member
0 Likes
1,109

Hi Sherry,

Think you will need to use BDC. I dont think there is any BAPI for this.

Check out for ordinary FM's there are quite a few of them for generic purpose. But since this is going to be a one time activity use BDC.

Cheers

VJ

Read only

0 Likes
1,109

Thanks VJ. Do you know where i can find a step by step documentation on BDC using transaction SHDP. Or if there is a simple BDC example.

Thanks

Read only

0 Likes
1,109

Sherry,

what do u need

do u need the documentation for the bdc process

let me know

Regards,

Naveen

Read only

0 Likes
1,109

Hi Sherry,

try using James solutions that looks a much better solution.

If you are still stuck up then you can take a look at the following thread where you will find a whole lot of links.

You can browse through the sites to find useful info.

Cheers

VJ

Read only

0 Likes
1,109

Thank you all for your replies. James Suggestion works perfectly.

Read only

Former Member
0 Likes
1,110

Hi,

You may want to consider using function modules 'RS_TRDIR_SELECT' and 'RS_TRDIR_UPDATE'.

Step 1: Read the TRDIR row for the uploaded program name via 'RS_TRDIR_SELECT'.

Step 2: Change the authorization group (TRDIR_ROW-SECU) to the new value.

Step 3: Update TRDIR via 'RS_TRDIR_UPDATE'.

I don't think there are any other dependent tables that need to be updated in your case, but please double-check before proceeding with my proposed solution.

Regards,

James G.