Application Development 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: 

can we call a bdc program from report program

Former Member
0 Kudos
856

hi

can we call a bdc program from report program

1 ACCEPTED SOLUTION

Former Member
0 Kudos
262

Yes you can any program from another program using

SUBMIT <repname> statement

SUBMIT <repname> USING SELECTION-SCREEN dynnr.

or

SUBMIT <repname> VIA SELECTION-SCREEN USING SELECTION-SET variant

SUBMIT <repname> VIA SELECTION-SCREEN WITH SELECTION-TABLE rspar

etc.

Regards

Prax

8 REPLIES 8

Former Member
0 Kudos
262

a bdc is not a program as such....of course you can call it in a report program....you will write the code for a bdc within a report program only....

you can also create another report and then call the report having the BDC from this report using SUBMIT.

Former Member
0 Kudos
262

hi,

For the BDC u need to have a flat file.For the Normal report it is not so.

Can u be more clear of what u want.

Former Member
0 Kudos
262

Hi,

Yes . you can call bdc program as any other program from report program using submit statement.

You have and return addition if you want to come back to caller prg.

Via selection screen for displaying selection screen of the called program.

Reward points if useful,

Aleem.

Former Member
0 Kudos
262

if you write BDC program as a include program you can call it in report program and use it.

Former Member
0 Kudos
262

Hi Jyothsna,

You can call the BDC program from a report program by using SUBMIT statement.

Rewards points if helpful.

Regards

Sourabh Verma

Former Member
0 Kudos
262

Hi,

you can call bdc program in anyother program using <b>SUBMIT</b> or if ny tcod eis assigned with that program then by using <b>CALL TRANSACTION <tcode>.</b>

<b><i>Reward point if find helpful

Debjani Lahiri</i></b>

Former Member
0 Kudos
262

Hi,

Convert BDC recording into Function Module from SHDB and use it anywhere.

Reward if useful!

Former Member
0 Kudos
263

Yes you can any program from another program using

SUBMIT <repname> statement

SUBMIT <repname> USING SELECTION-SCREEN dynnr.

or

SUBMIT <repname> VIA SELECTION-SCREEN USING SELECTION-SET variant

SUBMIT <repname> VIA SELECTION-SCREEN WITH SELECTION-TABLE rspar

etc.

Regards

Prax