cancel
Showing results for 
Search instead for 
Did you mean: 

How to register an external program on gateway

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

isaias_freitas
Advisor
Advisor

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

Former Member
0 Kudos

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

isaias_freitas
Advisor
Advisor
0 Kudos

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

JPReyes
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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