Skip to Content
0

How to register an external program on gateway

Sep 13, 2017 at 05:48 AM

154

avatar image
Former Member

Dear SAP Gurus,

Can someone help me in registering an external program in my gateway. Because the rfc connection using the program id is throwing error "Program not registered". Also to note is there are no entries maintained inside SMGW. Do I need to create one? Please suggest.

I tried many blogs and questions on scn but no help.

Regards,

Abhishek Paritosh

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Isaias Freitas
Sep 14, 2017 at 03:04 PM
3

Hello Abhishek,

Each program can have its own method for registration (e.g., you might need to create / edit a configuration file; there may be a GUI that you can use to set the registration details; and so on).

You must contact the support team related to the product that should be performing the registration, so they verify why the program is not being registered.

Do not use the rfcexec program. This is just a test program and in 99.99999999...% of the time it is not the correct program to be registered.

If they find an error like "registration not allowed", it would be due to the Gateway security settings.

You can then refer to the SAP KBA 1850230.

Regards,

Isaías

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Isaias,

Thanks for your replies as always. I did the above but also I ran commands at unix level like below in BACKGROUND.

This helped me to register the program.

<PROGRAM> -a <PID> -g <HOST> -x <SERVICE>

Regards,

Abhishek

0

Hello Abhishek,

But what did you use instead of "<PROGRAM>"?

Was it "rfcexec"? If yes, the program will be registered and a "connection test" will work on SM59.

However, when a business process tries to communicate with it, it will most likely fail because the rfcexec (test!) program will not have the features / functions required by the business application.

Regards,

Isaías

0
Juan Reyes
Sep 13, 2017 at 09:29 AM
0

Hi Abhishek,

This is quite simple, create your RFC and then go to SMGW -> GoTo -> Expert Functions -> External Security -> Create Reg Info -> Highlight the RFC destination -> Save Selected entries in file -> and click Append.

Same for the Sec Info..

Then the gateway will allow the RFC/program go through

Regards, JP

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Juan,

Thanks for your replies as always. I did the above but also I ran commands at unix level like below in BACKGROUND.

This helped me to register the program.

<PROGRAM> -a <PID> -g <HOST> -x <SERVICE>

Regards,

Abhishek

0