2006 Feb 08 4:36 PM
Hi All,
I have a standard report and it uses a structure to pull the data for the report. I need to create a custom report which uses the same structure, selection screen but a different layout. Could any of u plz advice, if its doable in report painter or just plain abap program?? Also I am interested to know how the report painter stores the actual report?? as ABAP program?? Please help..urgent..
Thank you
Message was edited by: Thilothama v
2006 Feb 08 4:48 PM
Hi,
check the SAP help ..
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
regards
vijay
2006 Feb 08 4:48 PM
Hi,
check the SAP help ..
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
regards
vijay
2006 Feb 08 4:52 PM
Thanks for the link. I already started reading it, but I want to know if someone has done this? or is it doable??
2006 Feb 08 4:53 PM
Hi
I had made couple of SD reports in report painter 4 year ago .. as far as process is concern you have create library , but it deals with information structure which start with s0* , after defining information structure in library it take to select the fields and display them on your out put . information structure have the statistical data most of the time . As i worked on information structure , so31,32,33 .....
I t creates ABAP program like ABAP query creates in background . if you execute Customer Over due analysis or in Co02 cost analysis report or MC* ( MM stock reports ) those are in report painter .
Hope thisll give you some guide line ...
Thanks
2006 Feb 08 7:27 PM
Yes, its doable..
SUMBIT <SOURCE PROG> USING SELECTION-SCREEN <scr no> EXPORTING LIST TO MEMORY AND RETURN.
This statement execute the given selection screen<scr no> and later program<source prog>. Output is written to ABAP memory.
Using function LIST_FROM_MEMORY you read the output and format accordingly.
2006 Feb 08 9:18 PM
The source program?? Do I give the source Program generated out of Report execution? If the report is Report Painter report, Report group has set of programs generated for the report. Do I have to give these abap programs?
Also in the meanwhile, I was trying to generate a new report in report painter. I couldnt see all the characteristics that the Library has while creating a row. Could you please help?
Are Characterics not like Column names that has to be pulled from the structure or table??? Why am I not seeing all the column names of the tables in the list???
Message was edited by: Thilothama v
2006 Feb 09 4:38 PM
Venkat,
Using your code, will I be able to get all the data that the report generated in the memory? including the variation options I see on the left side of the report???
2006 Feb 09 4:46 PM
As far as I know about report painter, It create a report in background..Like when you make ABAP query (SQ01, 02, 03 ) .. It will create a report. You cant modify the report . You have to get OSS id in order to do that. if youre ready do it then you can pass it to Memory and can achieve your goal ...
I think it will give you some hint. I wish I could have authorization to use report painter on my this project so I can help you out practically.
Thanks
2006 Feb 09 5:21 PM
How do I see where the Variation is coming from?? In the left side of the report, I could see the variation object...how do i see it??
Anyone with PS report experience - could you help me???
2006 Feb 09 5:29 PM
Please see these steps , it`ll help you ...
http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
Thanks
2006 Feb 09 7:08 PM
Saquib,
I really appreciate all the hints you are providing me..I dont know couple of things like
Where the variation objects for the report are coming from, when i open the variations - fiscal year, period values etc are present not what i see in the report in the left side..Also how do we link a report to a DB profile??
Thanks for all the help..
2006 Feb 12 10:01 AM
Dear Thilothama_v,
The variation objects are coming from the sets.
For example, when you read the report 'Cost Centers: Actual/Plan/Variance'(T-code : S_ALR_87013611), you can find the characteristic 'Cost Center' is set as a 'set variable'. So the cost center in the report left side are coming from the cost center group that you input.
Best regards.
Lewis Hwang
2006 Feb 15 8:55 PM
Lewis,
Can I include Project, WBS Element, Network Activity in the report results? in the cost element reports? I want to make the report 6ppp-001(Tcode: S_ALR_87013549) to display variation information on the report layout in the right side...Could you please help me how I can do this????
Is there any other forum I can get some help on this?? I tried in SAP fans...but no one has answered...any inputs???
Thanks
Thilothama
Message was edited by: Thilothama v