Getting only one spool number for every print out

hi guys,
when i execute my customize program i suppose to get a form in my screen, showing customer statement, when I exicute customer A out put as expected with 5 pages but after that if i exicute customer B which is supposed to be 3 pages but I am getting 8 pages which is including first out put also, its repeating same spool number for every thing and keep on adding every page , please let me know where to see for this ?? 
for spool request    RS38L_FNAM
and to display         'COM_SE_SPOOL_DISPLAY'

Change ur table declaration as shown below, replace the word <b>TYPE</b> with <b>LIKE</b>
DATA: BEGIN OF i_final OCCURS 0,
srno TYPE i, " Serial no
anln1 LIKE anla-anln1, " asset code no
txt50 LIKE anla-txt50, " Brief Description of Assets
txa50 LIKE anla-txa50, " Further Description
ktogr LIKE anla-ktogr, " Asset Class No.
ktgrtx LIKE t095t-ktgrtx, " Asset Class Name
sernr LIKE anla-sernr, " Serial Number
invnr LIKE anla-invnr, " Assets Identification No
menge LIKE anla-menge, " Qty
meins LIKE anla-meins, " UOM
raumn LIKE anlz-raumn, " Location
lifnr LIKE anla-lifnr, " Vendor
liefe LIKE anla-liefe, " Capitalisation Date
aktiv LIKE anla-aktiv, " Date put to use
g_kansw LIKE anlc-kansw, " Opening Gross Block
b_kansw LIKE anlc-kansw, " Additions during the period
b_answl LIKE anlc-answl," Deductions/ Adjustmentsduring d period
g_total LIKE bsis-dmbtr, " Closing Gross Block
d_open LIKE anlb-afabg, " Dep on opening block
d_sold LIKE anlb-afabg, " Dep on assets sold/written off
d_add LIKE anlb-afabg, " dep on additions during the period
afabg LIKE anlb-afabg, " Total dep for the period
cd_sold LIKE bsis-dmbtr, " *** Dep on assets sold
cd_asst LIKE bsis-dmbtr, " *** Dep on assets written off
cd_dep LIKE bsis-dmbtr, " Total *** dep on deductions
ccd_dep LIKE bsis-dmbtr, " Closing Acc Dep
a LIKE bsis-dmbtr, " WDV of assets sold
b LIKE bsis-dmbtr, " Selling Price
c LIKE bsis-dmbtr, " Profit / (Loss) on sale
d LIKE bsis-dmbtr, " Loss on write off
e LIKE bsis-dmbtr, " Opening WDV
f LIKE bsis-dmbtr, " Closing WDV
END OF i_final.

