2009 Nov 04 12:19 PM
Hi Experts,
in my selection screen i have 3 check boxes. which maintain such that by default all the check boxes are tick. if i manually select one or two check box that data should be send to mail. which i not sent it should be disable. and should not be sent. to mail . we r using one function module for mail sending. so u give logic for checking the check boxes
my coding is
*screen declare
selection-screen begin of block b1 with frame title text-001.
parameters : p_mail type mail ,
p_text1 type text1,
p_text2 type text2,
p_text3 type text3.
parameters : p_pack as checkbox default 'X',
p_cer as checkbox default 'X',
p_com as checkbox default 'X'.
selection-screen end of block b1.
at selection-screen output.
loop at screen.
if screen-group1 = '1'.
if val = 1.
screen-input = 0.
modify screen.
else.
val = 2.
screen-input = 1.
modify screen.
endif.
endif.
endloop.
2009 Nov 05 12:18 AM
hi,
in the event START-OF-SELECTION.
if p_pack = 'X'.
fill internla table with the data.....
endif.
if p_cer = 'X'.
append to internla table with the data.....
endif.
if p_com = 'X'.
append to internla table with the data.....
endif.
send the mail.......
thnx
Rk
Hi Experts,
in my selection screen i have 3 check boxes. which maintain such that by default all the check boxes are tick. if i manually select one or two check box that data should be send to mail. which i not sent it should be disable. and should not be sent. to mail . we r using one function module for mail sending. so u give logic for checking the check boxes
my coding is
*screen declare
selection-screen begin of block b1 with frame title text-001.
parameters : p_mail type mail ,
p_text1 type text1,
p_text2 type text2,
p_text3 type text3.
parameters : p_pack as checkbox default 'X',
p_cer as checkbox default 'X',
p_com as checkbox default 'X'.
selection-screen end of block b1.
at selection-screen output.
loop at screen.
if screen-group1 = '1'.
if val = 1.
screen-input = 0.
modify screen.
else.
val = 2.
screen-input = 1.
modify screen.
endif.
endif.
endloop.
2009 Nov 05 12:18 AM
hi,
in the event START-OF-SELECTION.
if p_pack = 'X'.
fill internla table with the data.....
endif.
if p_cer = 'X'.
append to internla table with the data.....
endif.
if p_com = 'X'.
append to internla table with the data.....
endif.
send the mail.......
thnx
Rk
2009 Nov 05 3:31 AM
Hi,
Can you please explain a bit more on your requirement...
Regards,
Tarun
2009 Nov 05 7:30 AM
i have 4 text fields up and 3 check boxes down in my selectiion screen.
they are
1.email address ?????? <--- entering email address
2. text -
3. text -
4. text -
1. packing list
2. certificate of compliance
3. commercial invoice
by default all check boxes are enable . so, which check box i selected that detail should be sent to mail.
which check box i am not selecting that check box should be disable and should not be sent to mail. .
here i am using for sending mail as CALL FUNCTION 'POPUP_GET_VALUES'
2009 Nov 05 1:00 PM