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: 

Subit button.

Former Member
0 Kudos

Hi guru's

How to create a submit pushbutton and also submit data in a coustomer table using normal reports.

Please help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

In se 38 use this code as

CALL SCREEN 100

MODULE user_command_0100 INPUT.

save_ok = ok_code.

CLEAR ok_code.

CASE save_ok.

WHEN 'BUTTON_EXIT'.

LEAVE PROGRAM.

WHEN 'BUTTON_1'.

output = 'Button 1'(001).

WHEN 'BUTTON_2'.

output = 'Button 2'(002).

WHEN 'BUTTON_3'.

output = 'Button 3'(003).

WHEN 'BUTTON_4'.

output = 'Button 4'(004).

WHEN OTHERS.

output = save_ok.

ENDCASE.

ENDMODULE.

this is one method instead of output = ' " u can write the Update statement to update the data into data base ..

Regards,

Sana.

Reward points if found helpful...

1 REPLY 1

Former Member
0 Kudos

Hi,

In se 38 use this code as

CALL SCREEN 100

MODULE user_command_0100 INPUT.

save_ok = ok_code.

CLEAR ok_code.

CASE save_ok.

WHEN 'BUTTON_EXIT'.

LEAVE PROGRAM.

WHEN 'BUTTON_1'.

output = 'Button 1'(001).

WHEN 'BUTTON_2'.

output = 'Button 2'(002).

WHEN 'BUTTON_3'.

output = 'Button 3'(003).

WHEN 'BUTTON_4'.

output = 'Button 4'(004).

WHEN OTHERS.

output = save_ok.

ENDCASE.

ENDMODULE.

this is one method instead of output = ' " u can write the Update statement to update the data into data base ..

Regards,

Sana.

Reward points if found helpful...