Background job for Standard (T-code F.80) and Background Job via Submit (for same standard program) provides separate spool layout

Hello Experts,
I am using SUBMIT Program to execute a standard T-code (F.80).
        SUBMIT sapf080 WITH SELECTION-TABLE rspar
                                     AND RETURN.
When I execute the program in background and compare it with F.80 and execute it in background too, spool layout for both are different.
For F.80, It is more detailed with every info like doc number, company code and fiscal year with messages, but for my program only messages are displayed in the spool which is getting unconvinient as I don't know for which document number that message was generated.
Can you please suggest why am I getting 2 different spool layouts for the same program executed in 2 different ways.
Thanks,
Ankit Khanna

Hello,
Thanks for your replies.
I have added a list option along with SUBMIT statement to get similar spool layouts.
Below piece of code will solve the issue.
          DATA list_tab TYPE TABLE OF abaplist.
        SUBMIT sapf080 WITH SELECTION-TABLE rspar EXPORTING LIST TO MEMORY
                      AND RETURN.
        CALL FUNCTION 'LIST_FROM_MEMORY'
          TABLES
            listobject = list_tab
          EXCEPTIONS
            not_found  = 1
            OTHERS     = 2.
        IF sy-subrc = 0.
          CALL FUNCTION 'WRITE_LIST'
            TABLES
              listobject = list_tab.
        ENDIF.

