Application Development 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: 

Batch input executed in program on RF gun?

Former Member
0 Kudos

Hi,

My client is scanning labels into a program on an RF handheld device.

This program later executes a CALL TRANSACTION tcode USING bdcdata (in mode 'N'). They are actually trying to execute a batch input of the transaction HU02.

When we execute it directly in SAP, the program works correctly. When we execute it on the handheld device, we get the following error:

Control Framework: Fatal error - GUI cannot be reached

Is this error because of the size of the windows on the device? Is it even possible to execute a batch input of a standard transaction in a program on a handheld device? Or is there a way to fix this?

Thank you!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Assuming you are using SAPConsole for this functionality, it seems that either the program or HU02 is issuing a message (using the MESSAGE statement).

As your CALL TRANSACTION is in mode N it would seem unlikely to be HU02, but the message should be apparent when you run the program in SAP.

You'll need to supress this message or use a function module like CALL_MESSAGE_SCREEN to raise it in a way SAPConsole can use.

Regards,

Nick

2 REPLIES 2

Former Member
0 Kudos

Hi,

Assuming you are using SAPConsole for this functionality, it seems that either the program or HU02 is issuing a message (using the MESSAGE statement).

As your CALL TRANSACTION is in mode N it would seem unlikely to be HU02, but the message should be apparent when you run the program in SAP.

You'll need to supress this message or use a function module like CALL_MESSAGE_SCREEN to raise it in a way SAPConsole can use.

Regards,

Nick

arindam_m
Active Contributor
0 Kudos

Hi,

When executing in 'N' (no screen) mode the messages will come may be that's causing a issue. Also the GUI support for HU02 is available on Windows and HTML and not JAVA. Most probably your device is on JAVA and the T-code execution might be failing for that.

Cheers,

Arindam