To Create an utility program for query.

Hello all,
I have a requirement where I need to develop an utility program which should create a downloadable report with more or less the following content.
System
Client
Query name
Query description
Creation timestamp
Creator
Infoset
Tables involved
If possible, we would like to know how many times they were run and when was the last time it ran.
Can you please let me know where are the queries saved?  And from where can we get the details for these above mentioned fileds? ( Except system and Client).
Do feel free to add any other information you may consider relevant.
Thanks in Advance,
Rachana.

Hi ,
You can use AQGQCAT table to retrieve query details.
Further tables on query are AQG*
Hope this Helps
Nag

Similar Messages

  • Deletion Utility Program for Sales Order.

    Hi Experts,
    We decided to have a deletion utility program for Sales orders. 
    The program should take sales order numbers from a source file, and delete one by one, also the program should generate process log details at the end.
    For creating the above program i need to create a new program or there is any BAPI for deleting the Sales Orders.
    Thanks & Regards,
    Ramana

    Hi,
    Possible UPDATEFLAGS:
    BAPISDH1X-UPDATEFLAG = 'D'.
    U = change
    D = delete
    I = add
    If you go to SE37 give BAPI_SALESORDER_CHANGE --> Display ---> In application tool bar Last Buttion Function Module Documentaion --> Here you get some usefull information.
    Dont Change the BAPI Just pass the Header X = 'D'.
    Try this Sample Program.
    PARAMETERS: p_vbeln  TYPE vbap-vbeln OBLIGATORY.
    DATA:  i_hdrx TYPE bapisdh1x.
    i_hdrx-updateflag = 'D'.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument     = p_vbeln
          order_header_inx  = i_hdrx
        TABLES
          return            = i_ret.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      LOOP AT i_ret.
        WRITE / i_ret-message.
      ENDLOOP.
    Thanks,
    Durai.V
    Edited by: Durai V on Aug 19, 2008 8:22 AM

  • Problem in creating a BDC program for transaction cj20n(project sytem)

    Hi all,
    I am trying to create project,WBS element ,network and activity using a BDC program,
      I am able to create to a recording for the transaction cj20n using tcode shdb but when i run the recording it doesnt run properly i am not able to create any thing.
    I get error saying that a particular field doesnt exist on the screen.
    Is possible to create a BDC program for transaction CJ20N ?
    Also is there any other alternative  apart from using a BAPI or a function module.
    Thanks,
    Nishant

    Hi,
        Check below link for BAPIs of transaction cj20n.
    [BAPI for cj20n|BAPI for CJ20N transaction]
    Thanks,
    Asit Purbey.

  • How to create a BDC program for given recording.

    i have to create a BDC program for uploading a file.
    currently i am using call function
      CALL FUNCTION 'F4_FILENAME'

    just check out the code below  it  is  for  updating two transactions
                           types Declaration                      *
    types: begin of t_tab1 ,
                vendor(10),
                material(18),
                pur_org(4),
                wglif(18),
          end of t_tab1.
                  Data Declaration                                 *
    data : begin of it_tab5 occurs 0,
              vendor(10),
              material(18),
             end of it_tab5.
    **DATA : BEGIN OF IT_TAB6 OCCURS 0,
             VENDOR(10),
             MATERIAL(18),
            END OF IT_TAB6.
    data: it_tab1 type standard table of t_tab1 with header line.
    data: wa_tab1 type t_tab1.
    data: wa_tab2 type t_tab1.
    data: it_tab3 like bdcdata occurs 0 with header line.
    data: it_tab4 like bdcdata occurs 0 with header line.
    data: it_tab2 type table of bdcmsgcoll with header line.
    data: d_file_name like ibipparms-path,
          d_file_name1 type string.
                       Start-of-selection                        *
    start-of-selection.
    FM for finding the flat file
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
       importing
         file_name           = d_file_name.
      d_file_name1 = d_file_name.
    ******FM for uploading data from flat file into internal table
      call function 'GUI_UPLOAD'
        exporting
          filename                      = d_file_name1
         filetype                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        tables
          data_tab                      = it_tab5
    exceptions
       file_open_error               = 1
       file_read_error               = 2
       no_batch                      = 3
       gui_refuse_filetransfer       = 4
       invalid_type                  = 5
       no_authority                  = 6
       unknown_error                 = 7
       bad_data_format               = 8
       header_not_allowed            = 9
       separator_not_allowed         = 10
       header_too_long               = 11
       unknown_dp_error              = 12
       access_denied                 = 13
       dp_out_of_memory              = 14
       disk_full                     = 15
       dp_timeout                    = 16
       others                        = 17.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
                     End-of-selection                         *
    end-of-selection.
      sort it_tab5 by vendor.
      loop at it_tab5.
        perform bdc_dynpro using 'SAPLBG00'  0101 .
        perform bdc_field using 'BDC_OKCODE' '/00' .
        perform bdc_dynpro using 'SAPLBG00'  1000 .
        perform bdc_field using 'BDC_OKCODE' '=BUCH' .
        perform bdc_field using 'BDC_SUBSCR'
        'SAPLBG00                                1101KOPF_1000'.
        perform bdc_field using 'GBGMK-GAART' '2' .
        perform bdc_field using 'GBGMK-GAERB' 'X' .
        perform bdc_field using 'BDC_SUBSCR'
          'SAPLBG00                          1103TAB_SUB_1000'.
        perform bdc_field using 'BDC_CURSOR' 'GBGMP-LSTNR(01)' .
        perform bdc_field using 'GBGMP-LSTNR(01)' it_tab5-material .
       call transaction 'BGM1' using it_tab3 mode 'E' messages into it_tab2
        refresh it_tab3.
        wa_tab1-pur_org = 'ABCP'.
        loop at it_tab2.
        endloop.
        perform bdc_dynpro using 'SAPMM06I'  0100 .
        perform bdc_field using 'BDC_CURSOR' 'EINE-EKORG' .
        perform bdc_field using 'BDC_OKCODE' '/00' .
        perform bdc_field using 'EINA-LIFNR' it_tab5-vendor .
        perform bdc_field using 'EINA-MATNR' it_tab5-material .
        perform bdc_field using 'EINE-EKORG' wa_tab1-pur_org .
        perform bdc_field using 'RM06I-NORMB' 'X' .
        perform bdc_dynpro using 'SAPMM06I'  0101 .
        perform bdc_field using 'BDC_CURSOR' 'EINA-WGLIF' .
        perform bdc_field using 'BDC_OKCODE' '=BU' .
        perform bdc_field using 'EINA-WGLIF' it_tab2-msgv1 .
        call transaction 'ME12' using it_tab3 mode 'E'.
        refresh it_tab3.
        refresh it_tab2.
      endloop.
    *&      Form  BDC_DYNPRO
         Start new screen
         -->P_FNAM  text
         -->P_FVAL  text
    form bdc_dynpro  using   program
                             dynpro.
      clear it_tab3.
      it_tab3-program  = program.
      it_tab3-dynpro   = dynpro.
      it_tab3-dynbegin = 'X'.
      append it_tab3.
    endform.                    " BDC_DYNPRO
    *&      Form  BDC_FIELD
       Insert field
         -->P_FNAM  text
         -->P_FVAL  text
    form bdc_field  using    fnam
                             fval.
      clear it_tab3.
      it_tab3-fnam = fnam.
      it_tab3-fval = fval.
      append it_tab3.
    endform.                    " BDC_FIELD
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 6:20 PM

  • I am running my canon camera on the EOS utility program for mac, and i was wondering if there is a keyboard shortcut to start video recording, instead of using the mouse.

    I am using EOS utility for MAC to run my canon camera at work. I have a foot switch connected to my macbook that allows me to take snapshots with my foot while i work ( i am a dentist and i have my camera hooked to a microscope). the way i did that is by programming a keyboard shortcut that snaps photos on EOS utility, to the foot switch software.
    So my question is: On EOS there is a video recording function, so i was wondering if there is a keyboard shortcut or if i can create a keyboard shortcut for the start/stop record function for video recording..

    Hi
    How much free space do you have on your boot disk ( Macintosh HD)?
    You may also like to add your current OS ;-)
    CCT

  • Using APT ActiveX methods to create a labview program for BPC 203 3 channel Benchtop Piezo controller

    Hi Everyone,
                      I am really very new to Labview and i am in great need for some help.I am assigned a task where i am supposed to create a labview program to control or moniter a BPC203 3 channel benchtop  Piezo controller. I created a program with the help of the instructions provided in the APT-Labview guide provided by Thorlabs.But th program doesnt run . Whenever i try to run it i get the same error which says that "Control HW Communications disabled".I have attached a snapshot of the error message.So i tried to create a small program in labview which would read the volage output.Even there i got the same error message.I suppose there is some mistake on my part which i am not able to correct due to the lack of proper knowledge.Could anyone please help me to solve this problem.A slight elaboration would be highly appreciated.Also i think the error lies in the use of invoke node with the get Voltage output method. I am not sure whether the parameters i have provided to the invoke node are correct.Any help of any sort would be highly appreciated.
    Attachments:
    Front Panel with error message.PNG ‏202 KB
    Block diagram.PNG ‏101 KB

    Hi
    I had the same problem today. However, I noticed that the piezo controller has 3 channels with separate slots and they are packaged in the same box. Therefore the whole box has a serial number, probably something like 71822280, and this is written with large letter. Now, in order to communicate with any of the channels, this does not help, but one needs to communicate directly with the interested channel and they have thier OWN SERIAL NUMBERS.
    For example channel 1 (my X direction in the nanoMax stage) has serial 91822281, Y has 91822282 and Z has 91822283. So try looking if you have the right serial number Hopefully you found out this yourself but this might help others, I took me3 hours to get this thing working when I started to plug-in the cables and everything.
    Lasse

  • How to create a customer program for "PPMOD"feature(pe03)?

    Hi,
    I want to create customer program for "PPMOD"feature(tcode:pe03),who can tell me the steps? (ECC6.0)
    thanks a lot?
    Olivia Yang

    Hi,
    /1PAPA/FEAT610PPMOD the generated program for the feature.
    You are forbidden to change this generated program. Ideally whatever logic regarding the feature needs to be put through pe03 tcode of feature and not in the program.
    Still if there are any changes that need to be done to the program you can enhance the program.
    To enhance the program you need to go to se 38 and open this program and press Shift + F4
    Then Goto->Enhancement operations->Show implicit enhancement operations
    Then go to yellow line right click on mouse and Enhancement implementation->Create
    And put your own code in the implementation.
    Regards,
    Divya

  • How to create Add-On program for SAP Business One 2007

    Hi,
    When I create my Add-On into SBO I have some issues.
    Which program do I use to create an Add-On into SBO?
    Is there a URL or Path where I find the program?
    I am using a 2003 program which is built by my colleague.
    I assume SAP provide the Add-On program for SAP Business One 2007
    Thank you,
    Rune

    Rune,
    At a high level ...
    1) VS2005
    2) Compile your program
    3) Generate and Add-on Identifier
    4) Create a registration datafile
    5) Create the setup program consisting of your .EXE and the .ARD file
    6) Add-On is created and running in SBO
    Again ... the details on deploying and packaging your add-on can be found in the SAP Business One SDK Help Center Documentation and the SDK eLearning.
    Also, you can use B1DE using the Simple Installer or Professional Installer will do most of the work for you after you have coded the add-on.
    Eddy
    Edited by: Edward Neveux on Jan 30, 2008 9:11 PM

  • Create a custom program for FPS3 transaction code

    Hi,
    I would like to create a custome program which does the below steps in one shot.
    1) RUN(SUBMIT) Transaction FPS3 with
    Company code = NONE and
    Created on FROM = SY-DATUM & TO = SY-DATUM
    2) In the next screen, it should select SELECT ALL
    button
    3) and then it should select EXECUTE button.
    And alos i should be able to give Information Messages when nothing is selected or displayed.
    Thanks & Regards,
    Sudheer Pusala.

    write a z program with company code as parameter. next use Submit function to submit FPS3 with the variables. In the PF-STATUS maintain the required butons which will popup when the data is shown. Now, u can select all records from one of the button of PF-STATUS (u need to write code for it). Next use execute button to execute the data. At any stage u can improper ur custom messages which will get displayed as and when something happens.

  • What is the Best Utility program for my Macbook Pro

    I have a Macbook Pro 2.33 with OS 10.4.10. I would like to know what is the best utility program to help with my computer. I used to use Norton Utilities, but I don't think they support 10.4. Is Tech Tool Pro a good program.
    Thanks.

    Is Tech Tool Pro a good program.
    Yes.

  • Is fake utility program for sun sparc solaris 2.6 available.?

    Hai ,
    Fake is a IP address take over tool used in linux.
    "fake is a simple utility designed to enable the switching in of backup servers buy bringing up an additional interface and using arp spoofing to take over the ip address. Either additional physically or logical interfaces can be used."This is all about fake.
    I searched a lot to get fake utility for solaris 2.6.but i could't.
    Is any fake utility version for solaris .? or the same of its kinds.?
    Please help me
    Thank you
    Arun

    hai Alan,
    Let me specific on the problem.
    I developed a fail-over software for Linux servers(need 2 servers of same configuration). In this servers ,there are two modes , Active and passive mode. At a time one can be active,and other passive. Clients can communicate the with the servers through a common alias ip address. But the actual ip address of servers can be different.Normally Active server would be having the alias ip.
    When switching take place from active to passive mode,server will be assigned with its actual ip address. When switching takes place other passive server becomes active and its get common alias ip address.?
    This is the actual scenario . And fake is used in Linux to refresh the arp table of immediate switching device.
    But i came to know that solaris os would do it normally when it switches .?
    Is this possible with solaris.?

  • I'm having problems creating a simple program for an introduction to programming class.

    I'm not exactly sure where this question should go so please excuse me if this is in the wrong place. At this point in the class we are learning about if/else statements. The text provided was written by a collaboration of the teachers. In the course material
    for the if/else part they show us examples using numbers. Then the course also shows us a video to help us better understand (it doesn't. I'm not the only student having problems on the online course.) by giving us an example using bool to show if a statement
    is true. Now our actual assignment is what is confusing me and other students. The assignment is to create a program that asks a question such as "Is this class hard?" and it should have three different responses depending on what you type in. If
    you type "yes" it would respond "Oh no! I'm sorry you're having problems!" if you type "no" it would respond "Glad to hear!" if you type something random it would say "I'm sorry. I didn't understand. Please respond
    with either "yes" or "no"." I'm not exactly sure how we were supposed to know how to do that from the course material provided and it's stressing me and other students out. Any and all help in this matter would be greatly appreciated.

    Make sure your folder having administration rights.
    some folders property is read only... so check by right clicking on the folder and the properties.
    This may help.
    Thanks,
    Bala

  • Create Jars and programs for windows environments

    Now I do not really need to make an exe file if I do not have to, but really I am just trying to be able to get my program to work in windows. I can compile and run the program fine in netbeans 5.5 . However I have been looking through documentation on actually creating a program that people can execute and run within a windows environment.
    I have added some jar (java mail api ) files to my lib directory within my project in case that makes a difference for the following.
    I used the build fnc within netbeans to create the jar file of my program, however double clicking the jar file does nothing and I am not able to load up the jar file in any way. What did I do wrong or how should I be doing this as this program is not meant for people to use in netbeans all day.
    I did create a bin file and used the java -jar Email.jar, however I get the following error:
    C:\Documents and Settings\JJBROW4\Desktop>java -jar Email.jar
    Exception in thread "main" java.lang.UnsupportedClassVersionError: email/Main (U
    nsupported major.minor version 50.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    However it compiles fine in netbeans. Is this because of the jar files I added in the lib within netbeans, or is it just not working in general? Any hhelp would be greatly appreciated.

    C:\Documents and Settings\JJBROW4>java -version
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    So I just need a newer runtime envronment? becuase I checked in the add or remove programs and I have the se Runtime Environment 6 installed as well as the update 1 for it. So I thought that would be ok.

  • Create child concurrent program for multi-processing

    Hi,
    I have a requirement where in I need my main concurrent program to generate child concurrent programs to process data in parallel.
    I want all the child programs to write the response in the output file of the main concurrent programs.
    Any pointers to this will be a real help.
    Thanks.
    Jujaar

    Hey Sandeep,
    Thanks for your response...
    OK, even I was thinking on those kind of solution or other possible way is to directly write in the output/log file of the parent req.
    Cause the output file is always formed at a loction with a std. naming convention o+request_id.out.
    I think it might be possible to write directly into the file. Have not tried it yet.
    And one more question, do you have an idea how to generate the child concurrent programs.
    I do see a parameter names sub_request in fnd_request.submit_request package. This is a boolean type.
    But I am kind of unsure, If I pass this parameter as TRUE, how it will find the parent request ID.
    If you some information on this as to how we can submit child concurrent request, please share. IT would be a great help.
    Thanks
    Jujaar

  • Trying to find a disk utility program for 10.4.11

    Hi all. My li'l iBook has been running exceptionally slow lately. I'm not the most mac-tech savvy, but I wasn't born yesterday either, so please take that into account when answering, please.
    I'm assuming the iBook needs a little maintenance in the way of some disk cleaning (repairing permissions and whatnot). I saw referenced an app called mainMenu, but I'm having a hard time finding a version that will even install on my machine. If anyone in the community would point me in the right direction of something I can do to get this notebook chugging again, it would be much appreciated.
    All my software is up to date, and here are my specs:
    Machine Name:          iBook G4
      Machine Model:          PowerBook6,7
      CPU Type:          PowerPC G4 (1.5)
      Number Of CPUs:          1
      CPU Speed:          1.33 GHz
      L2 Cache (per CPU):          512 KB
      Memory:          512 MB
      Bus Speed:          133 MHz
      Boot ROM Version:          4.9.3f0

    For a start, you may try Applejack, a freeware utility

Maybe you are looking for

  • My Safari keeps "Quiting Unexpectedly"

    Here is the error message: Process:         Safari [857] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         6.0 (7536.25) Build Info:      WebBrowser-7536025000000000~1 Code Type:      

  • How to sync ipod in with my wifes acct and get my music

    My mini has 2 accounts: mine and my wifes.  Both accounts have their own iTunes Music libraries. Our iPod Touch is always synced to my wife's account. When I open iTunes in my wife's account I see my library and can play music from my library. Howeve

  • Drift HD 170 video jerky in Quicktime

    My files from the Drift HD170 - they are .MOVs in H264 1080p - look great but had a stuttering effect as if a few frames get lost every few seconds. If I change the codec in Quicktime pro then the jerkiness goes but the movie darkens and the quality

  • How to interpret the current day of the month

    I am a rookie in java and am trying to play with the Calendar class. The DATE static field of this class says it returns "Field number for get and set indicating the day of the month." So, Calendar.DATE has to return the current day of the month. Tod

  • Enhanced Podcasts on Apple TV

    Does Apple TV support Enhanced Podcast content? (I.e, audio podcasts that have photo/graphics content embedded when viewed on iphone/ipod touch). I can listen to the audio on Apple TV but it doesn't diplay the embedded photos on the TV.