Restricting Spool in SM37

Hi All,
I would like to know if a user can be restricted to view spool created by his/her own jobs by including S_ADMI_FCD, in auth profile. Can some one help me with this, i got an requirement where i need to restrict the user to view her own spool in SM37, but currently S_ADMI_FCD is disabled and she is getting an error,
"No authorisation to select from spool request"
Your answers are much appreciated.
Regards,
Sandhya

<b>Note: Spool requests are created under the username defined in background job step and can be different from the user scheduling the job.</b>
With that in mind, I can think of two cases:
(a) Assuming the username defined in background job step is equal to the user scheduling the job, and you want the scheduling user to be able to view the spool for his/her own background jobs; then the user should have authorizations for auth. obj. 'S_ADMI_FCD' with |S_ADMI_FCD=ST0R|.
(b) Assuming the username defined in background job step is different from the user scheduling the job but you want the scheduling user to be able to view the spool anyways; then the user should have authorizations described in (a) + auth. obj. 'S_SPO_ACT' with |SPOACTION=BASE, DISP; SPOAUTH=<USERNAME>|, where <USERNAME> is the username defined in background job step.
There are other possible SPOACTION values that you might want to assign. See the object documentation for these.

Similar Messages

  • More than one Spool  in SM37 --- Problem

    Hi Friends,
    I have a program creating 2 spools , both the spools are visible in SP02 but we cant view the spool content in SP02 due to authority settings in our project.So we have to see the spool contents in SM7 only.But in SM37 we are able to see only the last generated spool . Is there a way we can see both the spools in SM37.Please help its urgent.
    Thanking You all,
    Venkat

    You could read the spool directly from table TSP01
    SELECT *
      INTO TABLE SPOOL_TABLE
      FROM TSP01
      WHERE RQIDENT IN R_SPOOL
        AND RQOWNER IN R_OWNER
        AND RQCRETIME IN R_DATUM.
    Greetings,
    Blag.

  • REPORT IN BACKGROUND WITH NO SPOOL ON SM37

    Hello!
    I have a program that shows a log after the execution in transaction SE38, using the command WRITE.
    But when I execute the same program using the background mode, there is no spool in the transaction SM37.
    What's the problem?
    Message was edited by:
            MARCO FERNANDES

    Hi Marco,
    The variant for which you run in background, might not be retrieving any data hence no output in background.
    Also check for FM "RSPO_R_RDELETE_SPOOLREQ" is used in your program. This deletes the spool.
    Also check whether the write statements are under IF SY-BATCH NE 'X' condition.
    Best regards,
    Prashant

  • Spools in SM37

    Hi,
       I have a background job which creates 2 spools. After the completion of the job, when i check the spool list in SM37, it displays only the last spool. Whereas in SP01/02, i can see the 2 spools created. Any idea how to display the 2 spools created in SM37 spool list?
    Thanks in advance,
    Sandeep

    You might want to consider that SM37 and SP01 are not the correct choice of transactions....
    Try SMX => https://service.sap.com/sap/support/notes/101146
    In combination with SP02 => https://service.sap.com/sap/support/notes/119147
    Please read the notes carefully: There are several misunderstandings in SM37 (caused primarily by SU53's last failed check) and the migration path from the old spool concept to the "new" one (in this case some hardcoding makes some sense as a per-user concept using authorization objects is not scalable).
    Cheers,
    Julius

  • How to restrict spool data in the next line in pdf print

    Hi Experts,
    i have spool data which is going to be print in PDF format.
    if line is extented..thenit is prining the in the next line..
    but that next line is not starting after one tab space.
    so how to remove that space.
    can anybody give me help.
    Regards,
    venkat

    Hi,
    output is displaying in pdf file in the give format..
    ex:-
    919   sub     00001      44445       testmater
             ial     final
    here test material is not coming fully in the first line..it is cutting and displaying in 2 lines.
    Regards,
    venkat

  • Spool visible in sp01 but not available in sm37

    Hi group,
    I am facing the following problem. There is a pgm that creates two spool requests, and they are visible when i see it in sp01, but when we see it in sm37 only the last spool request is available. Pls help.
    Regards,
    Divya.

    The job status is complete and both the requests are available in sp01. but when we display the spools in sm37 just the last spool is available.
    This is the sample code
    REPORT  zspoolreq1                               .
    DATA: w_param       LIKE pri_params,
          w_valid,
          w_text        LIKE pri_params-prtxt.
    PERFORM open_spool.
    PERFORM open_second_spool.
    FORM open_spool .
      NEW-PAGE PRINT ON PARAMETERS w_param NO DIALOG.
      WRITE: / 'First Spool Request'.
      NEW-PAGE PRINT OFF.
    ENDFORM.                    "open_spool
    FORM open_second_spool.
      NEW-PAGE PRINT ON PARAMETERS w_param NO DIALOG.
      WRITE: / 'Second Spool Request'.
      NEW-PAGE PRINT OFF.
    ENDFORM.
    null
    Message was edited by:
            divya rajendiran

  • Spool Not Visible in SM37

    Hi,
    I have a program which when executed in background mode doesnot show spool in sm37, but when i go into spool directory.
    I am calling the back ground through functional module POPUP_TO_CONFIRM_STEP,
    case xx
    when 'N'.
          sy-ucomm = 'SJOB'.
          sscrfields-ucomm = 'SJOB'.
    by this background job kicks off but doesnot create spool .. also this problem doesn't occur regularly.
    Please provide me some suggestions.
    Thanks
    Kumar

    Sorry small correction for the above problem ..
    I could see the spool through spo1 or sp02 but not in the job - overview.
    Thanks
    Kumar

  • Spool icon not visible in SM37

    Hi,
    I have created one classical program using 'Write' statement to show output on screen.
    Now i am running this program in background mode by choosing option SE38 -> Program -> Execute in Background
    I can see my finished job in SM37. Now issue is that on same SM37 screen i can't view spool icon also when i select job and press button 'Spool', message is triggered saying  'No List available' though for same job, spool is generated and that no. i can see in Job log.
    User want to view spool from SM37 screen, instead of copying no from job log and inserting into transaction SP01
    Plz help...

    Hi,
    @BreakPoint
    I am not touching any print settings while running program in Background mode. Getting spool output is not my problem. Spool is generated properly for my job only problem i am facing is that i can't view that spool from SM37 transaction every time i need to go to SP01 transaction to view output.
    Few addition:
    Aactually my program has 2 options:-
    1. Online mode: here i am generating spool request using below FM
    * Read, determine, change spool print parameters and archive parameters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          in_archive_parameters  = lw_arcpar
          in_parameters          = lw_pripar
          layout                 = l_lay
          line_count             = l_lines
          line_size              = l_cols
          no_dialog              = 'X'
        IMPORTING
          out_archive_parameters = lw_arcpar
          out_parameters         = lw_pripar
          valid                  = l_val
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
    2. Background mode: I have used sy-batch to determine background mode. If program execution is in background then above FM will never trigger. In short for Online mode i am explicitly creating spool using FM
    If program executed in online mode first and then Background then i am getting above issue.
    Anything i am missing?
    Edited by: Amol Deshpande on Oct 19, 2010 7:25 PM

  • Not getiing  spool if zprogram excutes in background which calls a submit

    Dear All,
    I have two programs with same selection screen , one is a z one and the other a standard one .
    i am calling the standard program from my z program using Submit with some restriction value in the selection screen of the standard program.
    Everything is OK , now the thing is i am not getting a spool in SM37 when i execute the z report (which calls the standards program with submit) in background .
    I want in  the one  spool like i am getting if i execute the standard program manually in background.
    Regards

    Hi Try this way..
    now it creates two spools...
    **** Subroutine to get the print parameters
      PERFORM get_print_parameters.
      CONCATENATE 'QU'
                   sy-datum+4(4)
                   sy-uzeit INTO
                   wa_pri_params-plist.
    *   Submit report in background and creating spool
      SUBMIT <Reportname> USING SELECTION-SET p_var
          TO SAP-SPOOL WITHOUT SPOOL DYNPRO
          SPOOL PARAMETERS wa_pri_params AND RETURN.
      COMMIT WORK AND WAIT.
    *   To fetch the spool number from TSP01 table
      IF sy-subrc EQ 0.
        SELECT rqident
               FROM tsp01
               INTO p_spool
    *             UP TO 1 ROWS
               WHERE rq2name = wa_pri_params-plist.
        ENDSELECT.
      ENDIF.
    FORM get_print_parameters .
    * Function Module to get the print parameters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination            = 'BC01'                       "'LP01'
          list_name              = 'TEST'
          list_text              = 'SUBMIT ... TO SAP-SPOOL'
          immediately            = ' '
          line_size              = '2000'
          no_dialog              = 'X'
        IMPORTING
          out_parameters         = wa_pri_params
          valid                  = w_valid
    *** Begin of insert PJ051810
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      IF sy-subrc <> 0.
        WRITE : 'Invalid Printer assigned'.
      ENDIF.
    *** End of insert PJ051810
    ENDFORM.                    " GET_PRINT_PARAMETERS
    Prabhudas

  • Generate  Spool in abap report

    Hello ,
    I created report that should run in background job. I am not sure how to create spool containing all sales orders and items that are
    selected in report.
    Please could some one explain creation of the spool.  Used  needs to see spool in sm37 when the job is in status finished.
    Thanks
    Chris

    Hi,
    did you check Post HOw to create Spool Request.
    it was the first hit i got in google as i searched "sap how to create spool"
    Please search befor writing new post
    regards
    Stefan Seeburger

  • ALV grid in Spool screen limit

    Hi,
    I am displaying a report for bulk of order.
    So we will schedule it in background .
    Through the program, i am creating the output as file in appln server also i m dispklaying the report in ALV grid.
    now the report is working fine and its creating a file in appln server.
    Now my problem is if I see the spool in SM37,its showing the ALV grid. but some columns are missing in the right side.
    I hope this is because of the screen limitation.How should I solve this.
    I have to allow the user to see all the columns.

    Hi
    I too have the same issue....Where u able to find the solution...
    I have checked through this Thread, when I create a new Format 65_1000, I still get some pages missing
    Re: Spool  ALV LIST
    Your responses will be helpful.
    Thanks,
    Chaithanya k

  • Spool recepient issue in ECC 6.0

    We have a scheduled background job ZD510_FILL_RATE_REPORT_ECC6.  This produces a reports and sends to a distribution group. When the group receives the report in their inbox they open it and it only shows 16 pages of the 33 pages. The user replied that it last ran successfully on 16th and had running into issues since kernel upgrade done on 18th.

    Hi Ki
    Double check the code from 329537 is present in your system as it is definitely the solution. Otherwise check the spool in SM37 or SP01 and verify that the spool is not truncated before the send to SAPconnect.
    Michael

  • Displaying Jobs Status and Logs without using SM37

    Hello All,
    First of all, thanks a lot for your time.
    We're being asked by the Audit Team to remove tcode SM37 from our Job Roles. Although I agree with them that users should not have "change" or broad display access for the tcode, some of them need to check other user's Jobs status, as well as their Job Logs (which I have managed to restrict using auth. object S_BTCH_JOB).
    My question is: do you know if there's any alternative way or a transaction different than SM37 to display other user's Jobs status and Job Logs?
    We're providing SMX for user's own jobs, but I have not been able to find an alternative way than using a restricted version of SM37 for displaying other people's Jobs status and Job Logs.
    Best regards,
    CMPT

    You can either create your own monitor locally ( see transaction RZ20) or develop it on your own (see FM BP_JOB_STATUS_GET).
    If you want to use SM37 then you can add SHOW to S_BTCH_JOB but this might be problematic in combination with RELE (of their own jobs).
    [SAP Note 568963|https://service.sap.com/sap/support/notes/568963] will be able to help you further.
    Cheers,
    Julius

  • Back spool report

    Hi,
    How to see the report in the spool while executing a program in background which has fields more than 255 characters? I want to see all the columns in the spool. But it is showing upto only 255 characters.
    Plz urgent

    I know that this is probably not what you want, but if you view the spool in SM37, click the "Raw" button, then you will see all of the columns,  it wraps the columns greate than 255 to the next line.    I think that this has something to do with the print format.  When you submitted the job to the background, you told it a certain format to use,  the biggest one in my system is 255.   If you want to see all of the data in the graphical view of SM37,  I believe you would have to have a format which is greater than 255.   I don't know how to set this stuff up.  Check with your basis people.
    Regards,
    Rich Heilman

  • Table for Spool Details

    Hi
    COuld you please let me know the name of the Table to find out the Spool Details ?The way Spool is shown using Transaction "SM37", same way  I am interested to see the spool using Table .
    Thanks
    JIgar

    Thanks a lot for your quick response.
    Would like to add one more query here.
    I have got 12 different jObs. And I would like to know their Spool numbers. The ideal procedure is to open up spool using SM37 and then get the spool request number.
    But is there any table which contains the relationship between JOb and its spool number / details ?

Maybe you are looking for

  • Can anyone help solve my forced reboot/Kernel panic situation?

    Dear mac users, Since 3 months I own my first macbook pro. Since some days, this happens: first the a transparent grey screen rolls down; then a grey box appears in which is written *You need to restart your computer. Hold down the Power button for s

  • Why doesn't the keepgenerated flag for weblogic.appc work?

    hello forum, i'm running wls 9.2.1.0 on windows xp. if i run the following command on a split development directory, everything gets built and packaged successfully:     C:\development\tmp\ejb\src>java weblogic.appc -forceGeneration -keepgenerated -b

  • Privacy Enhancing Filtering Proxy Chain for OS X

    A privacy enhanced web proxy is a nearly essential tool on the modern web: it blocks ads, malicious scripts, and conceals information used to track you around the web. I've provided a quick setup below in case it's useful to others. This will build a

  • Change of username and latest iPhone Update

    I recently successfully changed my Apple Username, following my move to a new ISP. However after having successfully downloaded the latest iOS software onto my iPhone, my phone asked me to complete a few more steps to complete the update. One of whic

  • Partners from function Customs agent cannot be processed online

    hello everyone When I try to add a partner role TZ customs agent in the shipment document (VT02N) i get the following message: Partners from function Customs agent cannot be processed online Message no. VPD032 Diagnosis Partners in the specified part