Similar Messages

  • Data source for the concurrent program 'Send Separate Remittance Advices'

    Hi All,
    We have requirement to develop a custom report to send the remittance to the vendors.
    But we are unable to figure out on how to get the data source for the standard program 'Send Separate Remittance Advices'.
    The program is of the type Java concurrent program. Is there any way to get the XML tags for this program.
    Thanks,
    Manoj

    hi,
    pls see:
    R12 Send Separate Remittance Advice - Data Source (srini)
    and also:
    http://apps2fusion.com/apps/14-fwk/69-java-concurrent-programs
    http://oracle.anilpassi.com/xml-publisher-concurrent-program-xmlp.html

  • How to create 2 transaction codes for same report program with diff title

    Hi All -
      I have created report program and create 2 transaction codes with different short description. I want to display the Tcodes decriptions instead of program attributes title.
    Can anyone pls tell me how to do this?
    Thanks,
    Kannan

    Hi Kannan,
    define 2 titlebars t1 and t2 for the report. In report initialization,
    IF sy-tcode = 't1'
      SET TITLE t1.
    ELSE.
      SET TITLE t2.
    ENDIF.
    Regards,
    Clemens

  • Problem in creating job via submit

    sap 4.7
    i am opening/scheduling job from other program/job
    And from some reason i get two jobs with the same name.
    One is working good, and the other one is stay in schedule.
    My problem is  , why i active two jobs and not only one  ?
    And why one (that I donu2019t want and need it at all ) is stay as "schedule" ?
    this is my code
      CONCATENATE  EVT_ID JOBCOUNT  INTO JOBNAME
                                               SEPARATED BY SPACE.
      LCL_TIME = SY-UZEIT + 1000 .  " + 15 minute
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          JOBNAME   = JOBNAME
        IMPORTING
          JOBCOUNT  = JOBCOUNT.  " AND RETURN
         CALL FUNCTION 'JOB_OPEN'
           EXPORTING
              JOBNAME          = JOBNAME
             DELANFREP        = SPACE
           IMPORTING
              JOBCOUNT         = JOBCOUNT
           EXCEPTIONS
              CANT_CREATE_JOB  = 1
              INVALID_JOB_DATA = 2
              JOBNAME_MISSING  = 3
              OTHERS           = 4.
       if sy-subrc <> 0 .
         MESSAGE  I099  WITH 'cant craete job' .
       endif.
            SUBMIT YITF_MOVE_TO_BCKP
             VIA JOB JOBNAME NUMBER JOBCOUNT
                TO SAP-SPOOL   IMMEDIATELY ' '
                DESTINATION    'LOCL'
                KEEP IN SPOOL  'X'
                WITHOUT SPOOL  DYNPRO
                WITH EVT_PARM =  EVT_PARM
                AND RETURN.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          JOBCOUNT  = JOBCOUNT
          JOBNAME   = JOBNAME
          SDLSTRTDT              = SY-DATUM     "i_strtdt
          SDLSTRTTM              =  LCL_TIME
         STRTIMMED = 'X'
    this is the status in sm37
    YITF_MFHBHY_LOAD 03304501           LEGACY          Scheduled
    YITF_MFHBHY_LOAD 03304501           LEGACY          Complete        04.03.2009 03:49:05

    Hi use this Code to fix the issue...
    DATA : v_jobhead LIKE tbtcjob.
    DATA : v_jobcount LIKE tbtcjob-jobcount.
    DATA : v_eventparm LIKE tbtcjob-eventparm.
    DATA : v_flg_released TYPE c.
    DATA: e_error.
    DATA: running LIKE tbtcv-run.
    TYPES: esp1_boolean LIKE boole-boole.
    CONSTANTS: esp1_false TYPE esp1_boolean VALUE ' ',
               esp1_true  TYPE esp1_boolean VALUE 'X'.
    CONSTANTS: true  TYPE boolean VALUE esp1_true,
                              false TYPE boolean VALUE esp1_false.
    PARAMETERS: v_jobnam LIKE tbtcjob-jobname,
                v_report LIKE sy-repid,
                v_varian LIKE  raldb-variant,
                v_uname  LIKE sy-uname.
    START-OF-SELECTION.
    * add the new job
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
    *            delanfrep        = 'X'
                jobname          = v_jobnam
           IMPORTING
                jobcount         = v_jobcount
           EXCEPTIONS
                cant_create_job  = 1
                invalid_job_data = 2
                jobname_missing  = 3
                OTHERS           = 4.
      IF sy-subrc  0.
        e_error = true.
      ELSE.
        CALL FUNCTION 'JOB_SUBMIT'  " or you can use SUBMIT statement as well.
             EXPORTING
                  authcknam               = v_uname
                  jobcount                = v_jobcount
                  jobname                 = v_jobnam
                  report                  = v_report
                  variant                 = v_varian
             EXCEPTIONS
                  bad_priparams           = 1
                  bad_xpgflags            = 2
                  invalid_jobdata         = 3
                  jobname_missing         = 4
                  job_notex               = 5
                  job_submit_failed       = 6
                  lock_failed             = 7
                  program_missing         = 8
                  prog_abap_and_extpg_set = 9
                  OTHERS                  = 10.
        IF sy-subrc  0.
          e_error = true.
        ELSE.
          CALL FUNCTION 'JOB_CLOSE'
               EXPORTING
    *               EVENT_ID                    = IC_WWI_WORKPROCESS_EVENT
    *               EVENT_PARAM                 = V_EVENTPARM
    *               EVENT_PERIODIC              = 'X'
                    jobcount                    = v_jobcount
                    jobname                     = v_jobnam
                    strtimmed                   = 'X'
               IMPORTING
                    job_was_released            = v_flg_released
               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.
          IF sy-subrc  0.
            e_error = true.
          ELSE.
            DO.
              CALL FUNCTION 'SHOW_JOBSTATE'
                EXPORTING
                  jobcount               = v_jobcount
                  jobname                = v_jobnam
    *            IMPORTING
    *         ABORTED                =
    *         FINISHED               =
    *         PRELIMINARY            =
    *         READY                  =
    *              running                =
    *         SCHEDULED              =
               EXCEPTIONS
                 jobcount_missing       = 1
                 jobname_missing        = 2
                 job_notex              = 3
                 OTHERS                 = 4.
              IF sy-subrc  0.
                e_error = true.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
              IF running = space.
                EXIT.
              ENDIF.
            ENDDO.
          ENDIF.
        ENDIF.
      ENDIF.

  • Can the standard program RFBIBL00 be run as a background job ?

    Hi all,
    Can the standard program RFBIBL00 be run as a background job for the call transaction mode.
    As I tried I got the job cancelled with message"Job RFBIBL00: Data does not match the job definition; job terminated".
    As i run it in foreground it executes properly.
    Why is it failing in background? Please help.
    Thanks ,
    Stock

    Hi,
    You need to copy the program RFBIBL00 & modify the program to build the logic to upload through application server. Then schedule the modified program in background & it wl work.
    Best regards,
    Prashatn

  • Standard programs for deletion of transaction data over BAPIs

    Hello Experts,
    What are the pros and cons of using SAP standard programs like /sapapo/rlcdelete etc. over the SAP provided BAPIs (e.g. BAPI_PIRSRVAPS_DELMULTI in case of PIRs). What would be called as best approach when run in regular background jobs for a large number of SKUs.

    Hi Ankit,
    As per me it should be performed by the using report if it is there like /SAPAPO/RLCDELETE as it is standard program and tested program provided by SAP. BAPI may create preformance issue.
    Regards,
    R.Brahmankar

  • Standard Program Name for updating the System-Variables everyday in BACKGRO

    Hi All,
    Can anybody tell me the Standard Program Name for updating the System-Variables everyday in BACKGROUND job?

    Hello matt,
    I have a program with variant.
    This VARIANT input values will store in TVARVC table every day night background job.
    i want the program name

  • Standard program for unbilled  sales orders and purchase order items

    Can anyone advice,  is there any standard program which gives the unbilled sales order and purchase order items.

    Hi,
    Use the T.Code VA05/VA05n for list of all the sales order s which are open.
    Take T.Code:VA05N
    Select the option "Open Sales Orders".
    Execute.
    It will give you all the orders which are open.
    The standard program for this is:"SD_SALES_ORDERS_VIEW".
    The same you can also get by using the T.Code VF04.
    In this if your scenario is "Order related",then select the option "Order related".
    Else if it is "Delivery related",then select "Delivery-related".
    Execute.
    The standatd program for this is:"SDBILLDL".
    T.Code:VF05/VF05n is for list of billing documents.
    Regards,
    Krishna.
    Note:Pls search the forum.

  • Problem in submiting standard program via job

    Hi Experts ,
       I have developed  programs for creating and posting return lots and payment lots for multiple incoming  files. For this i have submited standard  program of FPB3 and FPB5 transaction .  What happened is ,  if the child program fails due to some reason for one file , it is not coming back to the mother program and as a result other files remain unprocessed . So for this i tried with submiting the child program Via job so that if child program fails , only that job will fail and the mother program will not fail , so rest  files will be processed .
    But the problem is the child program (standard program of FPB3/FPB5 )  is not working by this i.e.  the lots are not getting created adn.
    Awaiting for any respone .

    Hi,
    If you are using Submit via Job, you need to use JOB_OPEN and JOB_CLOSE FM's.
    JOB_OPEN : Create a new job and return you the job number which you use in Submit
    JOB_CLOSE: Will set the release conditions of the job.
    Example:
    DATA: number TYPE tbtcjob-jobcount,
          name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = 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.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    Jovito

  • ERROR while checking standard program for SAP NOTE 175482(QM)

    HI,
    experts
    i am implementing sap note 175842 QM MODULE .
    My note is successfully implemented ,for that i created standard program RQEVAC50 USING ACCES KEY.
    but in se38 report comes like this
    REPORT  RQEVAC50.
    REPORT RQEVAC50 MESSAGE-ID QA.
    so while checking error comes boz 2 report hedaing is there .
    I WANT TO DELETE FIRST ONE BUT IT CANT.
    I chose activate anyway but while releasing request it gives error.
    THANKS
    AJAY.

    hi
    error is 'OBJECT REPS RQEVAC50 does not exit create it'**
    I CREATED PROGRAM USING ACCESS KEY SO IT DOES NOT ALLOW ME TO CHANGE OR DELETE ANY LINE IN THE PROGRAM.
    THATS THE MAIN PROBLEM.
    Whwn i created a program RQEVAC50 it is totally blank but while implementing sap note the code comes in my progarm
    so there are 2 report hedaing .
    THANKS
    AJAY.

  • I have Lightroom 4 purchased in disk download format. I am considering purchasing a MacBook Pro but this doesn't have a CDRom. Can I use the serial code to download on to MacBook via the internet? I have only used the disks once for my iMac.

    I have Lightroom 4 purchased in disk download format. I am considering purchasing a MacBook Pro but this doesn't have a CDRom. Can I use the serial code to download on to MacBook via the internet? I have only used the disks once for my iMac.

    you need a lr serial for mac.  the serial number for pc and mac are different.
    you can download a trial lr 4 for your mac but you need a mac serial number to install.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

  • F.13 is a standard program for automatic clearing?

    f.13 is a standard program for automatic clearing? can i include plant code to the standard program.....and it is used for display clearing......need information?

    HI,
    F.13 is a Stanndard program for Automatic clearing as you rightly siad. This is wholely dependent on the settings that you make in OB74 which is matching criteria.
    Let me take an examloe and explain.
    Lets say you have a customer invoice for  1,00,000/-. The customer has given 80,000/- once and 15,000/- once and the balance 5,000/- the company has issued a Credit Note.
    If this is a single transaction in a year you may wonder why this F.13 is used. However in practice there will be many transactions per day it self and advising a business proces of F-32 account Clear is not a good practice as the user is loaded with transactions.
    Hence You will be taking this as a periodic process and clearing automatically is advised using F.13.
    For the system to understand you will be giving the matching criteria in OB74.
    So when ever you run this program, program checks for matching Amounts in Dr and Cr sides with the matching feilds given in OB74
    The uncleared items need attention which may or may not be processed manually,
    For GR IR clearing also you can use this transaction and any open item manged account as longas the matching criteria is confiured.
    I don't think you can use Plant code in this.
    Reward points if useful.
    Sarma

  • Transaction or standard program for testing Open SQL statements

    Hi experts,
    Is there a standard program or transaction that can be used to test Open SQL statements?, I was thinking in something similar to a SQL client like sqlcli, but for Open SQL and within SAP GUI.
    I know i can write a test ABAP program for this matter but I rather a standard testing facily in this case
    Thank you for any help
    regards

    Hi Ozcan
    I tried DB02 -> Diagnosis -> SQL Command editor , but I couldn't made it work. It is for Open SQL or for Native SQL?
    I tried the following simple Open SQL statements inside the SQL Code tab there were erros
    SELECT *
    FROM /BI0/PCOMP_CODE
    error was: Incorrect syntax near '/'.
    SELECT * FROM DD03L
    error was: Invalid object name 'DD03L'.
    Where is the mistake?
    regards

  • Tcode for standard program REL_DELNOTE

    Cud you please tell me what is the T Code for Standard program 'Rel_Delnote'. The smartform name is Z_LOADING_AUTHORIZATION

    Hi Awanish,
    The program RLE_DELNOTE is not used in any TCode(s). You should manually create a 'Z' TCode using SE93 for this RLE_DELNOTE.
    If at all you want your Smartform Z_LOADING_AUTHORIZATION to get triggered then execute the NACE TCode and configure your Smartform to the required Output type (for Eg: LD00 - Delivery Note) of corresponding Application (V2 - Shipping).
    Hope this solves your problem. Reward accordingly.
    Thanks and Regards,
    Maddineni Bharath.

  • Hi, I got my Mac in 2009 with photoshop elements on it - it's recently been wiped, however before the process we put Photoshpp onto a hard drive, we then copied it back over and it no longer works, I'm getting error code 150:30 and I'm being asked for a p

    Hi, I got my Mac in 2009 with photoshop elements on it - it's recently been wiped, however before the process we put Photoshop onto a hard drive, we then copied it back over and it no longer works, I'm getting error code 150:30 and I'm being asked for a password... any ideas how to get it working again?

    You can never, never migrate an installed copy of PSE. It's just too complex and you can't get to all the bits and bobs.
    First you will have to download and run this:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    which will not seem to do anything, but is necessary to break the links within PSE so that you can pitch the bits manually. Then you will have to go around, not only to applications, but also to your username>library>preferences and most importantly to the library at the top level of your hard drive>application support>adobe, and remove everything you can find. Spotlight will not help with this kind of search, so don't try that.
    Then you can install PSE from scratch.

