2006 May 03 1:55 PM
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!
2006 May 03 2:57 PM
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.
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!
2006 May 03 2:00 PM
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
2006 May 03 2:54 PM
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
2006 May 03 2:58 PM
Sherry,
what do u need
do u need the documentation for the bdc process
let me know
Regards,
Naveen
2006 May 03 3:02 PM
2006 May 03 8:07 PM
Thank you all for your replies. James Suggestion works perfectly.
2006 May 03 2:57 PM
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.