Generate Data selection in Report Painter using Z fields
Hi all,
I had created Customer specific fields in project definition and now i want to use them in PS reporting.
I did what note 929889 say to do that, i created structure CI_CC1S and included my Z fileds. Then i entered GRCT and create a new entry: CCSS in field table and in Field name ZZDEPARTAMENTO.
I went to GR22 and modify 6P3 library to check this new characteristics.
In report writer i created the variable with a set , execute report and may new field appears in selection screen, the problem is that the program SAFK21R doesn't consider my new field in the selection so the display is wrong... what is missing? CAn any one help with this issue?
I think it's because structure CCR1S is empty in the Z fields.... what i need to create to report recognize z field as selection options.
Best Regards
Lina
hi poonam,
u can add the field by selecting one of the radio buttons. i.e.,
keyfigure with characteristics.
predefined key figure
formula
Then u select the field which u want to add and provide options as per ur requirement right..
i dont know why r u getting dump...
i have just tried and it is working fine for me..
Rgds.,
subash
Similar Messages
-
General data selection in report painter
hi,
i have created one report painter but now i need to add one more selection field using general data selection,
i tried doing this but i am getting short dump.
kindly help me out.hi poonam,
u can add the field by selecting one of the radio buttons. i.e.,
keyfigure with characteristics.
predefined key figure
formula
Then u select the field which u want to add and provide options as per ur requirement right..
i dont know why r u getting dump...
i have just tried and it is working fine for me..
Rgds.,
subash -
I have a question about General Data Selection in Report Painter
Please help me out. Thi is the question....here it goes.
In a Report in ReportPainter, I have in the General Data Selection the following selected characteristics. They are:
Ledger = 0
Record Type = 0
Version = 1
Fiscal Year = Z-ANOACT
Period = (1CPERIV, 1CPERIB)
So that we have the next screen in the Reports execution.
Fiscal Year : 2006
From Period : 1
To Period : 12
Note:
*Z-ANOACT = Variable so that with a user-exit calculates the actual year. Right now is 2006.
*1CPERIV = This From-Period Variable is referenced to CCSS Table and PERBL Field Name. Its default value is 1.
*1CPERIB = This To-Period Variable is referenced to CCSS Table and PERBL Field Name.
Its default value is 12. Rigth now, we are in the fiscal month 5 (November).
Id like to filtrate information from January,2006,Period:07 to November,2007,Period:05.
I mean I work with the fiscal calendar because the information to get from the table is saved due to this calendar.
The Fiscal Calendar is from July to June:
Month Period Year
January 07 2006
February 08 2006
March 09 2006
April 10 2006
May 11 2006
June 12 2006
July 01 2007
Augost 02 2007
September 03 2007
October 04 2007
November 05 2007
December 06 2007
Right now, we are in November , 2006 (month=11) but according to the fiscal calendar we are in November, 2007 (month=5).
How I can accommodate my variables or what I am doing wrong so that I can select information from periods 7 to 12, 2006 ( January to June, 2006) and information from periods 1 to 5, 2007 (July to November, 2007) having the screen cited above so that report painter adds the 2 ranges.
I cannot do it with the criteria selection cited above because I only have a year and a range of periods and my end-user doesnt want to run my report twice:
One run with periods 7 to 12, 2006 and
Another run with periods 1 to 5, 2007 and then to add the 2 reports in excel to form a report.
Hed like something in my screen like this
Fiscal Year = 2006
From period = 7
To Period = 12
Fiscal Year = 2007
From period = 1
To Period = 5
And then report painter will add the 2 ranges.
Many Thanks if you know anything that can help me, please let me know.Please help me out. Thi is the question....here it goes.
In a Report in ReportPainter, I have in the General Data Selection the following selected characteristics. They are:
Ledger = 0
Record Type = 0
Version = 1
Fiscal Year = Z-ANOACT
Period = (1CPERIV, 1CPERIB)
So that we have the next screen in the Reports execution.
Fiscal Year : 2006
From Period : 1
To Period : 12
Note:
*Z-ANOACT = Variable so that with a user-exit calculates the actual year. Right now is 2006.
*1CPERIV = This From-Period Variable is referenced to CCSS Table and PERBL Field Name. Its default value is 1.
*1CPERIB = This To-Period Variable is referenced to CCSS Table and PERBL Field Name.
Its default value is 12. Rigth now, we are in the fiscal month 5 (November).
Id like to filtrate information from January,2006,Period:07 to November,2007,Period:05.
I mean I work with the fiscal calendar because the information to get from the table is saved due to this calendar.
The Fiscal Calendar is from July to June:
Month Period Year
January 07 2006
February 08 2006
March 09 2006
April 10 2006
May 11 2006
June 12 2006
July 01 2007
Augost 02 2007
September 03 2007
October 04 2007
November 05 2007
December 06 2007
Right now, we are in November , 2006 (month=11) but according to the fiscal calendar we are in November, 2007 (month=5).
How I can accommodate my variables or what I am doing wrong so that I can select information from periods 7 to 12, 2006 ( January to June, 2006) and information from periods 1 to 5, 2007 (July to November, 2007) having the screen cited above so that report painter adds the 2 ranges.
I cannot do it with the criteria selection cited above because I only have a year and a range of periods and my end-user doesnt want to run my report twice:
One run with periods 7 to 12, 2006 and
Another run with periods 1 to 5, 2007 and then to add the 2 reports in excel to form a report.
Hed like something in my screen like this
Fiscal Year = 2006
From period = 7
To Period = 12
Fiscal Year = 2007
From period = 1
To Period = 5
And then report painter will add the 2 ranges.
Many Thanks if you know anything that can help me, please let me know. -
I have a question to ask you about General Data Selection in Report Painter
Please help me out. Thi is the question....here it goes.
In a Report in ReportPainter, I have in the General Data Selection the following selected characteristics. They are:
Ledger = 0
Record Type = 0
Version = 1
Fiscal Year = Z-ANOACT
Period = (1CPERIV, 1CPERIB)
So that we have the next screen in the Reports execution.
Fiscal Year : 2006
From Period : 1
To Period : 12
Note:
*Z-ANOACT = Variable so that with a user-exit calculates the actual year. Right now is 2006.
*1CPERIV = This From-Period Variable is referenced to CCSS Table and PERBL Field Name. Its default value is 1.
*1CPERIB = This To-Period Variable is referenced to CCSS Table and PERBL Field Name.
Its default value is 12. Rigth now, we are in the fiscal month 5 (November).
Id like to filtrate information from January (2006) to September (2007). I mean I work with the fiscal calendar because the information to get from the table is saved due to this calendar.
The Fiscal Calendar is from July to June:
July = 1
August = 2
September = 3
June = 12
How I can accommodate my variables or what I am doing wrong so that I can select information from periods 7 to 12, 2006 ( January to June, 2006) and information from periods 1 to 3, 2007 (July to September, 2007) having the screen cited above and having the information selected added.
I cannot do it with the criteria selection cited above because I only have a year and a range of periods and my end-user doesnt want to run my report twice:
One run with periods 7 to 12, 2006 and
Another run with periods 1 to 3, 2007
Hed like something in my screen like this
Fiscal Year = 2006
From period = 7
To Period = 12
Fiscal Year = 2007
From period = 1
To Period = 3
And to get the report added.
Many Thanks if you know anything that can help me, please let me know.ABDUL: I understand the ABAP Code but the information is saved in the table according to the fiscal calendar.
Fiscal Calendar Number of the MonthYear
January 7 2006
February 8 2006
March 9 2006
April 10 2006
May 11 2006
June 12 2006
July 1 2007
Augost 2 2007
September 3 2007
October 4 2007
November 5 2007
December 6 2007
Normally, We are in November 2006 (month=11, year 2006).
However, fiscally; We are November 2007 (month=5, year=2007).
Important Notes:
The information is saved according to the fiscal calendar in the table.
My end-user wants to filtrate the information from January to November . I mean
Actual Year : 2006 Actual Year : 2007
From Period: 7 AND From Period: 1
To Period: 12 To Period: 5
I understand you told me about the ABAP code, for example my characteristics in the general data selection are:
Actual Year : 2006
From Period: 7
To Period: 5 (I would have an error here because From-Period Variable is greater than To-Period Variable)
According the ABAP code you told me, this would be:
Actual Year : 2006
From Period: 1
To Period: 11
If I run the report with these last parameters you told me, report painter only would add information from year 2006 and fiscal months 1 to 11 (July to May except June). We dont want this, that we want is :
Actual Year : 2006 Actual Year : 2007
From Period: 7 AND From Period: 1
To Period: 12 To Period: 5
How can I do this?? My email is [email protected] or [email protected]
Right now, the end-user runs the report twice and adds the information in excel. One run for :
Actual Year : 2006
From Period: 7
To Period: 12
And other run with:
Actual Year : 2007
From Period: 1
To Period: 5
But the question is how you can do it with only a run and in this way:
Actual Year : 2006 Actual Year : 2007
From Period: 7 AND From Period: 1
To Period: 12 To Period: 5
Thanks if someone can help me!! -
Create PS Report Painter using Z fields
Hi all!
Can any one help me how to create report painter from PS using Z fields which were added in table PROJ by append CI_PROJ?
I need to know how to turn this fields visible to add in creaton of the variable . transaction CJEV.
Thank you
Best Regards
LinaHi,
I have not worked on it but you can try this out:
TCODE for report writer table is GRCT.
There You need to add your z fields in some pre-defined structure like CCSS and then activate the structure and then activate characteristics.
NOTE: 24 charcter is max. length for the characteristics.
Regards,
Harsh. -
How to exctract data from a report to use it in a process
Hi! I would like to know how to exctract data from a report to use it in a process. Let's say that I have a report which have following fields: id_person, name_person. And then, I want to make a process which introduce the id_person (from report) into an associative tabel. How can I reffer to the fields from my report?
I was thinking about something like that( this should be the code from my process)
insert into associative_table(id_person)
values(id_person) or
insert into associative_table(id_person)
values(Report_name.id_person) but it doesn't work....
Thank you very much.Another option, use collections.
Create an on load process that loads all the rows you would have in your report into a collection:
begin
HTMLDB_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION(
p_collection_name => 'ASSIGNED_CALENDAR_CONTACTS' );
for x in (SELECT CONTACT_ID, CONTACT_FNAME, CONTACT_LNAME
FROM CONTACT
WHERE InStr( pkg_CalendarMgr.f_FetchContactIDsForDay( TO_DATE( :P3_CALENDAR_DT, 'YYYYMMDD' ), 'OF' ), CONTACT_ID ) > 0 )
loop
htmldb_collection.add_member(p_collection_name => 'ASSIGNED_CALENDAR_CONTACTS',
p_c001 => x.CONTACT_ID,
p_c002 => x.CONTACT_FNAME,
p_c003 => x.CONTACT_LNAME);
end loop;
end;
Then, instead of your report selecting from the table, have it select from the collection, this way your display will match what's in the collection:
SELECT c001, c002 || Chr(32) || c003 CONTACT_NAME, 'Remove' remove
FROM htmldb_collections
WHERE collection_name = 'ASSIGNED_CALENDAR_CONTACTS'
ORDER BY c003, c002
Then you can have a button on the form that steps through the collection, one element at a time and does whatever you want it to. -
Get data from a Report Painter
Hello.
Does anyone know how to get data from a Report Painter?
Thanks in advance!Hi
check the links
Report Writer functions can be accessed from within the Report Painter.
The difference lies in the GUI of the report painter.
For Report Painter
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
For Report Writer
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/content.htm
Refer the following links :
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-other/accessing-tables-using-report-painterwriter-98766
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
http://help.sap.com/saphelp_bw31/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
Regards
Anji -
Create Report Painter using LIS table
Hi Expert,
I'n new in ECC version but I found we can create report painter using LIS table,
but I'm not success to create report without error or debug
Anybody have the documentation about it ? or tell me how it works ...
Please ..urgent...need to tell client about it..
ThanksHi,
I have not worked on it but you can try this out:
TCODE for report writer table is GRCT.
There You need to add your z fields in some pre-defined structure like CCSS and then activate the structure and then activate characteristics.
NOTE: 24 charcter is max. length for the characteristics.
Regards,
Harsh. -
Select Options, Report Painter
How can I create "Select Options" for a variable in the "General Data Selection" of the report painter screen.
Thank You.If you specify selection parameters for several years and periods in a
Report Writer or Report Painter report, the characteristics year and
period are taken into account independent of each other.
A report with the selections:
From-year : 1997
To-year : 1999
From-period : 003
To-period : 008
will hence select all the following data:
003/1997 .. 008/1997, 003/1998 .. 008/1998, 003/1999 .. 008/1999
This is the standard behavior of Report Writer and Report Painter
reports.
However, reports which directly display the data for the period
003/1997 ............................................. 008/1999
are required in some cases.
You can achieve this in the report definition using the following
procedure.
Additional key words
several years several periods GS274
rolling periods, rolling
SUPPORTGUIDE 20010330131459
REPORTWRITER, SGRW_DOCU_CONS_NOTE,
SGRW_OM SGRW_PS SGRW_PC SGRW_SL SGRW_PCA SGRW_EC SGRW_LIS
Cause and prerequisites
This is a standard behavior of the Report Writer.
Solution
A procedure is described below to implement the selection over a period
of several years and periods. This is merely an example which should
serve as a support for experienced users of the Report Painter and
Report Writer when defining their own reports.
1. Definition of auxiliary column 1: 'All-periods'
Period: 0 ... 17
Year: From-year .. To-year
000/1997.....................................................017/1999
Definition of auxiliary column 2: 'Periods before'
Period: 0 ... From-period - 1
Year: From-year
000/1997..002/1997
Definition of auxiliary column 3: 'Periods after'
Period: To-period + 1 .. 17
Year: To-year
009/1999..017/1999
Definition of the formula column:
Formula = 'All-periods' - 'Periods before' - 'Periods after'
000/1997.....................................................017/199
9
000/1997..002/1997
009/1999..017/1999
003/1997............... 008/1999
Hide the three auxiliary columns. The formula column now correctly
shows the required period
003/1997............... 008/1999
Note:The new reporting table RWCOOM is also available as of Release 4.0
for reports which were, up to now, defined in table CCSS. RWCOOM
contains the characteristic FISCPER which represents a combination of
year and period. You can directly define reports over several years and
periods using characteristic FISCPER without having to follow the
procedure described above.
Please take into account that you cannot call reports via report
Interfaces in the formula columns (see Note 98187).
If you have any query, you may reach me
Dr. Ravi Surya Subrahmanyam, PhD Finance,
SAP FICO Consultant,
Answerthink (India) Limited,
Hyderabad. AP. India
Phone : +91 9848550024
Email : [email protected] -
Report Painter using user exit U002 to create a formel variable for FI-SL
Hi,
I would like to use Report painter creating a formel variable with U002(VAR1,VAR2) for FI-SL and did following:
1. go to TCode: GS11
2. Formel: selecting U002 from Formel-Exit list and giving var1 and var2
'#U002(VAR1, VAR2)'
3. Save
4. Erro message: U002 is not definiert.
Why???
U002 is already implementiert in
Class ZCL_IM_FI_FORMULA_EXIT
method IF_EX_G_SET_FORMULA_EXIT~EVALUATE
CASE flt_val.
WHEN 'U002'
Could anyone help me? Thanks!
Klara Zhaodollyb wrote:
if enter 05.2008
the volume should look like below as a vairable range.
sales volume
01.2008 - 05.2008
you want 01.2008 - 05.2008 as description , thats what your requirement right?
When 'ZTEXT2'.
DATA: ZYEAR(4) TYPE C,
ZTEMP1(6) TYPE C,
ZLOW(14) TYPE C.
if i_step = 2.
CLEAR L_S_RANGE.
Loop at i_t_var_range into intern_range where VNAM = 'user entered variable for calmonth'.
*lets say user entered 05.2008
ZTEMP1 = INTERN_RANGE-LOW.
* now ZTEMP1 has 05.2008
ZYEAR = ZTEMP1+0(4)
* zyear = 2008
*A SLIGHT MODIFICATION TO CONCATENATION
CONCATENATE '01' ' .' ZYEAR '-' ZTEMP1 INTO ZLOW.
*SO 01. 2008 -05.2008 WILL BEN IN ZLOW
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
L_S_RANGE-LOW = ZLOW.
APPEND L_S_RANGE TO E_T_RANGE.
ENDLOOP
ENDIF.
use the text variable as description then u will get the required result i.e &ztext2&
HERE I DIDN'T written any L_S_RAnGE-HIGH.
Regards,
Ranganath
Edited by: Ranganath on Nov 9, 2011 9:41 AM -
Data of the Report Painter report
Dear ALL,
I have the Report Painter report. When I'm executing this report I can save the data into the extract.
Could you tell me where are these data in the system(table?)? I want use these data for SAP script form.
Best regards,
IgorPlease go through the enclosed document. This will give you step-by-step approach for Report painter:
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
Check url
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
Check Report Painter Step-by-Step example under Tools->Report Painter / Report Writer->Report Painter->Creating a Report Painter Report.
Just go through These Links to learn about report Painter.
http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
Please go through the enclosed document. This will give you step-by-step approach for Report painter:
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
Check url
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
Check Report Painter Step-by-Step example under Tools->Report Painter / Report Writer->Report Painter->Creating a Report Painter Report.
Just go through These Links to learn about report Painter.
http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
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.
Please see these steps , it`ll help you ...
http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
regards
vinod -
Due Date Analysis in Report Painter
Hi:
I have a query regarding Report painter FKI1 to FKI6 for Vendor aging analysis. Aging reports build from report enable user to analyze all vendors invoices which are overdue by N of days you specify for every column e.g all invoices overdue btw 0-30, 30-60 and so on but client is requiring an aging report for AP & AR which shows how old an invoice is, our baseline date is document date for all payment terms. e.g we have four columns in report 0-30,30-60,60-90 and >120. If an invoice was created with a document date 25.12.2014 which though not due should appear in 0-30 days. I need to know if its possible within report painter to have such or i will have to go for ABAP.
ThanksHello Atif,
Your requirement can be fulfilled by report painter
1- build a form with structure one axis with key figure
2- create required N days columns
3- use characteristic (Due date analysis with value =1) for analysis of line items due.
4- use characteristic (Days for net due date ) with value from/ to N days.
5- define a report with desired characteristics ( vendor, document number ....)
Regarding to you example
define column 0-30 as a sum formula of the following 2 columns
a column "0-30 due" with characteristics
(Due date analysis with value = 1) and
(Days for net due date with value from 0 to 30)
define another one "not due" with characteristics
(Due date analysis with value = 2) and
(Days for net due date with value from 0 to 99999)
for more information you can check the following standard reports delivered by SAP:
AP/ FKI0 >> report 0SAPDUEAN-01 Due Date Analysis for Open Items
AR/ FDI0 >> report 0SAPDUEAN-01 Due Date Analysis for Open Items
Regards,
Ibrahim -
Requirement to add new parameter in selection in report painter report
Hi Gurus,
I have a requirement to add an extra field in Cost center:Act/Plan/Comm CC Cur report.This is otherwise a Z report in report painter with 0% code (T-code : GR55-> Report group->Report).But,when we go to technical information of this report,it has four standard sap programs,which contains code for this selection screen.It does not even have a modification scope.
Selection screen of this report contains following parameters:
Selection values:
Controlling Ar
Fiscal Year
From Period
To Period
Plan Version
Selection Groups:
Cost Center Group
Or value(s)
Cost Element Group
Or value(s)
My requirement is to add one more parameter : Purchase oeder in new block:
Is there any way to achieve it.
Note: Copying the standard progs into custom prog is not working,i already tried that.
Please let me know your suggestions,if any one of you came across such requirement before.it is very impoertant for me.
Thanks in advance,
MeenakshiHi,
This report (and all generic reports which are based on the same library) looks on CCSS structure. This structure extracts data from totals tables. Therefore, it's not possible to add the parameter of purchase order, as it's a detail line attribute.
Regards,
Eli -
Report Painter - Use of Constants / Local Formula Variable
Hi,
I am using constant and/or local formula variable in report painter in FSI.
I could use both the values for calculating percentages, ie. it can be used for multiplication or division. However, when I try to use it for addition or subtraction, I am getting the error message no. KH206.
In all cases, I am using different values in the formula, i.e. a absolute figure and a GL based figure.
I am not able to understand, why it even allows me for calculating percentage.
Can anyone help me in using a absolute figure for input and thereafter use it in addition / subtraction.
I would prefer an immediate solution to this as I am in the final stages of this report.
Full points guaranteed.....Hi Kash,
Thanks for your reply..
Can you elaborate bit further. You mean to say I should create a Constant with some value.
Thereafter how should I bring that in the form. But, How do I enter the Constant in the Formula... There is no key for entering any text in the formula.. there are only ID (the values which we bring in the form and which can be selected for the formula) and numbers which can be entered.
So how do I enter the name of the Constant?
I tried just keying in the name of the Constant, and I could check the formula also, However, while saving the form, I am getting an error,
Element WCaplimit Bis letztem ATag bis &$BISD is not defined correctly -> check definition
Message no. KH206
Diagnosis
In element WCaplimit Bis letztem ATag bis &$BISD the system adds quantities and values or different currencies.
Can you please revert back with step by step solution?
Appreciate your prompt reply.... Thanks -
Hi Gurus,
I would like to set up segment reporting using Report painter. The format I would like is the segments going across at the top, with my accounts at the bottom. Can anyone help me with this
Regards
JohanHi,
add a characteristic "SEGMENT" and derive it using KEDR from Profit-center master data.
If you need the segment data for already posted CO-PA docs, try line item reposting (KE4S, KE4SFI,...); Maybe its necessary (depending on the number of line items) to use RKECADL1 (SAPNET 126937, 1405404).
Other possibility is to use the realignment functionality KEND to add the segment information to CO-PA data posted before the new characteristic is used.
Best regards, Christian
Maybe you are looking for
-
Zen V Plus 8GB: Can I set MORE than 4GB as storage for dat
When I bought the device, I thought I could choose to empty the entire player and fill it totally with DATA. to (for example) store a complete DVD (as data ofcourse, I understand the player won't be able to display it)
-
How to use TimeCapsule as an external hard drive and thats it
I used have to internet wifi with my TC but now I recently moved and no longer wish to get internet. But can I use my TimeCapsule as an external hard drive only? If so, how do I do this? What kind of cable do I need? (I missplaced the cable that came
-
Several of my applilcations will flash up then off. Mail, Datebook, Safari launch, but most downloads don't. Please advise. Thanks, John
-
I'm not able to log into my File Vault account after restoring from a Time Machine backup
My iPhoto database crashed and I lost my entire Library, so I went into Time Machine to restore it from my latest back up. I wasn't able to get to my iPhoto Library in Time Machine, so in a panic, I just did a total restore. When that was finished,
-
How to use SSLSocket on a signed jar applet?
Hello: OK, I finally could make work my client-server project, not the way I 'd like, but it works. Now the problem is this: Currently I have my applet in a jar file; saiCte.jar, which is signed in this way: keytool -genkey -keystore TECSSDStore.keys