cancel
Showing results for 
Search instead for 
Did you mean: 

Call ITS from SRM - Reg

former_member203538
Participant
0 Kudos

HI everybody,

I am using Integrated ITS. Now the requirement is in SRM server, ITS service has to be created. This link will be attached to SRM users faviourate menu.

Then user clicks on that favourate menu. Then user has to reach ITS screen.

But

here the problem is, ITS use to ask for GUI user id and password. But customers are not intrested to give user id and password.

From my side, i know that one fixed user id and password can be maintained in service then ITS wont ask login id and password.

But in ITS, i have to catch the user id and password to know who executed the ITS when users saves the data.

If i use fixed user id and password, i cant get the different users.

So please suggest me that how can i go further.

I really strucked up because of this issue and searching SDN for a long time but there is no such question raised.

I am waiting for your valuable answer.

Thanks in advance.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member203538
Participant
0 Kudos

Dear tobias and all,

I have devloped a screen with ABAP language. Just i am calling that screen through ITS parameter. In Screen using ABAP, i have written a code that

zwebques-user_id = SY-UNAME. ( To capture user id )

zwebques-country = Country. ( "this is the text field enter by user )

moidfy zwebques.

This sy-uname captures the current user id in ABAP.

If i use fixed user id in service then same user id will be captured in my program.

Example, in SRM user A and user B is available.

If both the user calls same ITS service, as we are using fixed user id (for example: User z).

In ztable zwebques, both the entries which is entered by user A and B will be captured with user Z because of when ITS screens called the user id "Z" is used.

So i dont want to do this.

I need to capture USER "A" and USER "B" in my ztable.

So please suggest, how can i go further ?.

Or is there any other way to capture SRM user id and Use it in my ITS gui login page without giving pop up to USER.

Simply speaking, user should not feel like he is navigated to different screen with user and password.

If user goes to the page, it should simply reach ITS screen and entry has to be punched in his user id.

So please suggest me how can i go further.

Former Member
0 Kudos

Hello,

setting zwebques-user_id to whateveryouwant - user A for instance

should solve this.

regards Tobias

Former Member
0 Kudos

Hi,

and where is the problem? Writing a user id into a field should not be so hard.

regards

Tobias

former_member203538
Participant
0 Kudos

Tobias,

Here the requirment is, screen has to be created with fixed question with answerable text field or radio button kind of choosing answer.

Its easy to create a screen with fixed fields and simply call it from service.

Then those details has to be updated in ztable with the user id.

So all those things can be captured through web.

But only problem is user login page with fixed user id.

athavanraja
Active Contributor
0 Kudos

does the user logs on to his pc with a user id pwd? is this user id same as his sap user id? or is there a way you can link his windows user id to sap user id? if yes you can get his windows user id and use that for saving his answers.


you can use the following VBscript to get the network logged on user



Dim X
set X = createobject("WSCRIPT.Network")
dim U
U=x.UserName
MsgBox "Logged In User is: " & U


Raja

Message was edited by:

Durairaj Athavan Raja

former_member203538
Participant
0 Kudos

Dear tobias,

Thanx for your reply. I agree that its a single sign on concept.

But here scenario is, Users enters into ITS screen to create web questionaries. That questionaries has to be strored on his user id only because of approver will be choosen depends on his user id only.

If i use single fixed user id means how can i get which user has punched which questionaries and how can i find appover.

Please suggest on this issue.

Former Member
0 Kudos

Hi,

what do you want to do? Do you plan to develop an application?

regards Tobias

Former Member
0 Kudos

Hi,

that's true, the one and only user would work on the system. What is

about single sign on ?

regards

Tobias