SSF_OPEN generating spool only for LOCL Device

Hello all,
I am using SSF_OPEN and SSF_CLOSE function module and in between i am calling two function modules.
I have to generate a spool request for the smartform output (No preview) with the output device mentioned through selection-parameter.
The problem i am getting is , the spool is always generating for device 'LOCL' , no matter what device i give in the selction parameter.
Please help me solve this issue.
Here is the code snippet i have used:
  lw_control-no_open   = 'X'.
  lw_control-no_close  = 'X'.
    lw_control-no_dialog = 'X'.
    lw_option-tdnewid   = 'X'.
    lw_option-tdimmed   = 'X'.
    lw_option-tddest    = p_ldest.
    lw_option-tddelete  = space.            "Delete After Printing
*Opens an internal session of smartform,
* call all smartforms in this sessions
  CALL FUNCTION 'SSF_OPEN'
    EXPORTING
      control_parameters = lw_control
      output_options     = lw_option
    IMPORTING
      job_output_options = lw_job_output
    EXCEPTIONS
      exceptions
      formatting_error   = 1
      internal_error     = 2
      send_error         = 3
      user_canceled      = 4
      OTHERS             = 5.
What are the parameters to be passed to the  smartform? is it sufficient if passed control parameters here only on SSF_OPEN Fm ?
Regards,
Giri

Kindly use in this way to generate spool as per your required output device
data : tspoolid1 type ssfcrespd,
        tspoolid2 type ssfcrescl,
        tspoolid3 type ssfcresop,
        spool type ssfcrescl-spoolids,
        control_parameters type ssfctrlop,
        output_options     type ssfcompop.
  output_options-tdnoprev = 'X'.
   output_options-tdnewid = 'X'.
   output_options-tdimmed = 'X'.
   output_options-tddelete = 'X'.
   control_parameters-no_dialog = 'X'.
    output_options-tddest = 'LP02'.
call function fm_name
     exporting
       control_parameters   = control_parameters
       output_options       = output_options
       user_settings        = ''
       goodsmvt_header      = goodsmvt_header
       poheader             = poheader
       ch1                  = ch1
       head                 = ch2
     importing
       document_output_info = tspoolid1
       job_output_info      = tspoolid2
       job_output_options   = tspoolid3
  *   tables
*   EXCEPTIONS
*     FORMATTING_ERROR           = 1
*     INTERNAL_ERROR             = 2
*     SEND_ERROR                 = 3
*     USER_CANCELED              = 4
*     OTHERS                     = 5.
if tspoolid2-spoolids is not initial.
* To hold the value of tab index
     spool = tspoolid2-spoolids.
     read table spool into wa_spool index 1.
     concatenate 'GRN_NOTE_' v_mblnr into v_npdf.
**  v_npdf = v_mblnr.
     submit rstxpdft4 using selection-screen '1000'
                      with spoolno eq wa_spool
                      with p_file  eq v_npdf
                      and return.
   endif.
Many Thanks / HImanshu Gupta

