Rwrun.exe (10.1.2) for calling a report of command line

We have not installed Application Server. We are working with rwrun.exe (9.0.4.2.0) for special-purpose processing in a Client Server environment. Our system is running perfectly. Now we would like to install the actually Developer Suite 10g Release 2 (10.1.2.0.2) on server. Does anybody know, if we can use the rwrun.exe (10.1.2) for calling reports in batch processing? It is possible that we will get problems without installed Application Server?
regards,
tom rakete

Hello,
If you have access to Metalink, you can use the RDF provided in the note :
Note.382952.1 RDF to Debug REP-1401 when using Oraclebarcode.jar
else, have you set the env. var. DISLAY ?
It is no more mandatory to set it for Reports but it must be set if you want to use
oraclebarcode.jar :
Set REPORTS_DEFAULT_DISPLAY to NO and initialize DISPLAY with the address of a valid "X Display Server"
Regards

Similar Messages

  • VBScript which is called with Arguments from Command Line

    Hi There.
    I have been tasked to create a VBScript which needs to accomplish the following:
    It needs to be called from a command line using 4 different arguments, the arguments in order as follows:
    -          Drive letter including colon
    Warning threshold in percentage
    Warning threshold in GB remaining
    Recipient email address
    I need to be able to set up a scheduled task, to run this script, but at the same time I need to be able to specify multiple drive letters as separate steps but on a single task.  The script needs to automatically run every 4 hours, starting at 06:00AM
    in the morning and running no later than 22:00 at night.
    The end results, need to then be e-mailed to the Recipient which is specified in Argument (3).
    Following is my current script, it is not complete as I am currently pulling my hair out due to having a lack of knowledge of VBScripting....  :(  The current script also loops every 10 minutes or so, and uses the incorrect way of sending the results,
    we would like to use POSTIE.EXE to send the mail as we would want to eliminate web traffic (Microsoft Schema's) in this script.
    =====================================================================================
    Const emailFrom = "default_from_email_address_comes_here"      'From email address 
    Const ExchangeServer = "ExchangeServerName_comes_here"      'Enter your Exchange server name here (FQDN)
    Const WaitTimeInMinutes = 10                   'Wait time between loops. This is will be in minutes
    Dim WshShell, objArgs, strIP, objWMIService, LogicalVolumes, strDriveLetter
    Dim objItem, strDriveName, IntCapacity, IntFree, DiskFreePct
    Dim strIgnoreFlag
    Dim strMessage, IntStatistic
    on error resume next
      strDriveLetter         = WScript.Arguments(0)   'This is the drive letter which you want to monitor on the localhost
      DiskFreePct            = WScript.Arguments(1)   'This is the threshold percentage of free space
      ThresholdGB           = WScript.Arguments(2)
      Recipient                = WScript.Arguments(3)   'This is where the e-mail needs to be sent to
    If Err.Number <> 0 Then
      msgbox "You did not supply the arguments after calling the VBS file:" & vbcrlf & "<Drive Letter, eg:  C:>"& vbcrlf & "<Warning Threshold in Percentage> "& vbcrlf &"<Warning
    Threshold in GB Remaining> "& vbcrlf &"<Recipient E-Mail Address>"
      WScript.Quit
    End If  
    Set WshNetwork = WScript.CreateObject("WScript.Network")
    WScript.Echo WshNetwork.ComputerName
    arrServerList = array(WshNetwork.ComputerName)    'This is where your localhost will be used as the query
    Do until i = 2
        'Clear the message variable
        strMessage = ""
        'Poll the array of servers
        PollServers(WshNetwork.ComputerName)
        'Email if there is a message
        if strMessage <> "" then
            EmailAlert(strMessage)
        end if
        'The script will loop for now just for testing. Uncomment the line that follows the loop logic to cancel the loop.
        WScript.Sleep(WaitTimeInMinutes*60000)
            'i = i + 1
    Loop
    Sub PollServers(arrServers)
        on error resume next
        for each Server in arrServers
            set objSvc = GetObject("winmgmts:{impersonationLevel=impersonate}//" & Server & "/root/cimv2")
            set objRet = objSvc.InstancesOf("win32_LogicalDisk")
            for each item in objRet
                if item.DriveType = 7 then
                    end if
                    if item.FreeSpace/item.size <= AlertHigh then
                        strMessage = strMessage & UCase(strPC) & "  Drive '" & item.caption & "' is low on disk space!  There are " & FormatNumber((item.FreeSpace/1024000),0)
    & " MB free" & vbCRLF
                    end if
            next
        next
        set objSvc = Nothing
        set objRet = Nothing
    End Sub
    Sub EmailAlert(Message)
        on error resume next
        Set objMessage = CreateObject("CDO.Message")
        with objMessage
            .From = emailFrom
            .To = Recipient
            .Subject = "Server " & WshNetwork.ComputerName & " is low on Disk Space" 
            .TextBody = Message
            .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
            .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = ExchangeServer
            .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
            .Configuration.Fields.Update
            .Send
        end with
        Set objMessage = Nothing
    End Sub

    I've managed to get the script fully working as required.
    ================================================================
    Const emailFrom = "your_email_here"      'From email address
    Const ExchangeServer = "exchange_server_name"      'Enter your Exchange server name here (FQDN)
    Const WaitTimeInMinutes = 240                   'Wait time between loops. This is will be in minutes
    Dim WshShell, objArgs, strIP, objWMIService, LogicalVolumes, strDriveLetter
    Dim objItem, strDriveName, IntCapacity, IntFree, DiskFreePct
    Dim strIgnoreFlag
    Dim strMessage, IntStatistic
    Dim DrivePercentage
    Dim DriveSpaceRem
    Dim mbFreeSpace
    Dim intFreeSpace
    Dim UsedPercentage
    on error resume next
      strDriveLetter           = WScript.Arguments(0)   'This is the drive letter which you want to monitor on the localhost
      DiskFreePct              = WScript.Arguments(1)   'This is the threshold percentage of free space
      ThresholdGB              = WScript.Arguments(2)
      Recipient                = WScript.Arguments(3)   'This is where the e-mail needs to be sent to             
    If Err.Number <> 0 Then
      msgbox "You did not supply the arguments after calling the VBS file:" & vbcrlf & "<Drive Letter, eg:  C:>"& vbcrlf & "<Warning Threshold in Percentage> "& vbcrlf &"<Warning Threshold in GB Remaining> "&
    vbcrlf &"<Recipient E-Mail Address>"
      WScript.Quit
    End If 
    strComputer = "."
    'WScript.Echo strComputer
    Set WshNetwork = WScript.CreateObject("WScript.Network")
    'WScript.Echo WshNetwork.ComputerName
    arrServerList = array(strComputer)    'This is where your local host will be used as the query
    Do until i = 1
        'Clear the message variable
        strMessage = ""
        'Poll the array of servers
        PollServers strComputer,strDriveLetter
        'Email if there is a message
        if strMessage <> "" then
            EmailAlert(strMessage)
        end if
        'The script will loop for now just for testing. Uncomment the line that follows the loop logic to cancel the loop.
        'WScript.Sleep(WaitTimeInMinutes*60000)
            i = i + 1
    Loop
    Sub PollServers(strComputer,strDriveLetter)
        Selectstring = "Select * from Win32_LogicalDisk Where DeviceID = '" & strDriveLetter & "'"
        on error resume next
        Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
        Set colItems = objWMIService.ExecQuery(Selectstring)
        For Each objItem in colItems
     if objItem.FreeSpace/objItem.Size * 100 <= DiskFreePct or mbFreeSpace <= ThresholdGB then
         DrivePercentage = FormatNumber(objItem.FreeSpace/objItem.Size *100,0)
         DriveSpaceRem   = FormatNumber((objItem.FreeSpace/1024000),0)
         intFreeSpace    = objItem.FreeSpace
         mbFreeSpace     = intFreeSpace / 1024 / 1024 / 1024
         mbFreeSpace     = round(mbFreeSpace,0)
         intTotalSpace   = objDisk.Size
         UsedPercentage  = 100 - DrivePercentage
              strMessage      = strMessage & " "
            end if
        Next
    End Sub
    Sub EmailAlert(Message)
        on error resume next
        Set objMessage = CreateObject("CDO.Message")
     with objMessage
            .From = emailFrom
            .To = Recipient
            .Subject = "" & WshNetwork.ComputerName & ": Alert " & Now & " -> " & UCase(strDriveLetter) & " fill level = " & UsedPercentage & "%, Space Remaining = " & mbFreeSpace & "
    GB"
            .TextBody = Message
            .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
            .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = ExchangeServer
            .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
            .Configuration.Fields.Update
            .Send
        end with
        Set objMessage = Nothing
    End Sub
    'WScript.Echo "done"

  • How can I install just selected features( like just nidaq drivers) for NI-DAQ 693 via command line silently

    I am trying to create installation program for my application which uses NI-DAQ drivers.
    I want to include the installation of NI DAQ drivers with my program. I know that you can use setup.exe from command line. But for version 6.9.3 is there a way I can specify along with setup.exe , just the features I want to install.
    I would really appreciate a prompt reply.
    Thanks.
    Arti

    Hello Arti,
    Please see this link which explains how to do a silent installation of NI-DAQmx: http://digital.ni.com/public.nsf/websearch/CBDAA88478F7179C86256E36001BE050?OpenDocument
    Also, see that document attached below for instructions on how to do a silent installation of NI-DAQ 6.9.x.
    Regards,
    Bill B
    Applications Engineer
    National Instruments
    Attachments:
    NI-DAQ690SilentInstall.txt ‏5 KB

  • Running report from command line with multiple value for same parameter

    Hey,
    I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values to pass to a parameter each time.
    So for example if a parameter was 'School Number', how could I run a report in a batch program that would pass a school number to the report as a parameter using a list of school numbers generated for a sql statement or something. So if I had 300 school numbers in my list then I would get 300 different reports when the batch program finished.
    This leads me to another question. How can I dynamically change the name of the report generated by the batch to use the school number value passed in, so for example if the value 3 was passed in the name would be something like School 3.pdf, if 4 was passed in the name would be School 4.pdf....etc
    Any help on this?
    Thanks

    Hello,
    Bursting and Distribution may help you ....
    37 Bursting and Distributing a Report
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_dist.htm
    Regards

  • What are the commands for compiling c++ using the command line tools for xcode?

    Hi, I am taking a class in school for c++ and i would like ot be able to practice at home i found the command line tools for xcode and went ahead and installed it on my computer. now i need to know the commands and procedure to be able to compile and run c++.

    c++ testfile.cc

  • Calling webhelp topic from command line

    Hi
    I've searched the list, but was unable to find any
    information about this.
    How do you call a webhelp topic from the command line? What
    syntax would I use?
    Thank you
    Nadine

    Try the topic on my site about Calling WebHelp.

  • CUPS print job options fail when called from lp (UNIX command line)

    Under Leopard this command-line print request fails to respect the specified job options:
    lp -o number-up=2 -o page-border=double <filename>
    Though it worked great in Tiger, the number-up and page-border job options are now disregarded. I have tried lots of things (and wasted lots of paper) such as setting them permanently with lpoptions (and they do appear changed when the lpoptions command is repeated), using lpr instead of lp, reinstalling the printer via the CUPS localhost web interface, enabling non-Bonjour scanning with the hack to the CUPS preference file, deselecting "Last Printer Used" for the default printer in the System Preferences -- nope.
    I have not tried other job options; I assume that whatever is breaking these two is breaking all the others, and even if it isn't, these two are what I want.
    Is something new in Leopard overriding lpoptions job options? How do I make it stop? It is sooooo aggravating when something that used to work fine breaks. The printer is an HP LaserJet 4000N connected by Ethernet and discovered with AppleTalk.
    Thanks for any advice!

    Thanks John, I did search but somehow missed that thread.
    However it did not help. With or without the "-p printername" argument lpoptions does make a persistent change to its own data:
    +$ lpoptions+
    +media=Letter sides=one-sided finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=2 auth-info-required=none job-sheets=none,none printer-info=Barrow printer-is-accepting-jobs=1 printer-is-shared=0 printer-location='Local Zone' printer-make-and-model='HP LaserJet 4000 Series' printer-state=3 printer-state-change-time=1209495301 printer-state-reasons=none printer-type=2134228 page-border=double+
    You can see that the printer "Barrow" has remembered "number-up=2" and "page-border=double". Regardless if I give any of these commands:
    +lpr <filename>+
    +lpr -P Barrow <filename>+
    +lp <filename>+
    +lp -d Barrow <filename>+
    none of them show the results of these option settings (and somewhere in the forest another tree is cut down).

  • Need code for call a report from stored produre in oracle9i(using rwclient)

    dear all,
    i need a stored procedure to run the report 9i(.rdf) from pl/sql.But i have code in older version(rwcgi60).So i want stored procedure for rwclient.
    The below code not working in oracle9i version.its very urgent.Thanks in advance..
    create table report
    (id number not null primary key,
    filename varchar2(100) not null,
    report_connection_id number not null,
    destype varchar2(5) not null)
    create table report_connection
    (id number not null primary key,
    user_id varchar2(100) not null,
    pass varchar2(100) not null,
    database_server varchar2(50) not null,
    report_server varchar2(50) not null)
    alter table cm.report add foreign key (report_connection_id) references cm.report_connection (id)
    insert into report_connection values (1, 'scott', 'tiger', 'orcl', 'Rep60_Dev');
    insert into report values (1, 'test.rdf', 1, 'PDF');
    commit;
    procedure pr_example (p_id report.id%type) is
    cursor cur_data is
    select r.filename,
    c.user_id,
    c.pass,
    r.destype,
    c.database_server,
    c.report_server
    from report r,
    report_connection c
    where r.report_connection_id = c.id
    and r.id = p_id;
    v_blob blob;
    v_url varchar2(2000);
    v_pieces utl_http.html_pieces;
    v_buffer raw(2000);
    v_buffer_size integer := 2000;
    begin
    for v_rec in cur_data loop
    v_url := 'yourserver.domain.com/dev60cgi/rwcgi60.exe?report=' || v_rec.filename || '&desformat=' ||
    v_rec.destype || '&userid=' || v_rec.user_id || '/' || v_rec.pass || '@' || v_rec.database_server ||
    '&server=' ||v_rec.report_server || '&destype=cache';
    if v_rec.destype = 'PDF' then
    owa_util.mime_header('application/pdf', false);
    htp.p('content-disposition: filename='||v_rec.filename);
    owa_util.http_header_close;
    --you can add a bunch of elsif logic here for different destypes and setting the correct mime type.
    end if;
    --sets transfer timeout to be one hour
    utl_http.set_transfer_timeout(3600);
    --runs the report
    v_pieces := utl_http.request_pieces(v_url,64000);
    v_blob := empty_blob();
    dbms_lob.createtemporary(v_blob,true);
    for i in 1 .. v_pieces.count loop
    v_buffer := utl_raw.cast_to_raw(v_pieces(i));
    v_buffer_size := utl_raw.length(v_buffer);
    if v_buffer_size > 0 then
    dbms_lob.writeappend(v_blob, v_buffer_size, v_buffer);
    end if;
    end loop;
    wpg_docload.download_file(v_blob);
    end loop;
    end;
    Now run this url:
    http://yourserver.domain.com/pls/dad_name/pr_example?p_id=1
    regards
    mani

    JosAH wrote:
    A couple of years ago Sun supplied their javax.comm package (mysteriously versioned as version 2)
    but they stopped it for the PC Windows.
    There's an alternative: rxtx which offers an identical API as Sun did and their own native implementation for serial and parallel port handling; I have used both and the rxtx version is clearly superior to Sun's old version: http://www.rxtx.org
    This question popped up recently.
    tschodt wrote in [http://forums.sun.com/thread.jspa?messageID=10863769#10863769:}
    [Java Communications API|http://java.sun.com/products/javacomm/]
    Implementations of the API are currently available for Solaris SPARC, Solaris x86, and Linux x86.follow the Download link to find
    Sun no longer offer's the Windows platform binaries of javax.comm, however javax.comm 2.0.3 can be used for the Windows platform, by using it in conjunction with the Win32 implementation layer provided by the RxTx project. To use that, download javax.comm for the 'generic' platform (which provides the front-end javax.comm API only, without platform specific back-end implementations bundled). Then acquire the Windows binary implementation rxtx-2.0.7pre1 from http://www.rxtx.org.

  • Searching for the name of that command-line taskmenu

    Hello everybody,
    after googling and searching the froum for awhile. I would like to ask if someone knows the name of this kinda "desktop environment". It is CLI only, no X. I remember there was a menu to choose different actions from (like email or so), it looked really usable and interesting. If anybody got to know the name, pls drop a line
    Thanks in advance

    No, it wasn't a usual terminal. It just showed a list with actions (like email, file management) and you could choose stuff to do. Those actions were mostly common tasks.
    If someone knows smxi from the distribution sidux: it was something like that. I just think you could navigate with you arrow keys instead of typing letters..

  • Suppress writing cache files with rwrun.exe

    Hello,
    we`re using rwrun.exe (9.0.4.2.0) with parameters to create pdf-files in a loop:
    REPORT=mytest.rdf
    USERID=scott/tiger@orcl
    BLANKPAGES=no
    DESTYPE=file
    DESNAME=mytest.pdf
    DESFORMAT=PDF
    OUTPUTIMAGEFORMAT=GIF
    CACHELOB=NO
    Each process write a cache file in the directory …\reports\cache. Reports eats the hard disk :-(
    I`ve found the EXPIRATION command in the documentation, which defines the point in time when the report output should be deleted from the cache. But this command strictly runs with rwclient.exe and reports server, but Reports server isn`t installed on our server.
    Can we suppress writing cache files with rwrun.exe?
    Steffen

    Hello,
    Why don't you add a command del in your loop ?
    Example:
    del %ORACLE_HOME%\reports\cache\*.*
    Regards

  • Unable to  run rwrun.exe

    I have installed 9iDS.902 on win2000 professional,the install seem OK, but I failed to run report using command line.I typed the command in dos prompt, but got no response,the cursor just went to next line:
    F:\9iDS\bin>rwrun module=prize.rep destype=preview
    F:\9iDS\bin>
    any Idea?
    thanks in advance.

    Hi Ray,
    In 9i, the rwrun executable no longer has a GUI interface so actually, you should have gotten an error when you tried to run that command. Rwrun now acts like rwclient and starts up an in-process server. You can still use rwrun at the command line with batch=yes. If you want to use the preview, run the report through the Builder. You might want to take a look at the Obsolescence white paper on otn.
    Cheers, Toby

  • Calling a report from function module

    Hi Friends,
    I have requirement for Function Module i.e. we will add the button to the standard T-code and ( Function added in config ) then
    Function to be called from Customizing
    Program A called from customizing function
    CalculationPDFFunction  is called from program A.
    So can any one help me the logic for "calling a report from function module  ".
    Thanks in Advance.
    Regards,
    OSReddy.
    Edited by: OSReddy on Sep 23, 2011 7:31 AM

    Hi Jaya,
    Yes. It is possible to call ur custom program using SUBMIT statement.
    1. If u have data to pass then build table type RSPARAMS and use below statement.
    data:
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
    SUBMIT report1 WITH SELECTION-TABLE rspar_tab
                   AND RETURN.
    1. If u want to create variant to the program and use that. use the below statement .
    SUBMIT report1 USING SELECTION-SET 'VAR1' "variant
                   AND RETURN.
    Regards,
    Venkat.O

  • Calling standard report to my custom report

    Hi ALL,
    i need to call a standard report into my custom report
    for example :
    i am having a report with all PR related data
    now i am having nearly 20000 purchase requisitons and there related data .
    now i will get all the Source of supply for each PR
    using bapi BAPI_SOURCEDETERMINE_GETSOS.
    now i am having all the PR's and source of supply
    then i need to assign source of supply .
    using the standard report RM06BZ00.
    then how to call this report and assign source of supply .
    Will be there any performance considerations for calling this report in a loop (20000)
    and how to catch the result
    if source of supply  was assigned ok
    if not how.
    Thanks in advance .
    siva

    Hi Prabhu,
    Use the Submit Statement for calling the standard report u can use the options available with the submit statement for passing any parameters ,
    for reference u can refer following code....
    MOVE: 'S_LIFNR' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-lifnr TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'S_DOCNO' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-docno TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'S_DOCTYP' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-doctyp TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'P_CT1' TO seltab_wa-selname,
            'P'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            'X' TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      SUBMIT zexc_ct1_prg
       via selection-screen
          WITH  SELECTION-TABLE seltab.

  • How to call ALV Report and SMARTFORMS through Pushbutton

    hi,
    i have created a report.My task is to create two buttons:
    1)ALV Report.
    2)SMARTFROMS.
    Through these button i have to call ALV Report and SMARTFORMS. i have created both button and when i execute the program,
    it shows me the button but not working when i click on it.
    this is the coding i have used in my report for calling ALV Report.
    ''Tables sscrfields,
    DATA flag(1) Type c.
    selection-screen: begin of screen 500 AS WINDOW TITLE tit,
    BEGIN OF LINE,
    PUSHBUTTON 2(18) but1 USER-COMMAND cli1,
    end of line,
    BEGIN OF LINE,
    PUSHBUTTON 2(18) but2 USER-COMMAND cli2,
    end of line,
    end of screen 500.
    SET PF-STATUS 'STATUS_0100'.
    at selection-screen.
    case sscrfields.
    WHEN 'cli1'.
    flag = '1'.
    WHEN 'cli2'.
    flag = '2'.
    endcase.
    at USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'Detail'.
    select vbakkunnr VBakernam VBAkaudat vbakaufnr vbapKWMENG vbapmatnr vbap~ARKTX
    into but1
    from vbak inner join vbap
    on vbakvbeln = vbapvbeln.
    ENDSELECT.
    ENDCASE.
    START-OF-SELECTION.
    tit = 'Format'.
    but1 = 'ALV Report'.
    but2 = 'SMARTFORMS'.
    CALL SELECTION-SCREEN 500.
    and i also use in my report
    ''case sscrfields-ucomm'' and ''submit my_report'' but the still button doesn't show the result.
    Thanks & Regards,

    Hi,
             I  understood your requirement. What i found is,  you are creating screen 500 and call it after START-OF-SELECTION,
    at that time your AT USER-COMMAND doesn't work.
    So what i would suggest , u should create GUI STATUS named ' PFSTAT' 
    having one functional key 'EXIT'  that is standard u can just name it
    and
    other two u can assign in Freely assigned Function keys as 'BUT1' & 'BUT2'.  and than in Application Toolbar u jst have it in ITEM LIST by typing BUT1 and BUT2.
    For 'BUT1'  text would be 'ALV'  and 'BUT2' text would be 'SMARTFORMS'.
    Now in Program you can code,,,
    START-OF-SELECTION.
    SET PF-STATUS 'PFSTAT'.
    WRITE:/ 'TEST'.
    at user-command.
      case SY-UCOMM.
        WHEN 'BUT1'.
        WHEN 'BUT2'.
        WHEN 'EXIT'.
           LEAVE PROGRAM.
      endcase.
    In Program u set PF STATUS and use at user-command event, whcih gets triggered when u click on button . When u execute program you get two button in application tooldbar.
    Please do needful.
    Thanks,
    Saurin SHah

  • Call Crystal Report Atom

    Hi Expert,
    I developed a scenario for Call Crystal Report.
    But when I call the crystal report it's give me below error.
    "com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: InternalFormatterException---- Error code:-2147467259 Error code name:failed"
    Thanks,
    Tushar

    Hi Tushar
    As far as I remember I had a similar problem and in my case it was due to specific font used in report definition. I did like this: first I checked if the problem persists if I use very simple report and it revealed that the problem was gone; then I started to remove parts of my report and checked if the problem shows up again. After some time I found out that one of the font was responsible - I don't know why.
    Kind regards,
    Radek

Maybe you are looking for

  • How can I change between different JRE in the Same PC

    I have two systems.A system can only run in JRE 1.3 and B system can only run in JRE 1.5 enviroment.But I have to run both in one desktop(which use WinXP SP2),how can I do it . I tried to edit the system config using the cmd of regedit , edited some

  • Flex developer needed

    Hello, Is anyone interested in talking to me about development opps? Thanks!

  • How to run two libraries? [11.0.0]

    Hey everyone. I've been using iTunes for a long time now, as it is a relatively good program for organizing my huge library> I don't use it to listen to music, but I often need to move files around and onto the appropriate devices for my family. Beca

  • Obsolete Statements / FMs in EhP5

    Hi Experts, Please let me know if any obsolete statemetns would be available in any enhancement packs, including EhP5. I would like to confirm apart from the functional enhancement any tecnical enhancements would be available in any of the enhancemen

  • Spreadsheet beginner......where to start.

    Okay, I really, really like Numbers. I can see its potential, and am already using it for my checking account, but would really like to be proficient and experiment. Here's the deal....I have zero spreadsheet experience. None. Never worked with Excel