‎2007 Mar 29 9:35 PM
hi ....
in layout i want to disign a screen using check boxes and radio buttons .... for some fields... i am successfully doing this one but i am not able to code for these...radiobuttons,checkbox...in program...
can any one plz give me details how to use them in a programm...
give me with a simple example...
2).
i have 3 database tables take ex mara,makt,marc... i want to write a programm... using innerjoin and for all entries.... with fields symbols... and with out using field simbols....
‎2007 Mar 29 9:59 PM
hi
here is the answer for ur second question innerjoin and for all entries in between mara, marc, mvke
select a~matnr
a~mtart
b~werks
c~prodh
from ( mara as a join mard as b
on amatnr eq bmatnr )
inner join mvke as c
on amatnr eq cmatnr
into table i_mard
for all entries in i_yplnt
where a~mtart eq 'FERT' and
b~werks eq i_yplnt-pplnt.
based on this u can change ur code.... as u require
instead of inner joins go for all entries its not advisable to use both inner joins and for all entries together,
select matnr ersa ernam from mara into table it_mara
where matnr in s_matnr.
if it_mara[] is not initial.
select matnr werks pstat from marc into table it_marc
for all entries in it_mara where matnr = it_mara-matnr.
endif.
if it_marc[] is not initial.
select matnr vkorg vtweg from mvke into table it_mvke
for all entries in it_marc where matnr = it_marc-matnr.
endif.
1.
check all the below links u can find the info what ever u require..
http://www.sapgenie.com/abap/example_code.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
check these links
http://www.allsaplinks.com/dialog_programming.html
http://www.sap-img.com/abap.htm
http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://sap.mis.cmich.edu/sap-abap/abap09/
http://www.sapbrain.com/TUTORIALS/default.html
steploops
http://help.sap.com/saphelp_nw04/helpdata/en/d1/801c13454211d189710000e8322d00/content.htm
http://sap.niraj.tripod.com/id28.html
if helpful get some points.
~~Guduri
‎2007 Mar 29 10:10 PM
hi Guduri ...
thanks for the ans... but plz could u send me full program...with and with out field symbols...to move the data for my final internal table..
‎2007 Mar 29 10:04 PM
hi prasad,
for check box and radio button ckeck these link :
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba6de35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/83a0375b5dd003e10000009b38f8cf/content.htm
rgds
Deepak.
for inner join :
http://help.sap.com/saphelp_di471/helpdata/EN/fc/eb39c4358411d1829f0000e829fbfe/content.htm