Hi help on processing log in spool

Hii
in a report program i need to oupput my internal table
i have two internal table
1. ITAB_CORRECT
2. ITAB_ERROR
at the end i need to display a report.  I don't want to use write statement can i use ALV coz i only try ALV when with 1 internal table only.  if the program run in background it have to keep a processing log in spool by using ALV can this be done.  do you have any example please?
can anyone also please to me the process of processing log spool in background

hi,
if u dont want to see the output in screen then u have to include it in the code by passing spool parameters and using submit. automatically u execute it it will go to spool.
but if u want to do it manually then u have to go and schedule it in sm 36 according to ur requirement.
reward points if helpful,
Regards,
Sumanjeet.

Similar Messages

  • Need help to get processing log for mass invoice output

    Hi Experts,
    I have one requirement,
    My customer will send invoices to their customers in bulk on monthly basis. The customers will receive the invoices through emails, fax or printout. Now the issue is when they send the output to the customers there might be some failures in delivery because of some reason to some customers. I want to capture all the invoices, customers, medium and error text and want to display as a report.
    We can see the processing log for a single invoice in VBFA transaction but I want to display one consolidated list where the user can see all the error log records at one place.
    I know some tables where we can see some data in NAST, NACH but I would be greatful to you if you provide some more information about this.
    Please provide whatever info you have.
    Regards,
    Dileep.

    Hi Study abap,
    go through this code and use the HTEXT fm accordingly to ur requirement. This is just a sample kind of thing which will help u to write s-kunnr in htext.
    SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR,
    S_WERKS FOR PBIM-WERKS.
    DATA: BEGIN OF HTEXT.
    INCLUDE STRUCTURE THEAD.
    DATA: END OF HTEXT.
    DATA: BEGIN OF LTEXT OCCURS 50.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF LTEXT.
    DATA: BEGIN OF DTEXT OCCURS 50.
    DATA: MATNR LIKE PBIM-MATNR.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF DTEXT.
    DATA: TNAME LIKE THEAD-TDNAME.
    SELECT * FROM PBIM WHERE WERKS IN S_WERKS.
    MOVE PBIM-BDZEI TO TNAME.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = 'PB'
    LANGUAGE = 'E'
    NAME = TNAME
    OBJECT = 'PBPT'
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ''.
    MOVE LTEXT-TDLINE TO DTEXT-TDLINE.
    MOVE PBIM-MATNR TO DTEXT-MATNR.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    ENDSELECT.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-MATNR, DTEXT-TDLINE.
    ENDLOOP.
    Kindly reward fi found helpful.
    cheers,
    Hema.

  • Need help to write processing log.

    hi,
    I have a problem in writting processing log. in the htext, I need to add some thing to show which s-kunnr are dowloaded and which s-kunnr are not dowloaded.
    Question:
    How can I make the coding for htext?
    Please help. Thank you!!
    DATA: z_anz_s   LIKE sy-tabix,
          anz_dl    TYPE p,
          h_betrg   LIKE bsid-wrbtr,
          h_dmbtr   LIKE bsid-wrbtr,
          hs_betrg(14),
          BEGIN OF htext,
            anzahl(6),
            text1(24)          VALUE ' records writen in file ',
            datei(128),
          END OF htext,
          p_pfad TYPE string.
    IF p_downl = 'X'.
          MOVE s TO outtab-s.
          APPEND outtab.
          ADD 1 TO anz_dl.
        ENDIF.
    gs_outalv-belnr = s-belnr.                             "INS MG020207
    *<<<< CR01 START CHANGE BY LI_Y 2007/12/24      " ADD as_outalv-zuonr
        gs_outalv-zuonr = s-zuonr.                              "CR01
    *>>>> CR01 EDD CHANGE BY LI_Y 2007/12/24         "ADD as_outalv-zuonr
        gs_outalv-kunnr = s-kunnr.                             "INS MG020207
        gs_outalv-bldat = s-bldat.                             "INS MG020207
        gs_outalv-netdt = s-netdt.                             "INS MG020207
        gs_outalv-betrg = s-betrg.                             "INS MG020207
        gs_outalv-waers = s-waers.                             "INS MG020207
        gs_outalv-compcode = s-compcode.                       "INS MG020207
        gs_outalv-budat = s-budat.                             "INS MG020207
        gs_outalv-sgtxt = s-sgtxt.
        gs_outalv-kmmnt = s-kmmnt.
        gs_outalv-vbeln = s-vbeln.
        gs_outalv-xblnr = s-xblnr.
        gs_outalv-lifn2 = s-lifn2.
        gs_outalv-dmbtr = s-dmbtr.
        gs_outalv-twaer = s-twaer.
        APPEND gs_outalv TO gt_outalv.                         "INS MG020207
    AT END OF bukrs.
          WRITE anz_dl  TO htext-anzahl.
          WRITE p_pfad  TO htext-datei.
          CONDENSE htext.*

    Hi Study abap,
    go through this code and use the HTEXT fm accordingly to ur requirement. This is just a sample kind of thing which will help u to write s-kunnr in htext.
    SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR,
    S_WERKS FOR PBIM-WERKS.
    DATA: BEGIN OF HTEXT.
    INCLUDE STRUCTURE THEAD.
    DATA: END OF HTEXT.
    DATA: BEGIN OF LTEXT OCCURS 50.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF LTEXT.
    DATA: BEGIN OF DTEXT OCCURS 50.
    DATA: MATNR LIKE PBIM-MATNR.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF DTEXT.
    DATA: TNAME LIKE THEAD-TDNAME.
    SELECT * FROM PBIM WHERE WERKS IN S_WERKS.
    MOVE PBIM-BDZEI TO TNAME.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = 'PB'
    LANGUAGE = 'E'
    NAME = TNAME
    OBJECT = 'PBPT'
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ''.
    MOVE LTEXT-TDLINE TO DTEXT-TDLINE.
    MOVE PBIM-MATNR TO DTEXT-MATNR.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    ENDSELECT.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-MATNR, DTEXT-TDLINE.
    ENDLOOP.
    Kindly reward fi found helpful.
    cheers,
    Hema.

  • Writing spool number into Processing log at VL02N

    Hi ,
    How we can write spool number into Processing log of VL02N by  ABAP coding.
    In Functional side, 'No processing log selected' check box is unchecked at NACE in General data. Eventhough it is not writing the spool number in processing log.
    Processing log button will be in between of communicaton method and Further data buttons.
    Thanks & Regards.

    if the field is flagged and you don't get a processing log (with the spool-number in it - SAP standard does that) most likely there were problems processing the document. check in NACE whether all settings are correct and you condition records are found. for the latter go to tx. VL02N -> Extras -> Delivery Output -> Header -> Goto -> Determin. Analysis.

  • Error message in processing log in VA02 in External send.

    Hi,
    In my smartform I am using READ_TEXT to read one text and I have checked the exceptions also in the call to function module.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    ID                            = 'ST'
    LANGUAGE                      = ZNAST-SPRAS
    NAME                          = Y_LV_NAME
    OBJECT                        = 'TEXT'
    TABLES
    LINES                         = y_i_tline
    EXCEPTIONS
    ID                            = 1
    LANGUAGE                      = 2
    NAME                          = 3
    NOT_FOUND                     = 4
    OBJECT                        = 5
    REFERENCE_CHECK               = 6
    WRONG_ACCESS_TO_ARCHIVE       = 7
    OTHERS                        = 8.
    endif.
    But I am not maintaining the text in SO10 and the READ_TEXT will return sy-subrc 4 .In va02 in messages tab ,I am creating output 1(print output) and 5 (external send) and save the document.when I check the processing log for both,In print output I can't see any error messages.But in external send I am getting error message that the text <my text> not found in language <my lang>.I want to know why the error message (exception thrown by READ_TEXT)comes in EXternal send in processing log and it is not coming in the processing log of print output ? .can anybody help me out ? I can't debug while saving the document since everything is handled in back groud(The smartform won't get triggered while saving).

    hi
    Please debug, for which u need to '/H'  B4 that have a break-point in  ur Driver program on SSF or the READ_TEXT Fm and SAVE  in debug mode. When in DEBUG mode ,Under SETTINGS  choose SYSTEM DEBUGGING and UPDATE DEBUGGING  which allow you to debug and check the Error/Exception from the READ_TEXT FM ...
    surya

  • FW: Processing Logged messages in batch mode ?

    If you rename your partitions' log files before running the app and do the
    renaming according to each partitions' purpose or partition number, then
    after running the app, just go to the approprate log file. You can do the
    renaming using system agents so that it is not a manual process.
    Essentially, you know in advance where the output goes.
    -Ravi
    -----Original Message-----
    From: J-Paul GABRIELLI [SMTP:[email protected]]
    Sent: Monday, March 01, 1999 11:29 AM
    To: 'Kalidindi, Ravi CWT-MSP'
    Subject: RE: Processing Logged messages in batch mode ?
    Sorry, I was looking for a batch way, when the partition is dead (i.E.
    can't monitor it nor view it in escript)
    No gui :-)
    j-p
    -----Message d'origine-----
    De: Kalidindi, Ravi CWT-MSP [SMTP:[email protected]]
    Date: lundi 1 mars 1999 17:51
    A: 'Kallambella, Ajith'; 'J-Paul GABRIELLI'; 'Forte'
    Objet: RE: Processing Logged messages in batch mode ?
    In case of installed applications or running in distributed mode, you can
    use econsole to choose the appropriate active partition and view the log
    file for it. The "log file" window also displays the name of the
    particular
    log file. In case of installed applications, you can also rename the log
    file for your partitions.
    Hope that helps
    -Ravi Kalidindi
    Born Info Svcs Group
    -----Original Message-----
    From: Kallambella, Ajith [SMTP:[email protected]]
    Sent: Monday, March 01, 1999 9:47 AM
    To: 'J-Paul GABRIELLI'; 'Forte'
    Subject: RE: Processing Logged messages in batch mode ?
    Paul,
    One way to findout the log file is to inspect your
    <CentralServer>.log. It should have a line something like..
    Redirecting output to <someDirectory>/forte_ex_26564.log.
    That is the file the the current ftexec is writing to.
    This has worked fine for me.
    Another way is to sort the files by date, and look at the latest
    ones.
    ...I'd love to hear about a better way to do this.
    Ajith Kallambella. M
    Forte Systems Engineer
    International Business Corporation.
    -----Original Message-----
    From: [email protected] [mailto:[email protected]]
    Sent: Monday, March 01, 1999 9:06 AM
    To: Forte-Users (Adresse de messagerie)
    Subject: Processing Logged messages in batch mode ?
    Hi,
    When I launch partitions, they display a whole bunch of 'useful'messages.
    (maybe using 'task.logmgr.putline')
    I'm afraid these traces go directly in the launcher's log file under
    $FORTE_ROOT/log
    As I get control only when the ftexec ends for the next instruction tobe
    interpreted,
    how can I figure out which of these log files relates to the ftexec Ijust
    got executed ?
    (example: "forte_ex_3613.log")
    I found '/output' for node managers, but for single ftexec(s) ?
    (thinking also about re-used ftexec(s))
    Thanks in advance,
    j-paul gabrielli
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    If you rename your partitions' log files before running the app and do the
    renaming according to each partitions' purpose or partition number, then
    after running the app, just go to the approprate log file. You can do the
    renaming using system agents so that it is not a manual process.
    Essentially, you know in advance where the output goes.
    -Ravi
    -----Original Message-----
    From: J-Paul GABRIELLI [SMTP:[email protected]]
    Sent: Monday, March 01, 1999 11:29 AM
    To: 'Kalidindi, Ravi CWT-MSP'
    Subject: RE: Processing Logged messages in batch mode ?
    Sorry, I was looking for a batch way, when the partition is dead (i.E.
    can't monitor it nor view it in escript)
    No gui :-)
    j-p
    -----Message d'origine-----
    De: Kalidindi, Ravi CWT-MSP [SMTP:[email protected]]
    Date: lundi 1 mars 1999 17:51
    A: 'Kallambella, Ajith'; 'J-Paul GABRIELLI'; 'Forte'
    Objet: RE: Processing Logged messages in batch mode ?
    In case of installed applications or running in distributed mode, you can
    use econsole to choose the appropriate active partition and view the log
    file for it. The "log file" window also displays the name of the
    particular
    log file. In case of installed applications, you can also rename the log
    file for your partitions.
    Hope that helps
    -Ravi Kalidindi
    Born Info Svcs Group
    -----Original Message-----
    From: Kallambella, Ajith [SMTP:[email protected]]
    Sent: Monday, March 01, 1999 9:47 AM
    To: 'J-Paul GABRIELLI'; 'Forte'
    Subject: RE: Processing Logged messages in batch mode ?
    Paul,
    One way to findout the log file is to inspect your
    <CentralServer>.log. It should have a line something like..
    Redirecting output to <someDirectory>/forte_ex_26564.log.
    That is the file the the current ftexec is writing to.
    This has worked fine for me.
    Another way is to sort the files by date, and look at the latest
    ones.
    ...I'd love to hear about a better way to do this.
    Ajith Kallambella. M
    Forte Systems Engineer
    International Business Corporation.
    -----Original Message-----
    From: [email protected] [mailto:[email protected]]
    Sent: Monday, March 01, 1999 9:06 AM
    To: Forte-Users (Adresse de messagerie)
    Subject: Processing Logged messages in batch mode ?
    Hi,
    When I launch partitions, they display a whole bunch of 'useful'messages.
    (maybe using 'task.logmgr.putline')
    I'm afraid these traces go directly in the launcher's log file under
    $FORTE_ROOT/log
    As I get control only when the ftexec ends for the next instruction tobe
    interpreted,
    how can I figure out which of these log files relates to the ftexec Ijust
    got executed ?
    (example: "forte_ex_3613.log")
    I found '/output' for node managers, but for single ftexec(s) ?
    (thinking also about re-used ftexec(s))
    Thanks in advance,
    j-paul gabrielli
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Process Log - All Processes generates no list on 10.1.3.4

    Hi,
    We just upgraded to 10.1.3.4 and, unlike our previous version - 10.1.3.1 - when I select "All Processes" on the "Bpel Processes" pull down, no events are listed.
    I have to select a specific BPEL process in order to see any events.
    Is there any way to list the latest chronological list of events for all Processes in 10.1.3.4 (as in 10.1.3.1)?
    Thank you,
    AG

    Our DBAs upgraded another server last night, to 10.1.3.4, MLR#8, and, still, when I go to the "Administration" - "Process Log", select "All Processes" and click Filter, nothing is shown.
    Previous versions would list all activities in chronological order. This one shows a blank.
    If I select a specific Bpel process, a list is generated as expected - that part is working ok.
    It's the "All Processes" choice that yields no information.
    Thank you for any help,
    AG

  • No processing log generated from the output type for the IDOC

    Dear experts,
    the output type which is triggered with a transmission medium Special Function has not generated any IDOC.
    The question is what is the role of a Special function and EDI transmission.
    In some cases the system has generated an IDOC and some cases not. The output is pickedup automatically, but
    does not always trigger an IDOC, Thats is the issue I am facing.
    Therefore in cases where there was no IDOC created there is no processing log generated.
    KIndly help.

    The status is green, and when I try to show the IDOC it  doesnt show and no processing log.
    The same output is processed for a delivery and it creates a IDOC but sometimes it doesnt.

  • Send Message from Process Chain Step without Process Log

    We send a mail message, depending on the success or failure of the process chain step, to user list.
    When the message is sent not only custom message but also the status information and the process log are sent.
    Our users are only interested about the result of the chain and they don' t want to view all technical information.
    Is it possible to send message without process log?
    Regards

    Hi,
    Take 2 process(red and green line) from each of the process in the process Chain, one is for sucessfull and other is for failure and at the end of the proces chain,  just put all failure process to the OR and have add a ABAP Program (with Not Sucessfull) and then just put all sucessfull process to the AND and have add a ABAP Program (with Sucessfull) .
    This wil send the mail to the users, when ever there is failure in PC any where, or sends a mail ..if the process chain completes sucessfully.
    If you want only add the send of mail option at the end of the process chain, we can just add 2 process (red and green line) and have same flow as above. so that.. it will only sends mail..when there is failure or sucessfull of the process chian.
    Hope it helps ......

  • Workflow Process Log not displayed on UI

    The client recently performed a upgrade in their development environment from 7.0 to 8.0.0.4 and everything appears to be working properly however, the Workflow Process Logs in the UI under Administration-Business Process\Workflow Process Log is not being displayed. All that we currently see are the old log files from the previous upgrade. We presently receive the WorkflowProcess Log files in the Siebsrvr\log directly but would like to know why the log files are not generating in the UI within the Workflow Process Log View. Is there some setting or parameter which needs to be set in order to get this activated again?

    Couldn't you tell what you did to fix this. That would help others that run into the same problem.
    Axel

  • No processing log exists

    Hello All,             In ME23N for a PO for perticular output type in messgae processing log not exsiting. But i have check for other Output type log is showing.     So please help me out why the log is not showing for here. Thanks and Regards Sankil

    Hi Sankil,
    To answer your question, I need the following information -
      Does the same print program cater to all PO output types ?
      Is it a custom print program.
    For analysis, first check the dispatch time of the output type in tcode NACE. If it is '4', it is processed immediately when PO document is  saved. If it is '3', then output will get triggered through tcode ME9F. For '1' & '2' , through  program RSNAST00.
    If the output is successfully processed and dispatch time is '4', you will see green light.
    If the output is waiting to be processed, you will see yellow light. This happens when dispatch time is '3' ( '1' OR  '2' is also possible ).
    If there is error and it is your custom print program, we generally set RETCODE variable <> 0 in FORM ENTRY of our print program.
    The processing log messages are updated by FM 'NAST_PROTOCOL_UPDATE' .
    If your print program is a custom one, check whether the program contains call to FM 'NAST_PROTOCOL_UPDATE'.  If the FM is not there in your program, log will not get updated. So you need to add it after processing the output ( copy the code from the standard one ). If FM exists, put a breakpoint in CALL FUNCTION 'NAST_PROTOCOL_UPDATE' and see why the log is not getting updated. You can also add custom messages using 'NAST_PROTOCOL_UPDATE'.
    Regards,
    DPM

  • Output Processing routine giving error in VA01 - Processing Log

    Hi,
    We have assigned a Smartform in NACE to a Customized Output type ZURE.
    When we issue the Output we are getting the Output proceed correctly but in the processing log we are getting an Error record 'Processing routine ENTRY_NEU in program ZRVADOR01 does not exist', but the routine ENTRY_NEU exits in the program ZRVADOR01 and output is generating form the same routine.
    Please advice how to proceed.
    Regards,
    Ramu N.

    Hi..
      I understand that u have  copied the Program ZRVADOR01 from Standard prg RVADOR01.
    Then you have to <b>activate all the includes</b> in your program ZRVADOR01.
    The Form Routine ENTRY_NEW may exist in a include which may not be Active.
    <b>Reward if Helpful.</b>

  • I had something called backupd-helper cancel my log out last night.  I was wondering it this is spyware?  Can anyone help?

    This morning I had a information window that read "The application backupd-helper cancled logout.  To try again, quit backupd-helper and choose log out form the Apple menu."  I look for this app on my dock, but it was not there.  I used spot light to try to find it but it did not show up.  I checked in my applications folder and utilities folder, but again no luck.  Finally I used Activity Monitor and there it was, but as soon as I "inspected" it the process terminated and disappeared.  It's parent app is Launchd.  Any information would be very helpful, thanks.

    This is part of Time Machine. It is a daemon helper, part of the backup process.
    It is not spyware.

  • Tracking processing log?

    Hi Friends,
    Its a file to file scenario.The sender SAP system writes data to the file.Based on the message no. send by sap(5 characters) how to track the processing log of that particular message processed in xi?
    Thanks,
    Suresh.

    Hi Suresh
    What exactly you want to see log for?
    You can track all the steps happening at PI under SXMB_MONI
    With this you can use SLG1 for application logs.
    Hope this helps.
    Thanks
    Gaurav

  • ABAP Mapping - Message shown in Standard Change List Process Log

    Hi
    I am working with ABAP Mapping program. I had created ABAP class using ABAP workbench. Before this, in exchangeProfile..data was provided for com.sap.aii.repository.mapping.additionaltypes ==>> as " R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine) " and 'Saved'.
    In Interface Mapping, after providing the Class Name under 'Mapping Program' and activated. After activation (Standard Change List), it is showing the following messages under 'Processing Log'.
    --> Standard Change List - Process Log message
    Activation of the change list canceled Check result for Interface Mapping IM_ABAP_MAPPING | http://ABAP_Mapping_SREE:  Type R3_ABAP of
    program ZSREETEST is invalid because it is not registered in the exchange profile . Check the values for the exchange profile parameter
    IntegrationBuilder.Repository.com.sap.aii.repository.mapping.additionaltypes
    --> End of Log message
    Can some one please guide me in resolving the ABAP mapping issue.
    Thanks in advance.
    ..Sree

    Sree,
    The log says that there is ABAP mapping included in your exchange profile. Do the things what michal have told and also check your mapping program whether working fine or not in SXI_MAPPING transaction.
    You can see this weblog for reference:
    /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
    ---Satish

Maybe you are looking for