04-01-2008 10:51 AM
ABAP GURU'S
1-How to create BDC of SE11.
2-Describe classical report with all event with an example.
Thanks..
04-01-2008 11:52 AM
HI,
*For doing bdc for se11. *
1. go to shdb transaction .
2. click on new recording and give name to the recording,
give the transaction code i.e SE11 .
click on start recording.
3. recording starts . specify the table name .
and do whatever steps you want to do it.
Classical report:
this is a sample program with the events:
report XXXXXXXX line-count 10(3).
tables :mara.
types: begin of ty_mara,
matnr type matnr,
mbrsh type mbrsh,
meins type meins,
end of ty_mara.
data: t_mara type table of ty_mara,
w_mara type ty_mara.
selection-screen: begin of block b1 with frame tilte text-001.
parameters: p_matnr like mara-matnr.
selection-screen ; end of block b1.
start-of-selection.
select * from mara into table t_mara where matnr = p_matnr.
end-of-selection.
loop at t_mara into w_mara.
write:/ w_mara-matnr, w_mara-mbrsh, w_mara-meins.
endloop.
top-of-page.
write:/ 45 'classical reports'.
end-of-page.
write: / sy-page no.
04-01-2008 10:55 AM
Goto SHDB and record for SE11. ...
For classical report goto Transaction code ABAPDOCU and
check for the reports there.
04-01-2008 11:06 AM
guru's
1-plz give me the screen shot and code for this
2-Describe the diffrences between session BDC and CALL transaction BDC.
3- describe whta is BDCDATA?.
thanx.
Edited by: Manish Sharma on Apr 1, 2008 12:06 PM
Edited by: Manish Sharma on Apr 1, 2008 12:11 PM
04-01-2008 10:56 AM
Hi,
Use transaction SHDB to record SE11 and do what ever the steps that you want to follow.
And for exmaple programs for events, plz goto
abapdocu transaction code and there you can find examples for different programming techniques.
Reward if helpful.
RSS.
04-01-2008 11:01 AM
Hi,
The events in classical report is:
initialization,
at selection-screen,
start-of-selection,
top-of-page,
end-of-page,
end-of-selection.
If u want the example go to t.code 'ABAPDOCU'
Thanks,
Manjula devi.D
04-01-2008 11:05 AM
04-01-2008 11:23 AM
>
> any reason why do you want BDC for SE11?
I think he's in an interview.
04-01-2008 12:44 PM
04-01-2008 11:07 AM
Hi Manish,
You can Goto SHDB then create bdc for SE11.its applied for record.
Classical Report with Events are such as,
Initialization,
Top-of-Page and End-of-Page
Start-of-Selection and End-of-Selection,
Interactive Report with Events are such as,
At line-selection and At user command..
Reward if useful,
Thx,
S.Suresh.
04-01-2008 11:52 AM
HI,
*For doing bdc for se11. *
1. go to shdb transaction .
2. click on new recording and give name to the recording,
give the transaction code i.e SE11 .
click on start recording.
3. recording starts . specify the table name .
and do whatever steps you want to do it.
Classical report:
this is a sample program with the events:
report XXXXXXXX line-count 10(3).
tables :mara.
types: begin of ty_mara,
matnr type matnr,
mbrsh type mbrsh,
meins type meins,
end of ty_mara.
data: t_mara type table of ty_mara,
w_mara type ty_mara.
selection-screen: begin of block b1 with frame tilte text-001.
parameters: p_matnr like mara-matnr.
selection-screen ; end of block b1.
start-of-selection.
select * from mara into table t_mara where matnr = p_matnr.
end-of-selection.
loop at t_mara into w_mara.
write:/ w_mara-matnr, w_mara-mbrsh, w_mara-meins.
endloop.
top-of-page.
write:/ 45 'classical reports'.
end-of-page.
write: / sy-page no.