cancel
Showing results for 
Search instead for 
Did you mean: 

ITS onclick ok cose passing issue & table control

Former Member
0 Kudos

Hi,

I have designed a table contol on ITS its working ok except following two issue :

1. I want to supply OK Code on click event and supply one of field in tabcontrol and get it into SAPgui .

2. Vertical lines are not appering in table control mean data appering in table control

in table control but vertical seprators are not visible .

Is there any idea for that.

Thanks,

SS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

ad 1. To pass a OKcode from ITS to ABAP you must do the following:

on ITS template:


`B2BButton("SAVE","PARTNER_SAVE")` 

B2BButton is a ITS template button.

SAVE = OKCode to pass

PARTNER_SAVE = name of this button in ABAP screen

You must remember to add a OKCode to button in ABAP.

To do this, go to ABAP screen, and click Layout button. On screen painter choose your button and find "FctCode" field. Fill this fileld with your code (for example SAVE) and activate the screen.

ad 2. to add a vertical lines do the following:

Go to ABAP screen, and click Layout button. On screen painter choose your table layout and double click on it. In table attributes find "Separators" area and click on checkbox Vertical or Horizontal. Activate the screen.

Regards,

Marcin