Similar Messages

  • After downloading latest Reader software (11) on my Mac (OS10.7.5) I cannot print pdf files on either of my two printers. How do I uninstall and reinstall the software?  Adobe's instructions are only for Window devices.

    After downloading latest Reader software (11) on my Mac (OS10.7.5) I cannot print pdf files on either of my two printers. I suspect corrupt software.  How do I uninstall and reinstall the software?  Adobe's on-line instructions are only for Window devices.

    You can just drag the file to the trash. If you want you can remove  the pdf plug-in from the internet-plug in folder, but that should not be necessary to correct your problem.

  • How To Generate Spool request for a SAP-Script form

    How To Generate Spool request for a SAP-Script form

    Hai   Rahaman,
    After getting the print preview of the SCRIPT.
    Click On  PRINT.
    Buttom of the page one spool request will be generated by system.
    Go to  SP01.
    You Can Find  SPOOL Reqest Number.
    Regards.
    Eshwar.

  • Long time for generating spool request for smartforms

    Hi,
    I'm have designed a  smartforms for printing a Receipt form. It takes about 1 minute for generating spool request after pressing the PRINT button in PRODUCTION Server only.
    The Code i used is below
    CALL FUNCTION lv_fname
      EXPORTING
          p_belnr                    = p_belnr
          p_bukrs                    = p_bukrs
          p_gjahr                    = p_gjahr
    EXCEPTIONS
       formatting_error           = 1
       internal_error             = 2
       send_error                 = 3
       user_canceled              = 4
       OTHERS                     = 5
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      Please help me out to sort this issue.
    Thanks,
    Ramesh
    Edited by: Rameshkumar Raamasamy on Mar 4, 2012 6:21 AM

    Hi Rameshkumar,
    you may look at the code sections of your smartform: If you have a lot more data in production than you have in development, it is especially important to use a fully specified primary key for any SELECTs.
    You may also ask your basis people to check if any performance warnings have been recorded with database system. This happens quite frequently that growing database tables cause problems when table spaces are not properly assigned or table sizes are not maintained adequately.
    Regards
    Clemens

  • To generate quota only for disabled employees

    Hi All,
    i have one requirement here. i need to generate quota for challeneged employees. but there is no separate ESG for time quota to identify challeneged employees.
    i created challeneged groups in challenge infotype 0004. ans assigned this challenged group in genaration rule for quota types. but it is showing quota for all employees in time evaluation , It is not picking up the information from IT 0004.
    i want to resrtict quota for all employees. it should display challenged quota only for challenged employees, when i assign challenge group in generation rule for quota types.
    can anybody provide me the solution for this. it isd urgent. rewards will be given.
    Regards
    Vani

    Hai..
    Check Infotype 82.. Special Absences..
    Special Absence Data
    Additional Absence Data
    Define Types of Additional Absence Data
    Create Workers' Compensation
    Define Events for Absence Data
    Link Absences to Additional Absence Data

  • Is there any FM to generate spool request for error log of a background job

    Hi,
        I am going to create a program to create deliveries and do PGI. This program will be assigned to periodic background job.Now whatever  errors are generated in program i have to send the error log to spool request.Is there any FM for generating spool request with this error log  or how can this be done? Kindly provide sample code if possible.
    Thanks.
    Nimish Dongare.

    Hi Nimish,
    How are you doing, This is Shreekant working as ABAP developer, I sow your post in sdn forum, I have a similar requirement like I am changing the delivery taking some data from a flat file which is coming from other system and do PGI. If any error occurs during this process I need to capture it and present it as a report or create log file.. whichever is easier.
    Please can u help me how did u achieved this functionality for your requirement?.. pls. can u share some details.
    If u don mind, can u give me ur email id to communicate.
    Thanks,
    Shreekant

  • RBCA_PP_SIF_RUN_PP_TEMPLATE generates spool only in debug mode

    Hi
    I have developed a PP report based on the templaate RBCA_PP_SIF_RUN_PP_TEMPLATE. The report is a simple selection and is supposed to write to the spool (success or error messages). Using WRITE <text> should write to the spool for every job under this parallel processing.
    When I am debugging the code, or simply set a breakpoint (BCADEBUG) and execute, spool appears. But if i simply run the job with same variant (no debugging, no BCADEBUG), the spool does not appear.
    Any suggestions why this is happening ans how to generate spool in all modes.
    Regards
    Vikram

    Hi Billy,
    this is nasty.
    My strategy for this situation would be to start 2 browsers.
    In 1 browser session I use the Apex Application Builder and in the other (in private/ incognito) browser I run the application in debug mode.
    The debug information can be viewed in the Application Builder using the Utillities or by using the URL to the debug screen directly like so
    http://localhost:8888/pls/apex/f?p=4000:19:<APP_SESSION>:::RIR,19:IR_APPLICATION_ID,IR_PAGE_ID:<APP_ID_OF_APP_TO_DEBUG>,<PAGE_TO_DEBUG>regards,
    Erik-jan

  • Weblogic Access Logs not getting generated / updated only for Admin server

    Hi All,
    I have a query ,
    We recently noticed that the weblogic access logs for our admin server are not getting generated.
    However we checked that the access logs are getting generated for the managed servers that we have.
    There is not much difference between the logging settings between the admin and the managed servers.
    We thought that there might be some problem with the buffering and that the data might not be written to the files immediately.
    So after researching we found the parameter "-Dweblogic.logging.bufferSizeKB=0" and added that to the java options however it did not make any difference.
    Also we tried modifying the config script as ,
    <server>
    <web-server>
    <web-server-log>
    <buffer-size-kb>0</buffer-size-kb>
    </web-server-log>
    </web-server>
    </server>
    However no luck .....
    We are using weblogic 9.2 MP3 and think there might be some bug with this version , however its hard to believe that the logs are generated and updated for managed servers and not for the admin servers.
    The only thing we notice in the access logs of the admin server is 404 errors.
    Any suggestions ?
    Regards,
    Stacey.

    This has come up recently here:
    access log not writing to disk in a timely fashion
    I didn't find that buffer-size-kb capability in the docs in 9.2. I recommend checking with support.

  • Mifi 5510l pop the battery out and on the white barcode label at the bottom right is a 6 digit code. is that 6 digit only for my device or other devices alike ? what is that 6 digit number called ?

    what is that 6 digit number called ?

    The photo did not attach but I think I can see on my own devices the 6 digit number you are referring to.  Both the 4510L and the 4620L have these 6 digit numbers posted near the IMEI number.  I would assume that these are batch numbers from the production process and are not unique for each individual device.  6 digits does not give you very many possible models to work with.
    While the origins of that specific number are not certain we can confirm for you that the MAC and the IMEI are much more reliable identification numbers to go from.  If the MAC and IMEIs from your coworkers photo do not match the MAC and IMEI of the device in your hand then there is nothing to debate.  If they do happen to match well then you may have to dig into the problem a little more.
    IMEI's are sprint identification numbers.  MAC addresses are hardware identifications used on a network.  Although IP Addresses can be dynamically assigned to anyone, a MAC address is always going to be unique and the same for a specific device.  These two should be entirely unique for each device according to the stickers on the backs of the jetpacks.

  • I am using my Apple ID on multiple devices for other people. How can I make icloud work only for my devices?

    I am using my Apple ID on multiple devices for other people in my family and now I am getting a new iphone and want to take only the information on my old iphone to the new one without the information on the other devices using the same account. Is there a way to do that?
    Also, for the future can I use multiple addresses and apple IDs for the same credit card information?
    Thanks in advance,
    Marian

    Ok, so you want to remove data (contacts, bookmarks, calendar etc) from other users from your iCloud/Apple ID?
    If you want to use your ID for your family because it is the account everybody uses to buy stuff then you only need to ensure that your apple ID is set up in the store (settings-store) and then the users of each device and put their own apple ID in icloud/message/facetime/etc.
    To set up your device, in my opinion, it is best to back up to itunes, and then plug your new device into itunes and "set up as ..." and select the backup from your device.  This will import all your data/settings and your new device will be set up just like your old one.
    I am not certain about using the same payment method for more than one account. 

  • [J2ME Polish] How to generate jad/jar for all devices?

    Hello,
    I've developed a J2ME Polish application using Netbeans 6.1 as IDE.
    Now I'd like to generate the corresponding jad/jar for all the existing devices. How can I do that?
    Furthermore, as soon as I'll have generated all these jar/jad, I'd like to put them all in a Web directory in order to make each device able to download the jad/jar corresponding to its configuration. How can I switch a given device towards the appropriate jad/jar in this Web directory?
    Help me please, I'm really confused!
    Thanks you in advance.
    /arkienou

    Even though JDK1.4 is not officially shipping the
    Java Plugin 1.4 documents on Security are fairly
    good. Check out :
    http://java.sun.com:80/j2se/1.4/docs/guide/plugin/developer_guide/contents.html
    http://java.sun.com:80/j2se/1.4/docs/guide/plugin/developer_guide/rsa_how.html
    regards,
    atsSun
    Sun Microsystems

  • HT4859 Can I restore an individual app from iCloud when a corrupt app needs to be reinstalled? Or is restore only for new devices?

    Can I restore an individual app from iCloud backup? I need to reinstall a corrupt app on an existing iPod device and need to restore the associated data. App in question is Ultimate Password Manager. Can no longer unlock the safe and there doesn't seem to be a way to reset the master password.

    Welcome to the Apple Community.
    You can only restore the whole device from backup, you can't restore individual items.

  • Does itunes movies only for apple devices

    my daughter purchased a movie on itunes though she does not have an ipad or ipod she has a tablet, my question is can i download the movie she bought to her tablet?

    Note that iTunes can only be installed on Mac OS X or Windows. So if the tablet is running Android or some other operating system (WebOS, etc.), she will not be able to watch movies from the iTunes Store on that tablet.
    Regards.

  • Sitemap Generator only for storeSiteUS in CRS

    Hi, as for the Sitemap Generator ver.3.1.1, what number should we specify to generate data only for Store US ? We have set Value ID of storeSIteUS for <ROOT_QUERY> tag, which is the Dimension Value of CRS, however, data of storeSiteDE is also generated.
    We have checked CRS.dimensions.xml under /usr/local/endeca/apps/CRS/data/forge_output to check the correspondence between Dimension value and value id, and checked the dimensionValue of product.siteIdm and set the value id of storeSiteUs, and set it.
    Could you tell us what is the correct value to be set on N in <ROOT_QUERY> ?
    We have checked following guide but not clear about what id should be set:
    http://docs.oracle.com/cd/E39203_01/SMG.311/pdf/SitemapGenGuide.pdf
    http://docs.oracle.com/cd/E38682_01/MDEX.640/pdf/BasicDevGuide.pdf
    http://docs.oracle.com/cd/E35648_01/SEO.21x/pdf/URLOptimizationAPINET.pdf
    Thanks,
    Yuki

    Can you please elaborate on this
    We have set Value ID of storeSIteUS for <ROOT_QUERY> tag, which is the Dimension Value of CRS, however, data of storeSiteDE is also generated. For the defaultUrlENEQuery you have to replace N=0 with the N-id of the dimension that separates your US data from DE data.
    <property name="defaultUrlENEQuery">
    <value>N=0</value>
    </property>
    Pankaj.

  • Disabled mpxio only for I/O backup

    Hi,
    I have an issue related slow backup performance,
    Based on recommendation :  mpxio does not requires enabled for tape connection
    In the list paths below :
    #luxadm -e port
    /devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl        CONNECTED   --> tape connection
    /devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl      CONNECTED --> disk connection
    /devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl        CONNECTED  -->disk connection
    /devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
    mpxio have been enabled when executed using stmsboot command except the following path only for tape  :
    /devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl 
    or
    root@eccprod-DRC#grep /pci@400/pci@1/pci@0/pc /kernel/drv/fp.conf
    name="fp" parent="/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0" port=0 mpxio-disable="yes";
    Means:
    there is a existing one hba card with dual fc port which connected to each connection,one connection for tape and other for storage
    My question:
    1.  is this caused that the tape and storage connected at one hba ?
    2.  whether the tape should have a dedicated connection in one hba card ?
    Need your suggestion
    Best Regards
    -jodi

    Hi.
      Disable MPXIO pon port for tapes - It's normal.
      Disk and Tapes on same HBA on different ports - not should cause any problems.
    You say about low performance but not show any informwation about perfomance.
    iostat -xnz 5 5 at time of backup can give more usefull information.
    Regards.

