cancel
Showing results for 
Search instead for 
Did you mean: 

which adapter to connect Command Alkon

Former Member
0 Kudos

Hello Experts

We have requirement to connect SAP R/3 and Command alkon Interface .

Which adapter can I user to connect Command alkon.

COMMANDseries Order Management and Ticketing modules are specifically developed for the Readymix industy fullfilling the specific needs for this.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I see this is an old post, however I wanted to respond for future reference.

This question is about the 2-way U-Link interface between ticketing and the batching computer which is indeed an TCP/IP interface and Stefan Grube's answer is correct. However currently Command Alkon has a successor available, Concrete Production Manager (CPM). This product can communicate over web-services. Futher it uses OAGIS BOD's, instead of proprietary business object, which should make integration easier.

stefan_grube
Active Contributor
0 Kudos

In our company we connect Command Series simply with file upload and download on CS side, in R/3 we use IDocs.

Former Member
0 Kudos

hi all

Existing Landscape is as Follows

SAP R/3 - middleware(SAP logon+ C Excutable Program) - Command Alkon

RFC Exit Call RFC and run Excutable C program which push data to port POrt at command alkon receive data

WE want to replace existing Middleware with SAP PI

what will be solution?

How can we communicate with Command alkon using SAP PI

stefan_grube
Active Contributor
0 Kudos

> which push data to port at command alkon receive data

What does this mean? What protocol is used? How are the data structured?

Former Member
0 Kudos

Structure is as follows

{<=sy=>}{<=sy=>}{<=sx=>}T00200001219{<=cr=>}T00700200001219{<=cr=>}00101{<=cr=>}003034{<=ex=>}{<=et=>}

SAP R/3 server hold RFC.

their existing midleware is SAP Logon which call RFC from SAP R/3 nad run some Exucatable C programs which Push data in format as shown above to Command Alkon

Former Member
0 Kudos

structure of data receiving at Command alkon is as follows

{<=sy=>}{<=sy=>}{<=sx=>}T00200001219{<=cr=>}T00700200001219{<=cr=>}00101{<=cr=>}003034{<=ex=>}{<=et=>}

Curren sceanaro

SAP - R3 - RFC exist

middleware(SAP logon and C executable file) - SAP Called RFC from SAP R3 and run C executable file

Command Alkon - Receiver - Reveives data

code in C files to connect Comman alkon system is as follows

int Send2Socket(char *string)

{

int len;

char buf[120];

struct fd_set fds;

len=Text2Bin(string);

string[len]=0;

FD_ZERO(&fds);

FD_SET(Command_Socket,&fds); // Set List of Socket

if(select(0,NULL,&fds,NULL,&timeout)!=0) // Socket writable ?

{

if ((send(Command_Socket,string,len,0))==SOCKET_ERROR)

{

sprintf(buf,"Error Sending to socket: Error %d",WSAGetLastError());

WriteLog(buf);

WSACleanup();

return FALSE;

}

} else {

sprintf(buf,"Socket Timeout Sending to socket Error %d",WSAGetLastError());

WriteLog(buf);

WSACleanup();

return FALSE;

}

return TRUE;

}

Edited by: harshalata Gaonkar on Jun 14, 2010 12:24 PM

stefan_grube
Active Contributor
0 Kudos

There is no PI standard for plain TCP/IP connection.

You can:

- leave the interface as is

- create a Java proxy to call the Command Alkon via socket

- write a C program to communicate with SOAP

- find another solution to access Command Alkon

Former Member
0 Kudos

HI

Can You please guide me how can we achive this Via Java Proxy?

C code is as follow

// Get Batch Machine's Server Name or IP Address

GetPrivateProfileString ("BATCH", "HOST_NAME", "ERROR", server_name, 40, INI_FILE);

if (strcmp(server_name, "ERROR")==0)

{

WriteLog("Initialization error: Get Server Name" );

return FALSE;

}

// Get Batch Machine ID Number

GetPrivateProfileString ("BATCH", "ID", "000", BatchId, 4, INI_FILE);

if (strcmp(server_name, "000")==0)

{

WriteLog("Initialization error: Get Batch Machine ID Number" );

return FALSE;

}

// Get Server Listening Port number

port = (unsigned short) GetPrivateProfileInt("BATCH", "PORT", 0, INI_FILE);

if (port==0)

{

WriteLog("Get Server's Listening Port Error: Using Default==>5200");

port = DEFAULT_PORT;

}

// Get Time Out Default

timeout.tv_sec = (long) GetPrivateProfileInt("BATCH", "TIMEOUT", 0, INI_FILE);

if (timeout.tv_sec==0)

{

WriteLog("Get Time Out Default Error : Block operation will be used");

}

timeout.tv_usec=0;

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

HI

Edited by: harshalata Gaonkar on Jun 16, 2010 7:53 AM

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

ignore this message and plz check last message of this Thread.Due to connection problem same message get posted many times

Former Member
0 Kudos

HI

Can You please guide me how can we achive this Via Java Proxy?

C code is as follow

// Get Batch Machine's Server Name or IP Address

GetPrivateProfileString ("BATCH", "HOST_NAME", "ERROR", server_name, 40, INI_FILE);

if (strcmp(server_name, "ERROR")==0)

{

WriteLog("Initialization error: Get Server Name" );

return FALSE;

}

// Get Batch Machine ID Number

GetPrivateProfileString ("BATCH", "ID", "000", BatchId, 4, INI_FILE);

if (strcmp(server_name, "000")==0)

{

WriteLog("Initialization error: Get Batch Machine ID Number" );

return FALSE;

}

// Get Server Listening Port number

port = (unsigned short) GetPrivateProfileInt("BATCH", "PORT", 0, INI_FILE);

if (port==0)

{

WriteLog("Get Server's Listening Port Error: Using Default==>5200");

port = DEFAULT_PORT;

}

// Get Time Out Default

timeout.tv_sec = (long) GetPrivateProfileInt("BATCH", "TIMEOUT", 0, INI_FILE);

if (timeout.tv_sec==0)

{

WriteLog("Get Time Out Default Error : Block operation will be used");

}

timeout.tv_usec=0;

Former Member
0 Kudos

closing

prateek
Active Contributor
0 Kudos

I think they have their functionalities exposed as webservices. If you can find them, you can use soap adapter for the integration purpose.

Regards,

Prateek

Former Member
0 Kudos

Can we use here Third Party Adapter?

If yes which one?

Former Member
0 Kudos

additional info

data is comimg from R3 via RFC and we need to upload it on Command Alkon