Similar Messages

  • HT5661 someone stole my ipod 4g & icloud cannot track my ipod because the ipod is off. if someone reformats it to their icloud, can my icloud still track it by my registered serial number, as their is inly one serial number for every device.

    someone stole my ipod 4g & icloud cannot track my ipod because the ipod is off. if someone reformats it to their icloud, can my icloud still track it by my registered serial number, as their is inly one serial number for every device.

    No. If they reformat, you can no longer track it.
    Allan

  • I don't want to import PHOTOS. I want to get only one into Lightroom for temporary work. How do I do this. (the photo is now in Photoshop Elements).

    Don't want to import all photos from my camera or anywhere else. I only want to work on one image then put it back into Elements. Please tell me how to do this and I would appreciate a detailed answer. Please do not be vague.

    Lightroom is not a file browser, It isn't anything like the organizer in Photoshop Elements. Lightroom uses a catalog, which is a database. That database keeps track of the location of images that have been imported, as well as all of the adjustments that you make to those images using Lightroom. The import process is a process of showing Lightroom where the images are located on your computer. You can't just open an image in Lightroom, make changes and then close it. Lightroom doesn't make changes to the original image. Your images are left in their pristine state. All the changes are stored in the catalog. And when it comes time to share an image that has been adjusted in Lightroom you need to export a copy that includes all of those changes. It's a different workflow, and one that you need to become accustomed to. I suggest that you watch a series of short tutorials that will help you understand more completely how Lightroom works.
    Getting Started with Adobe Photoshop Lightroom 5 | Adobe TV

  • Get spool number for delivery output.

    Hi,
    Is it possible to get the spool number for a print output type generated for a delivery? I use the Tcode VL02N to view the output types generated for a delivery. I want to use this spool number to generate a PDF file.

    Hi,
    The below mentioned link shows how to get the Spool Request Number for the Output type and convert it to PDF and download. It uses mainly NAST and CMFP table.
    Link: http://wiki.sdn.sap.com/wiki/display/ABAP/GettingSpoolRequestNumberfortheOutput+type

  • Only one Apply button for Dashboard Prompt in obiee

    Hi experts,
    We have a need wer we need to place prompts at specified places like one at right top then next 3 one below other. But only one Apply button.
    Please let me know how to customize OBIEE 11.1.1.5 to achieve this.
    Thanks in advance.

    Hi,
    You are using OBIEE 11g ,so constrain the second report should be on the first prompt.I mean,In the second prompt properties we have an option like "based on the other prompt";where you need to give the first prompt column name.like wise third prompt also.
    Then you will get only one apply button for 3 prompts.
    mar if helpful/correct..
    thanks,
    prassu

  • Printing invoices with VF31 in only one spool request

    Hello,
    we want to print a number of invoices with VF31 using only one spool request, as at this time we become one spool request for each document.
    The problem is that VF31 calls indirectly RSNAST00 and this program makes a call to the print program where we have OPEN_FORM and END_FORM each time, so this creates one spool request every time the program is called.
    Is there a way to print in only one spool request without doing big changes to programs?
    Thanks and regards.

    Hi,
    To append to an existing spool, see the SAP Notes 85318 and 16410.
    For spools to be appended the parameters 'New spool request' and 'Do not Append Print Jobs' must be set to 'No' by the application creating the spools.
    For Sapscript, when the application call the function module OPEN_FORM in your print program, you can transfer a structure ITCPO to the parameter OPTIONS. Via ITCPO-TDNEWID, you can select the option 'New Spool Request'.Via ITCPO-TDFINAL, you can can select if the spool is closed.
    Regards,
    Aidan

  • Get Spool number for Smartform

    Hi All,
    I have created a smartform to print the POs created through ME21n. I have changed the config to use this smartform when a PO is changed/created. Everything is working fine. All I need is the spool number for each of the PO this is being printed. Can you please let me know how I can achieve this through the FM for smartform?
    I AM USING 4.6C.
    This is how I am using the function module
      CALL FUNCTION FM_NAME
           EXPORTING
                CONTROL_PARAMETERS = CONTROL
                OUTPUT_OPTIONS     = OUTPUT
                USER_SETTINGS      = ' '
                EKKO               = L_DOC-XEKKO
                PEKKO              = L_DOC-XPEKKO
                DRUVO              = L_DRUVO
           IMPORTING
                JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS
           TABLES
                EKPO               = L_DOC-XEKPO
                PEKPO              = L_DOC-XPEKPO
                XAEND              = IT_XAEND
           EXCEPTIONS
                FORMATTING_ERROR   = 1
                INTERNAL_ERROR     = 2
                SEND_ERROR         = 3
                USER_CANCELED      = 4
                OTHERS             = 5.
    All your inputs are greatly appreciated.
    Thanks!
    Sandeep

    Hi,
    JOB_OUTPUT_OPTIONS is of type SSFCRESOP, which does not have a SPOOLIDS field/table.
    I knwo that the function module SSF_CLOSE returns the spool id in a table. But, I am not sure how to use SSF_OPEN and SSF_CLOSE. Can you please throw some light on how I can use these to get the spool numbers?
    This is what I have right now.
      JOB_OUTPUT_OPTIONS-TDDEST = ITCPO-TDDEST.
      JOB_OUTPUT_OPTIONS-TDNEWID = 'X'.
      L_FORMNAME = TNAPR-FONAM.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                 FORMNAME           = TNAPR-SFORM
                FORMNAME           = L_FORMNAME
           IMPORTING
                FM_NAME            = FM_NAME
           EXCEPTIONS
                NO_FORM            = 1
                NO_FUNCTION_MODULE = 2
                OTHERS             = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION FM_NAME
           EXPORTING
                CONTROL_PARAMETERS = CONTROL
                OUTPUT_OPTIONS     = OUTPUT
                USER_SETTINGS      = ' '
                EKKO               = L_DOC-XEKKO
                PEKKO              = L_DOC-XPEKKO
                DRUVO              = L_DRUVO
           IMPORTING
                JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS
           TABLES
                EKPO               = L_DOC-XEKPO
                PEKPO              = L_DOC-XPEKPO
                XAEND              = IT_XAEND
           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.
      ELSE.
        SELECT RQIDENT RQOWNER RQCRETIME FROM TSP01 INTO TABLE IT_TSP01
        WHERE RQOWNER = SY-UNAME.
        IF SY-SUBRC = 0.
          SORT IT_TSP01 BY RQCRETIME DESCENDING.
          READ TABLE IT_TSP01 INDEX 1.
          SPOOLID = IT_TSP01-RQIDENT.
          PERFORM PROTOCOL_UPDATE USING '320' SPOOLID SPACE SPACE SPACE.
        ENDIF.
      ENDIF.
    The SELECT part is wrong, I need to replace this code to get the correct spool numbers.
    Thanks in advance.
    Sandeep

  • REQUIRE One spool request for n copies in one print command in smartform

    Hii Friends,
              I created a smartform..I require 5 copies of that form..There is a text which needs to be changed in evry copies...eg Original in first copy
                            Duplicate in second copy
                            Triplicate in third copy....n so on
    So i used a loop n i am calling smartform 5 times....The problem is i need one spool request to be created..
    Note: By default sometimes it create one spool request and sometimes 3 spool request...
    Pls share your inputs ............
    Thanks,
    Regards,
    Sujit.

    hi,
    this is more complicated see below description from help
    regards,darek
    Printing Several Forms in One Print Request
    Use
    You want to bundle several forms into one print job.
    Print Request vs. Spool Request
    SAP Smart Forms allows you to bundle several forms to form one output unit. This output unit is called a print request. A print request is different from a spool request:
    Whether a new spool job is created in the spool depends on the settings in the spool dialog.
    Whether a new print request starts depends on the standard parameters of the generated function module you set in SAP Smart Forms. For each print request, the spool dialog is called only once. If you suppress the dialog, you can pass parameters for spool processing only at the beginning of the print request.
    This means that a print request gathers several forms before submitting them to spool processing. Thus they cannot be spread over several spool requests. Vice versa however, you can include several print requests into one spool request.
    Procedure
    Use function module SSF_FUNCTION_MODULE_NAME to retrieve the name of the function module generated from the Smart Form (see also: Integrating the Smart Form Into the Application).
    Call the Smart Form for the first time and set the NO_CLOSE parameter of the control structure. This prevents the print request from being closed after accepting the output of the Smart Form and allows you to include all other form output into this print request as well. Leave the NO_OPEN parameter empty.
    Instead of calling the Smart Form for the first time you can also call function module SSF_OPEN .
    If you want to start a new spool request for the print request, set the TDNEWID field of the Output Options in this first call.
    For all other form output of the application program that you want to include into the print request, use a loop to set both the NO_OPEN field and the NO_CLOSE field of the control structure.
    To close the print request, in the call of the last Smart Form set the NO_OPEN parameter and unmark the NO_CLOSE parameter.
    Instead of calling the Smart Form for the last time, you can also call function module SSF_CLOSE .
    Result
    The forms you called in the steps described above are included into one print request. If in the first step you started a new spool request, you can now view its status in the spool request overview (transaction SP01 ).

  • Fbl5n: The printer provides me only one customer items for each page...

    Hi all,
    launching t.code FBL5N, and printing the repost list, the printer provides me only one customer items for each page...
    I'd like obtaining more customer items for each page...
    What to do?
    Thanks

    Hi Umberto..
    Thats how the standard report works..
    To meet your requirement, you would probably need to look at another standard report.
    In case you need further clarification, please feel free to write to me..
    Good Luck!
    Lucid-Mind...

  • Am I the only one that has had every charging cable (for my iPhones and my iPads) fail? Very frustrating. I got used to quality products from Apple but seems the small stuff is being overlooked nowadays.

    Am I the only one that has had every charging cable (for all of my iPhones and all of my iPads) fail? Very frustrating. I got used to quality products from Apple but seems the small stuff is being overlooked nowadays!

    I have yet to have a cable for my iPad 3, iPad 4 or iPhone 5 fail. I have multiple cables for each device without any failures.

  • Do I only need to have one serial number for Design Suite Premium?

    Hello,
    I just realised the other day that I had no registration details with my serial number on my account. I panicked because I didn't think I would be able to find any of my previous numbers. I have found serial numbers for my CS3 Design Suite Premium as well as the serial number for my CS5. Anyway, I just wanted to check that I don't need any individual serial numbers for Photoshop, Illustrator, InDesign, etc in order to re-install them onto another computer at a later date. Are they all grouped in the one serial number? I hope so, because I only have the one!
    Thanks for your help!

    Yes, suites only have one serial number for the whole package.
    Mylenium

  • Same spool number for same job on mutilple days

    Hi all,
    We have daily Batch job which runs at 9:00 PM for a 1 variant and with 2 variant after first job is done.
    On 11/05 we have got one spool number 845411 for the spool  and on the 11/09 for the same job we got the same spool number for 2 jobs , and the data is also showing as 11/05 only and the spool creation date is showing as 11/05 and modified on 11/10...
    This is happening for only 1  batch job, we have checked the other  jobs all are fine with different spool #, we have checked spool number range and every thing is fine.
    Please suggest   what can be the reason for this scenario...
    Thanks,
    Subhash.G

    Hi Subhash,
    Check the print parametes of the job, can be seen under steps --> double click on program --> print properties. There we have option to select new spool number.
    So every time the job runs it will have a new spool number. Hope this helps.
    Regards
    Sushant

  • Create spool number for sap script

    how to create a spool number for a SAP script. What is the program name which we should modify to write the code logic for spool creation for the tcode ME9F ?

    Hi,
    Spool Request in Transaction SP01 and there by generated a Spool Request Number.
    Spool request is a document for which a print function has been selected. However, it has not yet been output to a printer or another device. The output data for the print document is stored partly formatted in a data store until an output request is created, that is, until it is sent to a particular output device.
    The spool system uses a spool request to store the print data temporarily and to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.
    Output request: From the point of view of the SAP spool system, an output request outputs the print data of a spool request to a particular output device.
    Multiple output requests may exist for a single spool request. Each represents an instance of the output of the same spool request. Each of these output requests may have different attributes, such as the target printer or number of copies.
    By differentiating between spool request and output requests, the spool system provides a means of storing the data temporarily.
    You will get the spool no. in the parameter JOB_OUTPUT_INFO after calling the smartform function module in print program. The spool ids of the prints is stored in table JOB_OUTPUT_INFO-SPOOLIDS.
    Also if this spool is being generated internal to your program, then SY-SPONO should have the value.
    You need to create an Adobe Form Application, get the data from the backend based on Spool request number.
    You can create an application in Webdynpro, wherein when you click on a button and the Adobe Form is displayed with all the data from the backend and you should be able to print it.
    Does that answer your question ?
    Cheers,
    PANKAJ

  • Number for every record that is retrieved from (query)

    Hello
    I wish to put a number for every record that is retrieved
    from the record that is output by this query
    For example
    For the first recored/row
    Generated number, ksnumber, date
    1, gg111 11/05/05
    2, oo235 12/06/05
    the query returned 2 records 1 and 2 are the number that is
    generated with this code.
    In addition if there is a built in function, where in the
    code do I put it???
    <cfquery name="gelov datasource="kl90">
    SELECT
    FROM
    WHERE
    ORDER BY
    <cfswitch expression="#Form.orderBy#">
    <cfks value="KSNUMBER">
    KS.KS_NBR
    </cfks>
    <cfks value="CREATIONDATE">
    KS.KREATDAT
    </cfks>
    </cfswitch>
    </cfquery>
    <!---html report--->
    <cfswitch expression="#Form.outputFormat#">
    <cfks value="HTML">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Ctwye Kss Report</title>
    </head>
    <style type="text/css">
    table{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    td{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    h2{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    h3{
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    </style>
    <body>
    <cfoutput>
    <table border="0" cellpadding="3" cellspacing="0">
    <tr>
    <td align="center">
    <h3>Ctwye Kss
    Report</h3><br><br></td>
    </tr>
    <tr>
    <td align="center">
    </h2>report returned #getCtwyeKss.RecordCount#
    records</h2></td>
    </tr>
    <tr>
    <td>
    <table border="1" cellpadding="2" cellspacing="0">
    <tr>
    <td width="160">Ks Number</td>
    <td>Creation Date</td>
    <!--- <td class="dataField">Address</td>
    <td class="dataField">Type</td>
    <td class="dataField">Description</td>--->
    </tr>
    <cfloop query="getCtwyeKss">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#KS_NBR#</td>
    <td>#dateformat(KREATDAT,"mm/dd/yyyy")#</td>
    </tr>
    </cfloop>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    </cfoutput>
    </cfks>
    <cfks value="CSV">
    <CFHEADER NAME="Content-Disposition" VALUE="attachment;
    filename=ctwye.csv">
    <cfcontent type="application/msexcel">"Ks
    Number","Creation Date"
    <cfoutput
    query="getCtwyeKss">#ltrim(KS_NBR)#,"#dateformat(KREATDAT,"mm/dd/yyyy")#"
    <tr #IIF(getCtwyeKss.CurrentRow MOD
    2,DE(''),DE('backgroundColor="##999"'))#>
    <!---<tr bgcolor="<cfif currentrow mod
    2>##808080<cfelse>##ffffff</cfif>"> --->
    </cfoutput>
    </cfks>
    </cfswitch>

    <cfks> is not a Coldfusion tag. Use <cfcase>
    instead.
    The following code will print the row numbers
    <cfquery name="gelov" datasource="kl90">
    select ksnumber, date
    from yourTable
    </cfquery>
    <cfoutput query="gelov">
    #currentrow#, #ksnumber#, #date#<br>
    </cfoutput>

  • One skype number for multiple users in Skype Manag...

    Is it possible to get one Skype-in phone number and assign it to multiple members in Skype Manager?
    If so, how do I go about it?
    I also asked this here: http://community.skype.com/t5/Skype-Number/One-skype-number-for-multiple-users-in-Skype-Manager/m-p/...

    You could always allocate a number to multiple business accounts in Skype Manager. Then re-direct the number via IP-PBX to go to different extensions.
    Try the following here [If you look in the advanced section of this manual, you'll see an example of two accounts using one number]
    http://download.skype.com/share/business/guides/skype-connect-user-guide.pdf
    7.5 Online Numbers for incoming calls
    You can use both business Skype accounts and Online Numbers simultaneously on a
    single SIP Profile if you wish. In other words, you may have multiple business accounts
    and Online Numbers added to one SIP Profile at the same time.
    7.5.1 Adding an Online Number to your SIP Profile
    Shows you how to setup such
    Thanks,
    Kent C.

Maybe you are looking for