Calculating data according to user entry
Dear All ,
i need to design a query where i need to calculate proportionate budget according to the month entered by the user . for eg
if total budget is 50000 then proportionate budget should be total budget * ( entry by the user any month)/12.
how can i do it . help shall be highly appreciated.
thanks
Ritu
Sales group Sales Representative Formula 6 "PROP BUDGET
(UPTO DECEMBER 2011)" "ANNUAL BUDGET CONTRACT SALE
2011 -2012"
Delhi - Region 100 Contract Sales - A 752 B.D. Sharma 289,998,000.00 INR 326,247,750.00 INR 434,997,000.0 INR
878 Vijay Arya
952 Ashok Agarwal
1005 Aman Malhotra 599,994,000.00 INR 674,993,250.00 INR 899,991,000.0 INR
1231 R.K. Gupta
1251 Satyendra Shahi
1305 Sanjeev Angra
1393 Bikram Jamwal
1455 N. C. Basu
1494 Shailender Kumar
1515 Krishna Mitra
1743 Jitendra Dadlani
1754 Ajay Malhotra
1799 Sudhir Arya
1877 Pankaj Garg
1957 Bipin Agnihotri
2027 Ishwar Chander Goel
2031 Sukesh Kakkar
2069 Anil Luthra
2281 Munjesh Chaudhary
2303 Bhojpal Sirohi
2386 Abhinendra Singh
2406 Ratan Singh
2568 Jitendra Gupta
2630 Rajeev Kumar Verma
2645 Jitesh Kumar
2654 Shailendra Singh
3131 Arun A
3702 Shekhar Chaturvedi
3736 Subodh Nigam
3797 Umesh Khanna 160,002,000.00 INR 180,002,250.00 INR 240,003,000.0 INR
# Not assigned
Result 1,181,243,250.00 INR 1,181,243,250.00 INR 1,574,991,000.0 INR
110 Contract Sales - B 752 B.D. Sharma
878 Vijay Arya
1005 Aman Malhotra
1305 Sanjeev Angra
1494 Shailender Kumar
1513 U Srivastava
1754 Ajay Malhotra 15,626,250.00 INR 28,127,250.00 INR 37,503,000.0 INR
1877 Pankaj Garg
2027 Ishwar Chander Goel
2031 Sukesh Kakkar 156,251,250.00 INR 281,252,250.00 INR 375,003,000.0 INR
2173 Abhishek Singh 62,501,250.00 INR 112,502,250.00 INR 150,003,000.0 INR
2645 Jitesh Kumar
# Not assigned
Result 421,881,750.00 INR 421,881,750.00 INR 562,509,000.0 INR
120 Contract Sales - C 752 B.D. Sharma
878 Vijay Arya
1005 Aman Malhotra
1251 Satyendra Shahi
1305 Sanjeev Angra
1494 Shailender Kumar 424,998,000.00 INR 478,122,750.00 INR 637,497,000.0 INR
1754 Ajay Malhotra
1957 Bipin Agnihotri 325,002,000.00 INR 365,627,250.00 INR 487,503,000.0 INR
2303 Bhojpal Sirohi
2526 Digambar Singh
2645 Jitesh Kumar
2654 Shailendra Singh
2675 Shailendra Singh
3699 Dharmender Yadav
# Not assigned
Result 843,750,000.00 INR 843,750,000.00 INR 1,125,000,000.0 INR
130 Contract Sales - D 752 B.D. Sharma
1251 Satyendra Shahi
1305 Sanjeev Angra
1754 Ajay Malhotra
1877 Pankaj Garg
2027 Ishwar Chander Goel
2042 Suresh Saraf 85,938,750.00 INR 154,689,750.00 INR 206,253,000.0 INR
2245 Prosenjit Mukherjee 132,813,750.00 INR 239,064,750.00 INR 318,753,000.0 INR
3797 Umesh Khanna
# Not assigned
Result 393,754,500.00 INR 393,754,500.00 INR 525,006,000.0 INR
200 Product Sales - 1 1501 Sanjeev Sharma
1819 Girish Luthra
2027 Ishwar Chander Goel
2069 Anil Luthra
# Not assigned
Result
210 Product Sales - 2 1501 Sanjeev Sharma
1819 Girish Luthra
2069 Anil Luthra
2364 Anil Kumar
2397 Ashok Kumar
2594 Vikram Malhan
2654 Shailendra Singh
# Not assigned
Result
220 Product Sales - 3 3736 Subodh Nigam
# Not assigned
Result
300 Marketing &Technical 1515 Krishna Mitra
2221 Ashu Sharma
# Not assigned
Result
# Not assigned 1501 Sanjeev Sharma
# Not assigned
Result
Result 3,471,880,500.00 INR 2,840,629,500.00 INR 3,787,506,000.0 INR
Similar Messages
-
Formatting a date according with user settings (user defaults)
Hi All,
I need to format a date I receive via JS in YYYYMMDD format according with user defaults <b>without</b> server side action (I know, this is not a good issue, but they want it).
My solution is to write a JS function (there are a lot of it on WWW) which accepts two strings and formats the first according to the second, something like:
userFormattedDate = formatDate('20060613','DD.MM.YYYY');
paying attention to generate 'DD.MM.YYYY' string on server side, according to user settings.
But if this isn't a weblog, where is the question? :-D
The question is: is there a JS function (in DatePicker or dateNavigator BSP) provided by standard libraries which serves similar functionality?
Does exist a JS public standard library?
Thanks.
DanyHi Durairaj,
Tags <% %> are for server side actions.
The question is about obtaining the same effect, but client side.
Thanks.
Dany -
Function module converts sy-datum to date according to user settings in SAP
Hi experts,
I need such a function module which converts sy-datum to a date format
according to user settings in SAP.
Thanks,
YogeshUse these function modules.
CONVERSION_EXIT_PDATE_OUTPUT
CONVERT_DATE_TO_EXTERNAL
Please mark points if the solution was useful.
Regards,
Manoj -
Date according to user requirement
Hi experts
I have a selection-screen date field when user enter date with the help of F4 it shows error message like this
Input date format like this : 09/01/2010
Please Enter date in the format : __.__.____ like this
is there any function modules to convert date like this format .
Thanks & Regards
Siva Krishna.To solve this purpose, a function module has been created which takes the date and format (in which date needs to be converted) as input and gives the date in the desired format as output. It also raises an exception if the format is incorrect.
For achieving this functionality, a ztable is to be created which contains all the possible formats of a date. Then the format given on the screen is to be validated against this table.
STRUCTURE OF THE FUNCTION MODULE
FUNCTION zdummy_date_conv.
""Local Interface:
*" IMPORTING
*" REFERENCE(DATE) TYPE SYDATUM
*" REFERENCE(FORMAT) TYPE CHAR15
*" EXPORTING
*" REFERENCE(DATE_FINAL) TYPE CHAR15
*" EXCEPTIONS
*" INCORRECT_FORMAT
POSSIBLE DATE FORMATS
DATE FORMATS
DD.MM.YY
MM.DD.YY
MM.YY.DD
YY.MM.DD
YY.DD.MM
DD.YY.MM
DD-MM-YY
MM-DD-YY
MM-YY-DD
YY-MM-DD
YY-DD-MM
DD-YY-MM
DD/MM/YY
MM/DD/YY
MM/YY/DD
YY/MM/DD
YY/DD/MM
DD/YY/MM
DDMMYY
MMDDYY
MMYYDD
YYMMDD
YYDDMM
DDYYMM
DD.MMM.YY
MMM.DD.YY
MMM.YY.DD
YY.MMM.DD
YY.DD.MMM
DD.YY.MMM
DD-MMM-YY
MMM-DD-YY
MMM-YY-DD
YY-MMM-DD
YY-DD-MMM
DD-YY-MMM
DD/MMM/YY
MMM/DD/YY
MMM/YY/DD
YY/MMM/DD
YY/DD/MMM
DD/YY/MMM
DDMMMYY
MMMDDYY
MMMYYDD
YYMMMDD
YYDDMMM
DDYYMMM
DD.MM.YYYY
MM.DD.YYYY
MM.YYYY.DD
YYYY.MM.DD
YYYY.DD.MM
DD.YYYY.MM
DD-MM-YYYY
MM-DD-YYYY
MM-YYYY-DD
YYYY-MM-DD
YYYY-DD-MM
DD-YYYY-MM
DD/MM/YYYY
MM/DD/YYYY
MM/YYYY/DD
YYYY/MM/DD
YYYY/DD/MM
DD/YYYY/MM
DDMMYYYY
MMDDYYYY
MMYYYYDD
YYYYMMDD
YYYYDDMM
DDYYYYMM
DD.MMM.YYYY
MMM.DD.YYYY
MMM.YYYY.DD
YYYY.MMM.DD
YYYY.DD.MMM
DD.YYYY.MMM
DD-MMM-YYYY
MMM-DD-YYYY
MMM-YYYY-DD
YYYY-MMM-DD
YYYY-DD-MMM
DD-YYYY-MMM
DD/MMM/YYYY
MMM/DD/YYYY
MMM/YYYY/DD
YYYY/MMM/DD
YYYY/DD/MMM
DD/YYYY/MMM
DDMMMYYYY
MMMDDYYYY
MMMYYYYDD
YYYYMMMDD
YYYYDDMMM
DDYYYYMMM
CODE OF FUNCTION MODULE
FUNCTION zdummy_date_conv.
""Local Interface:
*" IMPORTING
*" REFERENCE(DATE) TYPE SYDATUM
*" REFERENCE(FORMAT) TYPE CHAR15
*" EXPORTING
*" REFERENCE(DATE_FINAL) TYPE CHAR15
*" EXCEPTIONS
*" INCORRECT_FORMAT
Local variables declaration
DATA: l_y1 TYPE numc1,
l_y2 TYPE numc1,
l_y3 TYPE numc1,
l_y4 TYPE numc1,
l_m1 TYPE numc1,
l_m2 TYPE numc1,
l_d1 TYPE numc1,
l_d2 TYPE numc1,
l_len TYPE int1,
l_ctr TYPE int1,
w_t247 TYPE t247,
l_flag_m1 TYPE char1,
l_flag_init TYPE char1,
l_flag_d TYPE char1,
l_flag_y TYPE char1,
l_format TYPE char15,
l_final_date TYPE char15.
Local constants declaration
CONSTANTS: c_d TYPE char1 VALUE 'D',
c_m TYPE char1 VALUE 'M',
c_y TYPE char1 VALUE 'Y',
c_mmm TYPE char3 VALUE 'MMM',
c_yyyy TYPE char4 VALUE 'YYYY'.
Checking the format given by user.
SELECT SINGLE zformat
FROM zformat_date
INTO l_format
WHERE zformat = format.
IF sy-subrc EQ 0.
Processing Logic of the routine
l_y1 = date+0(1).
l_y2 = date+1(1).
l_y3 = date+2(1).
l_y4 = date+3(1).
l_m1 = date+4(1).
l_m2 = date+5(1).
l_d1 = date+6(1).
l_d2 = date+7(1).
l_len = STRLEN( format ).
CLEAR : l_flag_m1, l_flag_init, l_flag_d,l_flag_y.
WHILE l_ctr < l_len.
IF format+l_ctr(1) = c_m.
IF NOT format CS c_mmm.
l_final_date+l_ctr(1) = l_m1.
l_ctr = l_ctr + 1.
l_flag_m1 = l_flag_m1 + 1.
l_final_date+l_ctr(1) = l_m2.
l_ctr = l_ctr + 1.
l_flag_m1 = l_flag_m1 + 1.
ELSE.
SELECT SINGLE * FROM t247 INTO w_t247
WHERE spras = sy-langu
AND mnr = date+4(2).
IF sy-subrc EQ 0.
l_final_date+l_ctr(3) = w_t247-ktx.
l_ctr = l_ctr + 3.
ENDIF.
ENDIF.
ELSEIF format+l_ctr(1) = c_y.
IF format CS c_yyyy.
l_final_date+l_ctr(1) = l_y1.
l_ctr = l_ctr + 1.
l_final_date+l_ctr(1) = l_y2.
l_ctr = l_ctr + 1.
l_final_date+l_ctr(1) = l_y3.
l_ctr = l_ctr + 1.
l_final_date+l_ctr(1) = l_y4.
l_ctr = l_ctr + 1.
ELSE.
l_final_date+l_ctr(1) = l_y3.
l_ctr = l_ctr + 1.
l_flag_y = l_flag_y + 1.
l_final_date+l_ctr(1) = l_y4.
l_ctr = l_ctr + 1.
l_flag_y = l_flag_y + 1.
ENDIF.
ELSEIF format+l_ctr(1) = c_d.
l_final_date+l_ctr(1) = l_d1.
l_ctr = l_ctr + 1.
l_flag_d = l_flag_d + 1.
l_final_date+l_ctr(1) = l_d2.
l_ctr = l_ctr + 1.
l_flag_d = l_flag_d + 1.
ELSE.
l_final_datel_ctr(1) = formatl_ctr(1).
l_ctr = l_ctr + 1.
ENDIF.
IF NOT l_final_date IS INITIAL.
date_final = l_final_date.
ENDIF.
ENDWHILE.
ELSE.
CLEAR date_final.
RAISE incorrect_format.
ENDIF.
ENDFUNCTION. -
AP Aging report - key date for user entry
Hi All,
We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
I know the key date for this report is created on net due date in SAP standard report.
In standard SAP report , key date is always a system date(SY-DATUM).
What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
Can someone Pls tell me if aging buckets are calculated based on a user entry ?
Regards,
KumarHi Voodi,
Aging in the standard report is being calculated like below...
1.For open items
Posting date<key date
Item status = O
2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
in this scenarion , key date is always system date ie today's date.
But user wants to get all the invoices based on his user entry...
is this possible with the same standard key date variable or do we need implement any other logic???
Regards,
Kumar -
Variable Creation on user entry FISPER
Hi All,
I need help to design a BEx Query , currently I am facing a challenge. The client require the report query design as per the screen shot.
Hence I have
1. I have calculated YTD using 0P_FPER (User Entry Value).
2. But the rest figures , I need to display over the periods , for example user entered 003.2009 , the Key Figure should be displayed under three column 001 till 003 and YTD Key figure in single column cumulative of all three periods.
3. Please help as I am unable to create variable which will give me 002.2009 and another variable 003.2009 ..
The number of column should be dynamic in nature depending upon user entry.
Regards,
SubhasishSo , I just have to use it as restriction (filter) = 0I_BA106 for the Previous Year YTD.
Do I need to consider any other variable for Fiscal Year restriction ?
The Function module states :
FUNCTION RSVAREXIT_0I_BA106 .
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_VNAM) LIKE RSZGLOBV-VNAM
*" VALUE(I_VARTYP) LIKE RSZGLOBV-VARTYP
*" VALUE(I_IOBJNM) LIKE RSZGLOBV-IOBJNM
*" VALUE(I_S_COB_PRO) TYPE RSD_S_COB_PRO
*" VALUE(I_S_RKB1D) TYPE RSR_S_RKB1D
*" VALUE(I_S_RKB1F) TYPE RRO01_S_RKB1F
*" VALUE(I_THX_VAR) TYPE RRO01_THX_VAR
*" VALUE(I_STEP) TYPE I DEFAULT 0
*" EXPORTING
*" VALUE(E_T_RANGE) TYPE RSR_T_RANGESID
*" EXCEPTIONS
*" NO_PROCESSING
*" NO_VALUE
* Purpose:
* get actual period from variable 0P_FPPER
* and compute interval from first period to corresponding period
* in previous fiscal year
* returning parameter
DATA: l_s_range TYPE rsr_s_rangesid.
* work area for I_THX_VAR and Period
DATA: l_wa_thx_var LIKE LINE OF i_thx_var
, l_ta_range LIKE l_wa_thx_var-range
, l_wa_range LIKE LINE OF l_ta_range
, l_period(3) TYPE n
, l_year(4) TYPE n
, l_prev_year(4) TYPE n
* some checks to start with
IF i_vnam <> '0I_BA106'.
RAISE no_processing.
ENDIF.
IF i_step <> 2.
RAISE no_processing.
ENDIF.
REFRESH e_t_range.
CLEAR l_s_range.
CLEAR l_period.
READ TABLE i_thx_var INTO l_wa_thx_var
WITH TABLE KEY vnam = '0P_FPER'.
l_ta_range = l_wa_thx_var-range.
* only one value allowed
READ TABLE l_ta_range INTO l_wa_range INDEX 1.
l_year = l_wa_range-low(4).
l_period = l_wa_range-low+4(3).
IF ( l_period IS INITIAL )
OR ( l_year IS INITIAL ).
CLEAR l_s_range.
RAISE no_value.
ELSE.
* get previous year
l_prev_year = l_year - 1 .
CONCATENATE l_prev_year con_first_period INTO l_s_range-low.
CONCATENATE l_prev_year l_period INTO l_s_range-high.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
ENDIF.
APPEND l_s_range TO e_t_range.
ENDFUNCTION.
Please suggest.
Regards,
Subhasish -
Current date as deafult for Calender Day and user entry
Hello All,
There is a select option for Calender Day for a BW query.
This Calender Day should have a default as Current Date and User entry is also possible.
I have used a Customer exit and written the following code under i_step = 1
data: v_currdt like sy-datum.
clear: v_currdt, vfl_range.
if i_step = 1.
vfl_range-sign = 'I'.
vfl_range-opt = 'EQ'.
v_currdt = sy-datum.
vfl_range-low = v_currdt.
append vfl_range to e_t_range.
endif.
Please inform if this code is incorrect, because I am not able to see the date at all.
Cheers,
KPHi
Check with this code!
Implemented for the same function as you require.-
if i_step = 1.
case i_vname.
WHEN 'ZZZZZZ'.
IF i_step = 1.
REFRESH e_t_range.
CLEAR l_s_range.
l_date1 = sy-datum.
L_S_RANGE-LOW = l_date1.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
endif.
endcase.
endif.
Regards
M.A -
Filter output data according to portal current user name in omni portlet
We have created an omniportlet that connects to a database, and retrives some values into a defined HTML layout.
We want to filter output data according to our portal current user name
When we try to use portal.wwctx_api.get_user inside of omni portlet select statement fallowing error occurs.
Error in executing Query : [ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1803 ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1637 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "PORTAL.WWCTX_SSO", line 1865 ORA-06512: at "PORTAL.WWCTX_API", line 183 ]
Thanks a lothello
i think you cannot use the portal built-in packages inside omni portlets. Omni portlets is designed to connect to other data source (not only oracle) and Portal API might not be available at these data sources. Therefore, you should not be using these Packages at all!. i tried very hard, but to no avail.. Omni portlet has its own repository!! if you cannot pass the infomration as a parameter, then find a different approach
Ammar Sajdi
Amman - Jordan
oracle consultant -
Filter omni portlet output data according to portal user
We have created an omniportlet that connects to a database, and retrives some values into a defined HTML layout.
We want to filter output data according to our portal current user name
When we try to use portal.wwctx_api.get_user inside of omni portlet select statement fallowing error occurs.
Error in executing Query : [ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1803 ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1637 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "PORTAL.WWCTX_SSO", line 1865 ORA-06512: at "PORTAL.WWCTX_API", line 183 ]
Thanks a lotThis is because the Omniportlet is actually operating within a different context--a separate database connection from the Portal connection. We have similar issues with Java portlets. You might try creating a public parameter on the portlet, then mapping that to the system variable USER (done on the Parameters tab of the page where you deploy it--if you don't see a parameters tab, you must enable Parameters and Events at the page group properties level). I haven't tested any of this, but it should get you going in the right direction.
-
Bex Query: make data pass through user exit calculation at navigation time
Hi all!
I have a new requirement and I don't know how to solve it...
Now, when I execute a web model containing a query, the system "reads" a date and calculate the query based on that date in a user exit defined in CMOD, for example, filtering data with an interval between january and the date read.
Besides, I have in the web model a dropdown item where user can choose other months. The dropdown item only shows single values but now if I choose a month, the query only shows data for that month.
I need the system filters the query with the new interval. For example, between january and the new month the user has just chosen.
Does anyone know a way to make a query pass through the user exit calculation after executing the query for the first time? Any other ideas? I need the query to "reexecute" and filter the data (create a new interval) based on the value a user chose.
(sorry about any inconvenience, because I posted the problem in another sdn specific forum but as I received no answer I've decide to explain it in here...)
Thank you! Points will be assigned.Any ideas please?
-
Can i get user to put today's date in a Text entry box?
Is there any way that you can have the student enter in today's date using a text entry box? Or what can I use if this is what I want the student to have to do? I tried putting in the variable box mm/dd/yyyy and that doesn't work. Thanks
Hello,
If you want to be sure that the user enters a date, perhaps this widget of Jim Leichliter could be of some interest to you:
http://captivatedev.com/2011/04/11/adobe-captivate-5-widget-text-entry-box-validator/
Lilybiri -
Custom field in Basic data screen of invoice entry screen
hello,
I want to add custom fields in basic data screen of Invoice entry in SRM 5.0.
As invoice Entry screen is divided into three parts:
1. Basic data Screen
2. Header data screen
3. Item data screen
Now according to OSS Note number 672960 we are able to add Custom fields in the header as well as item data screen of invoice entry without any difficulty.
but our requirement is to add custom fields in the basic data screen.
Is there way available to add custom fields in the basic data screen.
Thanks
Sarabjeethi
check this spro path
Financial Accounting (New) --> Travel Management --> Business Add-Ins and User Exits in Travel Management --> Entry --> Screen Modifications: Adjustment of "User Data" Screen -
Hi All,
I have a query wherein I want to have a user entry but do not want the query result to be affected by it.
The details of the query are such that in this query I am calculating Sales actuals by posting period (selecting constant months to make a quarter) and sales commitment by a normal characteristic Fiscal quarter.
Is it possible that I have a user entry for quarter and have that quarter (selected by the user) displayed in the query but at the same time display the entire data of the query?
Please advise.
Thanks and warm regards,
SharmishthaHi Anil,
In rows I have CGL Branch (user netry/multiple values), organizational division(zdivision/user entry) and sales district. In th columns I have Previous to previous year's sales(SALDR NOTECASH restricted with fiscal year/ user entry variable with offset -2) similarly I have previous year's sales. Then I have current year's Q4 sales. For this I have restricted the same key figure with fiscal year/user entry and posting period=jan,feb,mar). This is because ZBDMIS1 does not have ZFIQUART1(fiscal quarter). Then similarly I have to calculate for all the quarters of the current year. Alongside I also have to calculate the commitments for all the quarters. For this I created a cube in which I included ZFIQUART1 (and loaded thru flat file), as customer will give data in quarter. Finally I made query on the multiprovider. Now, in the query I created a new selection for commitment of Q1 and restricted Sales Commitment Value with fiscal quarter = quarter1 and similarly for all quarters.
But the values of the Sales Commitment val is not coming at all.
Also I wanted to put quarter as user entry. (just as a display of the selected quarter in columns, we don't want it to filter the data)
Thanks and warm regards,
Sharmishtha -
SAP exit -- user entry variable
Hello,
In my report i need two columns: one is for displaying the value of the current period and the other one is for displaying the cumulated value up to the current period. The info object is 0FISCPER.
1. The current period should be entered via user entry and based on this, an exit variable should pick up the year's cumulated value. Which variables could I use to fulfill these requirements?
2. Furthermore i have looked in SE37 to find the code of SAP Exit variable "0FYTCFP". However, the FM for the variable doesn't seem to exist. Why? The variable however exists in table RSZGLOBV. How do I find the code?
Thanks in advance,
F CIf you are gonna use fiscper as a variable parameter, your requirement would need a customer exit.
If i get it right, the first would column should be derived from the user entry which wont be possible with the suggested SAP exit as that would bring the current fiscalyear/period (based on sys date) not giving the user the option to enter the fiscalyear/period. And the second column should be a YTD for that particular year the user has entered as a input parameter. the suggested SAP exit will again be calculating based on ur system date not on the user input.
the only way you can overcome this is if you have the flexibility to use fiscalyear and posting period seperately. if you can do that, you can avoid the customer exit. the procedure would be -
You can create ur own variable of type user entry on fiscalyear and posting period.
the first column would have ur KF further restricted by fiscalyear and posting period restricted by the variables you created ... so in the 1st column you would get the value for that period.
in the second column, the selections would be same (KF further restricted by fiscalyear and posting period ) but while restrict posting period make it a value range - and in the range pick period 1 - the variable u created, that would give you the YTD from period 1 to the user entered period. -
User entry in Query output screen
Hi Friends,
Is there any option to allow user entry in the query output (not variable entry screen), so that the output will change accordingly?
Regards,
GuruHi,
Once query output is generated you can not have any variable selections further. What you can do is, Filter your output based on existing characteristics.
If there are any free characteristics available you can drilldown on them or put filter restrictions on them and you can get the new data for those required attributes.
But you can not change the original output set once generated, you will have to re-execute the query.
Regards,
Durgesh.
Maybe you are looking for
-
I have a simple form on a web page for associaiton members to order lapel pins. I want to provide a toal cost of the order but I can't for the life of me get anything to multiply the value in a text fiels by a constant number ($5.00). I found some Ja
-
Unable To Open PDF File In Browser
I am unable to open a PDF file within my browser using Adobe Reader. Whenever I attempt to open a PDF file, I get the following message: The Adobe Acrobat/Reader selected for viewing PDF documents in browsers cannot be found at its installed lo
-
Problems to download photos from iPhone since ver 8.0
Since I updated the SW to ver 8.0 I have problems to get the pictures out of my iPhone towards my Windows 8.1 PC (before it worked) Before I connected it to my PC and my iPhone 5S appeared as a harddisk with a DCIM folder. Inside it, and as it looked
-
Weird issue with sound control?
I am not sure what is going on with my audio controls. I use MSI to control my audio (it's connected to the motherboard). The strange thing is, a crack appears on the "Reset EQ Setting" button. See link: http://www.facebook.com/photo.php?pid=30673857
-
Little help in LDAP debugging for BOXI R2 SP3 on IIS
Hi, Once of my client is on BOXI R2 SP3 with IIS as web Application server on windows server 2003. We have LDAP authentication enabled which is working fine but sometime we get error when trying to add new LDAP user. We get error message that can not