"No List Available" in spool.

Hi All,
I am generating a report in foreground using SQ01 is SAP Query and I am getting proper data in ALV format.But whenever I am running it in background , after completion of the program ,I am getting an error message " No List Available " Although it is taking the same time to run as that of it takes in forefround. 
Could you please help me ?
Regards
Jeetu

Hi,
It seems you are doing SUBMIT JOB instead of JOB_SUBMIT. The control is coming back to the calling program before the spool is executed.
Include the following logic, which won't come back to the calling program unless the background job is COMPLETED or CANCELLED.
FORM get_spool_details .
CLEAR : w_spool_number.
REFRESH : i_jobsteplist.
CHECK WHETHER STATUS OF JOB IS COMPLETED OR CANCELLED
WHILE 1 = 1.
GET THE JOB STEPLIST WHICH HAS THE SPOOL NUMBER
CALL FUNCTION 'BP_JOB_READ'
EXPORTING
job_read_jobcount = w_jobcount
job_read_jobname = w_jobname
job_read_opcode = '35'
JOB_STEP_NUMBER =
IMPORTING
job_read_jobhead = wa_jobhead
TABLES
job_read_steplist = i_jobsteplist
CHANGING
RET =
EXCEPTIONS
invalid_opcode = 1
job_doesnt_exist = 2
job_doesnt_have_steps = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF STATUS OF JOB IS COMPLETED(F) OR CANCELLED(A)
READ THE JOBSTEPLIST & GET THE SPOOL NUMBER
IF wa_jobhead-status = 'A' OR wa_jobhead-status = 'F'.
READ TABLE i_jobsteplist INTO wa_jobsteplist INDEX 1.
CHECK wa_jobsteplist-listident <> space.
w_spool_number = wa_jobsteplist-listident.
EXIT.
ENDIF.
ENDWHILE.
If you want the spool content into an internal table, then use the following FM :
CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
EXPORTING
rqident = w_spool_number
FIRST_LINE = 1
LAST_LINE =
TABLES
buffer = i_buffer
EXCEPTIONS
no_such_job = 1
not_abap_list = 2
job_contains_no_data = 3
selection_empty = 4
no_permission = 5
can_not_access = 6
read_error = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Best regards,
Prashant

