Easy way to log processing

Hello all together,
I have fileadapter with certain content. I want to ensure that the data in this file are processed exactly once. The argument for checking this is i.e. an invoiceNo. in the file.
What would you propose is the easiest way to come to this!
I thought of doing it by using a JDBCLookup in an external Database or with an RFCLookup in SAP Z-Table.
Could you please advise me?
TIA
Volker

Hi,
The simple method is to add a check if the RFC function that is being called anyway.
ie. read Z table with invoice number to see if already processed and exit processing if it has.
This will not have any overhead doing this method instead of a JDBC lookup.
Try it and see - it will only be one line of code to add.
If you are calling a SAP standard module you will need to create a wrapper function with the lines to check the Z table and the call of the standard function.
Cheers
Colin.

Similar Messages

  • What is an easy way to log and share lists (grocery, mileage) with my wife?

    My wife and I have all the Apple devices and would like an easy way to share lists; specifically, a grocery list and a mileage list.  The latter is for whenever each of us drives our personal vehicle for business use.
    If it was just me, I can create a Numbers spreadsheet and save it to the Cloud.  Then, it's accessible from all my Apple devices.  But she and I need to be able to hit the same documents.
    I've seen some apps in the iOS AppStore, but don't need all those bells and whistles.  Can't I just grant her access to my Numbers document in my cloud or something?
    Thanks for any advice.

    Hi rcook,
    If you are both on the same iCloud account, then by far the easiest way to share (and update) notes is to use the Notes app. I use it for all of my "to do" and "grocery lists" among other things. I can updae it on my Mac, and with I go to the store - it is there waiting for me on my iPhone! No syncing, required, If is check somethng off, or delete it, then if my husband is looking at/using the same list, he knows that itm is taken care of.
    Not sure if this fits your needs, but it works great for us!
    Cheers,
    GB

  • Is there an easy way to batch process channel swapping?

    I'm creating a IR time-lapse, and I need an easy/effective way to swap the red/blue channels and do a few other things in Photoshop before I transfer the work to Lightroom to finish. I know that you can batch process for resizing and whatnot, but it would be really helpful if you could batch process basically all the actions you did in the history of one image in a set of 300+ and hit "go". Anyone know if this can be done, and how?

    Make an action that uses the channel mixer adjustment to apply the channel swap, then use the batch command to apply it to your folder of images.

  • Is there an EASY way to submit podcasts to the itunes store? i've tried creating podcasts in garageband, then somewhere after wordpress  itunes  doesn't recognize the feed. my process has been (i am open to suggestions for other free and EASY services/me

    is there an EASY way to submit podcasts to the itunes store? i've tried creating podcasts in garageband, then somewhere after wordpress  itunes  doesn't recognize the feed.
    my process has been (i am open to suggestions for other free and EASY services/methods):
    garageband : create & edit audio. add 1400x1400 image.
    share to itunes.
    drag file to desktop.
    upload .m4a file to google drive.
    create a link post in wordpress using "podcast" tag & create "podcast" category.
    click on "entries rss" in wordpress, which takes me to the rss subscribe page (which is basically just my wordpress address with "/feed" at the end.
    i copy this url.
    go to itunes store > then "submit a podcast"
    itunes gives me the error message "we had difficulty downloading episodes from your feed."
    when i try to subscribe to my podcast in itunes, it does, but gives me no episodes available.
    i went back into wordpress and changed settings/ reading settings to : "full text" from "summary"
    still the same error message.
    i added a feedburner step after wordpress but got the same errors. i don't think i should have to add feedburner.
    wordpress seems to be encapsulating the rss, what am i doing wrong?
    this so much easier when you could go directly from garage band to iweb to mobileme; i miss those apple days (also idisk).

    if anyone has a super EASY process, i would LOVE to know what it is. EASY, meaning no html and also free. there are many free online storage systems available, many of which i currently use. the above process was just me trying to figure it out, if you have an easier method, please share. thank you so much!

  • IDOC's Process in MM in a easy way

    Hi Experts,
    1) What is the functionality of the IDOC's in real time.?
    2) What is the role of  MM Consultant in processing the IDOC's. ?
    3) What are all the frequently used IDOC's in SAP from MM point of view.
    Please don't send me the help.library docs, I
    Please provide me the easy way to understand about IDOC's from MM point of view.
    thanks & rgds
    Swamy

    1) What is the functionality of the IDOC's in real time.?
    The functionality of Idoc is - all your documents like PO, Invoice, order acknowledge etc now a days transmitted electronically, To handle this scenario SAP has functinlity of Idoc in which you convert the data to the in such a format which other party can transmit that data in their format for further processing
    2) What is the role of MM Consultant in processing the IDOC's. ?
    As MM consultant you have to set up the message type for the POs to generatea the Idoc, testing of Idoc generating successfully as well as receving in the SAP and posting successfully the transciton, etc.
    3) What are all the frequently used IDOC's in SAP from MM point of view.
    PO create
    PO change
    Order acknowledgement
    Inbound shipping information
    Invoice
    ASN etc.
    This will give you a detail understading
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf

  • After editing images in Aperture, I want to overwrite the editing to an external drive.  Is thee an easy way to "add" the new work without the  long process of backing up the whole library.

    After editing images in Aperture, I want to overwrite the new editing to a backup external drive.  Is there an easy way to "add" the new work without the  long process of backing up the whole library.

    But the Library is not a program.  I use SuperDuper, and it is smart enough to treat Finder Packages (such as the Library) as a whole bunch of files and folders, and overwrites only those that have changed.  Can't CCC be set up the same way?

  • Is there a way to change log processing settings?

    The new log processing feature is awesome! I just find the Blackmagic Production Camera 4K setting not very accurate. The yellow seems to be very saturated for me, among other things.  It would be nice to include other LUTs in that pop up menu.  Is there any workaround?  I know about the "LUT utility" and I am using it, but setting the right gamma curve and colors from the media browser without render would be a lot better.
    Adriano Plotzki

    Hi,
    a quick look at the JavDocs (http://docs.oracle.com/cd/E23549_01/apirefs.1111/e10686/oracle/adf/share/config/ADFConfigImpl.html) tell you : No
    Frank

  • Is there an easy way to create 2 page imposed PDFs with a background?

    I have figured out a way to create a suitable imposed single page PDF using the 'import as layer' action, the action only understands a single paged background PDF.
    In other words, I have a PDF that has the suitable marks on it with the pages marked 'Page 1' & 'Page 2'. This is the background PDF.
    I open this PDF in Acrobat and run the action that places another PDF (the 'Source' PDF) on multiple layers with different offsets.
    The original (template) PDF is 2 pages & the Source PDF for imposition is 2 pages, and even though the 'import as layer' understands that the source PDF being imposed is 2 pages, it does not seem to allow the original (template) PDF to be seen as 2 pages.
    There is a 'Target page number' option in the Preview area, but that is grayed out at 1.
    So...other than commercial applications, is there an easy way to build a 2 page PDF imposition file??
    Maybe a script?

    Sabian,
    Yes, the Quite software would be perfect, especially the 'Hot'. Tested & works great for us, but the price tag for the 'Hot' is rather steep for our relatively simple process......background template with a 'step & repeat' of the 'live' document.
    As I mentioned in the original post, to do this with a single page PDF is simple enough using an action that places the 'live' doc multiple times, but the vast majority of our publications are 2 pages.
    Currently runing the action twice for each job. I would save a bit of time if this could be automated to do both sides with one action, or one script.

  • Best way to log data

    I have an application that receives data from a source, and I would
    like to create and maintain a log file with this data. Small bits of
    data will be received at least every minute, and often once every
    second. The user can also view the logged data at any time.
    Lastly, each entry is timestamped, and I would like to be able to
    remove log entries that are x hour/days old.
    What I would like advice on is what is the bext way to accomplish this?
    Clearly a bad way to do this is every time I get data, read the log in,
    remove old entries, rewrite all the remaining entries, and finally
    append the new entry. This uses way too many file operations.
    I have briefly looked at the java.util.logging stuff, but it appears that
    the purpose of that is more for code debugging/etc. It also doesn't
    appear that there are methods to read the logs. So, this does not
    look like an "easy way out".
    I know how to append to a file, but I am not sure if I should leave
    the file open during execution of the program and simply flush
    the stream/buffer, or open and close the file everytime I write.
    The latter is clearly more expensive, but safer.
    I don't know how to delete data from the beginning of a file.
    To summarize, what is the best way to read and write data to
    a file such that:
    1) the data is appended to the end of the file (easy)
    2) the data is removed from the beginning of the file
    3) the data that is written is not lost of the program crashes/etc.
    4) the whole logging business is not too expensive
    Any suggestions?
    Thanks,
    Chuck.

    Here's what we did at my last job:
    Incoming messages are logged to disk via FileOutputStream (maybe with BufferedOutputStream encasing that, I don't remember) this outputstream is not closed until the applet is stopped. System.out is also reassigned to this fileoutputstream to capture all messages.
    At the same time, there is an InputStream reading from that file. As data is read, we stick the text into a TextArea.
    When the TextArea size hits some certain amount (maybe 20,000 characters) we'd remove ... maybe 5000 from the top. Log stays the same tho
    When the day rolls over, we switch log files
    You're questions:
    1) the data is appended to the end of the file (easy)
    Yes. But if you're not using streams, you should check that out.
    2) the data is removed from the beginning of the file
    That's pretty easy. Open the file for reading, open a new file for writing. Read the first n bytes but don't write them. Then write the rest
    3) the data that is written is not lost of the program crashes/etc.
    Data should be fine if it's logged to disk
    4) the whole logging business is not too expensive
    Saving to disk isn't very expensive at all. In fact, normally writing to disk is slow enough that stuff just gets put into a buffer somewhere to get sent to the disk and the processor goes on with the program.

  • Easy way to Fax a purchase order on-demand: ME23N

    Our users are wanting an easier way to fax a purchase order.  The default medium for the purchase order is simply to 'Print output', but sometimes they want to fax on-demand a PO.  In transaction ME23N you can do a print preview of the order.  In menu 'Text', you can seen the option to 'Send fax', but it is greyed out.  Is there a simple way to fax on-demand a PO?

    Hi,
    You have to attach the message type as NEU and select the medium as Fax. Click on the communication and further data for messages. You can set the options regarding the timing for fax. After those settings save the PO. Next step would be processing the output. You can see the preview of PO from the PO transaction but you won't be able to give a printout or send a fax. Go to the transaction Me9F. Select your PO number and process the messages. The PO output will go to priniter or fax depends on your configuration. Kindly let me know whether this worked or not.

  • Is there an easier way to do this?  Save As in Acrobat to a Specified Folde

    CAN APPLESCRIPT RUN IN THE BACKGROUND?
    Or is there an easier way to do this script? The script does what I need done - no problem, but every action happens on screen. Is there a more direct way to some of the steps? (Ideally so most of the action happens in the background. I will ALL-CAP what my thought process is).
    *BASICALLY I GET JOB REQUESTS FROM DEPARTMENTS IN MY COMPANY ON AN PDF THAT I CREATED. WHEN I OPEN THE REQUEST, I RUN THIS REQUEST SO I CAN IMPORT IT INTO FILEMAKER PRO. IT IS OPEN IN ADOBE ACROBAT PRO 9.*
    tell application "Adobe Acrobat Pro"
    activate
    end tell
    *I SIMPLY SAVE EVERY REQUEST AS "REPORT". IT JUST RESAVES EVERY TIME A NEW REQUEST COMES IN. SO I WANT TO STREAMLINE THIS STEP BETTER AND HAVE IT JUST SAVE IN THE BACKGROUND TO THE SPECIFIED FOLDER.*
    tell application "System Events"
    tell process "Acrobat"
    save
    click menu item "save as..." of menu "File" of menu bar 1
    keystroke "report"
    keystroke tab
    delay 1
    keystroke "g" using {command down, shift down}
    keystroke "/users/kellyf/documents/projects/pdf2fmp/ExportPDF"
    keystroke return
    keystroke "s" using command down
    delay 1
    keystroke "r" using command down
    *I BELIEVE THIS STEP HAS TO HAPPEN LIKE THIS, UNLESS SOMEONE IS FAMILIAR WITH A BETTER WAY TO EXPORT FROM ADOBE ACROBAT TO A CSV/SPREADSHEET FILE.*
    tell application "System Events"
    tell process "Acrobat"
    click menu item "Merge Data Files into Spreadsheet..." of menu 1 of menu item "Manage Form Data" of menu "Forms" of menu bar 1
    keystroke return
    delay 1
    keystroke "g" using {command down, shift down}
    keystroke "/users/kellyf/documents/projects/pdf2fmp/exportpdf"
    keystroke return
    delay 1
    keystroke (ASCII character 31) -- Down
    delay 1
    keystroke return
    delay 1
    keystroke tab
    delay 1
    keystroke return
    delay 1
    keystroke "g" using {command down, shift down}
    keystroke "/users/kellyf/documents/projects/pdf2fmp/ImportCSV"
    keystroke return
    delay 1
    keystroke (ASCII character 31) -- Down
    delay 1
    keystroke return
    delay 1
    keystroke tab
    delay 1
    keystroke return
    keystroke "s" using command down
    delay 1
    keystroke "r" using command down
    delay 1
    click button "Close Dialog" of window "Export Progress"
    end tell
    end tell
    end tell
    end tell
    tell application "Adobe Acrobat Pro"
    close document "report.pdf"
    end tell
    delay 1
    tell application "Finder"
    activate
    open file "Creative Job List.fp7" of folder "Filemaker Pro Databases" of folder "Documents" of folder "Kellyf" of folder "users" of folder "macintosh hd"
    end tell
    tell application "FileMaker Pro"
    activate
    do script "PDF2FMP Import"
    end tell

    Kelly Fisher wrote:
    CAN APPLESCRIPT RUN IN THE BACKGROUND?
    Yes. Applescript can run in the backgound. The applications you run also need to be able to run in the background. You need to run scriptable applications & avoid simulating the keyboard & mouse. You need to run commands that are in the application dictionary.
    *BASICALLY I GET JOB REQUESTS FROM DEPARTMENTS IN MY COMPANY ON AN PDF THAT I CREATED. WHEN I OPEN THE REQUEST, I RUN THIS REQUEST SO I CAN IMPORT IT INTO FILEMAKER PRO. IT IS OPEN IN ADOBE ACROBAT PRO 9.*
    tell application "Adobe Acrobat Pro"
    activate
    end tell
    *I SIMPLY SAVE EVERY REQUEST AS "REPORT". IT JUST RESAVES EVERY TIME A NEW REQUEST COMES IN. SO I WANT TO STREAMLINE THIS STEP BETTER AND HAVE IT JUST SAVE IN THE BACKGROUND TO THE SPECIFIED FOLDER.*
    tell application "System Events"
    tell process "Acrobat"
    save
    click menu item "save as..." of menu "File" of menu bar 1
    keystroke "report"
    keystroke tab
    You are simulating the keyboard. They need to run as you have done.
    delay 1
    keystroke "g" using {command down, shift down}
    keystroke "/users/kellyf/documents/projects/pdf2fmp/ExportPDF"
    keystroke return
    keystroke "s" using command down
    delay 1
    keystroke "r" using command down

  • Easy Way to Play Clips in Sequence?

    Noob question:
    Is there an easy way to play my clips in sequence without dragging each into the timeline?
    When I log and capture, FCP7 creates a separate clip each time I restart recording.  Can I look at each clip one after the other without double clicking on it and playing each in the viewer?  I've done a brief search of this forum and the manual without finding anything.

    Sure...use another editing app.  FCX allows for clip scrubbing.  Prelude, part of Adobe CS6, does too.
    But FCP, and most other editing apps, require that you load clips into the VIEWER to watch them.  Or, you can grab them all, drag them into the sequence to make a quick "stringout" of all your clips for viewing. 
    This is basic editing...load the clips into the Viewer to watch them.  But Apple has changed that by allowing clip scrubbing in FCX.  So if you want that, you should take a look at that app.

  • What is the easier way to edit a captured slide?

    I have created a demonstration animation and there are several slides that need a little graphics editing.
    So far, I have not found a way to automate the process of editing slides.
    The only method I can determine is by selecting "Copy Background", then opening a graphics editor, pasting to a new window, edit accordingly, save the edited graphic background, import into the slide.
    Isn't there anyway to edit inline?.. meaning, the background is automatically sent to your choosen graphics editor, you edit the graphic, click save/exit, and the graphics background is automatically updated. That is how Captivate 4's competitors do it.

    Hi Shawn
    It really depends on what exactly you need to do. For example, if all you want is an easy way to blot out some words, use a Highlight Box object at zero percent transparency. Then merge it into the background. Or maybe you need an image added in. Add the image separately and merge it.
    Last week we needed to render an option button as unselected. In that case I just right-clicked and opened in Microsoft Paint. Duplicated another and overlaid the errant one. Closed and saved. Total update time from start to finish was less than two minutes.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • My itunes library has duplicated all of my music and would take me hours to delete one by one. What is a quick easy way to delete over 2,500 duplicates?

    My itunes library has duplicated all of my music and would take me hours to delete one by one. What is a quick easy way to delete over 2,500 duplicates?

    Apple's official advice is here... HT2905: How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group of identical tracks to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. This can happen, for example, if you start iTunes with a disconnected external drive, then connect it, reimport from your media folder, then restart iTunes.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background. Please take note of the warning to backup your library before deduping, whether you do so by hand or using my script, in case something goes wrong.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • Easy way to migrate users from one machine to another?

    I have an iMac lab where students have their own local accounts. The machines are bound to W2k Server with AD. New school year, new seating charts, some users must move. Is there an easy way to migrate a user and all their stuff from one machine to another? We do have Remote Desktop BTW. I'm not finding an obvious answer so I guess there isn't but I sure wish there were. I suppose they could copy anything they want onto the server. set up a new account on the new machine and pull it all back off the server, but that's not "easy".

    Hi
    +The machines are bound to W2k Server with AD.+
    This could be a telling statement although without further information it would be hard to say?
    What I'm assuming from this is that current mac clients are bound to Active Directory. This would mean that user accounts exist on the Server and not locally. In which case there would be nothing to transfer other than the local admin account - again assuming you want the applications installed on the current client macs transferring over to the new client macs.
    To be honest it would be easier and less hassle to create a new local admin account and install compatible software fresh. Use the same tools you used to 'bind' the old client macs to Active Directory for the new client macs.
    +We do have Remote Desktop BTW+
    You could utilize this to (a) name all the new mac clients with appropriate hostnames and (b) 'bind' new mac clients by issuing dsconfigad from the command line. If this seems like too much hard work then you could simply exercise your legs and walk round each one in turn.
    Even if your current mac clients are configured with Mobile Accounts (locally cached network accounts) this would still not be a problem as you can manually or automatically sync the locally cached networked home folder back to the server and then log in with that account again on the new mac clients. The home folder should then be cached locally.
    This assumes you've configured Directory Utility in the appropriate way.
    Tony

