cancel
Showing results for 
Search instead for 
Did you mean: 

Button functionality

MichaelTe
Contributor
0 Kudos

Hello,

I have an input form and defined two buttons like mentioned in this thread:

I can call two different function modules.

In my case I mant to call the same function module but with different parameters.

I have a function module which delivers me sales orders. I want now a button with the text 'All sales orders' and a second button with 'Open sales orders'. The result is always a list of sales orders, and so I want the output in a <b>single</b> table view instead of two.

How can I achive this?

I use VC 6.0 Patch 6

Regards Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Michael,

I had exactly the same problem. My solution is:

2 fields on the input-form

ALL_ORDERS and OPEN_ORDERS.

1. I defined for the Field ALL_ORDERS Initalization

FILL ('X',1)

and Formating: IF(UPPER(@OPEN_ORDERS)=='X',' ','X').

2. OPEN_ORDERS Formating UPPER(@OPEN_ORDERS).

So it works like Radio-buttons.

Regards

Gerd

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Michael,

I had exactly the same problem. My solution is:

2 fields on the input-form

ALL_ORDERS and OPEN_ORDERS.

1. I defined for the Field ALL_ORDERS Initalization

FILL ('X',1)

and Formating: IF(UPPER(@OPEN_ORDERS)=='X',' ','X').

2. OPEN_ORDERS Formating UPPER(@OPEN_ORDERS).

So it works like Radio-buttons.

Regards

Gerd