Need to generate report which executes automatically.

Dear gurus.
I like to generate a report  which execute automatically when the probation of an employee expires or list of employees having birthday in current month and print automatically.
can this be done ? if so can you guide me
regards
Saad Nisar.

hi Saad,
i think we can do this if you condition satisfies then use fm Job_open submit and job close
CALL FUNCTION 'JOB_OPEN'
            EXPORTING
              jobname          = l_name
            IMPORTING
              jobcount         = l_number
            EXCEPTIONS
              cant_create_job  = 1
              invalid_job_data = 2
              jobname_missing  = 3
              OTHERS           = 4.
IF sy-subrc = 0.
            SUBMIT z_report1 VIA JOB l_name NUMBER l_number
                                        AND RETURN .
            IF sy-subrc = 0.
              CALL FUNCTION 'JOB_CLOSE'
                EXPORTING
                  jobcount             = l_number
                  jobname              = l_name
                  strtimmed            = 'X'
                EXCEPTIONS
                  cant_start_immediate = 1
                  invalid_startdate    = 2
                  jobname_missing      = 3
                  job_close_failed     = 4
                  job_nosteps          = 5
                  job_notex            = 6
                  lock_failed          = 7
                  OTHERS               = 8.
endif.
endif.
so once your condition satisfies then open the job and run it in background mode.
Hope this helps.
Thanks,
Tanmaya

