cancel
Showing results for 
Search instead for 
Did you mean: 

Subscription vs user id

THNguyen
Participant
0 Kudos

Hello,

I am very new with KM.

Is it possible to write a program using the KM APIs to get a list of all subscriptions for a specified user id ? Is it also possible to change the "Recipient" user id for a subscription ?

I need to write a program that let me enter a user id (for example: "someuser") into the input box, and when I clicks on the "Search" button, the program will search and return a list of all subscriptions for the provided user id. Then if I select a subscription, I can enter a new user id (for example: "someotheruser") and clicks on the "Update" button to change the user id of the selected subscription from user id "someuser" to "someotheruser".

Any help is greatly appreciated.

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

DirkLehmann
Advisor
Advisor
0 Kudos

Hi,

you can use the reports as Thilo already said, or you use the Subscription API (in case you use NW04 SP10 or greater) to build your own solution....

Please see this:

https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://

Hope this helps...

Dirk

thilo_brandt
Employee
Employee
0 Kudos

Hi The-Hung,

what you need is called "KM Reports" and is still available in the standard. You need to configure and launch the "Subscription Report" where you can search for a certain user id and replace it by an other one. The reports can either be executed instantly or by a regular based scheduler task.

More information to find in the standard documentation:

http://help.sap.com/saphelp_erp2004/helpdata/en/07/dad131443b314988eeece94506f861/frameset.htm

Best regards,

Thilo