Convert to formula option in reporting?
hi friends,
now i executed report
C1 $100
C2 $200
now right click my KF and click convert formula
i got
C1 100
C2 200
i got this out put,
what is the usethis option here?
regards
ss
Go through this .
http://help.sap.com/saphelp_nw04s/helpdata/en/d3/015369f54f4a0ca19b28c1b45acf00/content.htm
-Vijay
Similar Messages
-
What is the use of 'Convert to Formula' option available BEx Query Rpt?
After refreshing the query in BI, when I right click on the query report, I am getting an option 'Convert to Formula'. Can you please tell me the use of this option, and how we can use this in our report.
1) What does "convert to formula" do?
2) After I click on "converting to formula" in the report , I am unable to paste the spreadsheet from i finance into excel. Below msg appears. What settings do I need to change?
" Microsoft Office Excel cannot paste the data"Can anyone help me to get answers for the below questions
-
Use of Convert to Formula Option
Hi All
Where do we use Convert to formula option and give me some scenarios.
Regards
NagaGo through this .
http://help.sap.com/saphelp_nw04s/helpdata/en/d3/015369f54f4a0ca19b28c1b45acf00/content.htm
-Vijay -
What is the use of 'Convert to Formula' in BEx Report?
Helo BI Gurus,
After refreshing the query in BI, when I right click on the query report, I am getting an option 'Convert to Formula'. Can you please tell me the use of this option, and how we can use this in our report and what the result we will be getting?Hi Mathew,
The Convert to Formula in Excel Allows you to Convert you Embedded Bex Query into API Calls. This enables you to Better Format the Excel Output by allowing you to move your Cells Around.
This helps because when you refresh you Query all the Changes you make will be maintained.
[More Info on Working with Formula|http://help.sap.com/saphelp_nw70/helpdata/EN/d3/015369f54f4a0ca19b28c1b45acf00/content.htm]
Hope this Helps
Datta. -
BEx Analyzer - Convert to formula - Dynamics of a hierarchy
Hi BI-Experts,
I have a question regarding the BEx Analyzer built in functionality "convert to formula".
Once I have done this, the report is more ore less static, establishing a fixed link between the cell and the query result.
(BExGetData(u201CDATA_PROVIDER_1u201D,F8,E10)
Let's say I had included a G/L account hierarchy and converted the analysis grid item to formulas: I will lose drill down functionality of the hierarchy, drag & drop etc.. I can live with that.
But what happens, if I update the G/L hierarchy in BI by uploading from ECC and someone added an additional text node and 3 new G/L accounts. They won't appear in my "convert to formula" report, even when refreshing, right?
Does anyone know a work-around for a highly formatted report in BEx Analyzer which keeps the layout when refreshed (only way I know is with "convert to formula") AND using hierarchies which should be able being updated?
Every hint is much appreciated!
Kind Regards,
Steffen Lange>
Steffen Lange wrote:
>
> But what happens, if I update the G/L hierarchy in BI by uploading from ECC and someone added an additional text node and 3 new G/L accounts. They won't appear in my "convert to formula" report, even when refreshing, right?
>
> Kind Regards,
> Steffen Lange
Thats right, as now the key figure values are basic excel formulas though they refer your dataprovider.
The only option is to update the value of the hierarchy (new nodes etc) in the workbook too, you can add a new row and insert the new hierarchy value it should pick it up and key figures populated accordingly (you may need to put right row column value for your key figure calculation formula).
Edited by: Praveen G on Aug 12, 2009 3:54 PM -
Hello all
Ib bex Analyzer, there is the option of "Convert to Formula". what is the main options and advanteges of this appliction?
B.R
YuvalHi,
Im not that pretty sure about the usage of this.
But what I have observed is that:
1) 'Convert to Formula' converts your input ready layouts into a normal Excel layout.
2)The input readiness is lost once you convert it into formula.
3)All the compounded characteristcs are removed from the layout.
4) If a Key Figures of type % is initially displayed as 70%, then after converting it to Formula, it displays as 70.
For Eg: If keyfigures for Amounts were displayed as 200INR, $100 initially, then once you click on Convert to Formula, the KFs are displayed now as 200,100 and you can do the normal Excel functionalities now like Sum, Min, Max, Average, Count ,etc.
The result rows will be displayed now irrespective of the currencies / units in rows. ie: 200, 100 , the sum is displayed as 300.
Best Rgds
Shyam -
Convert to formula gives sometimes #NV
Hi,
I'm having some troubles with the option "Convert to formula" in a BEx Analyzer.
I only have 1 key figures (no formula, just directly from the cube) in my query.
If I run the query I have see for example:
Vendor -
Week -
Quantity
AAAA -
01.2010 -
20.000 KG
BBBB -
47.2009 -
17.000 KG
BBBB -
49.2009 -
15.000 KG
BBBB -
50.2009 -
12.000 KG
BBBB -
01.2010 -
5.000 KG
When I choose "convert to formula", I get the following result:
Vendor -
Week -
Quantity
AAAA -
01.2010 -
20.000 KG
BBBB -
47.2009 -
#NV
BBBB -
49.2009 -
#NV
BBBB -
50.2009 -
#NV
BBBB -
01.2010 -
0
I'm having BI Add-on 7.10 SP 10 Patch 1 and SAP GUI 7.10 SP 15.
Does anyone give me an explanation why this happens?
Thanks a lot!
Edited by: Anouk Vanderstraeten on Dec 29, 2009 11:38 AMI review the note and copied the dll to frontend pc.In some queries convert to formula runs but for some of the queries it does not run.
I tested with two queries.
After choosing convert to formula and copy cells to another cells just like in the demo below , I changed the characteristic for the copied cell. But keyfigure values are not changed. It seems demo https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0c67f05-f062-2910-61b7-ae5a28809e1a is not working.
Do you have any idea?
Thanks.. -
Restrictions for Queries using Convert to Formula
Hi all,
When I want to <b>use the "Convert to Formula" Function in a query are there any restrictions</b>? I.e. are there any <b>restrictions in the way the underlying query needs to be built to be able to use this function properly</b>?
Do you know any documentation referring to this?
Thanks
Christian
Message was edited by: Christian TauberPrakash,
Thanks for the response. You are right about the cell editor and the need for two structures. Also you are right about the "convert formula" option in BEX runtime and one structure. However, I thought that in order for you to be able to use the refernce in additional calculations locally in BEX workbook two structures are required for the reference to be known. That is the experience that we had while working on a scenario here at our client site.
Regards,
Farzad -
Formula line in Report painter
Hello,
Can I use 'IF' phrase in Formula column in Report painter ? If so what's the right Syntax .
Thank you,
Ran.Hi Ran,
Glad to hear from you too!
Did you put '.' in the formula at the end of the message? You shouldn't in this kind of statement, so the expression should be:
IF X005 > 0 THEN X004 + X003 + X005 ELSE X004 + X003
Regards,
Eli
P.S. I tried it, just in case, and it works. -
Help needed with Formula in D2K Reports 6i
I'm trying to write a formula in Developer Reports 6i.The PL/SQL code that I have written isn't getting compiled successfully.I am pasting the code below. Could anyone please tell me where the mistake lies???
function CF_1Formula return Number is
declare
desc varchar2(50);
amount1 number;
begin
SELECT MST_SAL_COMP.vc_sal_desc into desc FROM MST_SAL_COMP,DT_SAL_SLIP,PERSDET where
<some joining conditions>;
if desc='BASIC' then
return amount1;
end if;
exception
when no_data_found then
return null;
end;You should rename the variable "desc", as this is a reserved word
Cheers,
Gareth -
I downloaded a song from i-tunes. It plays on my computer, but won't play on my i-phone. Any suggestions on how to fix this? Or how can I re-download the song without getting charged a second time. I could not find an option to "report a problem".
I could not find an option to "report a problem".
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the item that is not playing properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
(Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.) -
Background Processing Option in Report
Hi Fellow Abapers,
I need to edit a report whereby there is an option to display further fields. Now if they select this option, the report NEEDS to run in the background and output to the file. This will later be retrieved byt the SAP Output Controller (Which there is already a program). It is a must.
Does anybody have any links, codes, tips? Helpful posters will be awarded.Hi You can do that programatically, no need to say execute it in background from se38. Make sure you are not using file download but use open dataset. here is the sample program. Just copy and paste this in test program and check it. hope this will be helpfull. this report reads only materials for plant and there is an option on the selection screen to print or email or you can write it to spool. ofcourse it does automatically and then you can retrieve or print from SP01 but in your case you have to write to application server.
REPORT ysam_test5 MESSAGE-ID zsummit.
DATA: marc TYPE marc.
TYPES: BEGIN OF t_marc,
matnr TYPE matnr,
werks TYPE werks_d,
mmsta TYPE mmsta,
maabc TYPE maabc,
END OF t_marc.
DATA: it_marc TYPE TABLE OF t_marc,
wa_marc TYPE t_marc.
DATA : gr_table TYPE REF TO cl_salv_table.
DATA : gr_functions TYPE REF TO cl_salv_functions_list.
*fields used for variant create
DATA: wa_var_desc TYPE varid,
it_var_contents TYPE TABLE OF rsparams,
it_var_text TYPE TABLE OF varit,
wa_var_text TYPE varit,
w_var_varname TYPE variant.
*printer information
DATA: wa_print_options TYPE fpm_parcon,
wa_arc_options TYPE fpm_parcon,
w_print_options TYPE pri_params.
*email information
INCLUDE <cntn01>.
DATA: w_recipient TYPE swc_object,
w_recipient_obj TYPE swotobjid.
*container macro
swc_container w_swc_container.
*batch job information
INCLUDE lbtchdef.
DATA: w_job TYPE tbtcjob.
*constants
CONSTANTS: c_on VALUE 'X',
c_off VALUE space,
c_int(11) VALUE ' 0123456789'.
SELECTION-SCREEN BEGIN OF BLOCK main with frame.
SELECT-OPTIONS: s_matnr FOR marc-matnr,
s_werks FOR marc-werks.
SELECTION-SCREEN BEGIN OF BLOCK back WITH FRAME TITLE text-ss2.
PARAMETERS: p_fore RADIOBUTTON GROUP proc DEFAULT 'X', "foreground
p_ball radiobutton group proc,
p_berr radiobutton group proc.
SELECTION-SCREEN END OF BLOCK back.
SELECTION-SCREEN BEGIN OF BLOCK mail WITH FRAME TITLE text-ss3.
PARAMETERS: p_print RADIOBUTTON GROUP mail DEFAULT 'X',
p_email RADIOBUTTON GROUP mail.
SELECTION-SCREEN END OF BLOCK mail.
SELECTION-SCREEN END OF BLOCK main.
START-OF-SELECTION.
IF sy-batch = c_off AND p_fore = c_off.
PERFORM create_variant.
PERFORM build_print_parameters.
IF p_email = c_on.
PERFORM build_email_container.
ENDIF.
PERFORM open_job.
PERFORM submit_job.
PERFORM close_job.
MESSAGE i000 WITH 'Job' w_job-jobname
'has been submitted'.
perform delete_variant.
EXIT.
ENDIF.
perform select_data.
END-OF-SELECTION.
PERFORM salv_grid.
*& Form salv_grid
text
FORM salv_grid .
DATA: lref TYPE REF TO cx_root .
DATA: lr_layout TYPE REF TO cl_salv_layout,
ls_key TYPE salv_s_layout_key.
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = gr_table
CHANGING
t_table = it_marc ).
CATCH cx_salv_msg INTO lref.
ENDTRY.
***Sub Total
PERFORM sub_total.
***Layout
lr_layout = gr_table->get_layout( ).
ls_key-report = sy-cprog.
lr_layout->set_key( ls_key ).
lr_layout->set_default( 'X' ).
lr_layout->set_save_restriction( if_salv_c_layout=>restrict_none ).
***toolbar
gr_functions = gr_table->get_functions( ).
gr_functions->set_all( 'X' ).
*final display
gr_table->display( ).
ENDFORM. " salv
*& Form sub_total
FORM sub_total .
DATA: lr_aggregations TYPE REF TO cl_salv_aggregations.
lr_aggregations = gr_table->get_aggregations( ).
lr_aggregations->clear( ).
TRY.
lr_aggregations->add_aggregation( columnname = 'Z_BALANCE_REM' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing.
ENDTRY.
TRY.
lr_aggregations->add_aggregation( columnname = 'Z_PAY_AMT' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing.
ENDTRY.
ENDFORM. " sub_total
*& Form select_data
form select_data .
select matnr werks mmsta maabc into table it_marc
from marc
where matnr in s_matnr
and werks in s_werks.
endform. " select_data
*& Form create_variant
form create_variant .
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-cprog
TABLES
selection_table = it_var_contents
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CONCATENATE sy-datum sy-timlo INTO w_var_varname.
wa_var_desc-mandt = sy-mandt.
wa_var_desc-report = sy-cprog.
wa_var_desc-variant = w_var_varname.
wa_var_desc-transport = 'F'.
wa_var_desc-environmnt = 'A'.
wa_var_desc-version = '1'.
wa_var_text-mandt = sy-mandt.
wa_var_text-langu = sy-langu.
wa_var_text-report = sy-cprog.
wa_var_text-variant = w_var_varname.
CONCATENATE 'Batch Job Variant -' sy-uname INTO wa_var_text-vtext.
APPEND wa_var_text TO it_var_text.
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = sy-cprog
curr_variant = w_var_varname
vari_desc = wa_var_desc
TABLES
vari_contents = it_var_contents
vari_text = it_var_text
EXCEPTIONS
illegal_report_or_variant = 1
illegal_variantname = 2
not_authorized = 3
not_executed = 4
report_not_existent = 5
report_not_supplied = 6
variant_exists = 7
variant_locked = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " create_variant
*& Form build_print_parameters
form build_print_parameters .
IF p_print = c_on.
CALL FUNCTION 'MAINTAIN_PRINT_PARAMETERS'
EXPORTING
i_title_text = 'Select your printer'
CHANGING
c_pri_params = wa_print_options
c_arc_params = wa_arc_options
EXCEPTIONS
parameters_not_valid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Print parameters could not be gathered'.
ENDIF.
ENDIF.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'CHECK_PRINT_PARAMETERS'
EXPORTING
i_title_text = 'Select your printer'
i_pri_params = wa_print_options
i_arc_params = wa_arc_options
IMPORTING
e_pri_params = w_print_options
EXCEPTIONS
parameters_not_valid = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Print parameters could not be assigned'.
ENDIF.
IF p_print = c_on.
w_print_options-primm = c_on.
ELSE.
w_print_options-primm = c_off.
ENDIF.
endform. " build_print_parameters
*& Form build_email_container
form build_email_container .
swc_create_object w_recipient 'RECIPIENT' space.
swc_clear_container w_swc_container.
swc_set_element w_swc_container 'AddressString' sy-uname.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
swc_set_element w_swc_container 'TypeId' 'B'.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
swc_call_method w_recipient 'CreateAddress' w_swc_container.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Could not determine email address'.
ENDIF.
swc_set_element w_swc_container 'SendExpress' 'X'.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
swc_call_method w_recipient 'SetExpress' w_swc_container.
swc_call_method w_recipient 'Save' w_swc_container.
swc_object_to_persistent w_recipient w_recipient_obj.
endform. " build_email_container
*& Form open_job
form open_job .
CONCATENATE sy-cprog '-' sy-uname INTO w_job-jobname.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_job-jobname
jobclass = 'A'
IMPORTING
jobcount = w_job-jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " open_job
*& Form submit_job
form submit_job .
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = sy-uname
jobcount = w_job-jobcount
jobname = w_job-jobname
priparams = w_print_options
report = 'YSAM_TEST5'
variant = w_var_varname
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " submit_job
*& Form close_job
form close_job .
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_job-jobcount
jobname = w_job-jobname
strtimmed = c_on
recipient_obj = w_recipient_obj
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " close_job
*& Form delete_variant
form delete_variant .
CALL FUNCTION 'RS_VARIANT_DELETE'
EXPORTING
report = sy-cprog
variant = w_var_varname
FLAG_CONFIRMSCREEN = 'X'
FLAG_DELALLCLIENT = 'X'
IMPORTING
VARIANT =
EXCEPTIONS
NOT_AUTHORIZED = 1
NOT_EXECUTED = 2
NO_REPORT = 3
REPORT_NOT_EXISTENT = 4
REPORT_NOT_SUPPLIED = 5
VARIANT_LOCKED = 6
VARIANT_NOT_EXISTENT = 7
NO_CORR_INSERT = 8
VARIANT_PROTECTED = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " delete_variant -
How to diable the default option of report-based total (when applicable)
Hi,
Anybody know how to diable the default option of report-based total (when applicable)?
By default this aggregation rule option is checked.
There should be some configuration tag in instanceconfig.xml or somewhere else, such as <ReportAggregateEnabled>true</ReportAggregateEnabled>?
Regards,
Tinayou can change this from admin tool,
open admin tool,
business model and mapping
find your column in the model
double click your column, click on aggregation, >> default rule >> none.
but if you do this, you cant make any sum operation. -
Just updated to Adobe Acrobat X Pro 10.1.9 and I've lost the "Convert to PDF" option in my Windows 7 64-bit right-click menu. How can I get it back?
Hi Jason,
Please try suggestion given in following article:
http://helpx.adobe.com/acrobat/kb/acrobat-x-context-menu-missing.html
If above article doesn't work then try running Help -> Repair.
Regards,
Anoop -
Use of Excel Formulas in EVDRE reports
Dear Freinds,
I am trying to use excel formulas in EVDER (report).
2011.MAR
Account(Base level member) =SUM(RANGE)
this at somepaces is working and in some places its not working. Kindly share the knowldge how to use them in excelHi Vishwanath,
Whenever we expandan EVDRE report or Input schedule, the formula (if any) in the first cell is applied to the to the other cells as well. Thus in expansion we will loose any formula specified in the other cells.
If you donot want this to happen, it is better to make the evdre static. This should help you use formulae as required.
Hope this helps.
Regards,
Shoba
Maybe you are looking for
-
Performance issue on a select statement
Hi all @ SAPforums and thanks for your attention, the task is quite simple: given a Purchase Requisition number and position (banfn, bnfpo) I have to check if a contract with the same PR as source exists in the EKPO table. In order to check for it, I
-
Need Help Fast! Page is dispalying twice in quiz
I have created a quiz using tips from another post in this forum. I insterted a regular slide with a continue button before the quiz questions. I insterted another regular slide at the end of the questions with a re-take button that points to that fi
-
Hi All, Our SAP system is recently upgraded to ECC 6.0 from 4.7. I am getting a runtime error while executing a program. I debugged the code and came to know that the runtime error is because of the following statement. CALL TRANSFORMATIO
-
how do i update my itunes for my iphone? my laptop wont sync with it anymore and says my itunes is out of date
-
Transaction iView issue: Table Can't Support multi-cell copy pase
Hey guys: I have a big problem. The transaction iview's content is a ABAP application, and it cannot support mulit-cell copy-pase when user try to pase their data from Excel. It only allow single cell copy-pase each time, and that means