Track the Output printed in Z Programe

Hi All,
I have done the Z program for for Loading sheet print, Is it possible to track  weather document is printed or not in SAP. need to assume viewing print preview is   not printed.
rgds
pramod

Hi Pramod,
NAST protocol uses functions in function group WMCP:
NAST_PROTOCOL_DELETE
NAST_PROTOCOL_INITIALIZE
NAST_PROTOCOL_INIT_AND_LOAD
NAST_PROTOCOL_STORE
NAST_PROTOCOL_UPDATE
They are used in a lot of print programs, for example in invoices program RVADIN01.
For initialize is used the function NAST_PROTOCOL_INITIALIZE, an register in table NAST is created, then you call the funtion NAST_PROTOCOL_UPDATE to add message to the log and finally NAST_PROTOCOL_STORE to save it. Take a look to program RSNAST00.
Regards.
JCD

Similar Messages

  • Reg emailing the output of a concurrent program as an attachment

    Hi,
    Our requirement is to email the output of a concurrent program?(SQL*PLUS Report Output) as an attachment to the supplied Email Id, without using seperate Shell Script.
    We have configured a printer and passed the Printer Driver argument as
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $Email_id
    The Problem is we are passing the Email address directly to the command.Can't we use the Parameter value to that command?
    And also a junk character 'end gets displayed in the mail body.
    Sometimes the concurrent Program ends with warning message as
    APP-FND-00500 : AFPPRN received a return code of failure from routine FDUPRN.
    An error occured while AOL tried to spawn the print process.
    Please suggest some ways on getting proper output?
    Thanks.

    Hi,
    Email address can be Profile Option - create a new profile option, set value and reference like the $PROFILES$.FILENAME.
    For logging pipe standard out and error to a logfile. Note I haven't tested the command below, just to give you an idea. Would be better to create a shell script then you can change without having to go to the Printer Drivers and bounce Conc Mgr.
    Ie. if you profile option is XX_EMAIL_ADDRESS then
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $PROFILES$.FILENAME >/mypath/myfile 2>&1
    With regards to the failure, if your uuencode or mailx returns 1 (ie, can't find file or whatever) then your print job fails. This is why you should either log or create shell script to handle the error better.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/
    Message was edited by:
    gareth.roberts
    oops, have tested changed to haven't tested!

  • How to track the session Logs ( SM35) in program

    Hi,
    I want to track the SM35 logs in my program. Using log information i want to move the filure records, Success records and warning  records spearately in my internal tabel.
    Based on that iinforamtion i want to analysis the records again for upload......Please help me.
    Thanks & regards
    Santhosh

    The actual requirment is, i want to get back the error records in my program.....My program is running in back end once the session is over i need to get the error files back to my program. That file i want to store in comman folder....
    after the session complet i want to get the error records in my program.....any bapi or functional module or methods is available for get the log information.....
    Help me....Please....
    santhosh

  • Unable to view the output of a concurrent program

    Dear Members,
    I am using Oracle R12.1.3 Vision Instance.
    I have run the Create Accounting program. When I click on the view output button, the browser gets displayed and also gets closed immediately. I am unable to view the output.
    Can any one please help me in resolving this issue?
    Many thanks in advance.
    Regards.

    Dear Members,
    I am facing the above problem in IE.
    When I tried in Mozilla, I can view the outputs without any issues.
    Can any one suggest me why I am not able to view the output in the IE?
    Regards.

  • Printing: The outputs print on a printer other than that specified on the u

    We are using activity profile on the shipment to trigger outputs at different statuses set on the shipment document. In order to have the output trigger based on activity profile we need to have the timing for these output types set to “3”. Now the outputs set in the activity profiles are proposed on the sales document the first time the document is saved by the user. The communication details for the outputs proposed have the details from the user data set in the user master (SU01) for the person who saved the sales document as the print parameters for the output is “S” (user parameters).
    The issue is we want the system to print outputs proposed on the sales document to different printers.  E.g. The bill of lading output on the shipment document is required by the shipment planner to provide the same to the truck drivers. However the documents like pick list are required by the loaders loading the packages in the warehouse. Hence the documents need to be printed in different printers. How do we achieve this when the outputs proposed at the time the sales document is saved have the print parameters form the user data of the user who created the document?

    Hello,
    Have a look here:
    http://help.sap.com/saphelp_erp2004/helpdata/EN/7e/36e4c4023411d399b70000e83dd9fc/frameset.htm

  • How to track the transported Variant for a program

    Hi All ,
    Can anyone please let me know how to track the modifications done on program variants , and how to track if it has been transported .
    Thanks In Advance .

    Hi Balaji
    Variants are stored in the table VARID.
    Pushpraj

  • Can I send Logic drummer separate tracks to different outputs?  When I select the separate drum tracks the output is set and not changeable

    I am using the Producer drummers in Logic where the different drums parts,(snare, overheads, Kick, etc) are broken into separate tracks.  I would like to take some of these tracks (for ex. snare) and route it to a different output bus.   When I try to do this the output is not modifiable.  Anyone find a way around this?

    The question is not to find a way around it, the question is why it behaves that way in your Project.
    A Producer Kit is just a Summing Stack, were all the individual Channel Strips (Subtracks) are routed to the same Bus that the Master Stack Channel Strip uses as its input.
    In the example of the screenshot, the Summing Stack uses Bus 2, but I selected different Outputs for the firstsix Subtracks, even a Surround Output, whatever is available under the Output Selection Button. Only the "Tom High" Channel Strip is still routed via Bus 2 to the Master Stack Channel Strip.
    You can find more in-depth explanations about the Drummer in my graphically enhanced manual "Logic Pro X - How it Works".
    Try to use a different Project and see if you can change the output routing there.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Problem in determining the output (Print, ALE, etc)  for Exchange document

    Hi Experts,
    I am facing a problem in getting the output for certain Exchange netting documents. If I remove Exchange contract number from the netting document, The out put is getting generated as required. But if a Exchange contract number is mentioned in the Netting documents ( the case is appearing only for couple of netting documents) the out is not getting generated. On analysing, system gives message that it is not able to find the required partner role ( its Bill to party in this case). But BP partner roles is  set.
    Please let me know which are the partner roles that are required for this output determination.
    Thanks a lot,
    Amit Kothari
    Edited by: Amit Kothari on Apr 28, 2009 1:07 PM
    Edited by: Amit Kothari on Apr 28, 2009 1:08 PM

    Hi Experts,
    I am facing a problem in getting the output for certain Exchange netting documents. If I remove Exchange contract number from the netting document, The out put is getting generated as required. But if a Exchange contract number is mentioned in the Netting documents ( the case is appearing only for couple of netting documents) the out is not getting generated. On analysing, system gives message that it is not able to find the required partner role ( its Bill to party in this case). But BP partner roles is  set.
    Please let me know which are the partner roles that are required for this output determination.
    Thanks a lot,
    Amit Kothari
    Edited by: Amit Kothari on Apr 28, 2009 1:07 PM
    Edited by: Amit Kothari on Apr 28, 2009 1:08 PM

  • Need to know if it is possible to change the output print option in the deskjet 2545

    The printer prints upside down ie when printing multiple sheets the last page is printed first and the first page last.We then need to again manually sort the order.My HP laserjet 9050 has the same issue if used without the sorter.Is there a solution for the same?

    Hi vijayols,
    Welcome to the HP Support forums.  I gather you would like to learn how to reverse the print order when sending a multiple page documents to your Deskjet 2545 Ink Advantage printer.
    I have included a document on print settings using Windows 8. In the section titled "Change print settings from the Windows 8 Desktop" there is a sub-section titled "Understanding Desktop print settings".  It explains the various options available and one of them is the page order of the print job.
    You mentioned that you have a Laserjet 9050.  That is a commercial product so to get your issue more exposure I would suggest posting it in the commercial forums. You can do this at the link below.
    Changing Print Settings in Windows 8
    HP Enterprise Business Community
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Any means to print the output from an abap report immediately

    Hi,
    I would like to know if there are any means to print the output of an abap program immediately. Our user wants to execute the program online and once the result list is displayed on screen, user wants the same list to be printed simultaneously without the need to press the 'Print' button.
    Thanks in advance for your help and advises.
    Francis

    Hi
      We can print the list while displaying using NEW-PAGE PRINT ON.
      below is the syntax for this.
         NEW-PAGE PRINT ON [NEW-SECTION]
                    [<params> | PARAMETERS <pripar>]
                    [ARCHIVE PARAMETERS <arcpar>]
                    [NO DIALOG].
    Regards
    Ramanjaneya Reddy.
    [email protected]

  • Problem printing the output

    i'm writing a getClassMean() which is going to compute the Mean score of the whole class. in the following myLines is a ArrayList object that stores each String from my input file, which look something like:
    Stevens, Frank, Z.; 87, 86, 92, 78, 86
    Franklin, Susan, A.; 98, 88, 94, 98, 95
    Bowers, Brett, B.; 85, 78, 83, 84, 89
    This is the method in the Mean class:
    protected ArrayList<Double> classGrades = new ArrayList<Double>();
    public double getClassMean(){
                String gb;
                String[] array, grades;
                double mean;
                double score;
                for(String l : myLines) {
                    array = l.split("; ");
                    gb = array[1];    //gb --grade block
                    grades = gb.split(", ");
                    for(String scoreStr : grades ) {
                        score = Double.parseDouble(scoreStr);
                        classGrades.add(score);
                double sum = 0.0;
                for(double d : classGrades) {sum += d;}
                mean = sum / classGrades.size();
                return mean;
            }and the Driver program has this:
    Mean m = new Mean();
    double classMean = mean.getClassMean();
    System.out.println(classMean);but the output print something i don't understand:
    NaN
    can someone tell me what's going on? thanks!

    NaN is "Not a Number" it comes from doing operations with undefined results, like 0.0 / 0.0 .
    Print out sum and classGrades.size() before doing that division, then trace backwards (add more print statements if you need to) to find your bug.

  • How to capture the output of another program into a File/String

    I needed to capture the output of a dos program in an String/file I tried doing Runtime.getRuntime.exec("ipconfig /all >tmp.txt");
    but still I am unable to capture the output frm the program which I would like to capture in a file or String.Can anyone help

    When you use the Runtime.exec() method, it returns a Process object, that process object has access to the streams; stdout, stdin, and stderr of the application you just executed. what you'll want to monitor is the stdout or stderr streams using the
    p.getInputStream() or p.getErrorStream(), where p = the process object returned via the Runtime.exe() method.

  • How to save the output of report program??

    Hello Everbody,
    I want to save the output of a report program(i.e list),how can i do this???which function module should i use to achieve this???
    Thanx in advance.

    <b>data: list like abaplist occurs 0 with header line.
    data: begin of listout occurs 0,   
      line(1024) type c,   
      end of listout.
    do 100 times.
      write:/ sy-index.enddo.
    call function 'SAVE_LIST'
    EXPORTING*
    LIST_INDEX               = '0'
    tables 
      listobject    = list
    exceptions 
    list_index_invalid       = 1  
    others                   = 2          .
    call function 'LIST_TO_ASCI'    
    tables         
    listobject         = list    
    listasci           = listout 
       exceptions      
       empty_list         = 1    
       list_index_invalid = 2    
        others             = 3.
    call function 'GUI_DOWNLOAD' 
       exporting   
          filename = 'C:\Test.txt'  
      tables    
         data_tab = listout.</b>

  • Barcode Not Visible in the Output

    Hi,
    I am not able to see the barcode in the output of my concurrent program. I am using a Code 39 Font. ( I have it installed it in my system). This is an Oracle Report (rdf) in 10g version. Our apps is on R12.
    I actually printed a simple BI publisher report which is a portrait to test bar codes and it printed it fine.
    But the new one is a landscape and a totally different report. It just shows the field value in the output though I can see the font applied to the field in rtf.
    Can any one please let me know if I am missing something.
    TIA,
    Neeraja

    Never Mind. I forgot to do font mappings :( (duh!!)

  • AR "Invoice Print Selected Invoices" program

    Hi to All,
    When we run the "Invoice Print Selected Invoices" program in AR. What table and column is used to store the flag for printing the invoice. When we look at the invoice, the more tab has the Print Option/Print Date. Where is the print date, time stamp stored?

    Hi.
    Have a look on RA_CUSTOMER_TRX_ALL table and columns PRINTING_LAST_PRINTED, PRINTING_ORIGINAL_DATE, etc.
    Octavio

Maybe you are looking for