SAP_CMGWSERV 

Use

For CPI-C programs, which are started by the CPI-C interface, this function checks the argument vector to find the gateway service.

Integration

You can only use this function after calling the function SAP_CMACCP.

Example: CM_RETCODE return_code;
CPIC_CHAR *gwhost, *gwserv;

SAP_CMACCP(argv);
..
SAP_CMGWHOST (&gwhost,&return_code);
..
SAP_CMGWSERV (&gwserv,&return_code);
..