In response to a post (), here’s how I worked out my LSMW to add a role to a list of Busines partners.
This post does not explain how LSMW works and how it should be done. Just some details of how you can do it. There are plenty of posts about LSMW.
I used a LSMW because I wasn’t able to use the following alternatives (or find any other alternatives):
1. tcode MASS(D): could only modify, not able to add new records –> unsuitable.
2. BAPI_BUPA_ROLE_ADD_2: (tcode se37) could only modify, not able to add new records –> unsuitable.
step 1 – Settings of transaction BP:
step 2 – create recording and configure LSMW steps and prepare file that needs to be processed.
create LSMW recording: step by step opening transaction BP, put the BP in edit mode, select the role via the dropdown box, save the changes.
prepare file that needs to be processed.
Hope this helps. Feedback is most welcome since I just started blogging.