cancel
Showing results for 
Search instead for 
Did you mean: 

Mass copy or creation of Analysis Authorization

Former Member
0 Kudos

Hi All

i have a requirement to create more than 400 analysis authorization ,

The AA is mainted BY 0mainplant ,

1)in most case i just have to do a direct copy ,

For example

MD_1600_M

copy to SD_1600_M

only the name is different .

2)in some cases i have to change the infoprovider

MD_1786_M

0TCAIPROV = MDM*

copy and change to

SD_1786_M

0TCAIPROV = SDM*

i did also find a program in scn ,however i am not sure if i gave the right input in csv file

thanks in advance

regards

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

sander_vanwilligen
Active Contributor
0 Kudos

Hi,

Please be careful with a program to update standard SAP tables. E.g. there exist 41 RSEC* tables, which will not be updated all at the same time but we have to avoid any inconsistencies.

I believe a safer approach could be using LSMW. You can create a Batch Input recording (i.e. processing t/code RSECADMIN), making particular input fields variable and attach those fields to an input file.

Alternatively, please consider to use a more dynamic approach. You can also create one Analysis Authorization object with a Customer-Exit Variable (processing time i_step = 0). Another way could be Virtual Analysis Authorizations which was introduced in SAP BW release 7.3.

Best regards,
Sander

Answers (1)

Answers (1)

former_member185177
Contributor
0 Kudos

Hi Mahesh,

Use 0mainplant instead of ZCOSTCTR in the below mentioned code

  wrsecval-tcTAUTH = auth.

  wrsecval-OBJVERS = 'A'.

  wrsecval-tcTIOBJNM = 'ZCOSTCTR'.

  wrsecval-tcTSIGN = 'I'.

  wrsecval-tcTOPTION = 'CP'.

  wrsecval-tcTLOW = '*'.

  wrsecval-tcTHIGH = ''.

Use required info provider name instead of 0FIGL_R10 in the below mentioned code.

  wrsecval-tcTAUTH = auth.

  wrsecval-OBJVERS = 'A'.

  wrsecval-tcTIOBJNM = '0TCAIPROV'.

  wrsecval-tcTSIGN = 'I'.

  wrsecval-tcTOPTION = 'EQ'.

  wrsecval-tcTLOW = '0FIGL_R10'.

  wrsecval-tcTHIGH = ''.

As i shared the sample code to all of you that whatever the changes you can do if you are aware of ABAP coding. Else take any ABAPer help and based on the requirement we can do any manipulation in the code. 

It will resolve your problem.

Regards,

Krishna Chaitanya.

Former Member
0 Kudos

thanks Krishna for your reply.

when i execute the program . there should be a text file only with the name of the Analysis authorization right ?