Similar Messages

  • Need Profit center report which give -

    Is there any profit center report which allowing multiple Profit centers selection with :
    -Profit Center #
    -Profit center Name
    -Profit center long text
    -Profit Center group
    -the related PC node showing the BU and the product category group.

    Hi,
    I recommend the PCA standard drill-down or interactive reports accessible via the follwoing menu path:
    Accounting --> Enterprise Controlling --> PCA --> Infosystem --> Reports for PCA
    There are several reports which allow entering profitcenter groups or profitcenters.
    Long Text is not possible. Makes also no sense to report on Long Text.
    Best regards,
    Andreas

  • XL Reporter - Toolbar is missing needed for "Generate Report"

    Hello - I am going thru the eLearning for XL Reporter.
    I have opened a template in XL reporter and I want to "Generate Report", however the toolbar shown in eLearning is not visible.
    Any advice? Thanks ahead of time!

    John,
    The toolbar often stays hidden when opening XL Reporter.  An easy way to get it to appear is to resize a column in the spreadsheet.  For whatever reason, this always makes it pop up for me.
    You could also turn it on in Excel:
    View > Toolbars
    There should be one for XL Reporter at the bottom
    Uncheck it and then recheck it
    That will force it to appear as well
    I believe your Excel Macro Security has something to do with this issue, but have never nailed it down.
    Hope this helps,
    Brad Windecker

  • How to generate checks when executing Automatic Payment Program (F110)

    Is it possible to generate checks automatically when I execute the automatic payment program? Will reward points to any suggestion. Thanks!

    hi patrick
    try this.....ur problem may solve.....
    Create Automatic Payment Transactions (F110)
    Purpose
    Use this procedure to generate checks proposals or ACH proposals and then subsequently issue checks or set up ACH files to be transmitted to the bank.
    Trigger
    Perform this procedure when through either an ACH or a check, a creditor of the University needs to be paid.
    Prerequisites
    Open invoices with reached due dates have to be present in the SAP system.
    Menu Path
    Use the following menu path to begin this transaction:
    ·         Select Accounting  Financial Accounting  Accounts Payable  Periodic processing  Payments to go to the Automatic Payment Transactions: Status screen.
    Transaction Code
    F110
    Business Process Information
    The automatic payment process will be centrally managed in the Accounts Payable Office. The automatic payment program will be executed each day for all open invoices (across vendors) in the system. There will be separate payment run execution corresponding to each payment method category:
    Check payments: clears the open invoices and issues a check output
    ACH payments: clears the open invoices and issues an ACH file output
    Foreign currency payments: clears open invoices but no output is issued
    State/Grant payments: clears open invoices but no output is issued
    The process steps executed during the automatic payment program are:
    Enter Payment Parameters
    Edit/review Payment Proposal
    Post Payments
    Generate Payment Medium (print checks or create ACH payment file)
    Generate Positive Payment File
    The payment parameters are entered in order to limit the open invoices and credits selected for payment. It is important to note that the payment terms that are defined on the invoice will drive whether a invoice is due for payment during the current payment run. During the payment program execution, the invoices that are due for payment will be presented to the user on a payment proposal list.
    The payment proposal is a list of expected payments grouped by vendor account. Invoices that are due for payment but cannot be paid due to some kind of accounting or system error are listed as exceptions. Examples of typical exceptions are missing banking information (for ACH payments) and blocked invoices. Some payment exceptions will be resolved at the Accounts Payable Office. However the Department must resolve some exceptions. When these types of exceptions appear on the payment proposals, the Accounts Payable Office will inform the Department of the blocked payment in order to get a resolution. Key personnel in the Accounts Payable Office will be the only resources to have access to the editing function of the payment proposal processing. Typically, there is no business reason the edit or change a payment proposal. Editing options for a payment proposal includes: changing the default disbursing bank account information or changing the payment method.
    After the payment proposals have been reviewed and edited, the proposals are posted as payments. It is important to note that any open credit on the vendor's account is also taken in consideration when creating the vendor's payment. The payment method supplement defined on the invoice will drive the check sorting.
    In addition to the printed check output, the payment program run produces an ACH file and a Positive Pay file. Both files are sent to the bank for further processing. The ACH file contains the vendor's payment and banking data. The Positive Pay file contains the check data (check processed, voided, etc) and is used for confirmation of payments.
    Helpful Hints
    ·         The R/O/C column in the field description tables below defines whether the field is required (R), optional (O), or conditional (C).
    ·         On certain screens you may have to scroll to view some data entry fields.
    ·         Click the  tab to view the current overall status of the payment process by viewing the informational messages.
    Procedure
    1. Start the transaction using the menu path or transaction code.
        Automatic Payment Transactions: Status
    2. As required, complete the following fields:
    ·         Run date
    ·         Identification
    3. Click the  tab.
    The payment program parameters are used to limit the program's selection of open invoices and credits.
        Automatic Payment Transactions: Parameters
    4. As required, complete/review the following fields:
    ·         Posting date
    ·         Docs entered up to
    ·         Company codes
    ·         Pmt meths
    ·         Next p/date
    ·         Vendor
    5. Click the  tab.
    Free selection criteria are extended parameter selection criteria used to limit the open invoices and credits selected in the payment run.
        Automatic Payment Transactions: Free Selection
    6. Perform any of the following:
    If You Want To
    Then
    Select data by a particular field value; use the match code on the Field Name field to obtain the required field
    Enter the required field value to be considered in the payment program selection of open items. The field value is entered in the Values field
    Payment selection can be based on fields on the invoice or credit memo document or fields on the vendor master.
    Example: A (AP payment block)
    Exclude the open items that match your field value
    Select  to the left of Exclude values.
    Include only those open items that match your field value
    Deselect  to the left of Exclude values.
    7. Click the  tab.
    This information is used to expand the information that is automatically recorded in the payment run log. The payment run log is used to diagnose any program errors during the payment run.
        Automatic Payment Transactions: Additional Log
    8. Perform the following:
    If You Want the Payment Program Log to Record
    Then
    Information on due date check
    Select  to the left of Due date check.
    Activate this option.
    Any payment method selection data
    Select  to the left of Payment method selection in all cases.
    Activate this option.
    Line item information the payment documents generated upon posting the payment proposal
    Select  to the left of Line items of the payment documents.
    Activate this option.
    9. As required, complete/review the following fields:
    ·         Vendors (from)
    ·         Vendors (to)
    Enter the same vendor account number range for Accounts required section of the transaction.
    10. Click the  tab.
    The specifications defined in this section of the transaction inform the payment program the correct form to use for check printing and the correct payment file format to use for ACH payments.
        Automatic Payment Transactions: Printout and DME
    11. As required, complete the following fields:
    ·         RFFOAVIS
    ·         RFFOUS_C
    12. Click the  tab.
        Exit editing
    13. Click  to save the data.
    If you want to delete the payment program parameters entered, select Edit  Parameters  Delete.
        Automatic Payment Transactions: Status (2)
    The system displays the message, "Details have been saved for the run on XX/XX/XX XXXX."
    14. Click  .
    If you want to refresh the screen in order to view the current status (processing step) of the payment program click  at any time.
        Schedule Proposal
    15. Perform one of the following:
    If You Want To
    Then
    Execute the payment program (i.e. process the payment parameters entered and create a payment proposal) immediately
    Select  to the left of Start immediately.
    Activate this option.
    Designate a target computer
    Enter the name in the Target computer field.
    16. Click  to process the payment parameters and create a payment proposal.
    While the payment program is selecting and processing data, the status will display the message, "Proposal is running." When the payment proposal has completed and is ready for review/edit, the system will display the message, "Payment proposal has been created."
        Automatic Payment Transactions: Status (3)
    The system displays the message, "Proposal run has been scheduled."
    17. Click  .
        Automatic Payment Transactions: Status (4)
    The system updates the status, "Payment proposal has been created."
    18. Perform one of the following:
    If You Want To
    Then
    Go To
    Execute the payment run
    Click  .
    Step 19
    Edit the payment proposal
    Click  .
    Step 43
    Display the payment proposal
    Click  .
    Step 54
    Display the payment proposal run log
    Click  .
    Step 57
    Delete the proposal
    Select Edit  Proposal  Delete.
    Step 60
    Display the proposal list in a printer friendly format
    Select Edit  Proposal  Proposal List....
    Step 62
    Display only the exception (error) invoices or credits
    Select Edit  Proposal  Exception List....
    Step 67
    Exit this transaction
    Step 72
        Schedule Payment
    19. Perform the following:
    If You Want To
    Then
    Execute the payment program (i.e. process the payment parameters entered and create a payment proposal) immediately
    Select  to the left of Start immediately.
    Activate this option.
    Designate a target computer
    Enter the name in the Target computer field.
    20. Click  to process the payment proposal and post the payment documents.
    While the payment program is selecting and processing data, the status will display 'Payment is running'. When the payment proposal posted the status will display 'Payment run has been carried out. Posting orders X generated, X completed. (X will represent the total number of checks produced).
        Automatic Payment Transactions: Status (5)
    The system displays the message, "Payment run has been scheduled."
    21. Click  .
        Automatic Payment Transactions: Status (6)
    The system updates the status, "Payment run has been carried out." If you click  after seeing the status update, "Payment run has been carried out", the system will display an update to the status, "Posting orders: XXXX generated, XXXX completed."
    22. Perform one of the following:
    If You Want To
    Then
    Go To
    Review the payments posted
    Click  .
    Step 23
    Display the payment proposal
    Click  .
    Step 26
    Display the payment proposal run log
    Click  .
    Step 29
    Display the payment list in a printer friendly format
    Select Edit  Payments  Payment List.
    Step 32
    Display only the exception (error) invoices or credits
    Select Edit  Payments  Exception List.
    Step 36
    Print the payment run information
    Click  .
    Step 40
    Exit this transaction
    Step 72
        Job Log Entries for F110-XXXX-XXXX / XXXX
    23. Review the displayed information.
    24. Click  .
    25. Return to Step 22.
        Display Payment Proposal: Payments
    26. Review the displayed information.
    27. Click  .
    28. Return to Step 22.
        Job Log Entries for F110-XXXX-XXXX-X / XXXX (2)
    29. Review the displayed information.
    30. Click  .
    31. Return to Step 22.
        List Variant
    32. Click  .
        Payment list
    33. Review the displayed information.
    34. Click  .
    35. Return to Step 22.
        List Variant (2)
    36. Click  .
        Payment list (2)
    37. Review the displayed information.
    38. Click  .
    39. Return to Step 22.
        Schedule Print
    40. As required, complete/review the following fields:
    ·         Start date
    ·         Start immediately
    ·         Start time
    ·         Target computer
    ·         Job name
    41. Click  .
    42. Return to Step 22.
        Accounting clerk
    43. Click  .
        Edit Payment Proposal: Payments
    44. Review the displayed information.
    45. Perform one of the following:
    If You Want To
    Then
    Go To
    Continue with the payment process
    Click  .
    Step 18
    Review/edit invoice information for the payment (invoice numbers, discounts, payment amounts, etc).
    1. Click on the line you want to select.
    2. Click  .
    Step 46
    Change the key payment information (payment method, house bank, payee name and address, etc.)
    1. Click on the line you want to select.
    2. Click  .
    This option does not work for lines that have exceptions.
    Step 51
        Edit Payment Proposal: Open Items
    46. Double-click on the line you want to choose.
        Change Line Items
    47. As required, complete/review the following fields:
    ·         Payment block
    ·         Discount amount
    ·         Cash discount %
    48. Click  .
    49. Click  .
    50. Return to Step 45.
        Change Payment
    51. As required, complete/review the following fields:
    ·         Payment method
    ·         Pmt meth.supl.
    ·         Due date
    52. Click  .
    53. Return to Step 45.
        Display Payment Proposal: Payments
    54. Review the displayed information.
    55. Click  .
    56. Return to Step 18.
        Job Log Entries for F110-XXXX-XXXX-X / XXXX (3)
    57. Review the displayed information.
    58. Click  .
    59. Return to Step 18.
        Delete proposal
    60. Click  .
        Automatic Payment Transactions: Status (7)
    The system displays the message, "Data and log deleted."
    61. Go to Step 72.
        List Variant (3)
    62. As required, complete the following field:
    ·         Variant
    63. Click  .
        Payment list (3)
    64. Review the displayed information.
    65. Click  .
    66. Return to Step 18.
        List Variant (4)
    67. As required, complete the following field:
    ·         Variant
    68. Click  .
        Payment list (4)
    69. Review the displayed information.
    70. Click  .
    71. Return to Step 18.
    72. Click  until you return to the SAP Easy Access screen.
    73. You have completed this transaction.
    Result
    You have executed a payment proposal, executed and posted a payment run and printed checks.
    reward me points.......dont forget

  • FIFO Query to generate report Which relates the out-quantity to in-quantity

    Dear Experts,
    I am trying to generate a report to find out the Inward documents of Items which are issued or transfered. Items are managed with FIFO. Certain Items are serially managed and certain not.
    I am using the tables OIVL, OIVE and OIVQ for getting the details.
    Now my problem is in certain situations the relation between OIVE and OIVQ returns more line items than required and not able to specifically found out the rows. (Same TreeID is used for several transactions)
    Please help
    Thanks and regards
    Ajith Gopalakrishnan

    Hi,
    This Query help you a lot as I made this query for displaying the recieve and out quantity of an item as per the date i.e. On which date you recieve how much quantity of an item and how much quantity you release of an item. and please amend the remaining transtype from the transaction table (OINM).
    In case of FIFO you know that First IN First OUT is followed so you can easily see that which item on a particular date you recieve and which item on a particular date you release...and if any more further enhancement you required then please let me know ....if will definitely make out some time to help you out.
    select distinct SUM(InQty)as InQty,SUM(OutQty)as OutQty,ItemCode,Dscription,DocDate, TransType,
    case TransType
    when '-2' then 'opening Balance'
    when '20' then 'Goods Reciept PO '
    when '59' then 'Reciept From Production/Good Reciept '
    when '15' then 'Deliveries '
    end as 'TransName'
    from (
    select ItemCode,Dscription,DocDate, InQty,OutQty,TransType from oinm ) as OINM
    group by DocDate,ItemCode,TransType,Dscription order by  docdate asc
    Thanks
    Randy

  • Cash management(configuration steps need to generate report)

    dear guru's
    please help to generate cash management reports
    please tel me configuration steps and all to generate cash flow and liquidity forecast
    thanking u

    Hi
    Funds management :
    Funds Management allows management to set budgets for revenues and expenses within your company as well as track these to the area of responsibility.
    http://ot.bloomu.edu/Documents/SAP/Word%20Docs/New/SAPReportsJan2006.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/FIFM/FIFM.pdf
    nagesh

  • Generate reports from lists in SharePoint 2013 (Office 365)

    Hello everyone,
    We are in the need to generate reports from lists in SharePoint 2013. The reports would do data mingling between lists (like a relational database) and generate the reports in HTML and maybe a link to pdf on the SharePoint site.
    We are currently generating reports in Access. This is an issue for two reasons:
    Reports cannot be generated on the fly. Whenever we want reports in pdf form, we have to go into Access and run our reports macro written in VBA. It essentially generates the reports as pdf into our synced SkyDrive, which syncs it to our SharePoint site
    Report generation cannot be done by the client. This is due to the same concept as (1). We need to generate reports in Access.
    Is there any way to do this in SharePoint 2013? Are there any apps that do this?
    Any guidance or help would be appreciated.
    FYI: Our SharePoint server is hosted on the Office 365 network. It is not a local system.
    Thanks

    One option is to run the info into a Word Template and then run Word Automation Services to convert to PDF, but I think you're still going to run into some similar issues.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Imp: Generating reports in OIM 9.1.0.2

    Hi All,
    How can we generate reports in OIM 9.1.0.2 ?
    We need to generate reports for users between two dates to keep a track of what all resources were provisioned or deprovisioned and what all changes were made to user accounts etc.
    As per my understanding, this in a single term can be said as "Auditing".
    So my question is: How can we enable Auditing in OIM 9.1.0.2. ?
    I couldn't find much on net, so I'm posting it here.
    Regards
    Nikhil

    Martin and Rajiv,
    Thanks for your help.
    I'm actually a newbie and I don't have much knowledge of OIM.
    I came to know that I can generate the above mentioned reports by writing and adapter and attaching it to a schedule task. I am aware of how to write the adapter and how the adapter is attached to the schedule task, but I'm not actually aware of what should I code in the adapter in order to fetch the required information. i.e. what should I code, that helps me to generate a report wherein I can find the provisioned resources to a particular user between a period of time.
    I am just not clear with what the approach should be in order to proceed further on this.
    Any help here would really be appreciated.
    I'm sorry for asking such kind of a question, but I'm very new to this and couldn't find a way better than this.
    Regards
    Nikhil

  • Help to generate report

    i m rajan i want to generate report which provides me output in bold & italic format plsz help me out .

    hi
    u can use button "customizing of local layout" in sap easy access screen 0r Use ALT + F12.here u can change as per ur font specification
    Raghu

  • How to transport generated reports through report painter

    Hi All,
    We are upgrading from 4.6 to ECC6. Previously somebody created reports for Finance  through report painter, now in the new system they are two to three system generated reports which are produced by report paintyer (I guess) are retrieveing wrong data.
    So I debugged the generated reports and found two locations
    1. generated report as syntax error
    2. at selection it is having an additional filter with company code for each table  like coss, cosp, cospp which I dont find that filter in the old 4.6 generated report, I modified the generated report but problem is that it dont give me any transport number.
    So these reports are client specific, can any one suggest me how to transport these changes to quality and production environment.
    I tried with transaction GCTR , but it is failing when it is released.
    Can any one suggest me.
    Thanks
    Tangudu

    No better manual than SAP help!
    Below is the link to Report Painter
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    Regards
    Sreenivas

  • Generate Report BBP_GET_STATUS_2 in ECC 6

    Do you I need to generate report BBP_GET_STATUS_2 if the SAP version is ECC6.0? Because based on the information I gathered, it seems like when it is SRM only it needs to be generated.

    hi,
    See the foll related threads:
    <b>"Spool internal Error" while schduling job BBP_GET_STATUS_2</b>
    Re: SRM program running too long BBP_GET_STATUS_2 and is locking carts
    related notes:
    1078147 BBP_GET_STATUS_2: Error message E 002
    1055375 BBP_GET_STATUS_2: Error message during conversion
    1025350 BBP_GET_STATUS_2: Error message E 012
    1051103 BBP_GET_STATUS_2: Error message E 007 in back end
    1084987 Synchronizing documents and status between ERP and SRM
    1062223 BBP_GET_STATUS_2: Performance and runtime error
    1075526 BBP_GET_STATUS_2: No error message when back end is missing
    1078692 BBP_GET_STATUS_2: Error message E 010, no follow-on docs
    691569 Error messages in BBP_GET_STATUS_2
    878654 BBP_GET_STATUS_2 performance: Enhancement around period
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Generating reports in SAP BW. Pros & Cons of doing it.

    Is SAP recommends to frequently generate reports in BW. The pros and cons of doing it. How frequently we need to generate reports? Can any body provide the information on this and it will be highly appreciated. Thanks in advance.

    Hi,
    There is actually no performance impact of creating multiple reports. Performance depends on how many reports you run parally. so it depends on the requirement. Whenever there is a requirement you can either create adhoc reports and use them or you can design specific reports for requirement.
    At the moment in my system there are more than 500 reports. The only thing is the more you create reports maintainance effort increases. So you can follow some naming conventions to manage reports.
    Regards,
    Durgesh.

  • Which event automatically executes in report by default ?

    which event automatically executes in report by default ?

    Hi,
    Abap is a event driven program all the event triggers sequentially but if no event is wrritten then everything comes under start-of-selection and it is triggered automatically.
    By the way sequence of events are:-
      1) initialization
      2) At selection-screen output
      3) At selection-screen on field
      4) At selection-screen on block
      5) At selection-screen
      6) Start-of-selection
      7) End-of-selection
      8) top-of-page
      9) end-of-page
    10) At line selection
    11) At PF<nn>
    12) At User command
    Reward some points
    Bye,
    Anomitro

  • How can we put the report which is generated by the program into spool??

    How can we put the report which is generated by the program into spool??
    I had generated a file in Unix which had the report but now the requirement has changed.
    Regards,
    Shashank.

    Hi Shashank,
    If the program is executed in the background and it has the write statement then the spool will automatically generated.
    Reward points if useful.
    Regards,
    Atish

  • I need the Log Report for the Data which i am uploading from SAP R/3.

    Hi All,
    I am BI 7.0 Platform with Support Patch 20.
    I need the Log Report for the Data which i am uploading from SAP R/3.
    I extract the DATA from R/3 into BI 7.0 DSO where I am mapping the GL Accounts with the FS Item.   In the Transformation i have return a routine on the FS Item InfObject . I am checking the Gl code into Z table for the FS Item .
    I capture the FS item from the Z table then update this FS item to Infobject FS item.
    Now i  need to stop the Data upload if i do not find the GL code in the Z table, and generate report for all GL code for which the FS item is not maintained in the Z table.
    Please suggest.
    Regards
    nilesh

    Hi.
    Add a field that you will use to identify if the GL account of the record was found in the Z table or not. Fx, create ZFOUND with length 1 and no text.
    In your routine, when you do the lookup, populate ZFOUND with X when you found a match (sy-subrc = 0) and leave it blank if you don't find a match. Now create a report filtering on ZFOUND = <blank> and output the GL accounts. Those will be the ones not existing in the Z table, but coming in from your transactions.
    Regards
    Jacob

Maybe you are looking for