Similar Messages

  • No spool list available in SP01.

    Hi All,
    We have one background job running everyday in production. The jobi sgetting finished and when we check the job log in SM 37, it gives one spool request no. But when we check the sppol no in SP01, it says 'No list available'. Can anyone pls provide me a solution for the same?
    Regards,
    Mani

    Well strange problem but you can try these steps and check if it works, i am not sure
    In print parameters check that checkboxes :-
    Print Immediately
    Delete after Output
    New Spool request
    are checked
    moreover there should be some value other than 0 for "Retention period".

  • "No list available" - Spool message  - Data Archiving

    Hi ,
    I am facing problem in CRM Data Archiving .
    Now I am Archiving the Arc Object  >> PRODUCT_MD .
    All the parameters i have given correctly.
    when i execute the job, in the spool message it says <b>"No list available".</b>
    I thought the problem with the input.
    then i executed this tcode  - "COMMPR01" (based on the help.sap.com for this archiving object.)
    I selected some of the  "Material" in that and set the product status as
    <b>"To archive".</b>
    Any Idea on this .
    expecting your valuable inputs .
    Regards
    Ganesh

    When ever we execute logic in batch mode, the ALV list will be populated to the spool. The error says that, there is not data coming up via list output of the report. Hence there is no spool being created.
    Regards,
    Chiranjeevi.

  • No list available on Background job

    Hello
    Could anybody help me? I run the transaction CM01 on background job, and it finishes well, but when I go to the transaction SM37, and I try to send the report to the spool in order to watch it, the below bar shows me the following error "No list available"
    Does anyone know why?
    Thank you in advance
    Regards.

    Hi
    In SM37, check for job log .Re-run and select SPOOL before the run.
    you can get everything from below link on Background job.
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/e3bd402b8d8031e10000000a1550b0/frameset.htm
    Regards
    Nagaraju

  • How to send the alv list display to spool

    Hi all,
    I am executing a program in foreground. My requirement is sending alv list output to spool. When i execute the smae program in background mode the SAP is handling the spool output in hierarchial list display. How to get the same output in foreground also.
    Thanks and Regards,
    Vijay.

    Hi max,
    I think my question is not clear.
    when I execute my report in background mode, I can able to see the output in the spool.
    But when I execute the same report in foreground no spool output is getting generated.
    To handle this I am calling some function modules like RSPO_OPEN_SPOOLREQUEST , RSPO_WRITE_SPOOLREQUEST,  RSPO_WRITE_SPOOLREQUEST. But by using this i cannot able to get the desired output in alv list display format. what to do to get my desired output.
    Thanks and Regards,
    Vijay.

  • Oracle Grid Installer cannot list available disks

    Hi all,
    I'm trying to install Oracle Database 11g R2 64-bit with ASM on an Oracle Enterprise Linux 5.5 64-bit.
    The problem I'm facing is that the Grid Infrastructure Installer cannot list available disks. In the setp of creating Diskgroups, I only see blank disk.
    Following the main actions I took:
    [root@srv07 ~]# fdisk /dev/sdb
    Command (m for help): n
    Command action
       e   extended
       p   primary partition (1-4)
    p
    Partition number (1-4): 1
    First cylinder (1-1638, default 1):
    Using default value 1
    Last cylinder or +size or +sizeM or +sizeK (1-1638, default 1638):
    Using default value 1638
    Command (m for help): w
    The partition table has been altered!
    Calling ioctl() to re-read partition table.
    Syncing disks.
    [root@srv07 ~]# rpm -qa | grep oracleasm
    oracleasm-support-2.1.3-1.el5
    oracleasm-2.6.18-194.el5-2.0.5-1.el5
    [root@srv07 ~]# oracleasm configure -i
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver.  The following questions will determine whether the driver is
    loaded on boot and what permissions it will have.  The current values
    will be shown in brackets ('[]').  Hitting <ENTER> without typing an
    answer will keep that current value.  Ctrl-C will abort.
    Default user to own the driver interface [grid]:
    Default group to own the driver interface [asmdba]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Scan for Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: done
    [root@srv07 ~]# /usr/sbin/oracleasm createdisk DISK1 /dev/sdb1
    Writing disk header: done
    Instantiating disk: done
    [root@srv07 ~]# /usr/sbin/oracleasm listdisks
    DISK1
    [root@srv07 ~]# /usr/sbin/oracleasm scandisks
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...The log generated by the Installer can be viwed from: http://www.ahmedbaraka.com/temp/infralog.txt
    Any guideline is appreciated.

    Hi Srini,
    I have tried as you mentioned like installing Java in C:\Java... and I have tried the by setting the JRE_LOCATION of local path. No use of it.
    tried with -jreloc and setting the java path in environment variables too.
    As I understand, the problem i have seen at files copied path is not expected as required. Please see the path below...
    C:\DOCUME~1\v859971\LOCALS~1\Temp\OraInstall2013-09-06_03-36-31PM\jre\bin\javaw.exe.
    After running the Setup.exe -deinstall... temporary folder is creating with timestamp and all the required files are coping here...
    "jre" folder also created and copied required java files directly into jre folder, but not in jre\bin folder.
    folder path is like this
    C:\DOCUME~1\v859971\LOCALS~1\Temp\OraInstall2013-09-06_03-36-31PM\jre\javaw.exe.
    Setup application is expecting jre\bin\javaw.exe, but folder structure is created as jre\javaw.exe. There it is coming the issue.
    I have even tried with copying all the files into bin folder and executed the setup.exe, it again creating a new temporary file
    not able to resolve it...

  • Sidebar 'Shared' no longer lists available windows shares

    Sidebar 'Shared' no longer lists available windows shares. MacBook Pro (10.6.7) shows up on iMac and vice versa, but Windows 7 machines don't nor an old Buffalo LinkStation. The Windows shares don't show up when browsing the network either. The only way to connect is to use Go > Connect to Server (Command K), smb://ip address or NetBIOS. The shares are then listed in the sidebar, but disappear when disconnected. Is this something that has been introduced by design in an update?

    Ok, now you're down to network or permissions issues. An unedited ipconfig /all
    of server and problem workstation may help. You could also try setting up some auditing.
    https://technet.microsoft.com/en-us/library/dn311489.aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • My I4 will not allow me to connect a bluetooth. It keeps giving a message the pair list is full. There are no list available to delete. How do I correct the issue?

    My I4 will not allow me to connect a bluetooth. It keeps giving a message the pair list is full. There are no list available to delete. How do I correct the issue?

    Check this article: iOS: Third-party Bluetooth headsets, headphones, and keyboards
    Unpairing a Bluetooth accessory from an iOS device
    If you've paired your iOS device with a Bluetooth accessory and no longer wish to use that accessory, you may unpair it. If you wish to leave the device paired, but route calls through a second, paired device, turn off the first device and then turn on the second device. Then in Settings > General > Bluetooth, tap on the device you wish to use.
    From the Home screen choose Settings > General > Bluetooth. If Bluetooth isn't on, turn it on.
    Choose a device and tap Unpair.
    Until you pair the Bluetooth accessory again, your iOS device won't route information through it.
    * Find information on which iOS versions and devices support which Bluetooth profiles. Not all Bluetooth stereo headphones include a mic. Only those with a mic and that support handsfree profile (HFP 1.5) can be used to make and receive calls.

  • CD LISTS AVAILABLE WITH ORACLE FINANCIALS

    Dear All,
    Our company is palnning to Purchase Oracle 10g Database along with Oracle Financials. May I know what all prodiucts we get with this. I need to know what all CD list available with this product.
    Thanks
    Deepak

    check edelivery.oracle.com for financals (ebusiness), and download.oracle.com (10g db) and check the cds.
    fadi
    http://oracle-magic.blogspot.com

  • How to create a page that lists available Oracle Reports to execute?

    APEX Version: 3.2.0.00.27
    Database: Oracle 10g XE
    Hello! I'm fairly new to APEX and adapting to the features and terminology related to this product.
    I don't think this issue is unique to Oracle Reports, but rather the concept of a page that reads from table (maybe a "report?") to provide a result set of data which the user can click on a result to direct to another page.
    In any case, I have a table in the database which stores all the attributes (report title, parameter names, RDF name, etc) of about 100 Oracle Reports. So far, I've successfully created an application page that features Items that are used to execute a single Oracle Report. Now, instead of creating unique individual pages for each of the 100 Oracle Reports, featuring the report's attributes (parameters, etc), what do I need to do just have one APEX page that dynamically reads from the table and builds the Region and its Items based on what's in the table? Furthermore, I would like to have an initial page that lists every report available to the user, which they can then click on the name, and then it will take them to the page that presents all the parameters needed to execute the report. How to do this? I understand there is a concept of List (under Shared Components), but it would be impractical to create a List and an entry for each report, and then branch to the parameter page...not to mention, whenever a report is added or deleted, the List would need to be updated.
    Can someone give me some pointers on how to approach this? It doesn't seem all too complex, but I just don't know at this point what the most practical way of accomplishing this...not sure what kind of pages, region, items, etc to create.
    Also, any reference books that you guys recommend on the ins/outs of APEX? I realize Oracle has documentation, tutorials, and OBE's on this product, but from what I've seen they aren't thorough enough in explaining what each property/attribute of the various objects that can be created in APEX.

    but rather the concept of a page that reads from table (maybe a "report?") to provide a result set of data which the user can click on a result to direct to another page.You are on the right track with the idea of an initial page with a report region listing your reports as links. Not sure from the provided information if this out of the box capability will meet your actual requirement, but try the Create Page wizard > New page > Form > Form on a Table with Report as a first approximation.
    instead of creating unique individual pages for each of the 100 Oracle Reports, featuring the report's attributes (parameters, etc), what do I need to do just have one APEX page that dynamically reads from the table and builds the Region and its Items based on what's in the table?If this can't be handled using the built-in Form on a Table with Report design pattern, it sounds like it will be possible using a dynamic form generated using the [APEX_ITEM API|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/api.htm#BGBHDGAI] either as another report region or a PL/SQL Dynamic Content region.
    Also, any reference books that you guys recommend on the ins/outs of APEX? [Pro Oracle Application Express|http://www.amazon.co.uk/gp/reader/159059827X/ref=sib_dp_pt#reader-link], the authors of which are active voices on this forum, is a good book. The forum itself is an unbelievable resource, as is the hosted service for learning and experiment at [apex.oracle.com|http://apex.oracle.com/i/index.html].

  • Query:Dispatch selective process orders from a list available

    Hi all,
    we have a requirement in PP module to dispatch only selective process orders(based on a User criteria) from within a Zprogram.To achieve the same,
    1)we have tried to do a BDC of transaction code CM25.But the line selection of the required order to be dispatched is not captured in recording.
    2)Also,we have tried using the CM40 transaction(mass dispatch) and tried to control the orders dispatch through a user exit.This seems to working fine when CM40 is run independently.but the user exit does not get triggered when CM40 is called (using BDC)from within a Zprogram.
    Can someone please throw some light/suggest any alternative for achieving the same i.e dispatch a selected process order from a list of available orders.

    Hi all,
    we have a requirement in PP module to dispatch only selective process orders(based on a User criteria) from within a Zprogram.To achieve the same,
    1)we have tried to do a BDC of transaction code CM25.But the line selection of the required order to be dispatched is not captured in recording.
    2)Also,we have tried using the CM40 transaction(mass dispatch) and tried to control the orders dispatch through a user exit.This seems to working fine when CM40 is run independently.but the user exit does not get triggered when CM40 is called (using BDC)from within a Zprogram.
    Can someone please throw some light/suggest any alternative for achieving the same i.e dispatch a selected process order from a list of available orders.

  • ABAP List output to spool

    Hi all,
       Iam executing a report in the foreground and i want to send the output data directly to the spool instead of displaying as list output.
    Any idea.
    Regards,
    Shiva

    *****u CAN SEND THE REPORT TO SPOOL USING SUBMIT STATEMENT
    ****Check the code below, u have to use Logic of Checkbox to save u from
    ****infinite loop.
    data:
      w_repid like sy-repid,
      MC_VALID(1)      TYPE C,
      MSTR_PRINT_PARMS LIKE PRI_PARAMS.
    parameters:
      p_matnr like mara-matnr,
      chk_box as checkbox. "Send To Spool
    at selection-screen.
      if sy-ucomm eq 'ONLI' or sy-ucomm eq 'PRIN'.
        if chk_box eq 'X'.
          perform sendto_spool.
        endif.
      endif.
    start-of-selection.
      perform display_data.
    *&      Form  sendto_spool
          text
    -->  p1        text
    <--  p2        text
    FORM sendto_spool .
    *-- Setup the Print Parmaters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
                AUTHORITY              = SPACE
                COPIES                 = '1'
                COVER_PAGE             = SPACE
                DATA_SET               = SPACE
                DEPARTMENT             = SPACE
                DESTINATION            = SPACE
                EXPIRATION             = '1'
                IMMEDIATELY            = SPACE
                IN_ARCHIVE_PARAMETERS  = SPACE
                IN_PARAMETERS          = SPACE
                LAYOUT                 = SPACE
                MODE                   = SPACE
                NEW_LIST_ID            = 'X'
                NO_DIALOG              = 'X'
                USER                   = SY-UNAME
           IMPORTING
                OUT_PARAMETERS         = MSTR_PRINT_PARMS
                VALID                  = MC_VALID
           EXCEPTIONS
                ARCHIVE_INFO_NOT_FOUND = 1
                INVALID_PRINT_PARAMS   = 2
                INVALID_ARCHIVE_PARAMS = 3
                OTHERS                 = 4.
    *-- Make sure that a printer destination has been set up
      IF MSTR_PRINT_PARMS-PDEST = SPACE.
        MSTR_PRINT_PARMS-PDEST = 'LOCL'.
      ENDIF.
    *-- Explicitly set output format
    IF P_PAART IS INITIAL.
       P_PAART = 'X_65_255'.
    ENDIF.
      MSTR_PRINT_PARMS-PAART = 'X_65_255'.
      MOVE SY-REPID TO W_REPID.
      SUBMIT (W_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
        SPOOL PARAMETERS MSTR_PRINT_PARMS
        USING SELECTION-SCREEN 1000
        with p_matnr eq p_matnr
        with chk_box eq ' '
        AND RETURN.
    ENDFORM.                    " sendto_spool
    *&      Form  display_data
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
    write: p_matnr,sy-datum.
    ENDFORM.                    " display_data

  • How to print two alv lists in one spool request

    Hello,
    I have made a report which has one alv list based on CL_SALV_TABLE and a message box displayed in a splitter container based on SBAL. In dialog mode everything is fine.
    If I run the report in batch mode, I have put the alv table to
    list_display = abap_true.
    For printing the messages I am using FM BAL_DSP_LOG_PRINT. It has this nice parameter
    i_s_list_append = abap_true.
    Unfortunatly the messages are not appended to the alv list, nor are they in the same spool request.
    I think the system will put it only into the first spool request, when the name, the printer, the number of prints and the format are the same and of couse, if the spool request is still open for appenfing (which it is).
    The name and the format are not the same in my case. So I tried to set the name to TEST using the print options of the FM
    ls_print_options-print_ctrl-pri_params-plist = 'TEST'.
    But unfortunately it is not working. No changes to the name, when I run the report in batch mode.
    Who has experiance with that? Why are both lists not in the same spool request? Are my findings right? Why isn't the name changed?
    Thank you for your help,
    Peter

    do 2 times
    perform write_form.
    end do.
    for header u can give condtion in form.
    use if condition in the editor...
    this will help u...
    Reward IF....... <= IF what? Points removed... read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]!
    Regards
    Anbu
    Edited by: Julius Bussche on Jul 17, 2008 7:01 PM

  • Scenario and Process Component List: Available on SAP Service Marketplace

    <b>Is the following useful to a BPX?</b>
    Warning: It is only available to those with a Service Marketplace logon.
    This was shared by Content Strategist: Scott Jones:
    The latest version of the Scenario and Process Component List on SAP Service Marketplace narrows the gap between the business view and the technical view of SAP's product portfolio. Customers can not only find out technical realization alternatives for SAP's business scenarios and processes, but also analyze which scenarios are possible with a given set of already implemented components. For planned upgrades, customers can analyze which scenarios have been enabled as well as which scenarios may no longer be available or require further upgrades of other components.
    All new features can also be reviewed in the "<a href="https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000682251&_SCENARIO=01100035870000000202&">what's new</a>!" section. Access the Scenario and Process Component List at SAP Service Marketplace (<a href="http://service.sap.com/scl">http://service.sap.com/scl</a>).

    Did you ever resolve this issue?  I am facing exactly the same issue and have the same question.

  • Problem listing available desktops

    Hi, I'm writing a webapp that present a list of available desktops. I've created a delegated admin and assigned this user to a role. I have then given this role the manage instance capability on two of my three desktops. If I log on to the portal admin tool with this user things seems to be correct. I can ony see two of my three desktops.
    In my webapp I use the following code.
    DesktopDefinitionManager man = null;
    try {
    InitialContext ic = new InitialContext();
    DesktopDefinitionManagerHome home = (DesktopDefinitionManagerHome)PortableRemoteObject.narrow(ic.lookup("transferDesktopsApp/BEA_netuix/DesktopDefinitionManager"),
    DesktopDefinitionManagerHome.class);
    man = home.create();
    catch (Exception e) {
    e.printStackTrace();
    DesktopDefinition dd = null;
    CustomizationContext cust = null;
    DesktopDefinition[] test = null;
    try {
    cust = new CustomizationContext(this.getRequest());
    test = man.getDesktopDefinitions(cust, "sb1portal");
    catch (Exception e) {
    e.printStackTrace();
    The remote user in my request object is the new user that I created. This code returns all desktops. Does anyone know how to limit the desktops returned to the desktops my logged in user has access to?
    Kind regards
    J E Hansen

    you will have to create P13nSecurityResource as follows:
    new P13nSecurityResource(appName, webAppName, resourceId, "view")
    Creating resourceId is tricky. In this case, it would be some thing like this appName+"@"+portalName+"@"+desktop"+"@"+desktopDefinitionLabel.
    You can actually use EntitlementConstants.RESOURCE_ID_DELIMITER instead of '@' symbol in the above expression.
    Hope it helps,
    Subba

Maybe you are looking for