Skip to Content
avatar image
Former Member

Unable to add std PR approval service multiple times from diff systems

hi,

I have added the PR approval service GBAPP_PRAPPROVAL from system A. Now i am trying to activate the same service from system B on the same gateway system but i do not see the service at all after i click on Get Service button. I can see the rest of the services in system A. I presume the service is ignored because the system reads the same service exist already.

When i call the same service of system B on to a different gateway, i can see the service and it works fine.

Any suggestions to resolve will be appreciated ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Jul 04, 2015 at 05:39 AM

    Hi Ameekar charan,

    I think you are trying to use one Gateway system for Multiple servers like as you said SystemA and SystemB from Different clients in gateway.

    If it is the case then services are not going to add for the every system alias or for every client,sisnce they are system specific.If you confusing how to add the system alias for the that service then go to tcode /IWFND/MAINT_SERVICE there you can see the your service(your case gbapp_prapproval) select that service then u cans ee in the bottom of the right hand corner for Add system alias and delete systemalias tabs there you have to maintain the SystemB systemalias.

    I hope it is help for you. If not please specify what is your case.

    Regards,

    Praveen.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 04, 2015 at 05:21 AM

    Hi Ameekar,

    When you say system A and system B, and then you again say same gateway system. I am confused here.

    If you are talking about same system and 2 different clients. Then let me tell you, the RFC destination which is created, may be that is created to interact between specific clients.

    Like GW_100 is connected to BE_100 right now (100 is client here)

    When you login to GW - 200 client, the system alias which you use is the previous one, but for this rfc might not be created.

    So you have to create rfc destination for your another client too. like GW_200 is connected to BE_100

    Then you would be seeing your service in get service in tcode : IWFND/MAINT_SERVICE.

    Regards,

    Tejas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 04, 2015 at 01:07 PM

    Probably i did not explain myself clearly enough.

    I have two users - userA which exists on g/w and system A (marked as default) and userB which exists on g/w and system B. When i login with userA, I am able to execute GBAPP.. service whereas when i login with userB i am not able to.

    Reason being system still routes to only the default system whereas i expected it to check the service in both the systems. If it would have routed to systemB, the service will execute but that is not happening.

    Something that i am missing ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 04, 2015 at 07:50 PM

    Hi Ekansh, Krishna

    Even after assigning role to the user, system did not route for the non-default system. Do not know if i missed anything but still getting the same error.

    Shall try the BADI as mentioned by Krishna and report back.

    Add comment
    10|10000 characters needed characters exceeded

    • You need to enter Roles in Gateway System aliases, and assign two different users different roles to test this out. BADI is useful if you want to do it dynamically. Currently your scenario sounds simple to handle with Roles @ system aliases itself.

  • Jul 06, 2015 at 05:20 AM

    HI Ameekar,

    please see my answer here

    to understand how aliases work with roles

    regards,

    Vasilis

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ok, just did some deeper analysis and found that routing is still not happening 😢

      I will retrace the steps ... added the two system Aliases along with roles

      Still when i test using the different users with respective roles in GW_CLIENT (checking URL - /sap/opu/odata/sap/GBAPP_PRAPPROVAL/WorkflowTaskCollection), i still see the same URL being hit which points to the default system irrespective of the user with which i login.

      Any suggestions ?

      Alias.PNG (11.7 kB)
  • Jul 04, 2015 at 12:42 PM

    Are you using same client for  both systems(SystemA and SystemB) or Different clients.

    If the client is different for two systems then keep only one Systemalias name(either SystemA or systemB).

    Regards,

    Praveen.

    Add comment
    10|10000 characters needed characters exceeded