Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Connection Broken Message on SAPConsole

Former Member
0 Likes
1,472

HI all,

I had already posted this message in RFID forums, but i did not get any response. So i am reposting it here ...

I have developed an RFID program to create Transfer Orders for Material documents, It works fine from SAP Gui, but when executed from RF Device or SAPConsole it errors out at the final step saying "Connection Broken", but suprisingly the actual document is created in SAP.

I was wondering if this message "Connection Broken" is a part of an exception from the program or is it displayed by SAPconsole?.

Please Advice,

Regards,

Venkat.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,279

I think this is coming from sapconsole, or even the telnet server underneath. You are using a telnet server?

Regards,

Rich Heilman

HI all,

I had already posted this message in RFID forums, but i did not get any response. So i am reposting it here ...

I have developed an RFID program to create Transfer Orders for Material documents, It works fine from SAP Gui, but when executed from RF Device or SAPConsole it errors out at the final step saying "Connection Broken", but suprisingly the actual document is created in SAP.

I was wondering if this message "Connection Broken" is a part of an exception from the program or is it displayed by SAPconsole?.

Please Advice,

Regards,

Venkat.

7 REPLIES 7
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,280

I think this is coming from sapconsole, or even the telnet server underneath. You are using a telnet server?

Regards,

Rich Heilman

Read only

0 Likes
1,279

Rich,

Yes.. we are using Telnet Server.

We also tried logging into SAPConsole directly instead of RF device and runing the application, we still get the same error message.

Does this error occurs because of the way in which it is coded or is it something else, since it works fine in SAP GUI.

Is it possible to debug the program while running the transaction under SAP Console?

Thanks for your help,

Venkat.

Read only

0 Likes
1,279

No you cannot debug from sapconsole. So you get this error message when the transaction completes, right? If you run it on the gui, what happens when the transaction completes, do you get a "Success message" or something like that?

Regards,

Rich Heilman

Read only

0 Likes
1,279

Rich,

I appreciate your prompt replies...

When i run it in SAP GUI it works fine and a success message is displayed at the buttom of the screen ( saying "Transfer order : ..# is created ".

Venkat.

Read only

0 Likes
1,279

I think that this may be an issue. The success message coming. In my sapconsole implementation, messages that appear at the bottom of the screen in SAPgui will create problems when in sapconsole. In all of my RF programs, I use a separate screen to show the user messages, this is how all the error handling happens. Comment out the success message and see if there is still a problem. I'm thinking that it will work.

Regards,

Rich Heilman

Read only

0 Likes
1,279

Sorry to res such an old thread.

Hi all, I've a problem very close to this one and hoped for some help.

We're calling a batch input of VL02 from sapconsole and, as Rich has said, the final success message is being displayed. Being that VL02 is a SAP standard transaction we can't just go commenting out bits of code.

Is there any way to suppress messages coming from SAP transactions so that they don't interfere with the console display? Neither the SDN nor Google searches that I did returned anything to help...

We don't lose the connection or anything, we just don't want the message displayed is all.

Thanks for your time,

Patrick.

Read only

Former Member
0 Likes
1,279

Hi

Make the message to appear in a popup. It will come as a message in a new screen on the device, and once user presses ENTER, you can bring the control back to your application.

Regards,

Raj