How to find the start condition of a ABAP program?

Hello Gurus!,
Could any one please explain how to find the start condition of a ABAP program?
like its a event based or time based?and also how to find that event and time..
Thanks in Advance...
Dinakar

Hi Dinkar,
Go to Job Schedule, put Job Step parameter as your program and see scheduled Job.
In Schedule Job double click to see start condition. and steps to see details and variant.
Hope it helps.
Thanks
CK

Similar Messages

  • How to find the Web AS Port from ABAP program

    Hi
    I have an ABAP program which passes an URL for a BSP page to the Alert Framework. While creating the URL I need to find out the Hostname and port number for the Web service for that server. Hostname comes from sy-host but I am not able to find the port number.
    Please help...
    Thanks in advance

    Hi,
    consider this little code snippet:
    data:  l_urls       type tihttpurls2.
    call method cl_http_server=>get_extension_info
       EXPORTING
        extension_class = 'cl_http_ext_bsp'                  
       IMPORTING
            urls            = l_urls.
    l_urls contains a table of configured ports. maybe that helps.
    regards, Ulli

  • How to find the last executed date of any program?

    <<Frequently asked questions. So search>>
    How to find the last executed date of any program?
    is there any system variable or function module?
    Edited by: Matt on Oct 5, 2010 12:48 PM

    check the transaction STAD.
    Prabhudas

  • How to find the start and end duration of "Selected frames" from Video using didFinishPickingMediaWithInfo?

    I am doing slow motion in audio and video using AVFoundation(for Video) and Dirac(Audio). As part of it, i will show the video as frames in which the user will select the frames to do slow motion. Eg: 5-6 min of 10 min video.
    I have to show the users two kinds of videos 1. through the video recorder from my application itself. 2. from the gallery.
    Case1: No problem Now,i can record the videos though my video recorder and show the videos as frames to the user to select. Once the user selects some frames(Eg: 5 to 6 min of 10 min recorded video), using the below code, i am able to find the start/end duration of the selected frames or video.
    NSNumber *start = [info objectForKey:@"_UIImagePickerControllerVideoEditingStart"]; NSNumber *end = [info objectForKey:@"_UIImagePickerControllerVideoEditingEnd"];  int startMilliseconds = ([start doubleValue] * 1000);int endMilliseconds = ([end doubleValue] * 1000);
    Case2: In this case, i am able to pick the video from the gallery and show them to the user in the form of frames to select. However, when i try to find the start/end duration of the video as i did in case 1 with the same code, its not working. I am always getting "0" for start/end duration.
    Can you please give some suggestion on my Issue ?

    +1 .. also. i'd to know is using "_UIImagePickerControllerVideoEditingStart"
    the app won't be rejected..
    thanks,
    F

  • How to extend the execution time of an ABAP Program using the Process chain

    Hello Sapians,
    Our Environment has got 600seconds = 10 mintues as the execution time.
    My ABAP Program is taking more than this 600 seconds, to show the result, I found this when I tried to execute in debug mode, it shows the result.
    If I execute in background also it shows the results succesfully.
    Only issue is when I execute this report in foreground it has been taking ages and goes on Time OUT Error.
    It has been decided that we can extend the execution time only for this report, and it will reset the time back to 10mintues once the report has been executed successfully or failed in between for any other reasons.
    And we can achieve this by using the process chains.
    Can any body help me please in this regard
    Thanks,

    Hi,,,,,,,,,,
    Besides Process Chain There is another way out for this........
    Resetting time counter of dialog process so that time-out does not
    happen. Use this fm within your program at appropriate locations to
    reset time counter.
    "CALL FUNCTION 'TH_REDISPATCH'."
    Thanks
    Saurabh

  • How to find the start and end sector index/physical address of any given file?

    I need to find the range of sectors that a file occupied. Then determine the slack space in that file and then analyze the slack space. This is a forensics project work. I am new to forensics and have no idea what Window API calls may help me accomplish
    this task. Any kind of help will be appreciated. 

    One solution if you want all the dates in one column:
    SQL > SELECT *
      2  FROM
      3  (
      4     SELECT  (CASE WHEN ID = 1 THEN TRUNC(MTH,'MONTH') ELSE ADD_MONTHS(TRUNC(MTH,'MONTH'),1)-1 END) AS MTH
      5     FROM
      6     (
      7             SELECT  ADD_MONTHS(TO_DATE(:begin_month,'MM/DD/YYYY'),LEVEL-1) AS MTH
      8             FROM    DUAL
      9             CONNECT BY LEVEL <= ABS(MONTHS_BETWEEN(TO_DATE(:begin_month,'MM/DD/YYYY'),TO_DATE(:end_month,'MM/DD/YYYY')))+1
    10     )
    11     CROSS JOIN
    12     (
    13             SELECT 1 AS ID FROM DUAL UNION ALL
    14             SELECT 2 FROM DUAL
    15     )
    16  )
    17  WHERE MTH BETWEEN TO_DATE(:begin_month,'MM/DD/YYYY') AND TO_DATE(:end_month,'MM/DD/YYYY')
    18  ORDER BY MTH
    19  /
    MTH
    03/31/2009 00:00:00
    04/01/2009 00:00:00
    04/30/2009 00:00:00
    05/01/2009 00:00:00
    05/31/2009 00:00:00
    06/01/2009 00:00:00
    06/30/2009 00:00:00
    07/01/2009 00:00:00
    07/31/2009 00:00:00
    08/01/2009 00:00:00
    08/31/2009 00:00:00
    09/01/2009 00:00:00
    09/30/2009 00:00:00
    10/01/2009 00:00:00
    10/31/2009 00:00:00
    11/01/2009 00:00:00
    11/30/2009 00:00:00
    12/01/2009 00:00:00
    12/31/2009 00:00:00
    01/01/2010 00:00:00
    01/31/2010 00:00:00
    02/01/2010 00:00:00
    02/28/2010 00:00:00
    03/01/2010 00:00:00

  • How to find the number of Z or Y programs and amount of code lines?

    hi all, I'm trying to find the number of programs on user namespace (Z* or Y*) and the number of coded lines in them. something like report Z_MY_REPORT, lines 582; Include Z_MY_INCLUDE, lines 135.
    Exist any standard report to do it or do I have to develop it by myself?
    thanks for any suggestion.

    If you have to do in urself
    DATA: i_reptx TYPE STANDARD TABLE OF textpool WITH HEADER LINE.
    READ TEXTPOOL 'ZJ_ALV' INTO i_reptx.
    and describe the itab.. and get  the lines.
    In conjunction with TADIR table to get the program repository.

  • Who can tell me how to find the leave request Webdynpro for ABAP iview

    Hi,Expert,
    As I know Portal only has Webdynpro for java iview for leave request iview in the past.
    but someone tell me SAP portal has delivered some new standard WebDynpro for ABAP iview.
    I have a requirement to create a employee role for new Leave Request service created by WD ABAP . Under Content Provided by SAP in Content Administration, I couldn't find the iView assocated to the leave request except the Java one. Is there have any Employee Self-Service Web Dynpro ABAP workset ?
    thanks
    Olivia

    The business package for ESS based on Webdynpro for ABAP is available only for ECC 6.0 EHP5.
    If you are on EHP5, you may choose to use this version of the BP.
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/25/340b0507434193adbfe3f8fc8896c7/frameset.htm
    Leave Request application:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/1f/a073be62744fcca7e1fae9942f0031/frameset.htm
    Thanks,
    Shanti

  • How to cancel the background job processing in ABAP programming?

    Hi,
    I have a requirement where i need to cancel the job depending on some constraint. My code is something like this:
    Select some data from the table.
    if sy-subrc = 0.
    Do nothing.
    Else
    Cancel the job
    call function 'BP_JOB_ABORT'
      exporting
       jobcount                         = number
        jobname                          = name
    EXCEPTIONS
       CHECKING_OF_JOB_HAS_FAILED       = 1
       JOB_ABORT_HAS_FAILED             = 2
       JOB_DOES_NOT_EXIST               = 3
       JOB_IS_NOT_ACTIVE                = 4
       NO_ABORT_PRIVILEGE_GIVEN         = 5
       OTHERS                           = 6
    The above code is cancelling the job but it is throwing an exception called CX_SY_DYN_CALL_PARAM_MISSING because i dint pass job count. How can we find the job count of next job that is going to run? Or How to handle the exception which it is throwing. Even if i try to handle that exception something like this:
    TRY
    call function 'BP_JOB_ABORT'
      exporting
       jobcount                         = number
        jobname                          = name
    EXCEPTIONS
       CHECKING_OF_JOB_HAS_FAILED       = 1
       JOB_ABORT_HAS_FAILED             = 2
       JOB_DOES_NOT_EXIST               = 3
       JOB_IS_NOT_ACTIVE                = 4
       NO_ABORT_PRIVILEGE_GIVEN         = 5
       OTHERS                           = 6
    RAISE EXCEPTION TYPE CX_SY_DYN_CALL_PARAM_MISSING.
    CATCH
    CX_SY_DYN_CALL_PARAM_MISSING.
    ENDTRY.
    It avoids the exception but it doesnt cancel the job.  I even tried with function modules like JOB_OPEN
    JOB_SUBMIT,BP_JOB_SELECT,BP_JOB_ABORT and tried to build some logic using status overview table (TBTCO) and TBTCP (Jobstep overview table).
    Can someone suggest me the right way to write this program ?
    Thanks in advance.
    Rashmi

    Hi,
    Problem is solved.
    Create an background job with 2 steps. The first step in the background job calls the program ZBACKJOB_STEP1.  In the variant we have a wrong material number
    If the material number is not found in Mara, the next step in the job should not get executed and the job should get cancelled..
    In the above posts i had asked how do I get the job count of the job that is currently triggering the program at the runtimeu2026..If u see the below code uu2019ll get to know.. We have to use the standard structure TBTCM which captures the properties/characteristics of the job.
    REPORT ZBACKJOB_STEP1.
    TABLES: MARA,TBTCM.
    PARAMETERS : MATNR TYPE MATNR.
    START-OF-SELECTION.
      SELECT SINGLE * FROM MARA WHERE MATNR = MATNR.
      IF SY-SUBRC IS INITIAL.
        WRITE / : 'This is the material selected on the selection-screen' , MARA-MATNR.
    ELSE.
            CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
          IMPORTING
            EVENTID                                    = TBTCM-EVENTID
            EVENTPARM                             = TBTCM-EVENTPARM
            EXTERNAL_PROGRAM_ACTIVE = TBTCM-XPGACTIVE
            JOBCOUNT                                = TBTCM-JOBCOUNT
            JOBNAME                                  = TBTCM-JOBNAME
            STEPCOUNT                              = TBTCM-STEPCOUNT
          EXCEPTIONS
            NO_RUNTIME_INFO                    = 1
            OTHERS                                     = 2.
        IF SY-SUBRC = 0.
          CALL FUNCTION 'BP_JOB_ABORT'
            EXPORTING
              JOBCOUNT                                     = TBTCM-JOBCOUNT
              JOBNAME                                       = TBTCM-JOBNAME
            EXCEPTIONS
              CHECKING_OF_JOB_HAS_FAILED  = 1
              JOB_ABORT_HAS_FAILED              = 2
              JOB_DOES_NOT_EXIST                   = 3
              JOB_IS_NOT_ACTIVE                      = 4
              NO_ABORT_PRIVILEGE_GIVEN       = 5
              OTHERS                                         = 6.
          IF SY-SUBRC <> 0.
          ENDIF.
        ENDIF.
      ENDIF.
    Regards,
    Rashmi

  • How to find the start and ending dates of a quarter of a particular fiscal

    Hi Experts,
    I need a function mudule which returns starting and ending date s of a particular quarter of a particular fiscal year .
    For Example: if pass 1 quarter and 2002 or 2 quarter 2002 it has to give me the star and end dates of that particular quarter na d fiscal year.
    Please help me which is urgent for me.

    Hi Kishan thanks for reply.
    But given function module the 2nd one is full but it is giving me the calender year dates but i need fiscal yea dates.
    fro example: if i pass 1 st quarte and 2006 it is to give me the 1st-april to 30-jun2006.
    And need this quater starting date and ending date for as per USA fiscal year calender.
    If u get any idea plz let me know.
    thanks.
    Dashmantha.

  • How do I find the start day of each month

    Hi all,
    Hope someone can give a a hand here I've to do a calender project for college and I'm not allowed to use any built in Java classes so fun all the way so far :-)
    I've got one question that is bugging me at the moment. and that is how to find the start day for each month in a year and store them in an array.
    I'm starting my week at Monday (0) and stopping at Sunday (6) and I do have a formula for discovering the first day in Jan of the given year its
    ((y-1900)*365 + (y-1901)/4)%7
    I was just wondering how I could amend this to find the first day in Feb, March etc.
    Any suggestions greatly accepted.
    Thanks in advance.

    Irish-Student wrote:
    newark maybe I didnt make clear exactly what I want to do.
    I have each day of the week starting at 0 for Monday up to 6 for Sunday I want to map what the start day of a month as a number between 0 and 6.
    The formula I have discovering the first day of Jan of a given year will give you 1 i.e. Tuesday
    what I need to do is find out what number between 0 and 6 the start day of each other month of a given year is.
    For example the 1st of Feb is a Friday which is 4 on the weekday map.
    Your suggestion of 31%7 won't work for this, sorry more than likely my fault for not being clearer in what my requirements were.
    Cheers for the help so far and yep your right not being able to use the built in classes is a pain :-)
    Edited by: Irish-Student on 03-Mar-2008 20:01This doesn't really change much of my first suggestion. If you can already calculate the first day of the month of January for any given year, then there's no problem figuring out the other months. Say I want to know the first day April 1, 1978. You already know how to find January 1, 1978. So find that. Then find the number of days between January 1 and April 1 (remember to account for leap years). Once you have the number of days, you can figure out how many weeks and days that is, and thus what day of the week it is.

  • How to find the standard smartform,sap scripts and theur driver programs

    Hi friends,
    can any one tell me how to find the standard smartforms and their driver programs and same for scripts also.
    bye
    sasi

    Hi sasidhar,
    1. Either standard or Y sapscript layouts,
       we can check their standard programs
       in this manner also.
    2. goto se71
       open the layout in DISPLAY mode.
    3.  FORM------> CHECK -
    > TEXTS
    4.  a small window will come.
        click ok (tick button)
    5. Again a new window will come
      which will list out all the DRIVER programs,
      which use this layout.
    regards,
    amit m.

  • How To Call a Broadcasting Template within an ABAP program

    I was wondering if anyone knew how to call the Broadcast template via an ABAP program so it will execute?  The scenario that I have is we are doing validations via BW.  We put the data (for conversion reasons) through validation rules and then load a data target.  From this, there are 2 situations that could occur:
    1) There are errors
    2) There are not any errors
    If #1 is true, then I would like to execute the Query Broadcasting Template that I have created.  If #2 is true, then I would like to execute another process via the ABAP program.  In the past, I was successful using exception reporting via reporting agent, since I was able to call that program but the report did not look good at all.  Please let me know if there is a program that I could call in order to execute this broadcast that I have set up.
    Best Regards,
    Tim

    Hello,
    although this is an old threat, but do you have any hints on how to dynamically change the template when broadcasting?
    kind regards
    Murat

  • Where can I find the Start up disk and how can I delete file from it.

    where can I find the Start up disk on theMac Book Air?
    How can I delete files from it?

    The startup disk is the internal SSD in your MBA.  You may delete files by draging the file  to Trash (or clicking on them and then execute COMMAND+Delete).  Then empty Trash.
    Ciao.

  • How to find the Contract Start date

    Hi Friends,
    with the help of the Transaction type, Item Category,reference Interest rate, how to find the Contract Start date/Billing Strat date and the Contract number.
    Regards,
    Raju.

    Hi
    naj you can find the contract start date and billing date in crmd_order Financial details data tab, start of contract and Billing and the contract no u will find after Approval of Eligibility Norms, then save go to actions create certificate of acceptance the you will get contract number
    Reward with Points
    Venkat

Maybe you are looking for

  • How to maintain standard doclet's Javadoc options in custom doclet?

    I'm having some difficulties with a custom doclet. I've simply subclassed some of the standard doclet classes to do some custom html output (basically wrapping the output in the headers/footers/navigation of our department intranet). I want to use th

  • Audition CS5.5 to Produce songs

    Hi guys, what's your experience with using adobe audition to produce complete songs, e.g. putting the instrument midis, vocal recordings, loops etc- I am used to adobe products and the other industry standard solutions out there are quite different a

  • Crawled property category option: "Map all string properties in this category to the Content managed property"

    I've been searching online, and haven't been able to find a definitive answer to this. Does anyone know what the following SharePoint 2013 Search Service Application, Crawled property category option does? "Map all string properties in this category

  • Intermittent AirTunes

    I've also lost the ability to stream audio to my airport express which is connected to my stereo. This configuration used to work fine until earlier this summer when I started experiencing more dropouts and pauses. Now I can't even start the music. I

  • .jpg file size preview quit working

    Using CS5 extended (v.12.0.1x32) in Windows 7 Entp (64bit): My save-as dialog has quit showing a preview of .jpg file size regardless of where the quality slider is set.  This feature was working fine, and just seemed to quit.  Now all I get is the s