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

alv

Former Member
0 Likes
607

hi,

1) in alv reporting how to create check boxes?

2) how we create two selection screens at atime?

3)what is the source for material master creation in bdc

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
587

hi,

you can create check boxes on the selection screen by writing below piece of code in the program as :

selection-screen ch1 as checkbox.

and you can create selection screen block wise such as

selection-screen begin of block b1 with frame title text-001.

select-options s_kunnr for kna1-kunnr.

selection-screen end of block b1.

similary for selection screen with another block,

selection-screen begin of block b2 with frame title text-002.

select-options s_vbeln for vbak-kunnr.

selection-screen end of block b2.

the soruce for material master is basic data 1 or it depends on the requirement.

tcode is mm01>select views>you'll come to know the source..

these fields you need to record using SHDB tcode.

regrds,

shamim.

5 REPLIES 5
Read only

Former Member
0 Likes
587

1 .check program BCALV_Edit_05

Read only

Former Member
0 Likes
588

hi,

you can create check boxes on the selection screen by writing below piece of code in the program as :

selection-screen ch1 as checkbox.

and you can create selection screen block wise such as

selection-screen begin of block b1 with frame title text-001.

select-options s_kunnr for kna1-kunnr.

selection-screen end of block b1.

similary for selection screen with another block,

selection-screen begin of block b2 with frame title text-002.

select-options s_vbeln for vbak-kunnr.

selection-screen end of block b2.

the soruce for material master is basic data 1 or it depends on the requirement.

tcode is mm01>select views>you'll come to know the source..

these fields you need to record using SHDB tcode.

regrds,

shamim.

Read only

Former Member
0 Likes
587

Hi Jyothi,

http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox

1)How can I display a checkbox in ALV?

http://www.sapfans.com/forums/viewtopic.php?t=88376

http://www.sapfans.com/forums/viewtopic.php?t=40968

http://www.sapfans.com/forums/viewtopic.php?t=6919

2)

report abc.

*----


selection-screen begin of screen 1001.

parameters : a1001(10) type c.

selection-screen end of screen 1001.

*----


selection-screen begin of screen 1002.

parameters : a1002(30) type c.

selection-screen end of screen 1002.

*----


parameters : a radiobutton group g1 user-command R,

b radiobutton group g1.

*----


at selection-screen.

if a = 'X'.

set pf-status 'ABCD'.

call selection-screen 1001.

else.

set pf-status 'DEF'.

call selection-screen 1002.

endif.

3) BDC for MM02, just with this link ..

http://sap.niraj.tripod.com/id12.html

Regards,

Priyanka.

Read only

Former Member
0 Likes
587

In add the fieldcatalog as Check box in ALV

SEL is field from Internal Table.

loop at tb_table.

SEL = 'X'. "all record are checked

modify tb_table.

endloop.

<b>CODE for Check Box</b>*

FIELDCATALOG-FIELDNAME = 'SEL'.

FIELDCATALOG-CHECKBOX = 'X'.

FIELDCATALOG-COL_POS = 0.

FIELDCATALOG-OUTPUTLEN = 1.

FIELDCATALOG-EMPHASIZE = 'X'.

FIELDCATALOG-KEY = 'X'.

APPEND FIELDCATALOG TO FIELDCATALOG.

CLEAR FIELDCATALOG.

Read only

0 Likes
587

Thanx a lot