Button on toolbar after executing the report i.e. after result display

Hi, after executing the report result is being displayed.Now at this stage I want a button on the application toolbar clicking on which will allow a perform to get triggered.
I tried in following manner:
SELECTION-SCREEN: FUNCTION KEY 1.
*INITIALIZATION.
TABLES: SSCRFIELDS.
*MOVE icon_mail TO sscrfields-functxt_01.
*form SEND_EMAIL .
IF sy-ucomm = 'FC01'.
     PERFORM SEND_MAIL_ASSET_STATUS.
ENDIF.
But it's not ok.The above way is not working.
Please note: I want button on toolbar only after executing the report i.e. after result display.
How can I do this?
Kindly guide.
Best regards.

hi
if you are using alv than just pass 3 values to function call
     I_CALLBACK_PROGRAM                = SY-REPID   " program name
     I_CALLBACK_PF_STATUS_SET          = 'STATUS'  "PF-STATUS
     I_CALLBACK_USER_COMMAND           = 'UCOMMAND'  " subroutine name
and check the value of UCOMM in subroutine

Similar Messages

  • Message "No applicable data found" after executing the report

    Hi all,
    I have 60 records in a cube which is extracted from a function module. I am able to see the data in the cube but when I execute the report I am getting the message u201CNo applicable data foundu201D. Why is that so?
    Can any one please explain me what to do to bring data when the report is executed?
    When I execute the query there is only one field selection criteria 0P_FPVANT and this is mandatory. When I checked the data in the cube I didn't find any field 0P_FPVANT but I found a field Fiscal Period Variant with the technical name, 0FISPER
    I executed the query in RSRT and there also I am getting the same message, "No applicable data found".
    Please advise what do I need to do inorder to get data when the report is executed?
    Thank you.
    Regards,
    Pavan.

    I think so.
    Ok let me take the other report 0FIAR_C02_Q1003. For this report the selection criteria is
    Company code,
    Customer and
    Period/Fiscal Year
    Of these only company code is mandatory. In the data in the cube I see that for co. code BP01 data is available. So I executed the report with co. code as BP01 but no data.
    Then I gave co. code BP01 and Period /Fiscal year as 2008, 2008.03, still I see no data.
    I tried with values in all the fields that are available in cube
    co. code - BP01
    Customer - PCS-C10
    Period/Fiscal Year - 2008011
    Now with respect to Period/Fiscal Year selection field in report, in cube there are 4 columns
    Fiscal Year Period,
    Posting Period,
    Fiscal Year Variant and
    Fiscal Year
    I've tried all of them but when I enter values in all the fields still I am getting the same error, "no applicable data found".
    Please advise.
    Thank you.
    Pavan.

  • Executing the report in the background

    Hi Frnds,
    I want to execute a report in background.After executing the report I want to receive a mail.
    I think this is possible through reporting agent.
    so i need the steps for this how to do...pls do the need ful..waiting for reply..
    Thanks and Regards
    Rajasekar.

    Hi,
    there are two parts of it -
    a. you have some exceptions & you run report in background & are informed if exception occurs, for that kind of scenario look at -
    http://help.sap.com/saphelp_bw33/helpdata/en/d3/a850390aa3b608e10000000a11402f/content.htm
    b. Without exception you can play with WEb template & get informed -- I am not very sure.see this --
    http://help.sap.com/saphelp_bw33/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    If you are on BW350, it can be achieved by Information Broadcasting feature. see this -
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/359840dfa5a160e10000000a1550b0/content.htm
    Hope it helps
    regards
    VC

  • Performance Problem when executing the report for the first time.

    Hi,
    We have a Zreport...to improve the performance i created Index on few Data Base table..before my changes it used to take more than 15 minutes after the changes it taking less than 1 min for the same variant and for other variants also.
    But when executing the first in morning its taking the same time more than 15 min.Please let me know how to increase the performance when executing first time also,
    Thanks,
    Kiran.

    Hi all,
    Appreciate your valuable replies...
    @ Thomas: i do accept with your solution running a background job..but user is not accepting for it..thanks for your reply.
    @Siegfried Boes  : for testing purpose Im running this manytimes..but for user they may
    require when ever they need to know open oders.the volume of the data is barongs 300-350 at
    max.
    @Brad Bohn  : After creating the index the repose time reduced to half ...i hope  i have
    created a right index.
    Observation here...I executed the report in production system more than 5 times it took the
    same time, my changes are still in quality..so i think may be for selecting the right index
    its taking this much time.and for the next time is taking right index n doing it so it taking
    less.
    Do you accept it?.if so Please let me know how to explicitly say the select statement to
    use my index.
    Thanks,
    kiran.

  • Is there a possibility to rename the dashboard after generating the reports

    hai,
    is there a possibility to rename the dashboard after generating the reports in the dashboards with out affecting the reports.
    if it is possible, plz explain me in detail to process...
    Thanks in advance.

    hi..
    This procedure explains you Renaming dashboards from BI Answers window itself..
    Login answers, go to Settings > Administration.
    Click on Manage Presentation Catalog
    Select Show Hidden Items check box appears under reports list...
    Select the Shared folder name, then go to _Portal*
    here you find all the dashboard names
    Click on rename button corresponding to the dashboard.. and rename it..
    Regards
    Kishore Guggilla

  • Need a Syatem variable for Executing the report by RFC.

    Hi Experts,
    Need a Syatem variable for Executing the report by RFC.
    what i mean to say is,i can execure the report directly ...then no issues.
    But if i execute the Report by RFC ,then i should put a condition with system variable...
    Please suggest me ,how can put a condition when i am executing the report through RFC.
    Thanks
    Babu

    Hello Friend,
    what I understood that you want to put some extra condition if that report is getting called from RFC...
    you can use the system variable SY-CPROG....it will hold the value of the report when it is geeting executing directly...
    but when it is getting executed therough RFC...it will hold that RFC name...
    Thanks
    Krish

  • Getting different result while executing the report by debugger

    Hi All,
                I am facing a peculiar issue. When i execute the report from SE38 i am getting a particular set of values in a alv report.
    But if i start debugging the report by using /h and execute . i am getting another set of result. How does it happen any idea.
    Without debugger result is
    a
    b
    c
    With debugger i am getting result as
    a
    d
    e
    f
    What may be the reason . Kindly help.
    Thanks in advance.
    S.Velsankar

    Hi,
    you mean you have'nt change anything while debugging and results are different when ALV is displayed?
    I don't really understand your issue... Could you give more details?
    Kr,
    m.

  • Error while executing the report to display on the web in BI 7.0?

    Hi All,
    In BI 7.0, Getting Error while executing the report to display on the web?
    The error message displayed is:
    " Network Access Message : The website cannot be found ".
    Source: DNS error.
    Why this error is coming.
    Wht needs to be done.
    Thanks in Advance.

    Hi Kishore,
    All the configurations are in proper shape.
    We need to change any IP adresses or proxy settings in the Internet explorer (Tools -> Internet options -> Connections -> LAN settings -> etc.,)
    Do We need to configure any server address for getting the output to display on web pages in BI 7.0.
    EP is not configured over here. Is that causing the problem.
    Thansk in Advance.

  • Error while executing the report FAGLB03

    Hi,
    i am getting the below error while executing the report FAGLB03 and double click on the balances to view the report on line item wise.
    There is no active info structure for field catalog SAP_FI_DOC_003
    Message no. Q6504
    Diagnosis
    The system wants to access the Archive Information System. It uses the field catalog SAP_FI_DOC_003 to do this. However, there are no active archive information structures for this field catalog.
    Procedure
    Create an info structure for field catalog SAP_FI_DOC_003 or activate an info structure for this field catalog.
    Please could some one help me on this issue.
    Thanks & Regards,
    Venkat

    Hi,
    Please refer the below note.
    1361304.
    Reg
    Madhu M

  • TSV_TNEW_PAGE_ALLOC_FAILED  error while executing the report

    Hi all,
    . We are having an info cubeXFIAP_C12 (FIAP: Vendor Line Item Open).In which we have defined 10 Dimensions and 6 Line Item Dimensions. We have created a report  on this with Key date as Input Variable Which gives me From Start to Till Date data. Also have an Variable on company code.
    Then No of Records in my Cube is 45, 70,624.Compressed the Info Cube data .But No aggregates on it.
    Now when I provide the key date as 30.06.2011 and Company code =XYZ.
    I am unable to Execute the Report, It gives me a short Dump. Saying NO ROLL MEMORY.
    Variables:
    1. Key Date:  Is a  Customer Exit variable .If user Enters Data as 30.06.2011 ,It fetches data from     u201C00000000u201D to u201C30.06.2011u201D.
    2.Company code: Is a Manual Entry /Default variable.
    I also have shot dump.Please find the error analysis of dump below:
    The internal table "\FUNCTION-POOL=RRK0\FORM=MEGA_SORT_M\DATA=C_TSX_SORTK[2]-GT
    ABIX[1]-GTABIX" could not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "Session memory"
    Row width: 4
    Number of rows: 1503307
    Allocated rows: 1503307
    Newly requested rows: 2048 (in 1 blocks)
    can any one help me .......
    Regards
    Laxman

    Hi,
    Just check following things
    1http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTMM/BCCSTMM.pdf
    2. See whether any back up process is happening and it has consumed the main memory.
    3. Are you getting this error regularly
    4. See any transport went and compression/aggregation got removed.
    5. Check whether there are many dumps in ST22 same time when you execute report
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4ab89e84-0d01-0010-cda2-82ddc3548c65?QuickLink=index&overridelayout=true
    6. http://www.sap-press.de/download/dateien/1049/sappress_bw_performance_optimization_guide_080.pdf
    7. Check whether Infoprovifder got removed from BIA
    8. Query removed from BIA post transport
    9. Run RSRT and regenerate the report.
    Thanks and regards
    Kiran

  • How will be outbound data structure in sap xi after executing the stored pr

    Hi All
    can any one please tell me how will be outbound data structure in sap xi after executing the stored procedure by sender JDBC adapter?
    Thanks in advance
    regards
    Rams

    Hi..
    My stored procedure is select and it will be OUTBOUND in PI.
    is it will be same as following
    <resultset>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2></column-name2>
    <column-name3>column-value</ column-name3>
    <column-name4></column-name4>
    </row>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2></ column-name2>
    </row>
    </resultset>
    Regards
    Rams
    Edited by: Rameshkumar Varanganti on Oct 15, 2008 12:04 PM

  • Database is Hanging after executing the Procedure ...

    Dear All i am using 10G.
    I Have a procedure . After executing the Procedure when i try to call that procedure it is hanging ...
    it is creating Locks .. As our DBA told..And told to check the code ...
    Can any one tell me how can i put mu codes with formatting ? When i copy paste my code it is showing properly but after POST MESSAGE it is showing like i have written history ...--*
    I am Executing the procedure like this ...
    EXEC simulator_validation ('0|BP-V1|20101004|01|1|2430962.89|27|2430962.89|MUR|20100928120106','04-SEP-2010',27,2430962.89,'MUR','000111111111');
    And my code is :-
    {Create Or Replace Procedure simulator_validation (lstring varchar2,ldate date,lno_item number,ltotal number,lcur varchar2,lac_no Varchar2)
    IS
      l_swift_code_acno number;
      l_ACno_Valid number;
      l_swift_code_others Number;
      lpcode varchar2(5);
      lCcode Varchar2(4);
      lval number;
      lacno varchar2(16);
      v_file varchar2(20);
      v_path varchar2(50);
      LToken   VARCHAR2(100) ;
      i        PLS_INTEGER := 2 ;
      lfirst_char  number;
      lvalue  Varchar2(100) ; 
      lcol number:= 1;
    Begin
      lfirst_char := Substr(lstring,0,1);
      Dbms_output.put_line(lfirst_char);
          IF lfirst_char  = '0' Then ------------------- For the 1st Line - Should be start from 0
                Loop
                  LToken := mcb_simulator_pkg.Split( lstring, i , '|') ;  
                  lvalue := LToken;
                      IF lcol=1 then
                             If lvalue='BP-V1' THEN
                                   Dbms_output.put_line('1');
                             Else
                                 Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0003','Invalid file type and version number');
                                Dbms_output.put_line('2');
                            End if;
                      Elsif lcol=2 then
                              If lvalue=To_Char(ldate,'YYYYMMDD') THEN
                                 Dbms_output.put_line('3');                                                                                                                                                                                                                                       
                            Else
                                 Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0004','Due date differs from the value inputted in the loading screen');
                                 Dbms_output.put_line('4');
                            End if;
                      Elsif lcol=3 then
                                   Begin
                                         Select PAYMENT_PURPOSE_CODE into lpcode
                                         From MU_PURPOSE_CODE
                                         Where PAYMENT_PURPOSE_CODE = lvalue;
                                     IF lpcode = lvalue Then
                                           Dbms_output.put_line('5');
                                     Else
                                          Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0006','Invalid payment purpose code');
                                          Dbms_output.put_line('6');
                                     End If;
                                Exception
                                    When No_data_found Then
                                    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0006','Invalid payment purpose code');
                                End;
                      Elsif lcol=4 then
                                    If lvalue='1' THEN
                                         Dbms_output.put_line('7');
                                    Else
                                       Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0008','Total number of debit records in header does not tally with number                   debit records in the file.');
                                      Dbms_output.put_line('8');
                                   End if;
                      Elsif lcol=5 then
                                    If lvalue=ltotal THEN
                                          Dbms_output.put_line('9');
                                    Else
                                        Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0010','Total debit transaction amount in header does not tally with the sum of debit transaction amount in the file');
                                       Dbms_output.put_line('10');
                                  End if;
                     Elsif lcol=6 then
                                    If lvalue=lno_item THEN
                                         Dbms_output.put_line('11');
                                    Else
                                        Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0025','Number of credit records does not tally with credit records in the file.');
                                    End if;
                     Elsif lcol=7 then
                                    If lvalue=ltotal THEN
                                         Dbms_output.put_line('12');
                                    Else
                                         Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0026','Sum of credit records does not tally with total transaction amount as inputted in the loading screen');
                                    End if;
                    Elsif lcol=8 then                
                                    If lvalue=lcur  THEN
                                          Begin
                                                    Select Cur_CODE into lCcode
                                                      From Mu_currency_Code
                                                    Where Cur_CODE = lvalue;
                                                    Dbms_output.put_line('13');
                                          Exception
                                              When No_data_found Then--------------------
                                                 Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0014','Invalid Currency');
                                          End;
                                    Else
                                          Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0013','Currency differs from the value inputted in the loading screen');
                                   End if;
                     Elsif lcol=9 then
                                    If lvalue=Null  THEN
                                          Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0015','Timestamp should not be null');
                                    Elsif lvalue <> lvalue Then
                                         Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0046','Timestamp in header should be in the format YYYYMMDDHHMMSS');
                                    End if;
                       End IF;
                      EXIT WHEN LToken IS NULL ;
                         i := i + 1 ;
                         lcol:=lcol+1;
                       End LOOP;
              Else
                                      Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (9999,'0002','First line should always start with 0');
              End if ;}
    -------------------- For the 2nd Line , should be start from 9 .-----------------------------
    {  lfirst_char := Substr(lstring,0,1);
    IF lfirst_char = '9' Then
    LOOP
    LToken := mcb_simulator_pkg.Split( lstring, i , '|') ;
    lvalue := LToken;
    IF lcol=1 then
    If lvalue < 0 THEN
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0017','Amount should be greater than zero');
    Elsif lvalue = ltotal THEN
    Dbms_output.put_line('20');
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0018','Transaction amount differs from the value inputted in the loading screen');
    End if;
    ELSIF lcol = 2 THEN
    If lvalue = Substr(lac_no,4,9) THEN
    mcb_simulator_pkg.Acct_no_Validator(lvalue,1111,l_ACno_Valid);
    mcb_simulator_pkg.Swift_code_validator_for_ac_no(lvalue,1111,l_swift_code_acno);
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0020','Account number differs from the account number inputted in the loading screen');
    End if;
    ELSIF lcol = 3 THEN
    If lvalue is not null THEN
    mcb_simulator_pkg.Swift_code_validator_for_other(lvalue,1111,l_swift_code_others);
    Else
    Dbms_output.put_line('21');
    End if;
    END IF;
    EXIT WHEN LToken IS NULL ;
    i := i + 1 ;
    lcol:=lcol+1;
    End Loop;
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (8888,'0016','Second line should start with 9');
    End IF; }
    -------------------- For the 3rd Line Should be start from 1.--------------------------
    { LOOP
    lfirst_char := Substr(lstring,0,1);
    IF lfirst_char = '1' Then
    Loop
    LToken := mcb_simulator_pkg.Split( lstring, i , '|') ;
    lvalue := LToken;
    IF lcol=1 then
    If lvalue > 0 THEN
    Dbms_output.put_line('24');
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0017','Amount should be greater than zero'); End if;
    ELSIF lcol=2 then
    Mcb_simulator_pkg.Acct_no_Validator(lvalue,1111,l_ACno_Valid);
    Mcb_simulator_pkg.Swift_code_validator_for_ac_no(lvalue,1111,l_swift_code_acno);
    ELSIF lcol = 3 THEN
    If lvalue is not null THEN
    mcb_simulator_pkg.Swift_code_validator_for_other(lvalue,1111,l_swift_code_others);
    Else
    Dbms_output.put_line('26');
    End
    END IF;
    EXIT WHEN LToken IS NULL ;
    i := i + 1 ;
    lcol:=lcol+1;
    End Loop;
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (7777,'0022','The third line onward should start with 1');
    End if;
    END LOOP;
    Commit;
    End;}
    Edited by: LuKKa on Oct 4, 2010 9:20 PM
    Edited by: LuKKa on Oct 4, 2010 9:25 PM

    Yes i gave {} but it is also coming like this ...Yes, since you should use {noformat}{noformat} before and after your example, and not putting your example between a '{' and a '}'.
    So, when you post/type/copypaste:
    {noformat}select *
    from emp;{noformat}
    on this forum, it will appear as:select *
    from emp;See the FAQ for more tags/tips:
    http://forums.oracle.com/forums/help.jspa                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • When i am on the 4 step in Search Result Display options, i get errors after 2 radio buttons

    I am using Oracle portal 9.0.2 version
    When i am on the 4 step in Search Result Display options, i get errors after 2 radio buttons
    Default Search Results Page
    This Search Portlet
    An unexpected error has occurred (WWS-32100)
    User-Defined Exception (WWS-11230)
    Unknown Exception (WWC-45131)
    ORA-20101:
    ORA-06512: at &quot;PORTAL.WWSBR_STDERR&quot;, line 437
    ORA-06512: at &quot;PORTAL.WWPOB_API_PAGE&quot;, line 3369
    ORA-01403: no data found
    ORA-01403: no data found (WWC-11230)
    No data found (WWS-32101)
    ORA-1403: ORA-01403: no data found
    ORA-01403: no data found (WWC-36000)
    Error: An unexpected error occurred: User-Defined Exception (WWC-43000)
    Please help me with this one
    P.S I tried to run inctxgrn.sql, but it did not solve the problem

    i solved the problem by runing 2 scripts as a portal user
    You can refer to bug - 2418089. This was fixed in 9.0.2.3
    begin
    wwpre_api_value.set_value_as_number
    p_path => 'oracle.portal.search',
    p_name => 'searchresultpageid',
    p_level_type => wwpre_api_value.SYSTEM_LEVEL_TYPE,
    p_level_name => null,
    p_value => 6,
    p_commit => true
    commit;
    end;
    begin
    wwpre_api_value.set_value_as_number
    p_path => 'oracle.portal.search',
    p_name => 'searchresultpagesiteid',
    p_level_type => wwpre_api_value.SYSTEM_LEVEL_TYPE,
    p_level_name => null,
    p_value => 6,
    p_commit => true
    commit;
    end;
    NOTE - The difference is the value of 'p_name' attribute. If u see carefully it is 'searchresultpagesiteid'. The first time u run this the value is 'searchresultpageid'.

  • Error after executing the edidlinv

    Hi All,
    Following is the error message i am facing after executing the batch edidlinv
    edidlinv_1~20120229104954~process~invc_head, invc_detail, invc_xref, invc_merch_vat, invc_non_merch, item_master, sups, partner, vat_code_rates, v_restart_store_wh~-1405~ORA-01405: fetched column value is NULL~CURSOR FETCH: cursor=c_invoice, ps_driver_name=STORE_WH, ps_num_threads=1, ps_thread_val=1, ps_restart_invc_id=8678.
    Regards,
    Sushanth.D

    please open the pro*c source in an editor, lookup the cursor mentioned, and study it and/or run it in sqlplus, to understand why no data is found.
    E

  • How to know the User name and date, who executed the report last time.

    Hi All,
    We are collecting a list of reports which are not executed for past 3 months. Can anybody tell me how to know the username and date they executed the report last time.
    Is there any table to look ? or is there any process ?
    Thanks,
    Ravi.

    Ravi,
    Use SE16 - then look at rszcompdir.
    We look up Version = 13 for queries.
    Regards
    Gill

Maybe you are looking for