Storing the output of a transaction

I have a requirement where i need to run the transaction stad on a daily basis for a particular id for the preceeding 24 hrs and send the output through an email to two particular persons. I have written the wrapper program for the transaction but how do we store the output in a file.

Hi,
Why don't you create and schedule a job (SM36) to run program RSSTAT20 with defining spool list recipient to send out the output file?
First, you need to setup distribution list with all user email address (SBWP) which like to receive the output report. Then you can attach the distribution list to the above spool list recipient.
Regards,
Ferry Lianto

Similar Messages

  • Report to see the output of VLPOD transaction

    Hi Gurus
         I have configured Proof of delivery concept to caputre loss of Quantity due to moisture. can any body tell me about standard report to see the output of VLPOD transaction.Full points for the correct solution.

    Hi,
    Try the t-code VLPODL, hope can help you!
    Good day
    Tao

  • Help to catch the output of a Transaction

    Hi,
    I have this issue and need help, I have a program lets say "ZPROGRAM", this programs calls a RFC "ZFUNC" this function must be able to send the parameters to execute a SAP standard transaction for example MB51, the function must send the plant number, storage location, and material number, then this RFC must catch the output of the report into an internal table so that i can work with the output in "ZPROGRAM", in other words what I see on screen as result of MB51 I need it in an internal table so that I can manupulate the data.
    I hope someone could tell me how to accomplish this.
    Thanks in advice.

    Hi,
       Pls try
        DATA list_tab TYPE TABLE OF abaplist.
        DATA vlist  LIKE  table of LISTZEILE WITH HEADER LINE.
        submit RM07DOCS
          with XXX
          EXPORTING LIST TO MEMORY
          and return .
          CALL FUNCTION 'LIST_FROM_MEMORY'
            TABLES
              listobject = list_tab
            EXCEPTIONS
              not_found  = 1
              OTHERS     = 2.
       CALL FUNCTION 'LIST_TO_ASCI'
          EXPORTING
            list_index         = -1
          TABLES
            listasci           = vlist
            listobject         =list_tab
          EXCEPTIONS
            empty_list         = 1
            list_index_invalid = 2
            OTHERS             = 3.
    Regards,
    Pole
    Edited by: Pole li on Jul 17, 2008 3:57 AM

  • Hi, Is there a way to export the output of a transaction to Memeory .

    Dear All , Here is the question
    SUBMIT           ws_monitor_outb_del_free
                           WITH  it_vkorg = r_vkorg
                           WITH  it_vtweg IN svtweg
                           WITH  it_spart IN sspart
                           WITH  it_kunag = kna1-kunnr SIGN 'I'
                           WITH it_wbstk NE 'C'
                           EXPORTING LIST  TO MEMORY
                           AND RETURN.
    This is possible and fine ?
    Is this possible Similarly
          SET PARAMETER ID 'VAG' FIELD kna1-kunnr.
          SET PARAMETER ID 'KUN' FIELD space.
          SET PARAMETER ID 'MAT' FIELD space.
          SET PARAMETER ID '0BT' FIELD 'X '.
          SET PARAMETER ID 'VON' FIELD space.
          SET PARAMETER ID 'BIS_VA05' FIELD sy-datum.
          SET PARAMETER ID 'VC2' FIELD 'X'.
          CALL TRANSACTION 'VA05' AND SKIP FIRST SCREEN [ <b>EXPORTING LIST TO MEMEORY</b> ].
    Hope its Clear i want the output to be saved in memory not to be displayed.
    Note : you cannot use the program triggered by VA05 and submit it as i have done in the first case because it is not a executable prog.
    With Best Regards.
    Md Iqbal

    use this
    in the calling program
    declare
    DATA : listobject LIKE abaplist OCCURS 0 WITH HEADER LINE.
    after submit use this
       IMPORT listobject FROM MEMORY ID '%_LIST'.
    to fetch the data to memory.
    regards,
    vijay

  • Storing the output of BAPI for further use in Webdynpro application

    Hi,
    In my webdynpro application, a BAPI_A is called multiple times from a backend.
    All the previous outputs of the BAPI_A need to be stored in the webdynpro application as they serve as a complete set of input parameters for BAPI_B at the end.
    Can anybody shed light on this temporary storage mechanism of the outputs of the BAPI_A.
    Regards
    Meesum

    Hi Meesum,
    Your BAPI structure
    BAPI_A
    --Output (0..n)
    Field1
    Field2
    Field3
    Field4
    Value node structure
    vnBAPI_A (0..n)
    --vnResult (0..n)
    vaField1
    vaField2
    vaField3
    vaField4
    1. Declare objVnBAPI_A (between begin and end)
    2. Initialize in the vnBAPI_A in the wdDoInit()
    3. After each execution of the BAPI (BAPI_A), create the vnResult and populate the fields of vnResult (from the BAPI_A --> output)
    4. Add the vnResult object to objVnBAPI_A
    Hope this should help you.
    Regards,
    Santhosh.C

  • Problem with the Output Type and Transaction ME9F

    Hi,
          I have an Output Type (xyz) and Program (abc).
          If for ME21N i give the output type ( xyz ) the n am able to get the Spool and 
          Printout.
          If for ME9F i give the output type ( pqr) then am able to get the Spool and 
          Printout.
          Problem is :---
          when am using O/P Type ( xyz ) for ME9F then am abel to process but am
          not able to get the spool and not even printout.
          I want to know where it can be wrong.
          It's a high priority object.
    Kindly help me out.
    Thanks,
    Zia.

    hi Zakir,
    1.check the output type under
    apllications  'EF' IN transaction  NACE.
    2.select that ef and press the push button output types .
    3. now check ur output for is present here or not ..
    just click the position button and give ur output type ..
    4. when u find ur output type .. select that o/p type and click processing routined on the left side where u will see ..
    when u do this
    u ll see the details like
    output type . the output type  "
    application . 'EF'
    and the mode of medium .
    1. print out
    2. fax .
    6. edi etc.
    this is the way to check what are the mediums present for the output type ..
    check whether u r <b>entries (xyz) and (pqr) are having medium 1.</b> 
    if its missing  then assign it ..
    regards,
    VIjay

  • Storing the output of a function module into a custom table

    Hi Gurus,
    Is it possible to store the output of a function module into a custom table.How can this be done?Is it complex?

    hi,
    After u execute the FM and get values in the internal table ITAB_RESULT. Create a custom table having structure same as ITAB_RESULT call it ZRESULT.
    data :wa type ITAB_RESULT.
    call FM and get result it ITAB_RESULT
    loop at itab_result.
    move-corresponding itab_result to wa.
    insert wa to ZRESULT.
    endloop.
    Regards,
    Mansi.

  • Adding new field in output layout in transaction ME2N

    I would like to know if it is possible to add new fields in the output layout of transaction ME2N. For example field EKPO-AFNAM (Requisitioner) that in the standard layout is not used.
    Thanks a lot
    Melih

    Dear Melih,
    We can do.add some functions.In this way SAP provided some dynamic search strategeis.you can use other wise create through variant cofiguration.
    press SHIFT+F4 will apper dynamic selection tab there you can select some search strategeis.
    Hope this can helps you
    Prem.

  • How to get the dump of a transaction output

    hi gurus,
    my requirement is to take the dump of the output produced by a transaction (sm58).
    does any one know the way to copy the output of the transaction into an internal table?
    please help me out. <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 22, 2008 1:53 PM

    Hi Rambo..
        Can you explain clearly whats your problem...
        you can see the dump details in st22 t-code...
    Regards,
    Rahul

  • Using the output of the transactions and saving them in a file using a prog

    Hello Gurus'
    Over the while i had been working on something which involves sending system data of some of the SAP BASIS transactions(ex SM21, ST02). I am wondering if there is any way using ABAP programming that calls the desired transaction(within the program), get's the output(as displayed if it had been run independtly) in any file types. As there are complex BASIS level details i am looking for the approach utilizing the already existing SAP outputs for the transactions.
    Please help here.
    Thanks and Regards,
    Puneet

    You might want to ask in the Basis forum. Maybe there is already some standard functionality available for what you're trying to achieve. Also check out this page: http://www.kabai.com/abaps/q.htm

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • What are all the ways that can add fields in the output list of FBL3N transaction?

    Hello dear experts,
    There is this transaction FBL3N, which you might be aware of. Now, the requirement is to add 4 new fields in the output list of the standard program.
    The fields are:
    NAME1   KNA1
    LOKKT    BSEG
    USNAM   BKPF
    TXT50      SKA1 -> SKAT
    Please tell me how to do this apart from implementing the note 310886. What are the other ways?

    I agree, start reading 984305 - Line item: Definition of special fields (T021S)
    Then for non BSEG/BKPF fields, better use BAdI FI_ITEMS_CH_DATA (1323512) and not the good old BTE 1650, the BAdI will be called once with the full internal table with special fields already filled, when the BTE will be executed for each and every record without special fields, so harder to optimize, and may require access to BKPF/BSEG for missing fields.
    Regards,
    Raymond
    PS: Did you use search tool, there are already many discussions/threads on this subject.

  • Changing the output layout of standard transaction FPWLM

    Hi All,
    We have a requirement where we need to change the output layout of the standard transaction FPWLM which is used fo the management of worklist for collecion management.
    In this transaction under the current worklist if we select the worklist ID and display it , work items are displayed in the Grid display. We want to add certain fields here in the output layout of this transaction. We tried adding the fields by selecting the change layout option which displays the list of hidden fields which can be added . But the problem is the field which we want to add is not present in this list.
    Is there any other way to add the fields to the output layout of standard transaction.
    thanks
    regards
    manipal

    Hi Manipal,
    Maybe check IMG under Basic Settings for Collections Management.
    This node contains the sub-node Worklist.
    Two enhancements are availaable here:
    BAdI: Enhancement of Worklist Items on Creation
    BAdI: Enhancement of Worklist Items on Display
    Maybe read the documentation for the nodes to determine if the enhancements will accomplish what you are looking for!?
    Since this component is not active in our installation, I have no experience with this functionality.
    Kind regards,
    Robert

  • Calling a transaction code in between the program and use the output

    Hi frnds,
              i want to call a transaction code in between the program   and pass the input .After getting the output, use that output in the program

    Hi Navin,
                     Why don't you sit with ABAPer he can explain better.
    Regards,
    HAri.

  • Is it possible to pass TABLE as the output parameter in stored procedure

    Hey Experts,
      Is it possible to pass TABLE as the output parameter in stored procedure.
    eg
    create procedure spGetData
    @tableName as TABLE(intValue INT NOT NUL)
    as 

    You can use OPENQUERY or OPENROWSET, as mentioned above, to make stored procedure results table like. There are
    some limitations with these methods:
    http://technet.microsoft.com/en-us/library/ms188427.aspx
    In OPENQUERY this-sql-server-instance can be used instead of a linked server name. It requires setting data accces server option:
    exec sp_serveroption @server = 'PRODSVR\SQL2012'
    ,@optname = 'DATA ACCESS'
    ,@optvalue = 'TRUE'
    LINK: http://www.sqlusa.com/bestpractices/select-into/
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Maybe you are looking for