Error while creation PR to PO in the background job

Hi,
Pl help to assist this error. We have job creatiing PO  using PR. there was an error pl advice.
Short text
    Overflow when converting from "3.47025e+13"
hat happened?
   Error in the ABAP Application Program
   The current ABAP program "SAPLV61A" had to be terminated because it has
   come across a statement that unfortunately cannot be executed.
Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not
     caught in
    procedure "FRM_KONDI_WERT_826" "(FORM)", nor was it propagated by a RAISING
     clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When attempting to convert the value "3.47025e+13", an overflow occurred.
How to correct the error
    If the error occurred in your own ABAP program or in an SAP
    program you modified, try to remove the error.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "CONVT_OVERFLOW" "CX_SY_CONVERSION_OVERFLOW"
    "SAPLV61A" or "RV64A826"
    "FRM_KONDI_WERT_826"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
I have found another link it says there was an OSS note for this error.
Overflow when converting from "1.64174e+11"
Regards,
Kumar

closed

Similar Messages

  • Error while creation of service entry via BAPI_ENTRYSHEET_CREATE

    Hi All,
    I am struggling while creation of service entry using the BAPI, BAPI_ENTRYSHEET_CREATE. I am getting error ""No account assignment exists for service line 0000000010". I am passing the essr, eskn,eskl, esll structures as-
    Please help sorting out what is the issue in the parameters, I am able to manually create an SER via ML81N though.
    CALL FUNCTION 'BAPI_PO_GETDETAIL'
      EXPORTING
        PURCHASEORDER    = WS_PO
        ITEMS            = 'X'
        SERVICES         = 'X'
      IMPORTING
        PO_HEADER        = WA_PO_HEADER
      TABLES
        PO_ITEMS         = PO_ITEMS
        PO_ITEM_SERVICES = PO_SERVICES
        RETURN           = BAPI_RETURN_PO.
    Entry sheet header
    LOOP AT PO_ITEMS.
      BAPI_ESSR-PO_NUMBER = PO_ITEMS-PO_NUMBER.
      BAPI_ESSR-PO_ITEM   = PO_ITEMS-PO_ITEM.
      BAPI_ESSR-SHORT_TEXT = 'Sample'.
       bapi_essr-acceptance = 'X'.
      BAPI_ESSR-DOC_DATE = SY-DATUM. " wa_po_header-doc_date.
      BAPI_ESSR-POST_DATE = SY-DATUM. "po_items-price_date.
      IF PO_ITEMS-ACCTASSCAT = 'U'.
        BAPI_ESSR-ACCASSCAT = 'K'.
      ELSE.
        BAPI_ESSR-ACCASSCAT = PO_ITEMS-ACCTASSCAT.
      ENDIF.
      BAPI_ESSR-PCKG_NO = PO_ITEMS-PCKG_NO.
      APPEND BAPI_ESSR.
    ENDLOOP.
    LINE_NO = 1.
    SERIAL_NO = 0.
    LOOP AT PO_SERVICES. " WHERE NOT short_text IS INITIAL.
      CLEAR BAPI_ESLL.
      BAPI_ESLL-PCKG_NO = PO_SERVICES-PCKG_NO.
      BAPI_ESLL-LINE_NO = LINE_NO.
      BAPI_ESLL-EXT_LINE = PO_SERVICES-EXT_LINE.
      BAPI_ESLL-OUTL_IND = PO_SERVICES-OUTL_IND.
      BAPI_ESLL-SUBPCKG_NO = PO_SERVICES-SUBPCKG_NO.
      BAPI_ESLL-SERVICE = PO_SERVICES-SERVICE.
      BAPI_ESLL-BASE_UOM = PO_SERVICES-BASE_UOM.
      BAPI_ESLL-UOM_ISO = PO_SERVICES-UOM_ISO.
      BAPI_ESLL-PRICE_UNIT = PO_SERVICES-PRICE_UNIT.
      BAPI_ESLL-FROM_LINE = PO_SERVICES-FROM_LINE.
      BAPI_ESLL-TO_LINE = PO_SERVICES-TO_LINE.
      BAPI_ESLL-SHORT_TEXT = PO_SERVICES-SHORT_TEXT.
      BAPI_ESLL-PLN_PCKG = '2'.
      BAPI_ESLL-PLN_LINE = LINE_NO.
      APPEND BAPI_ESLL.
      LINE_NO = LINE_NO + 1.
    ENDLOOP.
    Now we wanted to create SES based on entered Quantity & NetValue.
    LOOP AT BAPI_ESLL.
      IF BAPI_ESLL-LINE_NO = '2'.
        BAPI_ESLL-QUANTITY = PO_SERVICES-QUANTITY.
        BAPI_ESLL-GR_PRICE = WS_PR. "po_services-gr_price.
        MODIFY BAPI_ESLL INDEX SY-TABIX TRANSPORTING QUANTITY GR_PRICE.
      ENDIF.
    ENDLOOP.
    LOOP AT PO_ITEMS.
      CLEAR BAPI_ESKL.
      BAPI_ESKL-LINE_NO = 2.
      BAPI_ESKL-SERNO_LINE = 1.
      BAPI_ESKL-PERCENTAGE = 100.
      BAPI_ESKL-SERIAL_NO = 1.
      APPEND BAPI_ESKL.
      SERIAL_NO = SERIAL_NO + 1.
      BAPI_ESKN-GL_ACCOUNT = PO_ITEMS-MAT_GRP.
      BAPI_ESKN-PCKG_NO = '2'.
      BAPI_ESKN-SERIAL_NO = SERIAL_NO.
      APPEND BAPI_ESKN.
    ENDLOOP.
    CALL FUNCTION 'BAPI_ENTRYSHEET_CREATE'
      EXPORTING
        ENTRYSHEETHEADER            = BAPI_ESSR
        TESTRUN                     = ''
      IMPORTING
        ENTRYSHEET                  = WS_ENTRYSHEET_NO
      TABLES
        ENTRYSHEETACCOUNTASSIGNMENT = BAPI_ESKN
        ENTRYSHEETSERVICES          = BAPI_ESLL
        ENTRYSHEETSRVACCASSVALUES   = BAPI_ESKL
        RETURN                      = I_RETURN.
    Thanks!!

    The issue resolved now by passing the following parameters-
    EntrySheet header-
    BAPI_ESSR-PO_NUMBER = PO_NUMBER.
    BAPI_ESSR-PO_ITEM   = PO_ITEM.
    BAPI_ESSR-SHORT_TEXT = as entered by user
    BAPI_ESSR-ACCEPTANCE = u2018Xu2019 or space.
    BAPI_ESSR-DOC_DATE = Todayu2019s date.
    BAPI_ESSR-POST_DATE = Todayu2019s date.
    BAPI_ESSR-PCKG_NO = '0000000001'.
    Entry Sheet Account Assignment-
    BAPI_ESKN-COSTCENTER = Cost Center
    BAPI_ESKN-WBS_ELEMENT = WBS element
    BAPI_ESKN-AUFNR = Order
    Entry Sheet Services-
    Unplanned line-
    BAPI_ESLL-PCKG_NO = '0000000001'.
    BAPI_ESLL-LINE_NO = LINE_NO (000001).
    BAPI_ESLL-EXT_LINE = '0000000000'.
    BAPI_ESLL-OUTL_LEVEL = 0.
    BAPI_ESLL-OUTL_IND = 'X'.
    BAPI_ESLL-SUBPCKG_NO = '0000000002'.
    Planned line-
      BAPI_ESLL-LINE_NO = LINE_NO (000002).
      BAPI_ESLL-PCKG_NO = '0000000002'.
      BAPI_ESLL-SUBPCKG_NO = '0000000000'.
      BAPI_ESLL-EXT_LINE =   '0000000010'.
      BAPI_ESLL-SERVICE = '0000000000'.
      BAPI_ESLL-OUTL_LEVEL = 0.
      BAPI_ESLL-OUTL_IND = ' '.
      BAPI_ESLL-QUANTITY = as entered by user
      BAPI_ESLL-BASE_UOM = PO_SERVICES-BASE_UOM.
      BAPI_ESLL-GR_PRICE = as entered by user
      BAPI_ESLL-PLN_PCKG = '0000000000'.
      BAPI_ESLL-PLN_LINE = '0000000001'.
    Entry Sheet Service access values-
    BAPI_ESKL-LINE_NO = '2'.
    BAPI_ESKL-PCKG_NO = '0000000002'.
    BAPI_ESKL-PERCENTAGE = '100'.
    Thankyou!

  • Error while installing J2EE Add- In to the ABAP system

    Error while installing J2EE Add-In to the ABAP system 
    We are installing J2EE Add-In to the ECC5 System in the new hardware.
    When are getting Error while installing J2EE Add-In to the ABAP system.
    Transaction Begin*****************************
    ERROR 2005-08-10 14:58:28
    CJSlibModule::writeLogEntry()
    CJS-20011 J2EE engine configuration error. DIAGNOSIS: Error when
    configuring J2EE Engine. See output of
    logfile /usr/sap/QSS/install/batchconfig.log: 'My Library Path
    is: /usr/j2se/jre/lib/sparcv9/server:/usr/j2se/jre/lib/sparcv9:/usr/j2se/jre/../lib/sparcv9:/tmp/sapinst_exe.13084.1123702275:/usr/lib::/usr/openwin/lib:/usr/sap/QSS/SYS/exe/run:/oracle/QSS/920_64/lib:/oracle/QSS/920_64/lib32:/usr/lib
    ElementInfoTask has finished successfully on dispatcher
    ConsoleLogsTask has finished successfully on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager:
    LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager:
    ClusterManager on dispatcher
    ElementInfoTask has finished successfully on server
    ConsoleLogsTask has finished successfully on server
    ChangeManagerPropsTask has finished successfully. Manager:
    LockingManager on server
    ChangeManagerPropsTask has finished successfully. Manager:
    ClusterManager on server
    ChangeServicePropsTask has finished successfully. Service: dbpool on
    server
    ChangePasswordsTask finished successfully.
    Error occured while connecting to database (UploadFile). Msg: No such
    algorithm: DESede
    Transaction end***********************************
    We tried twice clean installation, after removing j2ee dir, SCS and
    resp profiles and droping PSAPQSSDB tablespace and SAPQSSDB user.
    I have also confirmed the passwords in ABAP system/000 for SAPJSF, DDIC, J2EE_ADMIN, J2EE_GUEST.
    We are getting the same error in both tries.
    Kindly advice us to resolve the problem.
    Thanks and Regards,
    Srinivas

    Ananda,
    you saved my day!  I've been banging my head against the wall with this same problem during a J2EE add-in installation for SRM 4.0 on Windows, in preparation of an LAC 2.0 installation.  I had tried deleting the schema first, but that didn't work.  After I removed the sys\global\security folder as well, it worked perfectly.
    Thank you.

  • Error while running 'ldifde.exe' to import the schema file

    Hello,
    I'm doing a practical in exchange server. I have two servers, First one is the domain controller it's a Server 2012 R2 and the Second one is the server planing to install exchange 2010. it has server 2008 R2. My issue is when i'm trying to setup Exchange
    Server 2010 it comes error while installing "error while running 'ldifde.exe' to import the schema file" I tried to fix but i couldn't. Please if anyone know about this error give me a solution. 
    Regards.
    Ashane Deshapriya ( MCP )

    Can you run these commands from an elevated powershell and try to install exchange. 
    Import-Module ServerManager
    Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
    If that also fails please post the error.
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Cannot overcome Exchange Server 2013 Install Error - "There was an error while running 'ldifde.exe' to import the schema file

    Hello,
    I am attempting to install Exchange 2013 on to a 2008R2 Server on a domain running 2008R2 DC's.  I have worked every error resolution I can find, but I can't get past this error.
    Error:
    The following error was generated when "$error.Clear();
    install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema27.ldf")
    " was run: "There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema27.ldf'. The error code is: 8224.
    Any assistance is appreciated.

    Are you running the installation from an ISO-file?
    If so, then copy the files (preferably
    Exchange 2013 w. SP1) to the local disk
    and run the install with elevated privileges.
    Martina Miskovic

  • "Sync encountered an error while connecting: Failed to connect to the server. Please try again."

    "Sync encountered an error while connecting: Failed to connect to the server. Please try again." message has appeared on both my desktop (OS 10.6.8, FF 6.0.2) and laptop (same).
    This error is not covered in your help documentation.
    I have an active internet connection.
    I have tried resetting the Sync on the laptop several times over the last few weeks.
    Please advise.
    Thanks

    Hi!
    It seems that you are not using the latest version of Firefox. Please, update and try again: http://www.mozilla.org/firefox

  • I keep getting this message "Sync encountered an error while connecting: Failed to connect to the server. Please try again" What's the problem in English

    I keep getting this message "Sync encountered an error while connecting: Failed to connect to the server. Please try again" What's the problem in English

    Hi,
    Sometimes the server is not available and you can get an error like this one. Usually it works if you try to sync later. If this doesn't work, take a look to [https://philikon.wordpress.com/2011/06/13/how-to-file-a-good-sync-bug/ this post] to learn how to report a bug.
    Let me know if this is helpful.

  • Read Error logs after running the background jobs

    Hi,
    How to read the error logs after running the background jobs. In our scenarion we are running the COHV transaction to release the production orders in background. But we are not finding the error logs after background job. We would like to read the error logs and correct for further processing.
    Kindly suggest.
    Thanks & Regards,
    N. Laxman

    Hi
    you can check the  back ground jobs defined by any user in SM37 and where you can see the spool and job logs as well.
    plz check in your case and revert back
    Regards
    Anupam Sharma

  • Certain Maintenance Plan not getting scheduled in the background job

    Hi Gurus,
    I am facing an issue here.
    A weekly background job (RISTRA20) runs every weekend and schedules the maintenance plans.
    But we have noticed that some maintenance plans are not getting scheduled. i.e no orders or schedule is getting generated.
    When I run IP30 manually for these plans then the schedule gets generated and orders get called.
    I have checked up the background job and it is running fine.
    Also, i have noticed a similarity in all these plans which are not getting scheduled. There schedule has been restarted (through IP10) at somepoint or the other.
    But i don't see any direct impact of this?
    Can any of you provide some help on this?? Points will be rewarded.
    Thanks and regards,
    Nitin Saini

    Hi Narender,
    Thanks for replying.
    The message number for 'Groups don't match' is ME303.
    I think this does not have anything to do with the restart as i have done further investigation.
    Whenever I run IP30 with sortfield input as AS02*, i get the error as mentioned above for a certain number of maintenance plans while the remaining plans get scheduled.
    If i run IP30 for any other sort fields, it runs fine and i don't encounter the error
    mentioned above.
    If you send me ur email address, i could forward you screen-shots of the issue.

  • How to schedule the background job daily twice?

    Hi,
    How to schedule the background job daily twice? any conditions?
    Regards,
    Srihitha

    see the step by step procedure.
    Scheduling Background Jobs:
    1. Background jobs are scheduled by Basis administrators using transaction SM36.
    2. To run a report in a background, a job needs to be created with a step using the report name
    and a variant for selection parameters. It is recommended to create a separate variant for each
    scheduled job to produce results for specific dates (e.g. previous month) or organizational units (e.g.
    company codes).
    3. While defining the step, the spool parameters needs to be specified
    (Step-> Print Specifications->Properties) to secure the output of the report and help authorized users
    to find the spool request. The following parameters needs to be maintained:
    a. Time of printing: set to “Send to SAP spooler Only for now”
    b. Name – abbreviated name to identify the job output
    c. Title – free form description for the report output
    d. Authorization – a value defined by Security in user profiles to allow those users to access
    this spool request (authorization object S_SPO_ACT, value SPOAUTH). Only users with matching
    authorization value in their profiles will be able to see the output.
    e. Department – set to appropriate department/functional area name. This field can be used in
    a search later.
    f. Retention period – set to “Do not delete” if the report output needs to be retained for more
    than 8 days. Once the archiving/document repository solution is in place the spool requests could
    be automatically moved to the archive/repository. Storage Mode parameter on the same screen
    could be used to immediately send the output to archive instead of creating a spool request.
    Configuring user access:
    1. To access a report output created by a background job, a user must have at
    least access to SP01 (Spool requests) transaction without restriction on the user
    name (however by itself it will not let the user to see all spool requests). To have
    that access the user must have S_ADMI_FCD authorization object in the profile with
    SPOR (or SP01) value of S_ADMI_FCD parameter (maintained by Security).
    2. To access a particular job’s output in the spool, the user must have
    S_SPO_ACT object in the profile with SPOAUTH parameter matching the value used
    in the Print Specifications of the job (see p. 3.d above).
    3. Levels of access to the spool (display, print once, reprint, download, etc) are
    controlled by SPOACTION parameter of S_SPO_ACT. The user must have at least
    BASE access (display).
    On-line reports:
    1. Exactly the same configuration can be maintained for any output produced
    from R/3. If a user clicks “Parameters” button on a SAP Printer selection dialog, it
    allows to specify all the parameters as described in p. 3 of
    “Scheduling background jobs” section. Thus any output created by an online report
    can be saved and accessed by any user authorized to access that spool request
    (access restriction provided by the Authorization field of the spool request
    attributes, see p. 3.d of “Scheduling background jobs” section).
    Access to report’s output:
    1. A user that had proper access (see Configuring user access above) can
    retrieve a job/report output through transaction SP01.
    2. The selection screen can be configured by clicking “Further selection
    criteria…” button (e.g. to bring “Spool request name (suffix 2)” field or hide other
    fields).
    3. The following fields can be used to search for a specific output (Note that
    Created By must be blank when searching for scheduled job’s outputs)
    a. Spool request name (suffix 2) – corresponds to a spool name in p. 3.b in
    “Scheduling background jobs” section above).
    b. Date created – to find an output of a job that ran within a certain date range.
    c. Title – corresponds to spool Title in p. 3.c in “Scheduling background jobs”
    section above).
    d. Department - corresponds to spool Department in p. 3.e in “Scheduling
    background jobs” section above).
    4. Upon entering selection criteria, the user clicks the Execute button to
    retrieve the list of matching spool requests.
    5. From the spool list the user can use several function such as view the
    content of a spool request, print the spool request, view attributed of the spool
    request, etc. (some functions may need special authorization, see p.3 in
    Configuring user access)
    a. Click the Print button to print the spool request with the default attributes
    (usually defined with the job definition). It will print it on a printer that was
    specified when a job was created.
    b. Click the “Print with changed attributed” button to print the spool request
    with the different attributes (e.g. changing the printer name).
    c. Click the “Display contents” button to preview the spool request contents. A
    Print and Download functions are available from the preview mode.

  • The background job "SM:EXEC SERVICES" is ending Green in Just 0 seconds

    Solution Manager 4.0
    In our customer system the background job "SM:EXEC SERVICES" is ending Green in Just 0 seconds or just 1 second.
    Here is the log:
    Job log overview for job:    SM:EXEC SERVICES 000000046740000 / 12193100
    Date       Time     Message text                                                                               Message class Message no. Message type
    28.04.2009 12:19:31 Job started                                                                                00           516          S
    28.04.2009 12:19:31 Step 001 started (program RDSMOPBACK_AUTOSESSIONS, variant &0000000001054, user ID BJ8099)      00           550          S
    28.04.2009 12:19:32 RDSMOPBACK_AUTOSESSIONS : MemSize Begin = 1374064                                              DSWP          000          I
    28.04.2009 12:19:32 Solution Enterprice Portal(GGP) is being edited (Operations)                                   DSWP          438          I
    28.04.2009 12:19:32 RDSMOPBACK_AUTOSESSIONS : MemSize End = 20902480                                               DSWP          000          I
    28.04.2009 12:19:32 Job finished                                                                                00           517          S
    Due to this EWA reports are not being generated.
    What could be the reason that the Job ends immediately with no significant warnings or error in the log?
    Many thanks in advance,
    Manoj

    Hi Manoj
    Following Notes will be helpful to you to analyze the problem
    Note 894279 - Background processing in SAP Solution Manager
    Note 1246329 - RDSMOPBACK_AUTOSESSIONS: Additional displays
    Note 1163920 - SM:Scheduler: Improved display in job log
    Note 946607 - Automatic diagnosis in SAP Solution Manager
    SAP Note 727998 "Complete Replacement of Service Definitions for SDCC/SDCCN"
    Note 986973 - How to analyze problems with EarlyWatch Alerts in SolMan
    however, is this problem occurring for sessions of ALL the systems today, if yes, then something wrong only in solman, last note of the above shows you to manually run the job interactively, may be will help in analyzing and i hope SDCCN settings in Solman are already fine..
    thanks
    Bhudev

  • 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

  • Actual Varaint Name used in the Background Job

    Hi,
    When a program is executed in Background made the selection screen variant selected is not the one that is shown in the Background Job Step information. There we see variant as &0000000000044.
    I want to find the actual variant that was selected at the time of running the program in background mode.
    Thanks.

    Hi,
    I also faced the same issue and after my R&D i found a workaround for this. Check this out.
    Create a selection screen parameter and hide it.
    PARAMETERS: po_varnt TYPE sy-slset NO-DISPLAY.
    Now place below code in AT SELECTIO-SCREEN OUTPUT event.
    AT SELECTION-SCREEN OUTPUT.
        CHECK sy-batch IS INITIAL.
        CLEAR po_varnt.
        MOVE sy-slset TO po_varnt.
    If you are running in background by pressing F9 from selection screen, Use your hided parameter po_varnt for the variant name instead of sy-slset.
    If you are running the report in foreground or through SM36 then you can use sy-slset to know the variant name.
    Thanks,
    Vinod.

  • How to schedule the background job if report have Presentation server files

    Hi All,
    I have searched the forums and found , the way for the scheduling the background job if report selection screen have the presentation server file input.
    1. Using the Open data set method.
    And my client is not OK with Open dataset way, it there any other way to do this, As we are using the EXCEL file.
    Thanks and Regards,
    Bharani

    Hi,
    As said above it is generally not possible. Since your client most obviously doesn't like graphical background I would recomend storing data as till now, but show it with your own report in more userfriendly way. For example:
    - as ALV Grid
    - in excel with use of OLE either as embedded in SAP or new window (check transaction OLE for example)
    - with use of webdynpro
    BR
    Marcin Cholewczuk

  • How to schedule the background job using current selection screen field val

    Hello Friends,
    How to schedule the background job using current selection screen field values.
    after completion of the job the spool should be sent as a mail to SAP Inbox.
    Is there any way to create the variant dynamically by reading the current selection screen values.
    Thanks,
    Ravi

    Hi,
    To get the variant details you can use teh following FM.
    'RS_VARIANT_CONTENTS'.
    Regards,
    Ankur Parab

Maybe you are looking for

  • Troubleshoot and Setup FiOS TV Programming with VZ In-Home Agent

    VZ In-Home Agent is a tool that helps you setup and troubleshoot your FiOS TV programming. This tool is simple, easy-to-use and has information about various features of your FiOS TV programming along with quick fixes for most of the common problems.

  • IWork 09 - how to install on a new volume?

    I had a MacBook Pro 17" who got a glass of orange juice all over the keyboard. Epplehuset in Norway would charge me kr. 14000 to get it back to new! I bought a new MacBook Pro 13 today and they told me to just copy the catalog for iWork 09 from the o

  • Time Maghine Error

    For several months Time Machine has worked properly. Yesterday my backups began failing with the message: "Time Machine Error Unable to complete backup. An error occurred while creating the backup directory" I saw that there were many entries in thes

  • Insert a new record in the middle of a tabular form

    Hi, I have a tabular form. Pressing "Add Row" button opens a new, empty row at the bottom of the page or - if I use pagination - jumps to the page with the last record and creates a new record there. Is it possible to open a new line in the middle of

  • Actions wont load on launching saids error couldn't continue the rest of the program loads

    has any one had the problem with the actions not completely loading on relaunch?