How to identify a Spool generated.

Hi Guru's,
I am working on a print program, once the program is exicuted i am saving the data into a Ztable.
Now wat i want is that to save the o/p data only when a print is taken but not when only print preview is viewed.
for this i am thinking of updating a flag while a spool is generated and then update into table checking the flag. So can anyone tell me how cani do it?? also if any other alternative please suggest.
Thank u in advance.

Hi balvij,
[Spool Request|http://help.sap.com/saphelp_nw70/helpdata/en/d9/4a8ffc51ea11d189570000e829fbbd/content.htm]
Regards,
Sravanthi

Similar Messages

  • How to identify the system generated program for any standrd extraction?

    Hi all,
    How to identify the standard program generated for any extraction takes place. Is there any tcode to figure out the standard abap prgms for the datasource.
    for instance:
    for the data source : 2LIS_02_SCL what is the standard extractor program used.
    Thanks
    Pooja

    Hi hemanyt,
    i cant find the table RSTRAN active.
    Thanks
    Pooja

  • How to identify an order generated by heuristics run or entered manually

    Hello Gurus,
                Is there any way to identify an order in the distribution receipt keyfigure in SNP planning book is generated by heuristics run or entered manually.
    Thanks,
    Siva.

    Hi Siva,
                Please get me answer for the following:
    Go to transaction /sapapo/rrp3 and create a order manually by entering future date and a positive qty.
    Press enter and execute the popup.
    There should be an order created. if it is inhouse production, ti would be a planned order and if it is external, it would be a purchase requisition.
    Now,
    in the command prompt window (this is where you enter the transaction codes in SAP window- Top left blank window) enter "GT_IO". This should get you to live cache view.
    Question:
    1. What is the order category for the order created? ( AJ or EE or EA or...)
    2. Are you following the above procedure or using SNP planning book to create your orders.
    if not both please explain your procedure step by step as I did.

  • How to edit the contents of spools generated by smartforms

    Hi All,
    I am developing a print form using print work bench & smartforms.
    There is a requirement to generate both preprinted forms (contains only datas) and Non-preprinted forms (contains u2026 data + layout + colors + picturesu2026etc) using a single smartform.In which the non-preprinted part should only get converted into pdf & preprinted should only be get printed.
    For this I am making a replica of the first two pages of non-preprinted into preprinted format in the same smartform(total 4 pages).
    Here I am able to extract & save the non-preprinted part from the spool into PDF.
    After the above process, I want to edit the spool content, & then sent to printer.
    But clueless about editing the spool content...
    ( for eg:- delete the first two pages of content in the spool & print the rest)
    So my question is u2026.
    -Is it possible to edit the contents of spool generated by smartforms u2026 ?
    (Is it possible to copy the content of existing spool ,edit, save it into new spool  and delete the old one. )
    Any solutions / suggestions u2026 ?
    Thank you for your attention.
    With Regards,
    santh

    Hi Niki,
    Thank you for your time & suggestions....
    >
    Niki wrote:
    >
    > try to control it in smartform itself.....(above idea will not work).
    >
    > try this ...
    >  from ur driver program pass a variable to identify o/p is preprinted forms or non-preprinted forms
    Yes, I got your point... I even tried this option also.
    First of all the user want both(preprinted-hardcopy & non-preprinted pdf) form in a single process, so that data integrity is maintained both in hardcopy & soft copy.
    Even if I negotiate tha above requirement....
    The problem is , I am using Print WorkBench , not an user-defined driver program.Inside printworkbench , the smartform is mentioned.
    The process is as follows...
    ea40/ea60(isu billing transaction) -> Printworkbench ->smartforms -> spool -> printer(preprint part) / pdf(non - preprint).
    Hope u understand my limitations....
    Still expecting a solution...
    Regards,
    santh

  • Why Tran.Request is not generated in some cases?How to identify such case ?

    Hello Support,
    In some cases
    Eg;
    1. Defining number ranges we normally do not create a Transport Request.
    2. Maintaining characteristics values for each characteristic incase of Release Strategy
    Is there any method by which we can find out the areas where we are not required to create Transport Request? If Yes , please let me know the steps involved in identifying the same .
    Also let me know what do you mean by open Client . Thanks in advance.
    Regards
    Ramesh Ch

    Hi Juergen ,
    Is there any method by which we can find out the areas where we are not required to create Transport Request? ( How to identify the areas where Transport request is not generated ) .
    If Yes , please let me know the steps involved in identifying the same .
    Also let me know what do you mean by open Client . Thanks in advance.
    Regards
    Ramesh Ch

  • How can we identify idoc is generated from ale or edi

    hi friends,
    This is interview question asked in tcs,
    how can we identify idoc is generated from ALE or EDI.
    please give me reply if anybody knows
    thanks,
    hari priya

    Idoc created by ALE is a means of migrating DATA between SAP systems. You configure logical destinations, establish some migrating criteria and the system takes care of getting your data from point A to point B
    Where as Idoc created by EDI is described as the interchange of structured data according to agreed message standards between computer systems, by electronic means. Structured data equates to a simple and direct method of presenting the data content of a document. The method of ensuring the correct interpretation of the information by the computer system is defined by the EDI standard."
    EDI is a technique used to communicate business transactions between computer systems of different companies and organizations. Note that sometimes the EDI mechanism deployed at a company is often used to interface to other systems within the same organization."
    Also refer to these lonks:
    www.sapgenie.com/sapedi/edi_sap_training.htm
    www.sap-img.com/basis/ difference-between-edi-and-idoc.htm
    www.help.sap.com/saphelp_nw04/helpdata/ en/35/26b592afab52b9e10000009b38f974/content.htm
    www.help.sap.com/saphelp_nw04/helpdata/ en/35/26b594afab52b9e10000009b38f974/content.htm
    http://www.onestopsap.com/interview-Question/edi/
    IDocs act as data containers in an ALE scenario. They are just a format of storing application data and then transferred using ALE. Take a look at http://www.sapgenie.com/ale/why_ale.htm and http://www.sapgenie.com/sapgenie/docs/ale_whitepaper.doc for further details on ALE.
    Check this link.
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.henrikfrank.dk/abapexamples/IDOC/IDOC.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/0b/2a6095507d11d18ee90000e8366fc2/frameset.htm
    Reward points if found helpful...
    Cheers,
    Chandra Sekhar.

  • How to identify and look at the sid generated for ods?

    hi all,
    Can anyone let me know how to identify the sid id generated for ods and look at the sid id generated for any ods.
    thanxs
    haritha

    Hi,
    NO SIDs are created for ODS,
    When Creating an ODS if we select BEx Reporting Check Box then the SIDs for the Master Data will be created.
    Actually SIDs are created when Activate Master data and Dimension Ids are created when we Activate Transactiona Data.
    Hope This Helps,
    Regards,
    rik

  • How to identify the textbox name if they are generated dynamically

    hi
    i want to know how to identify the textbox name when they are generated dynamically. the text boxes name may vary.
    if u know tell me.
    thanx

    Try the following Code :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnShowTextBoxNames()     {
         var count = document.formHeader.elements.length;
         for(i=0;i<count;i++)     {
              var objType = document.formHeader.elements.type;
              if(objType=="text")     {
                   alert("Name Of TEXTBOX NO "+(i+1)+" --> "+document.formHeader.elements[i].name);
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box1" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box2" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box3" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box4" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box5" value="" >
    <br><br>
    <input type="button" name="btn" value="Show TextBox Names" onClick="javascript:fnShowTextBoxNames();">
    </CENTER>
    <input type="hidden" name="boxCount" value="5"/>
    </FORM>
    </BODY>
    </HTML>
    Hope this suffice ur requirement !

  • How to identify migrated rows on a table

    Hi, folks,
    I'm wondering how to identify migrated rows on a table.
    I understand that ANALYZE generates data into CHAINED_ROWS. The Oracle document implies that this table has both CHAINED ROWS and MIGRATED ROWS. FYI:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/general.htm#sthref1881
    But how can I tell migrated rows from chained rows.
    Thanks!
    Alex

    im also not looking to ExporttoExcel feature on ADF just copy all the records displayed on a table
    im also not looking to ExporttoExcel feature on ADF just copy all the records displayed on a table ,
    Hi you can set the property( exportedRows) of exportListener
    you can limit the number of rows to download
    chekout documentaion
    ADF RichClient API - af:exportCollectionActionListener

  • How to create a spool requset for 'z program'.

    Hi,
    Could anybody please tell me how to generate a spool request for a Z program. and how to check the spool request.
    Regards
    sathish

    Hi ,
    You can check the following code for reference
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
        IMPORTING
          eventid                 = gd_eventid
          eventparm               = gd_eventparm
          external_program_active = gd_external_program_active
          jobcount                = gd_jobcount
          jobname                 = gd_jobname
          stepcount               = gd_stepcount
        EXCEPTIONS
          no_runtime_info         = 1
          OTHERS                  = 2.
    ENDFORM.                    " get_job_details
    *&      Form  obtain_spool_id
    To obtain the spool ID generated
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004 WITH gd_spool_nr.
      ELSE.
        MESSAGE s005.
      ENDIF.
    ENDFORM.                    " obtain_spool_id

  • How to identify a One time Customer in Oracle Apps AR

    Hello,
    How to identify a One time Customer In Oracle APps AR?
    Is it possible to find out how many number of transactions a Customer does so that, if the number of transactions is 1, then that customer is a one time customer. or else he is not?
    Thank you
    Bob

    Hi Bob,
    to my knowledge, i cannot recollect a seeded report from oracle that could meet your requirement. You can try running the Transaction Register report from your Go live date till now, so that system would generate a list of all the Invoices along with the Customer Name, then you could export this to excel and perform a sort, filter and groupby to get the desired result ....
    However if you are a person with technical expertise, check the table RA_CUSTOMER_TRX_ALL this stores all the transaction related information ..... you can select TRX_NUMBER, BILL_TO_CUSTOMER_ID from this table and perform a count by customer...(I am not sure on the syntax and usage of sql functions) you can get the desired results ...
    Also in future, while creating a new customer if you know well in advance that this customer is going to be an ONE TIME CUSTOMER, there you could capture that information in any unused field on the customer configuration or can enable a DFF and capture this information, so it becomes very easy to identify such customers or have a report built based on it...
    I assume there is an objecive behind trying to find One time customers or customers with a single transaction history ... are you planning to disable/end date/inactivate such customers ....?
    Regards,
    Ivruksha

  • How to identify Draft Number of PO

    Hi Friends,
                     I want to know about how to identify Draft number.When Draft get opened its shows DocEntry in PO .And if i will not add that draft and generate another draft then similar number get shown on PO.And in ODRF table also its stored same number.
         So how can I identify which draft number gets Opened??
    Thanks & Regards
         Swati

    Hi Vasu,
         I have added one folder in PO.In that Folder I have added one Matrix to add some information.So When PO gets added the all data of that matrix get added into my table.
       But now problem is when PO sent for Approval its converted into Draft.So My Problem is ,The person who Approve that PO he is not able to show Data which I have added into Matrix of new Folder. So to show the Data to him I want Draft Number.
       This PO draft is not added so I cant use Draftkey form table.And there are lots of similar PO number entries in ODRF table so how can I identify which Draft gets Open at a time of Load??
    Thanks & Regards,
        Swati

  • How to identify what are all the events are created in background jobs?

    Hi all,
    how to identify what are all the events are created for  background jobs. And what events gets triggered for a particular job.
    thanxs
    haritha

    Hi Haritha,
    JOB is a program which starts to a determined point of time and executes some standard programs in the system. JOBs can be planed to a determined point of time on the regular basis (every night, for example) or to some discret time moments. So, the JOB can be planed and then will be started automatically without the manual start.
    Realtime programs are understood in the most cases as actual program execution which is started by somebody to the actual moment of time.
    Typically per JOBs some special processes will be started that should be executed automatically and regularly: for example, IDOC application, some correction reports, statistic updates etc.
    Standard jobs are those background jobs that should be run regularly in a production SAP System These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
    Use
    As of Release 4.6C, the Job Definition transaction ( sm36 ) provides a list of important standard jobs, which you can schedule, monitor, and edit.
    Standard jobs are those background jobs that should be run regularly in a production SAP System. These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
    for more information you can go thru the following thread:
    http://help.sap.com/saphelp_nw70/helpdata/en/24/b884388b81ea55e10000009b38f842/frameset.htm
    About Events:
    Events have meaning only in the background processing system. You can use events only to start background jobs.
    Triggering an event notifies the background processing system that a named condition has been reached. The background processing system reacts by starting any jobs that were waiting for the event.
    Types of Events:
    There are two types of events:
    1.)System events are defined by SAP. These events are triggered automatically when such system changes as the activation of a new operation mode take place.
    2.)User events are events that you define yourself. You must trigger these events yourself from ABAP or from external programs. You could, for example, signal the arrival of external data to be read into the SAP system by using an external program to trigger a background processing event.The event scheduler processes an event if the event is defined in the system.
    For example, if a system (System 1) receives an event from another system (System 2), the event scheduler of System 1 processes the event only if it is defined in System 1. That event does not need to be defined in System 2 (the sending system).
    You define an event by assigning a name (EVENTID) to it. When defining an event, you do not define the event arguments.
    for more information you can go thru the following thread:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096e2a543b11d1898e0000e8322d00/frameset.htm
    When you schedule the process chain or infopackages the jobs associated with it run in the background mode. In case you want to create a job for a specific activity you can do so in SM36. You would be creating jobs that would get executed in any one of the options:
    1. Immediate
    2. Date & Time
    3. After event.
    4. After job.
    5. At Operation mode.
    In case you want to view the job logs go to sm37.
    Also Pls check DB02 for database performance and ST03 for workload .
    Analyse u will have an idea ,
    *pls assign points,if info is useful**
    Regards
    CSM reddy
    null

  • How to see the spool request number

    hi experts,
    how to see the spool request number of any object......
    may be form or report........

    U can go to SP01/SP02.
    For generating spool u can look into this code.
    FORM write_to_spool.
      DATA : l_f_list_name LIKE pri_params-plist,
             l_f_destination LIKE pri_params-pdest,
             l_f_spld LIKE usr01-spld,
             l_f_layout LIKE pri_params-paart,
             l_f_line_count LIKE pri_params-linct,
             l_f_line_size LIKE pri_params-linsz,
             l_f_out_parameters LIKE pri_params,
             l_f_valid.
      l_f_line_size = 255.
      l_f_line_count = 65.
      l_f_layout = 'X_65_255'.
      l_f_list_name = sy-repid.
    to get defult spool device for the user
      SELECT SINGLE spld INTO l_f_spld FROM usr01 WHERE bname = sy-uname.
      IF sy-subrc = 0.
        MOVE l_f_spld TO l_f_destination.
      ENDIF.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            ARCHIVE_ID             = C_CHAR_UNKNOWN
            ARCHIVE_INFO           = C_CHAR_UNKNOWN
            ARCHIVE_MODE           = C_CHAR_UNKNOWN
            ARCHIVE_TEXT           = C_CHAR_UNKNOWN
            AR_OBJECT              = C_CHAR_UNKNOWN
            ARCHIVE_REPORT         = C_CHAR_UNKNOWN
            AUTHORITY              = C_CHAR_UNKNOWN
            COPIES                 = C_NUM3_UNKNOWN
            COVER_PAGE             = C_CHAR_UNKNOWN
            DATA_SET               = C_CHAR_UNKNOWN
            DEPARTMENT             = C_CHAR_UNKNOWN
               destination            = l_f_destination
            EXPIRATION             = C_NUM1_UNKNOWN
               immediately            = 'X'
            IN_ARCHIVE_PARAMETERS  = ' '
            IN_PARAMETERS          = ' '
               layout                 = l_f_layout
               line_count             = l_f_line_count
               line_size              = l_f_line_size
               list_name              = l_f_list_name
            LIST_TEXT              = C_CHAR_UNKNOWN
            MODE                   = ' '
            NEW_LIST_ID            = C_CHAR_UNKNOWN
            NO_DIALOG              = C_FALSE
            RECEIVER               = C_CHAR_UNKNOWN
            RELEASE                = C_CHAR_UNKNOWN
            REPORT                 = C_CHAR_UNKNOWN
            SAP_COVER_PAGE         = C_CHAR_UNKNOWN
            HOST_COVER_PAGE        = C_CHAR_UNKNOWN
            PRIORITY               = C_NUM1_UNKNOWN
            SAP_OBJECT             = C_CHAR_UNKNOWN
            TYPE                   = C_CHAR_UNKNOWN
            USER                   = SY-UNAME
          IMPORTING
            OUT_ARCHIVE_PARAMETERS =
               out_parameters         = l_f_out_parameters
               valid                  = l_f_valid
          EXCEPTIONS
               archive_info_not_found = 1
               invalid_print_params   = 2
               invalid_archive_params = 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 l_f_valid NE space.
        NEW-PAGE PRINT ON PARAMETERS l_f_out_parameters.
        WRITE : /5 'Material No.',
                 25 'Message Type',
                 40 'Message Issued'.
        ULINE.
        LOOP AT g_t_message_table WHERE type = 'E'.
          WRITE : / g_t_message_table-matnr UNDER 'Material No.',
                    g_t_message_table-type UNDER 'Message Type',
                    g_t_message_table-message UNDER 'Message Issued'.
        ENDLOOP.
        NEW-PAGE PRINT OFF.
      ENDIF.
    ENDFORM.                    " WRITE_TO_SPOOL
    Regards

  • How to identify new records in a table using OBIEE

    Hi,
    I have price change table as and when a record comes into this table i have to generate an alert. Then show a report with the price changes on which i can invoke an action to go into my transactional system to make the chnage. And once the change is made the process again starts to look for any new price chnage records that are recieved.
    Could anyone pls tell me how to identify new records in a table.
    Rgds

    SELECT ID, LastName, FirstName,
    RANK() OVER (PARTITION BY LastName,
    FirstName ORDER BY ID) AS SeqNumber
    FROM
    (SELECT ID, LastName, FirstName
    FROM Customers
    WHERE (LastName, FirstName) IN
    (SELECT LastName, FirstName
    FROM Customers
    GROUP BY LastName, FirstName
    HAVING COUNT(*) > 1)

Maybe you are looking for

  • How do I Import footage from Premier Pro CS3 to After Effects?

    Hi As the subject says, how do I import footage from premier pro cs3 into after effects. I'm getting rather frustrated trying to figure this out. Via copy & paste I can copy into after effects but this copys the whole of the track on the timeline, wh

  • EDI 823 for Lockbox

    Hi, We are trying to implement Lockbox functionality using EDI(FINSTA01 IDOC Type / Lockbx message type). Where can I find what information will be available in which data segment of the FINSTA01 type? I went to we60 and there is no detailed informat

  • HTTP GET/POST: J2EE Design Strategy w.r.t servlet implementation

    I am in process of designing a J2EE application with browser interface. I have thought of having "Front Controller" Servlet for all HTTP-GET requests and "Action Controller" servlet for all HTTP-POST requests. I have worked this distinction on the ba

  • Unable to download adobe reader in windows vista

    I am unable to download adobe reader in windows vista.... upon going to download help, it just hangs looking for files to fix the issue

  • Problem with downloading adobe shockwave

    I am getting this message "Xtra package  download error 125". What does it mean. What do I need to do now???