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: 

Is there any ROUTINE in any SAP prog. to get small classical report?

Former Member
0 Kudos

Hi,

I need to develop a report, like classical report. I mean, as below, if u go FB50, eneter good adat , press SIMULATE button, then we can get a classical report showing the details in next screen........so, as i am posting FB50 from Z prog., and there is a simulate check box, so, i need to hv the same similar report to get to user, so, when i debugged this fb50+simulate, i found that, its coming from SAPLF064, include LF064F01 at routine form kopf_anzeige........but, its does not hv any IMPORT parameters........so, is there any other routine in any other sap prog. so that, i can pass my parameters, so that, sap will write this report for me, any clue?

tahnq

8 REPLIES 8

former_member191735
Active Contributor
0 Kudos

Why dont you just use the transaction you have specified if there is no change in your program.

Look at the programs you have specified for where the data being filled in internal table.

0 Kudos

i do not understand ur tip(pls. eloborate), i mean, i am looking for like,

perform fopf_anzeigen(SAPLF064) using my_date my_bukrs my_belnr........etc. but, here for this routine in this sap prog. there r no USING/IMPORTING parameters facility!!

thanq

Edited by: SAP ABAPer on Jan 9, 2009 5:41 PM

0 Kudos

Main program of FB50 is SAPMF05A,so what you can do, just search where the selections(Selection-screen) are defined. Than just you may submit this program with parameters.

0 Kudos

sorry, looks like my psoting is confusing u guys,

i am posting a doc from my Z prog by using bapi_acc_document_post.......in my selection screen, i put SIMULATE ckeck box, so, if the user want to check the input data before posting, he will check the simulate check box, then, i need to show the data (inteneded to post) in next screen......so, as we know writing a classical report cumbursuom, so, am looking for a reday made routines in sap prog. so that, will pass my data, so sap write the report for me in next screen,..functional guy want to hv same like FB50+SIMULATE report as i said in my posting....so, am looking for it. thanq

0 Kudos

Yes Confusing indeed

what you may want to do just a call BDC routines only when user checked(in Zprogram) the SIMULATE check box. So you may need to use the recording of BDC only from Simulate Button functionality and onwards(Not before simulate button). This will generate Classical report as same as like in SAP standard.

P.S. Perhaps This is just an fair idea Iu2019m not sure whether it would work or not, but at least you can try.

Former Member
0 Kudos

We had a similar problem a while ago. I could find no good solution. I did find some FM that would format the line items as in the 'simulate' function (BTW, it is an ALV, not classic report) but it needed all of the line items including the ones that are normally generated (like tax).

Rob

0 Kudos

thanq.

yes, i decided that, i built my alv on my own......instaead of searching, searching! thanq

Former Member
0 Kudos

i wrote myself explicitly