Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3599

Calling Multiple destinations

$
0
0

Hi All,

 

As we are global company where we have almost 130 servers(including Dev,QAS&PROD) it is very difficult to maintain the routine security activities for user validity extension.Note we have explored enough possibilities with CUA but due to some specific concerns we are not proceeding with it.

 

We are developing a program to extend the validity period of our internal sap users using BAPI_USER_CHANGE.

 

Process steps followed to perform this activity.

 

1.Text file is uploaded with userid,email,first name,last name,expiry date & extension date as various columns and same has been populated as an internal table.

2.Now i need to pass this internal table to BAPI.

 

Loop lt_extension assigning <lt_extension>.

 

LV_USERNAME = <lt_extension>-USER_ID.

 

 

BAPI.PNG

 

 

This code will work fine if the user is exist in the same system.Now we need to extend the same by providing multiple destinations.

 

Queries

 

What is best approach to perform this?

 

1.  Get all RFC destinations from RFCDEST table and loop it and fill as Destination wa_destination-RFCDEST.

2.We are planning to execute the program in background so STARTING NEW TASK wont be an ideal solutions.

3.IN BACKGROUDN TASK provides only single destinations to chosen at a time.Not sure about performance..

 

 

 

Kindly provide some hints/suggestions to move forward.

 

Ram


Viewing all articles
Browse latest Browse all 3599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>