Maybe you are looking for

  • Disable right click zone w/ 18.0.7.34 driver?

    Is it possible to disable the right click zone on the Thinkpad Yoga touchpad (bottom right area) when using the Synaptic Touchpad driver v. 18.0.7.34? I'm sure there's personal prefernce, but I find the right click zone makes the touchpad very finick

  • Digital Goods are non-taxable in my state, but iTunes collected anyway...

    I just purchased non-free items in iTunes for the first time. I was very surprised to be charged 6% sales tax on my digital items. I did some checking - there are several states where Digital Goods can be taxed, but my state, currently, is NOT one of

  • SAP PS & SAP Project Management

    Hi all of you, Can any one give me clarity on the available functionalities in SAP Project Systems and that of SAP Project Management. My requirement is, my client is using one Project Management tool, where can get all the project monitoring and as

  • Wrong values for Total stock - Inventory managment ( negative values)

    Hi, I loaded inventory management load 2LIS_03_BF   INIT 01.06.2009 - 06.7.2009 No Marker Update (compressed with check) 2LIS_03_UM  INIT 01.06.2009 - 06.7.2009 No Marker Update (compressed with check) the first quantity received is from 11.06.2009 

  • Set attribute value using plugins

    Hi Experts, I am facing error when setting the value of attribute in the event "OnInvestigationStartedEvent". Any suggestion to fix the issue code:             Session ses = onInvestigationStartedEvent.getSessionContext().getInterviewSession().getRul