Maybe you are looking for

  • Linksys WRT54GS vs Dlink DI-524 data transfer rate different.

    I was moving some files from one PC to another with the Linksys router and noticed it was slow so I ran DU Meter and Max speed of transfer was 156kb. I then hooked up my Dlink and did the same test and was getting7mg. Why the difference in data trans

  • Javascript runs in all the latest versions of Opera, IE, Chrome and Safari (for windows)

    I have been working on the website stsontario.org a while ago for someone. I have used a javascript file to apply a background element with a specified height based on the height of the document after loading the page. It shows on the other four brow

  • What is the ploblem with this code?

    class lol Connection con; ResultSet rs; String query=""; String scno,bcrcno,prno,prdt,billamt,misamt,miscd,reconchg; lol() try{ Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String ServerName="127.0.0.1"; String portnum="1521"; Stri

  • RFC Errors  in GUIXT

    Hi , How solve the RFC Errors , I am working on GUIXT ,during script deployment in SAP Web Repository ,  I am getting below RFC errors , have no idea about this error. Please give me  directions to sort this out.  Apologies If I am posting this in wr

  • Weblogic 8.1 SP2 loads applications twice.

    Hi, We are moving from Weblogic 6.1 to Weblogic 8.1 and we are seeing some weird behaviour when whe stop the server regenerate an application (a .jar file in the applications directory) and we start the server. The fact is that each time one of this