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: 

Authorization/user role to save IDoc as XML

0 Kudos

Dear experts,

I have created a user account for a user to send Idocs. I have assigned the following user roles:

  • SAP_BC_MID_ALE_MD_LO
    • for allowing to send IDocs,
  • SAP_IDOC_EVERYONE
    • for displaying the IDocs lists

Now I want him to be able to save the IDOCs sent as a spreadsheet (XML file) in a local folder. To do so he needs to open the Idoc from IDOCS Display lists (WE05), click on 'IDoc' menu, 'Print' and then on the Menu bar top again click on 'LIST-> Export  -> spreadsheet'.

The Spreadsheet button is grayed out, meaning he is not authorized to save it as spreadsheet.

can you please tell me what user role to add to let him do this? Or if there is any other way to save the IDOC sent as XML, meaning the same type as it was sent to the other system?

Thanks,

Rashed Popalzai

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rashed,

Could you check , if user has S_GUI with Export value

Regards

Plaban

7 REPLIES 7

Former Member
0 Kudos

Hi Rashed,

Could you check , if user has S_GUI with Export value

Regards

Plaban

0 Kudos

Hi Plaban,

No he doesnt. Is S_GUI a role? I cant seem to find it.

Regards,

Rashed

0 Kudos

Hi Popalzai,

Users should have S_GUI authorization object in their profile with activity value 60 for import and 61 for export.

Hope this help you.

Regards,

RK

0 Kudos

Hi RK, (my call of duty nickname is RK "Retiredkiller" lol )

Can you please guide me on how to add S_GUI authorization object in the user's profile as I could not find the object in the authorization lists?

Thanks,

Regards,

Rashed

0 Kudos

Good moring Rashed,

Radhakirshan are reffering that you need add the authorization object S_GUI into a role.

How is not correct add any new authorization object in a standard roles, I think that the best ways is create a Z role and add the S_GUI authorization object.

You can use it to add all authorization objects and values that the IDOCs user needs.

1. Create a new Z role to give aditional authorizations to IDOC user:

2. Next, go to "Authorization" tab and click into modify:

3. In the next window, you need to click into a "Manually" button and add here the S_GUI authorization object:

4. Click into a blank field:

5. Finally, you need give to a S_GUI authorization object the required values (export, import, etc.)

6. When you add the required values in S_GUI, you need, first, save the role and finally, generate the role:

7.  Finally, you need assign the Z rol to the user:

Note: You need do the same process if you need add another authorization object/values.

I hope that it can help you to create the Z role with a S_GUI.

Please let us know with anyhthing.

Best regards.

0 Kudos

Hi Alejandro,

thank you very much on the detailed answer.

It indeed did the job.

regards,

Rashed

0 Kudos

A pleasure Rashed,

Please let us know if you need more help or doubts.

Note: An interestant standard role is SAP_BC_ENDUSER, this role contains basic authorizations for the users (SU53, SU3, etc.), you can create a copy of this role and assign it to all users, and if you need assign a basic or global authorization to all users, you only need assign the authorization in this new role.

Best regards.