ADS Printing: SY521 at PRE_DISP Act Hook on NC

Dear experts,
I am trying to set-up an ADS Printing scenario, where a label is printed after a concrete NC is logged. For that I have attached the SY521 activtiy as PRE_DISP activity hook on the NC, which has disposition group.
I followed the How-To Guide for SAP ME 6.1 printing ("How To Set Up and Use the SAP ME Printing Feature"), but there is no concrete reference to this scenario.
Does anyone have experience with such scenario? From my uderstanding, there are not many config steps necessary. But maybe I missed some:
define document
define printer as SY521 rule
attach document to material in material maintenance
attach activity hook in NC Code Maintenance
From this steps, I see as the complicated one the document settings, which I am attaching to the post.
Can anyone give hints?
Regards,
Andrej

Sergiy,
thank you for your hints.
I tried all of the settings above, but without sucess. I can not see any reference to printing in the logs, but as I have set up another test hook (MII_TRANS_EXT), I know that the hook is executed, but the rpinting is not triggered.
The only weired exception I can see in the log is:
com.sap.me.production.SFCListEmptyException
But this exception occurs also when the hook is disabled.
I will log an incident for support, as there might be a problem somewhere else.
Regards,
Andrej

Similar Messages

  • Problem with PRE_DISP Activity Hook and Scrap of SFC

    We have a scenario where we want to check the max loop count against the times processed counter of a SFC on this routing step after a NC incident (with disposition configured) happened
    So we wrote an activity hook for NC disposition and attached it
    I have different problems with this scenario
    When I use a PRE_DISP activitiy hook I will get the current router/step of the SFC before the disposition happened. So I can get the counters I need
    But when I try to do a scrap of the SFC via API I get the error (after the hook completed):
    Caused by: java.lang.IllegalArgumentException: QTY cannot be <=0
         at com.sap.me.demand.SFCRoutingReleaseWorker.addRouter(SFCRoutingReleaseWorker.java:188)
         at com.sap.me.demand.SFCRoutingBOBean.addRouter(SFCRoutingBOBean.java:131)
    I guess this is because the system tries to do the disposition after the hook and will get an error since it has been scrapped already
    When I use a POST_DISP hook I can do the scrap without errors. But I didn't find any method to get the router/step from where the disposition was started. In the DTO object of the hook I get the old operation but the router is already the new one
    So what is the best solution to the scenario? Is there a possibility to cancel the disposition in the PRE_DISP hook? Or are there methods for getting the router/steps for the SFC before the route was changed to a new one?

    Gentlemen,
    Please do not forget to share a solution with the community.
    Thank you,
    Alex.

  • HT3500 I have Lexmark 6570 printer. How can I hook up to ipad

    I have Lexmark 6570 that is wireless. iPad can't find it.

    The Lexmark 6570 does not appear on the list of AirPrint compatible printers. See this Apple Support document for details:
    http://support.apple.com/kb/ht4356
    You might still be able to print from the iPad to the Lexmark printer if you download and install an App like Print Central.
    PrintCentral for iPad on the iTunes App Store
    Another option might be Printopia. There is a free trial, so you will know in advance whether this will work or not. You need to have another Mac running on your network to be able to use Printopia.
    Printopia - AirPrint to Any Printer - Print from iPad - Print from iPhone ...

  • SAP ME ADS Printing - Traveler with dynamic table

    Does any one have an example  traveler template that uses a dynamic table to display all the operations on the traveler? Ie one template that works for different routers.
    The problem we are having is due to the xml tags for each operation being different eg <operation0>, <operation1> etc which the dynamic table in Livecycle Designer doesn't seem to like.
    Thanks
    Kevin

    Hi Stuart,
    We are using ME15 SP03.
    We have already read that document cover to cover and we can print a traveler with SFC or Shop order header data etc. We can also print a fixed list of operations but what we want to do is have a single template that has a dynamic table that prints all the operations regardless of how many there are.
    Paragraph 6.11 of the document tells you that if you have multiple operations the binding should end with .Router_Step_ID0 , .Router_Step_ID1, Router_Step_ID2 etc etc
    This would mean that I would have to create a template for each different material that has a different number of router steps as you effectively hard code each step ID
    The first system I ever worked on (Visiprise 4.2) had the capability of using one template that automatically shrunk / expand based on the number of operations but I just cant see how to do it in LiveCycle Maybe I'm missing the obvious.
    Thanks
    Kevin
    PS. Great to see a fellow Scotsman on here

  • I have a wireless printer, do I have to hook my printer up to my time capsul with raw USB or can it be connected wireless??

    I recently bought a Apple Time Capsul and I am setting it up,  the set calls for me to use a USB in connecting my printer, my printer is wireless do I have to use a USB cable to set it up?? 

    I assume that you have already setup the Time Capsule, it is providing a wireless network, and other wireless devices like your computer and iPhones/iPads can connect to the wireless network.
    Some printer manufacturers do specifically require that the USB cable first be used as part of the wireless setup.
    For this, you would plug the printer's USB cable into your computer....not the Time Capsule.
    Once the printer is setup for wireless, you can then disconnect the USB cable.
    Follow the specific instructions provided by your printer manufacturer to get your device connected to the wireless network.

  • ADS printer

    Hello,
    I´m trying to configure Adobe Document Services but I'm not sure about the printer configuration. Where can I find a guide for configuration guide?
    Thanks

    Thanks for your answer Lawrence,
    I thought that a configuration printer must be done. I´ve been following that note but I´m getting an error.
    If I select any printer for example LP01 I get this error:
    If I select a pdf printer I get this error
    But I'm in a loop with this error...

  • I have a iphone 5c and a wireless computer hooked to a usb wireless printer Hp4215 officejet all-in-one how can I print from my phone to the printer

    How can I print to my wireless Hp officejet 4215 all-in-one printer that is usb in line with my computer that uses windows 7 from my Iphone 5c

    there are 2 ½ ways to print
    1. the printer support AirPrint and it works out of the box
    2. one get a printing app from app store which support the printer
    2-½ one get the free software from netgear called netgear genie which will make the computer display all printes it's know act as AirPrint printers
    no other things in the known universe will make printing possible

  • Inel 24 and Bluetooth printer hook-up

    Hi, just got my machine and want to buy a new printer. I thought as it has bluetooth 2.0 +EDR and Airport extreme (LOL, have no idea what either does and why EDR etc. is better than let's say no EDR) that I could, should, take advantage and try to get a wireless printer. How does this work exactly? Will any Bluetooth printer work and does it hook up easily? Do they work as well as a normal USB hookup speed-wise? Any help appreciated. Got the wireless keyboard and mouse so i thought I'd continue in the theme if possible. A friend was saying i need a router to hook up to my modem for tv, telephone, cable internet... thought the mac could do it all itself.
    Thanks in advance.
    M

    You will want to first configure the printer plugged into the computer via usb.
    Once its setup print a test page to confirm it works.
    From there you will want to plug the printer into the airport express then add it as a printer in your printer and fax prefrences under system prefrences.
    Let me know if your sucessful.

  • Printing after serialization: How can I print the new SFCs?

    When I hook my printing acticity to site level hook POST_SERIALIZE I will get the .pas file for Loftware but that file does not contain the new SFCs but the parent SFC that is already invalid. Is there something I need to do to get the new SFCs to .pas file (or ADS printing)? Those SFCs are the interesting ones not the parent...
    We are working with 6.0.3.0

    Hi Petri,
    This seems to be the original design of printing at POST_SERIALIZE hook point. And the solution you found is the one that is used by other customers.
    Regards,
    Sergiy

  • Not printing nor recognized

    My HP C4385 is not printing anything but the test page.  I am running Windows 7, 64 bit with a wireless network.  The printer worked fine until a few months ago and I'm about ready to throw it out the window.  I can print a test page no problem, wirelessly.  However, nothing else will print.  I can select the printer, print and it PC acts like it is printing, but nothing happens, at all.  I have tried to download and reinstall that update for Windows 7, 64 bit, but when I try to run the update, I receive an error message "This update does not support any of the HP Device Drives that you have on your PC.  You do not need this software update." 
    I did install a new wireless router a few months ago, but I'm pretty certain that I could print afterwards.
    My laptop is a Toshiba P505 S8980.
    I have connected the printer with the USB cable, and the same thing happens - no printing.  I am really tired of having to send anything that I wan to print to my husband and then he prints on his Kodak printer.
    Any help on this?
    This question was solved.
    View Solution.

    Let's try to totally uninstall the HP software.  Start > All Programs > Hewlett-Packard > [your printer model] > Uninstaller.
    Once it completes, restart your PC.
    Finally, get the latest software for your printer from the "Support & Drivers" link at the top of this page.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • After updating to Firefox 32.0.3 Print Dialog box will not apear in XP/Win7Pro after a while but a restart of Firefox will allow it to show up again..

    After automatically updating to 32.0.3 last Thursday and this Monday on all our Staff and Patron computers both Win7 pro and XP pro we have seen Firefox sessions that will not bring up the Print Dialog. The Print Preview dialog will come up but no print button or print menu item will bring up the Print Dialog. After you close Firefox and reopen it the Print Dialog box will work again for some time. The websites that Patron and Staff use during a session are different and done seem to be the cause. The Firefox settings are at fault because a simply restart of just Firefox fixes the issue and no other web browsers or application has any problem with displaying the Print Dialog at any time. Again this began on all the computers as soon as 32.0.3 was installed automatically over night.

    Hi NPLD,
    Thank you for your question, I understand that there are multiple computers that no longer have a working print dialogue after a while of using Firefox. However after a restart, the print dialogue continues to act normally.
    Does resetting the printing settings on the affected computers only temporarily change this as well?[[Fix printing problems in Firefox]]
    I noticed it when I tested this page: [http://www.housebeautiful.com/decorating/home-makeovers/1920s-home-before-after?src=spr_FBPAGE&spr_id=1451_94608649#slide-2] However I cannont reproduce it all the time. The print icon in the page has a opened a printable view and then the print dialoge comes up. When I switched to another program, that icon did not open the preview.
    Do you notice any about:config entries that change when you see this start to happen?

  • Unable to print from Photoshop CS4 in an iMac OS 10.6.3 to large format printer Epson 11880

    Hi there! I was wondering if you could help me with this case.
    Old computer: Mac G4  (purchased in 2002)
    Old OS: OS 10.4.11  (Tiger)
    CPU: Dual 1.25 GHz
    Memory: 2 RAM
    Software: Photoshop 7
    Hardware: Large format printer: Epson 11880 (64” wide monster). Prints large posters, banners, etc.
    As you can see, it is time for an upgrade...
    New computer: iMac
    New OS: OS 10.6.3  (Snow Leopard)
    Processor Name: Intel Core i7
    Processor Speed: 2.8 GHz
    Number Of Processors: 1
    Total Number Of Cores: 4
    Memory: 16 GB
    Software: Photoshop CS4
    Hardware: Large format printer: Epson 11880
    Situation: We hooked up everything and managed to print on the 11880 printer 2 times and printed two large format prints. On the third attempt, we encountered a serious problem...
    Problem: After opening a file in Photoshop and sending it out for printing in the large format Epson printer, the file goes to the printer queue and stays there for 6 seconds, and then it disappears. It does not print. :-(
    What we have done so far:
    We made sure we downloaded the latest printer driver for this printer from Epson’s website.
    The printer driver is correct. The computer talks to the printer and we are able to execute all the commands from the printer utilities panel. (i.e. check ink levels, clean heads, etc.)
    And yes, the printer is okay, because we have been using it with the old G4 machine for about a year.
    This problem got so frustrating, that we thought that something we transferred during the computer installation might be the culprit. So at one point we erased the hard drive on the new computer and reinstalled the operating system, and have not put any files from any old computers into this machine. The computer has nothing else in it. Except: The operating systems, and the Mac applications that come when the Mac comes out of the box. The only other program installed in it is Photoshop CS4 and the printer driver.
    We were wondering if this was just a printing problem, period. So we added a small printer to the computer - and old Epson 2200 we have. We sent a file to this printer and there is not problem.
    Perhaps, the file size might have been an issue? It does not matter. We can send a large 60 MB file to the printer or a small photograph measuring only 8 x 10, and these will linger in the queue for 6 seconds, and disappear never to be printed.
    Temporary relief came when we got rid of Adobe Photoshop’s Preferences file. After getting rid of the file and allowing Photoshop to reconstruct it, we managed to print two large files on the printer. Then it failed again. Tried getting rid of the preferences again, and the trick did not work anymore. :-(
    Another temporary relief came when we created another user in the computer. On the new user account it printed again a couple of times only to fail later.
    And yes, the printer WILL print from other Mac programs. If for instance, we open a file on Preview, and send it to the printer and the file will be printed. And yes, we have managed to print very large files with this method.
    In the last couple of days, we have spent 3 hours on the phone with the guys at Epson. They verified the driver and because the computer seems to be communicating with the printer and printing from other Mac applications, they suspected that the problem is with Adobe.
    We called Adobe once, and spent 30 minutes with an Indian fellow who concluded that the problem was with how the computer handles the spooling. According to him, Photoshop sends the file to the computer and the computer seems to get rid of it. So he passed the buck and told us that the problem was with Apple.
    We called Apple and spoke for 30 minutes with a friendly technician, who transferred us to a higher level techno-geek. I spent 1 more hour on the phone with Apple, and we tried everything. We went through Adobe’s knowledgebase and tried every suggested solution (see Adobe’s KB406452). It was with him that we found a temporary fix of removing the Preferences file, but the solution was short lived. He finally thought the problem was with Adobe as the printer is able to print from all applications EXCEPT Adobe Photoshop.
    We called Adobe for the second time...and after waiting on hold from 1 entire hour, we got an Indian technician, that bless his heart, had a very thick accent and had no expertise, in my opinion. He was good at collecting data and he even made me share my computer screen so that he could troubleshoot the problem. After being constantly put on hold by him (because he had to consult with someone else), he passed the buck and said that it was Apple’s problem. I just told him that it was not as likely because all programs print EXCEPT Photoshop. After trying what I would consider a “hail Mary” of DELETING all the printers from my Library folder, and not replacing them, he recorded a case number for another Adobe technician to call us in a few days.
    Because the above technician completely blew the Library, I just erased and reinstalled the OS. This time, I did not allow the OS to be updated - from 10.6.2 (that comes in the box), to 10.6.3. We tried printing using the 10.6.2 and had the same problem. :-(
    Conclusion: I think it is a problem of Adobe CS4 not getting along with Apple’s new operating system. The Epson printer is doing fine, because it has been a product that has been in the market for almost 3 years. What is disappointing is that none of the companies wants to man up and say that it is a problem and that they are willing to work on it. Instead they pass the buck to the next company.
    I can’t believe I am the only person experiencing this. Has anyone had this problem, and have you found a solution or workaround for it?

    Dear Doyle, John and Gator Soup,
    Thank you for your kind replies to my problem.
    PS is assigned 70% RAM. In fact, I have never had so much RAM in my life. Files open at lightning fast speed! :-)  We have never considered a RIP as we do not have an intense workload. In fact all the files we have tried to print print well on our old G4 with Tiger and Photoshop 7, which at the moment has saved our butt. However it would be nice to get the new faster machine with Photoshop CS4 to talk to the Epson 11880.
    Yes, we are printing directly to the printer. We have hooked up the computer via a 6 ft USB cable to the unit.
    The specs and pixel dimensions of a typical file we print are:
    Type of file: tif  (in this case it is an RGB file) // However, we avoid any color management from the computer or the printer when printing it at this time.
    File size: 60 MB
    Pixel size: 6796 x 3100
    Print size: 34" x 16" @ 200 dpi
    I have not tried saving it as a pdf yet. Will try that next.
    I did go to the Console on the Mac though, and recorded its activity between 5:14 pm - 5:19 pm when I tried to print a file.
    Remember, the symptoms are:  We send a file to the printer...The file goes to the printer queue, and it lingers there for 6 seconds. The file then disappears.
    Although there is a cryptic message of "invalid colorspace" in the log, I don't believe that the file is corrupt. First because we have tried several files, second because smaller versions of these can be printed in another Epson 2200 printer, and third because the large format images can still be printed using our old G4 machine with Tiger and Photoshop 7.
    This might provide me with extra ammunition for when I call both Adobe and Apple on Monday. Apple has been quite good on customer support - particularly when they upgrade you to higher level geeks. ;-)   Do you have any idea I what time I should call Adobe so that I can get people on the western hemisphere to answer the phone? It seems that after a certain time they start speaking with an Indian accent over there.
    Enclosed, for whatever is worth, is the Console's log:
    5/15/10 5:14:46 PM System Preferences[2947] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:
    /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
    5/15/10 5:14:46 PM [0x0-0xf00f0].com.apple.systempreferences[2947] System Preferences: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
    5/15/10 5:14:46 PM System Preferences[2947] .scriptSuite warning for result type of command 'timedLoad' in suite 'SystemPreferences': the type NSNumber ('long') doesn't match the result Apple event code ('doub').
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] Adobe Photoshop CS4(2991,0xa0818500) malloc: *** error for object 0x4b00880: Non-aligned pointer being freed (2)
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] *** set a breakpoint in malloc_error_break to debug
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] Adobe Photoshop CS4(2991,0xa0818500) malloc: *** error for object 0x4e14390: Non-aligned pointer being freed (2)
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] *** set a breakpoint in malloc_error_break to debug
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] Adobe Photoshop CS4(2991,0xa0818500) malloc: *** error for object 0x4e14410: Non-aligned pointer being freed (2)
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] *** set a breakpoint in malloc_error_break to debug
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] Adobe Photoshop CS4(2991,0xa0818500) malloc: *** error for object 0x4e14490: Non-aligned pointer being freed (2)
    5/15/10 5:17:06 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] *** set a breakpoint in malloc_error_break to debug
    5/15/10 5:17:08 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] file://localhost/Applications/Adobe                   P
    5/15/10 5:19:34 PM [0x0-0xf60f6].com.adobe.Photoshop[2991] Sat May 15 17:19:34 Norm-Nielsens-iMac.local Adobe Photoshop CS4[2991] <Error>: CGImageCreate: invalid image colorspace: NULL.

  • Can no longer print wirelessly after SL install

    I cannot wirelessly print to my Xerox Phaser 6130N following installation of Snow Leopard. I downloaded the 2.0 version of the driver from the Apple site, which enabled my MacBook to recongize the printer (finally!) when I hooked it up via USB. But printing wirelessly is no longer possible. Anyone have any suggestions?

    Just to be clear here, there are several cases we are talking about
    1) A USB printer hooked up to an Airport base station (or other network device that provides a USB print spooler).
    2) A printer with build in Ethernet connected to your network.
    3) A printer with built in Wireless connected to your wireless network.
    Option 2 or 3 should work for any functioning print driver as long as that print driver is configured for a network interface. In the case of the HP printers, any printer that has build in networking the drivers are automatically configured this way.
    Option 1 is a bit more confusing. As pointed out first, your printer driver must be enabled for networking, even if your printer doesn't have a network interface on it. We have in the past had drivers go out without this flag checked. There are no Snow Leopard drivers in this category (that I am aware of). The other problem that lots of people seem to be running into is that printing to a USB printer attached to an Airport seems not to be working for people who do not have actual Snow Leopard drivers. Unfortunately there are some HP printers that fall into this category.
    That being said, InsaneMisha, your Officejet 6500 does have Snow Leopard compatible drivers, and since it is a network device, we can't turn off the network interface. So, if you can provide more details of what your problem is I may be able to help. And note to solve the problem may require re-installing the drivers.
    Just trying to help.
    Andrew

  • Print driver was not installed. Operation could not be completed (error 0x00000002)

    So, here's my problem.  Wondering if anyone else has seen this or knows where I can find logs to get more information about this.
    I have some Vista x64 systems on a domain with a print server serving both x86 and x64 print drivers.  All was working fine, until one day I updated the drivers, expecting them to push out to the clients.   It did for most, but for a few of the Vista x64 systems it failed.  Not only did it fail, but it seems to have prevented me from installing any HP print drivers, even for locally connected HP printers.   A couple of the machines were critical and after hours of trying things (resetting print spooler, downloading new drivers, etc) I had to rewrite them since system restore was not working (another long story).
    So, now I have one PC left that is reporting the above 0x00000002 error when trying to install drivers, and theres a very complicated web of programs installed on this system and I'd prefer not to install it. 
    Any ideas what I can do to solve this.   Same error happens whether using the drivers that come with windows, downloading the drivers from the HP website (both the individual drivers and the universal print drivers), or whether I hook the printer directly to the printer or if its through the network.   Right now I'm trying to hook up a laserjet 8150N and getting that error.
    Any ideas?
    Thanks,
    Karl

    Did you ever find a solution to your problem? I am having the same issue with loading drivers on Windows 7 x64 machines.

  • Can't print from my HP Envy 5531

         I bought the HP Envy 5531 wireless printer over the holidays and hooked it up at my house.  Then I took it back to college with me.  I turned it on and connected the printer to the wireless here at college.  I went to print my schedule and it says unable to find printer.  How do i get them to connect again?  I thought about uninstalling and reinstalling the program but I have a MacBook Pro and have no idea how to uninstal the program.
    Any help will be GREATLY appreciated!

    Hi MeganB13,
    Here is a document on uninstalling.
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c02440673&lc=en&product=5373136&tmp...
    Just open the Mac section towards the bottom.
    Does the wireless network belong to the college or is it a small local network only?
    I was an HP employee.
    Please mark the post that solves your problem as "Accepted Solution"

Maybe you are looking for

  • Adobe Photoshop CS2 Installing Error

    When I tried to Install for tryout version, it sometimes has an error. It says me to put the serial number in. Though it succeed it, it says like this : "Error 1311. Source file not found: C:\Documents and Settings\Administrator\Desktop\Photoshop_CS2

  • All photos can see in small icons in iPhoto,but can't open it or see it!

    Dear all, I got problem in iPhoto, please help! All photos can see in small icons in iPhoto, but I can't open it or can't see it when I click on photos (it always appear black & white "!" inside big circle. I even can't sync any of these photos in my

  • Where's my other site?

    I see other posts that seem relevant, but I can't understand why I can find the actual indexes and folders with my first stie but when I created a new site, none of the specific pages show up. I do not use .mac because it is way too expensive for wha

  • How do I delet history in the firefox beta

    need to delete sites visited on firefox beta.

  • Different SO UOM/productionUOM and wrong excise posting

    Hi We have an issue with make to order scenario where we receive order for knitted fabric in meters whereas production of knitted fabric is accounted for in KGs. As per the excise chapter id, excise records of knitted fabric is required to be maintai