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: 

what is fctcode?

Former Member
0 Kudos
2,071

what is fctcode?

6 REPLIES 6

Former Member
0 Kudos
295

Hi,

It is the FUNCTION Code for fields/buttons.

based on that we write the code using the FCT CODE in Interactive levels(using at User command).

reward if useful

regards,

ANJI

Former Member
0 Kudos
295

Hi Phani,

Whenever you create checkboxes/Push Buttons in Module Pool Programs, You need to give some properties for the Checkboxes, In that there comes the FCT Code(Function Code). It is the <b>Short 4 letter</b> representation of the checkbox, which is used in the coding to represent the Checkbox.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Former Member
0 Kudos
295

hi

good

FctCode

Function code: This attribute is only for pushbuttons and input/output fields with the Dropdown List box attribute. If a function code is assigned for this variant of input/output fields, it is displayed like an OK code entry when a selection is made in the list. The specified function code is sent to the server as an event.

If the user presses a pushbutton, the system sets the command field to the 20-character code you enter here.

This value is not checked against values you specify in the Menu Painter.

thanks

mrutyun^

former_member181962
Active Contributor
0 Kudos
295

If you mean Function Code, then it is nothing but the Code that is attached to any Button/ Check Box/ radio-button . When the user click on any one of those Button/ Check Box/ radio-button, the system field sy-ucomm wil have the value of the Function code associated with that button.

Regards,

Ravi

Former Member
0 Kudos
295

Hi,

function code is a set of characters(word) given to an element( push button or menu item or standard tool bar button or application tool bar button or tab strip tab )used to write the action for that element.

regards,

bharat.

Former Member
0 Kudos
295

Each function in a GUI ia associated with a function code. When the user chooses a function, the PAI event is triggered and the calue of the function code is stored in system variable sy-ucomm and is assigned to OK_CODE field.

You can check the std pgm demo_dynpro_gui_status.

for more info

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba99935c111d1829f0000e829fbfe/content.htm

Hope this helps you.