Application Development and Automation 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: 
Read only

reg:Howto create checkboxes in function module(bapi)

Former Member
0 Likes
765

Hai ALl

I have one senario .in i need to create check boxes in functionmodule . for that i have to write the code.

could any body suggest me.

how to do this senario in FM

thanks and regards,

Chaitanya

2 REPLIES 2
Read only

varma_narayana
Active Contributor
0 Likes
447

Hi..

Checkbox mean you want to Pass a Parameter with the Values True ('X') OR False ( ' ' ) .

You can Pass a Single Char field and Compare the Values 'X' or ' ' .

<b>Reward if Helpful.</b>

Read only

Former Member
0 Likes
447

Use data Element : GLX_XFELD ( General Checkbox ) for checkbox..

For check box... if box is checked then value is 'X' else

space.

but in function module it doesn;t matter whether u use data element for checkbox... u can use char type variable of length 1.

and inside code u can check..

v_char1 = 'X'. : it means checkbox is checked.

v_char1 = space " it means checkbox not checked.

Reward if useful

regards

Prax