Maybe you are looking for

  • MENSAJE DE ENVIO BB HANDHELD ASSOCIATED SERVER

    Hola!! POR FAVOR ALGUIEN AYUDEME.  Desde hace 15 días me estan llegando  alrededor de 70 mensajes diarios a mi BB y a mi correo el cual dice: This message is used to carry data between the BlackBerry handheld and an associated server. Please do not d

  • Client app for Windows 8.1/10

    Hi all, for a while I have been working with a client application for Windows Phone 8.1, however, I noticed that there is a difference between coding the parts to binding data. I noticed that the WebClient I use in Windows Phone is not supported on W

  • PLD "relate to" option

    Hi Expert, I need to know how to use "relate to" on getting row data whereby I am making use of Basekey + BaseLine as the relate key in PLD. Example: I need to get the sale order date into the sales invoice printout wherey the sales invoice rows keep

  • Error during Sun ONE App server 7 startup

    hi i am getting the following error when i try to start my app server. given below is the error messages that i am getting. can some one help me with this [12/Apr/2003:16:55:49] INFO ( 1688): CORE1116: Sun ONE Application Server 7.0 [12/Apr/2003:16:5

  • Error occurred. Contact the administrator and report the exception ID

    Dear All, We are on EP 7 SP8. We just now performed a system copy and are right now done with the post installation activities. All seems fine but we are having a problem in the Navigation Windown Quick Create link on the left hand side. Here I am al