Concept advice: abandoning a process

I'm following Apple's guide from the Developer Connection to make an Mac OS X "StartupItem". I don't want to scare off any non-developers; they can be more, but this instance is just a shell script that runs during boot, with a notable caveat: robustness and prompt completion are very important. A StartupItem becomes part of Mac OS X's boot--so much so that 'hanging script' = 'hanging boot'.
For clarity and modularity, all of my code is in little separate executable files. The "master script" that is the StartupItem just activates the handful of "sub-scripts" and exits. None of the sub-commands are boot-critical and some can take quite a while to finish, so I'd like to execute them from the "master script" but then immediately "abandon" them.
I guess what I'm looking for is some "best practices" advice on just how to go about this. Searching is hard when you don't know what to search for. I did read some linux script advice that seems relevant but it all seemed slightly off for my purposes at best, and gimmicky at worst (e.g. a nohup and an ampersand?). My gut says to keep it simple, even if it's overkill and do something like, say... line 'em up in "screen":
screen -dm /bin/bash /blah/fixsomestuff
screen -dm /bin/bash /blah/thishangssometimes
screen -dm /bin/bash /blah/thisscript_almost_always_haserrors
screen -dm /bin/bash /blah/thisshould_be_a_daemon-it_neverexits
"screen," in particular, seemed attractive as I'd be able to attach a terminal to a bad script's "screen" session for debugging. The sub-script names above are facetious, but not that far off. I do need to guarantee they cannot interfere with the overall boot.
Even ignoring "screen," is there something I don't know? Is this a bad idea? I have output-redirection within each sub-script; should I be doing it on the initial "screen" line (or some other way (or both))? The scripts do exit (they're not daemon-ic?), but even so... should I be approaching the whole thing differently?
Any warnings, stories, or advice appreciated.
Joel

Unfortunately I don't have time now to respond to all the ideas and questions posed. Thanks for the great posts! Just some first thoughts...
screen is great. I will not be using it for every sub-script as I'd initially posted (that was just an idea, not "the plan"). I will still need to use it for one task. Its a script I didn't write that pulls updates from several servers on our lan. It is easy to monitor while it is running but doesn't generate useful logs. Ignoring all the terminal-emulation brawn of screen as seen in its man page, screen allows lots of handy things. In this case, it allows:
The StartupItem sh script launches the ≈20 minute command in a detached screen session.
That sub-command is script-caliber (its compiled though) and doesn't have useful logs. Its old, on its way to deprecation, and not worth fixing.
If I suspect problems, I can log into the machine in an ssh, reconnect to the screen session and see all the live and past stdout/err of the command still in progress.
Is there a better way to do that?
My scripts always have shebangs. So do almost everyone else's scripts though... so why do I still see things like /bin/sh in shell commands in the wild? I've added /bin/bash to start bash scripts as a habit because I've seen full paths to shells in so many tutorials and examples. If given a script with a proper shebang, what's the difference between these?me$ /bin/bash /path/to/script
me$
me$ bash /path/to/script
me$
me$ /path/to/script
me$
me$ cd /path/to
me$ ./script
me$
me$ cd /path/to
me$ . script
me$
me$ exec /path/to/script
Back to my main structure concerns. None of my scripts are compiled nor are they daemons. Some take a long time, but they do exit. I just need the sh script that is the StartupItem to exit quickly, even if there were huge problems with the things it's starting. This is heavily truncated, but how does it look?#!/bin/sh
# /Library/StartupItems/dmeboot/dmeboot
# The old, compiled command with bad logging.
screen -dm /Library/Management/dmesyncprojlibs
# Both clean up garbage files from last user. FIX!
# Kludgy & no error handling. Often hang or exit non-zero due to files in use, etc.
/Library/Management/sessioncleaner &
/Library/Management/cumulativecleaner &
# wait a bit and add to rendering pool if nobody logs in
/Library/Management/checkin &
# ntpd controller, timecode interface
/Library/Management/dmentpd &...etc.
Out of time, not out of questions. Oh well, I'll post more later. Thanks again for reading or posting. Any thoughts or additional advice appreciated. Ciao for now, Joel

Similar Messages

  • The customized Deposit Advice & Cheque Writer process is getting overiden?

    My client has the deposit advice and check writer processes customized and each time they apply an HRMS patch the seeded process replaces them, they go back in and replace them with the older customized version. The 2 processes and the report in cheque writer are customized.
    How can we avoid this re-compilation issue, everytime a patch is applied? What can be the best alternative way to avoid it?
    Thanking You,

    Obviously your customized Deposit Advice and Cheque Writer report files are named exactly like those delivered by Oracle so they are constantly being overwritten.
    You need to rename the report files(i.e., CUSRPPST.rdf instead of PAYRPPST.rdf) then go into the Concurrent Program setups for these two processes, find the parameter Report Name and change the Default Value to the name of your custom rdf file. Note that your rdf file should reside in the same directory as the delivered rdf and you should leave the extension off in the default value.

  • Advice with capturing process

    Hello
    I need some advise with the capturing process of a documentary project.
    The circunstances: I have shot with Sony A1 in HD 1080 50i quality, so I have my video in Mini DV tapes and I going to use FCP 6.05 to edit the project.
    I have 12 tapes to capture and 1T hard disk space in an external disk with e-sata conection.
    First doubt: format
    As I see it I have two options when capturing. whether I can capture in SD or in HDV, what do you recomend?
    My main concern is, that giving the fact that HDV works with interframe codec, it could be a problem importing in 1080 i50 format for FC6. Would I need to transcode to Apple pro Res or something in order for the application works properly?
    In the other side, I could import in SD and recapture later in HD if I need a better quality.
    The matter is..., I have been told is it is better to work in native format, the best quality possible, always you can...
    Second doubt: workflow
    I know this is a question of personal preferences, but I need to hear here opinions. When you Log and capture, what better option.
    1- Minute tapes and afterwards log in FC and capture
    2- See the tapes in FCP and log directly on the application
    3- Log authomatically the tape ( with the separate-shots-in-clips mode active) and capture the whole tape in a row, and check video after in FCP?
    Please, dont hesitate in advice me, I really need to clear this out before starting the project, in advance, thank you very much for your help!!
    jeym

    Hello again guys
    I have finally captured in HDV. Yes, Michael, my workflow plan is to transcode when picture lock is done.
    Nevertheless, I have never used mediamanager before. When I worked whin Avid MC I did the transcode in the same application. I suppouse I will use mediamanager if I must ( if I can´t do it with FC itself). So I really dont know how it works
    Mightmunken, I hope to be able to deliver in blueray or something, DVD is to poor ( in case I have to be DVD I have already all the workflow from my previous works, only it is in Avid!!).
    Ross, thanks for your comment, right now I have space enought, so it´s not really aproblem for me, but it´s good to know for future projects.
    Ian, thanks for your advise, I am exactly in this step of trying, the only thing is I just want to consider all options and hear some opinions before adventuring myself.
    I would let you know how the project is doing.  As I have said before my main concerns are:
    1- If FC will work properly with HDV native media ( interframe compression is not good to edit with, although I know FC can do it).
    2- The transcodification and compression afterwards. In my previous projects I cant use Compressor because the resoult was very desapointing. I had to research and ask in forums to get another application to have the work done.
    3- As I say, I will try to burn it in blueray so I will no need to compress ( altought I will nedd to transcode). In any case, right now I think the workflow will be ( if possible):
    A- Edit.
    B- Transcode to ProRes when p-lock to get it to color etc,
    C- Transcode to blueray.
    Have any of you have try this workflow? Any advise in the matter?
    Thanks again to all of you, really appreciate this disscussion

  • Oracle Concepts: Query on SQL Processing (execution in SGA/PGA)

    Hi,
    I need some clarity on my understanding, suppose there is a query:
    SELECT t1.c1, t1.c2
    FROM t1, t2
    WHERE t1.c3 = t2.c1
    ORDER BY t1.c1;User A submits above query and following steps are executed:
    Syntax Check -in PGA
    Semantic Check -in PGA
    Shared Pool Check (unsuccessful) -in SGA
    Optimization (Hard Parse) -in SGA
    Row Source Generation (Hard Parse) -in SGA
    Execution - in SGA?User B submits same query and following steps are executed:
    Syntax Check -in PGA
    Semantic Check -in PGA
    Shared Pool Check (successful) -in SGA
    (Soft Parse)
    Execution - in SGA?First question (General):
    I thought Execution happens in SGA, but sorting, hashing, and/or merging bitmaps happens in PGA (temporary segment) so is it a sub-part of Execution that happens in user's PGA?
    Second question (For user B):
    Once Shared Pool Check is successful, and plan/data-sets are already in SGA, so sorting, hashing, and/or merging bitmaps will happen on these data-sets in user B's PGA again?
    Regards,
    Ankit Rathi
    http://oraclenbeyond.blogspot.in

    OnB wrote:
    Hi,
    I need some clarity on my understanding, suppose there is a query:
    SELECT t1.c1, t1.c2
    FROM t1, t2
    WHERE t1.c3 = t2.c1
    ORDER BY t1.c1;User A submits above query and following steps are executed:
    Syntax Check -in PGA
    Semantic Check -in PGA
    Shared Pool Check (unsuccessful) -in SGA
    Optimization (Hard Parse) -in SGA
    Row Source Generation (Hard Parse) -in SGA
    Execution - in SGA?User B submits same query and following steps are executed:
    Syntax Check -in PGA
    Semantic Check -in PGA
    Shared Pool Check (successful) -in SGA
    (Soft Parse)
    Execution - in SGA?First question (General):
    I thought Execution happens in SGA, but sorting, hashing, and/or merging bitmaps happens in PGA (temporary segment) so is it a sub-part of Execution that happens in user's PGA?The execution happens in the SGA(Buffer cache) but any kinds of such processing like sorting is session specific and that's why it happens in the PGA of that user.
    >
    Second question (For user B):
    Once Shared Pool Check is successful, and plan/data-sets are already in SGA, so sorting, hashing, and/or merging bitmaps will happen on these data-sets in user B's PGA again?Yes.
    That said, can you post a link that confirms that the syntax/semantics check happen in the PGA? AFAIK it's not really a part of the PGA because oracle's code itself would store the grammar and would do it .
    Aman....

  • Advice on upgrade process

    im running 10.6.8 on my iMac and have 7.5.1 iPhoto. I want to upgrade to ML and iphoto 11, which should i upgrade first OS X or iphoto? I'm concerned about losing my photo library over over 13,000 images. The library is backed up, but i want to avoid any hassles.

    As the latest version of iPhoto requires Lion or newer you'lll have to upgrade the OS first.
    As long as you have good backuos you shouldn;t have any problems,
    good luck

  • Mac Pro 1.1 to 5.1 comprehensive upgrade advice?

    I need some comprehensive advice on upgrade process, over the next 2-3 months, from my current Mac Pro 1.1 which is:
    Dual-Core 2.66 GHz
    8 GB of 1033 ram
    120 GB OWC Mercury Electra 3G SSD (boot and data)
    SSD backed up to internal 500 GB Hitachi Drive (CCC)
    SSD backed up to external 250GB FW800 Drive (CCC)
    Running Lion 10.7.5
    2- 23” Cinema displays @ 1900x1200 res,
    Nvidia GeForce
    I’ve had this rig, give or take, for four+ years.
    Main complaints:
    Slow Excel and Word updating and editing, Some charts take 5-10 seconds to appear or redraw, in spite of font fixes, 0 ‘recents’ setting, keeping a very clean ‘permissions’ set-up, and other good ‘housekeeping’.
    7300GT PCI card starting to get a little "quirky" with occasional mangled screens
    Occasional ‘spinning ball’.
    McDraft slow to redraw.
    Generally, the 1.1 seems to be a bit too slow for me. I'm waiting on the computer, too much.
    Would like somethingh that has a bit more ‘pop’. I like for the computer to wait on me, rather than the other way around.
    Also, have not ruled out that I might be using some more ram and CPU-intensive apps in the future.
    In looking at what’s out there used, and from what I read by the experienced folks here on the forum, I see the:
    2010 or 2012 Mac Pro 5.1,
    3.33GHz six-core,
    w/ 3-8GB Ram,
    1 TB Drive
    5870 PCI
    Moving up to ML or Mavericks.
    as a very good ‘bang-for my-buck’ candidate. $2000+/-.
    I intend upgrade the ram in the 5.1 to 24GB (3x8GB) @ $300., unless somebody talks me into higher, or another ram config.
    Since my total usage for the last 3-4 years has remained fairly constant at 70-75GB, I intend to use:
    My existing 120GB SSD as a boot for the new 5.1
    Buy another 120GB SSD for a data drive
    use the 1 TB drive with 2 partitions, to back up the Boot and Docs SSDs,
    then do “belt and suspenders similar B/U with the existing Hitachi 500GB drive
    all with Carbon Copy Cloner, and bootable.
    Will be running one, possibly two, more 23” Cinema displays (or maybe a 23" and 27”)
    User usage profile:
    Lots (50-60+) of heavily cross-linked Excel workbooks (many with ten to twenty 2000-3000 line, work sheets) with tons of complex charts, in 15-20 folders.
    A lot of long Word docs (100-150) pages, many of which subscribe to the Excel workbooks.
    Medium to large, complex, symbol library-rich drawings, in MacDraft
    Illustrator – light usage –simple stuff (amateur)
    Photoshop – light usage – simple stuff (amateur)
    Just getting into some GoPro Movie editing, nothing too big or complex. Vacation and recreation vids. (amateur)
    Some Garage Band stuff for my harps (amateur)
    Some 40-50 slide PowerPoint stuff, with more to come.
    Dragon Dictate, which is a bit sluggish on my 1.1.
    Questions:
    Am I about on the right general track?
    And I’m ready to get something I can live with for another 4-5 years. Realistic?
    Ram upgrade to a minimum of 24GB -32GB? If so, Should I add 2x16 GB ram modules or 3x8 gig ram modules?
    Will be leaving some, but not too much, processing speed unused?
    What have I forgotten or gone astray with?
    Better/cheaper upgrade?
    Advice?
    I know this is a long request, but I'm tying to make it in one concise and unfragmented attempt.

    A couple(?) of clarifying questions:
    Are you recommending upgrade to ML10.8? Isn't there some sort of hack involved with that? Or is it just the 32vs64 bit video issue. Anything else?
    I believe he meant that buying the 5,1 would give you few benefits beyond being able to run any OS X beyond Lion.  And this might not be critically important for what you do.
    You could hack it to run 10.8 or 9, I guess.
    However, a new 5770 will take care of the 7300GT/0SX10.8 incompatibility issue, correct?
    A 5770 will not allow you to run 10.8 if that's what you meant.  It will work in your Mac Pro so long as you are running, at the earliest, OS X 10.6.4.  That 7300GT is overdue for an upgrade.
    50% head room on boot SSD? How do I find how much of current usage is boot? Subtract docs and apps folder sizes from total used?
    If I understand...use a new Samsung 250GB SSD for boot and use my existing OWC120 SSD for docs and apps, and that gives me all the head room that I would need, for both SSDs?
    SSD for the OS X system and apps only.  System is only 10GB or so.  How much space do need for apps?  50% of 120GB ssd is 60GB.  So as long as your apps don't occupy more than 45GB or so, then you can use the 120GB ssd as your boot drive.
    If you don't feel the need to run the latest OS X, then more Ram, a 5770 upgrade kit, and an SSD boot drive should give you a nice boost in performance for just a few hundred dollars.

  • Customization to "Carry Out Sourcing" & "Process Purchase Order" Screens

    Hi, we are using SRM 4.0 and wondering if following screen customizations are possible
    <b>Carry Out Sourcing queue</b>
    Is it possible to use some of the existing Fields/Area to show key information within the queue that are important to Buyers such as Total PR Value, Required Date, Comment Field (for Buyer to write notes or status)? The fields Category and Quantity are not that important to us than the other fields mentioned above.
    <b>Process Purchase Order queue</b>
    Is it possible to use some of the existing Fields/Area to show key information within the queue such as Requestor Name, Required Date, Comment Field (for Buyer to write notes/status)? These are more important to us than the Purchasing Org. and Purchasing Group fields.
    The above requested fields will tremendously help the Buyer in managing the queue by making it easier to assign low value orders; by enbaling other Buyer/s to view cart status when covering for someone without drilling down per requisition/line. The comment field within the queue will help to immediately show why the order is on hold, etc.
    I would be interested to know as well if you have any suggestions on how we can assign low value orders to junior buyers faster and more efficiently and if there is an automated way to do it.

    Thanks - Here is the quick clarification. We are not using Sourcing Cockpit (eSourcing, Bidding) functionality in SRM. By "Carry Out Sourcing", I meant the area where Buyers look for workload and add approved requisitions to their work area. That is the screen we are trying to customize. Is there a template for that as well and is it easy to customize without breaking the code.
    Also please advice on customizing "Process Purchase Order" screen.
    Lastly, is there an option to autoamtically assign the Approved Shopping Cart to a Buyer based on the dollar amount?
    Thanks in advance;
    A

  • Word processing software:  Appleworks, NeoOffice / saving as Word.doc

    I would love some advice on word processing software.
    My daughter is a college student who sometimes needs to e-mail her papers to a teacher (in Word). She does not have Word, and we're not buying it. In the past, she's used the school computers, but that's not always practical. She has a Mac, with Appleworks on it. If she works in Appleworks and saves a paper in Word format, will it really open okay in Word, with footnotes, images, etc. intact? (Obviously, she doesn't want to get a lower grade for something so silly and avoidable.) I think I have seen on this forum somewhere a mention of trouble with footworks in Appleworks docs saved in Word format.
    Also, if she were to save as a Word doc, which format would be the best to use: Word Mac 6; Word Mac 98; Word Windows 6; Word Windows 97, 2000, XP 2002?
    She also needs to do simple tables sometimes, which it looks like Appleworks can do. Do these translate well?
    Also, I have looked at NeoOffice and OpenOffice online. It looks like one of those would be a possibility for her, too. Apparently, documents can be saved as Word files in those programs. Does anyone know if they are any better than Appleworks for this purpose? (For instance, with footnotes?)
    From the NeoOffice Website: "You can exchange documents with Microsoft Office and OpenOffice.org users, even on other platforms!" Does that mean a Word file will open and display okay, if you get one e-mailed to you? And that your own Word file will open and display okay on the other end? (I know this is not about Appleworks, but someone might know. . .)
    Looking through this forum, I have seen software for opening Word documents (icWord), but my daughter needs to be able to (reliably) go both ways--saving and opening.
    Thanks much in advance!
    Christina
    Powerbook G4; Intel iMac 20inch Core Duo   Mac OS X (10.4.5)  

    Overall, I'd concur with Ken.
    AppleWorks/Word conversion does have difficulties with tables and footnotes.
    Neo Office has better compatibility with MS Office, and runs without installing additional software on your Mac. But it's a Java implementation of an earlier version of OpenOffice.org, and is missing a few recent improvements. It's also a bit slow, although in some uses this is not a problem.
    OpenOffice.org runs in an Xwindow (no relation to MS Windows), and requires installation of X11, Apple's Xwindow implementation. I haven't used it, but expect that it is a more compatible implementation than NeoOffice.
    Both are free to download and use. If nothing else, one or the other is useful to see how successful the AppleWorks > Word translation of a particular file has been.
    The closest compatibility will be achieved with MS Windows (Mac), of course. If your reasons for not purchasing MS Windows are strictly economic, you mmight want to rethink them. As a student, your daughter is elegible to purchase the Teacher and Student edition at a much lower price than the retail version. This version is operationally identical to the retail one. The largest difference is a licencing one—student/teacher licencees are not eligible for reduced price upgrades to the next version. They are, though, eligible to purchase the next Student & Teacher edition provided they still qualify at that time.
    Regards,
    Barry

  • Payment Advice Account Type

    Hi,
    I want to ask when should the Account Type be set to S (GL Account) when creating a payment advice using transaction FBE1.
    Thanks

    Hi,
    Payment advice notes with the G/L account account type are producedwithin manual clearing processing for a G/L account if the currentprocessing status is noted as the payment advice. The processing canthen be continued later with reference to the payment advice number.
    Aravind

  • AR process and Sub process documentation

    Hi,
    I am working on AR process and sub process …Can any one please mail me the   documentation / links on
    AR high-level process &and AR sub process like….
    Manual invoicing (where there is no SD invoice)
    Direct debit Process,
    Automatic matching of Incoming payments,
    Remittance advice/ payment advice,
    Debit Not process & credit note process
    Electronic Bank Statements
    User exits (on payment advice)
    Credit managment process
    Points will be awarded accordingly
    MY mail id is [email protected]
    Thanks
    Sireesha

    I would suggest reading the pdf files from Siemens.
    you can also find some files in www.easymarketplace.de
    but the best thing to do would be to practise a lot in a test system and get the overview from people who worked in AR for atleast 6 months....
    the pdf files, though they are comprehensive are very intricate and never explain the entire business scenario in simple words..

  • PI-sheet process in sap

    Dear all,
    By using help portal i go through-ed Pi sheet process
    I understood the  concept of pi sheet process
    But i am little bit confused how to process this PI sheet in sap
    Could you please guide me how to process pi sheet in sap? or else any particular t code is available?
    And i am sry if it is a basic question.
    Regards
    Rajasekaran

    Rajasekaran,,
    Expert Kumar has already given you the solution. This is as simple as it can get.
    Refer this document to understand how to setup PI sheet.
    A Beginner's Guide To PI sheets
    Cheers,
    Himanshu

  • FM to get the RFC Dialog Process Status

    Hi All,
    1.I am using Parallel processing concept in ABAP to process the data in chunks by creating tasks.
    2.I want to track the information about the tasks that has been generated by the main program.
    3.Is there any FM which gives information about the PID, status of the dialog process under which the task is running ?
    Any help on this would be highly appreciated.
    Thanks,
    Babu Kilari

    You can get the PID using the  FM TH_GET_OWN_WP_NO . this will give the WP of the process in which this FM is called.
    Try this one also TH_WP_DETAIL_INFO . It gives more details
    Edited by: Abhishek Jolly on Jun 4, 2009 5:54 PM

  • Understanding asynchronous BPEL processes and threading

    Hi everybody,
    I have a question regarding asynchronous BPEL processes and threading.
    I have an asynchronous BPEL process which delivers a message (picked up from a JMS topic) to a repository (via for instance an ICAN server). This transaction must be time-sensitive, i.e. first-in is first-out.
    If I have several threads running concurrently I have no guarantee that the messages are delivered in the same order that they where generated. It seems that the suggested way around this problem is to use single-threading.
    So here's the part that I do not understand:
    An asynchronous request does not wait for a response. If I use single-threading then what happens to that single-thread if for some reason (for instance the ICAN server is not responding) the BPEL instance is dehydrated? Is the thread still allocated for waiting for the first response or does it go back and pick up the next thing on the topic? If the next thing on the topic is picked up then how can I be sure that the messages are delivered in the correct order? If the thread is still allocated to the single instance then does that not kindda go against the whole concept of an asynchronous process?
    I hope some one can explain this to me.
    Thank you in advance.
    Kind regards,
    Mathias
    PS. This question is an attempt of a different angle on another forum thread: Asynchronuos BPEL - how to get the order of messages right?

    Hi again,
    A quick follow up question:
    Is there any way to have several BPEL processes running on the same server with different settings for how many threads to use?
    It seems that the only way to set number of threads used by BPEL is to use the configuration in the BPEL console? This is an domain setting - which means that all processes deployed to the server is effected the same way?
    I am asking because I am facing a scenario where I need one BPEL process to read from a AQ queue (well actually a topic) with a single thread and another BPEL process - deployed to the same BPEL server - to read from the same AQ queue with multiple threads.
    Does anyone have any idea of how to do this? Can it be done?
    Any suggestions, hints or reference to any documentation would be very much appreciated.
    Thank you in advance,
    Aagaard

  • Vendor Debiting from Warranty claim processing  module to SAP AP

    Hi
    We are having a process of debiting vendors for all the failed parts under warranty module. Since in SAP Warranty claim processing module, vendor debits are done claim by claim, is there any way where we can cumulate all the claims of a particular vendor and do vendor debiting at summarised level in SAP AP. Request your insight knowledge in this respect.
    Thanks

    Dear SANTOSH KUMAR,
    This feature is added newly in ECC 6.0, this is specially useful in Customer Service environment.
    Basic concept of Warrant claim processing is, we have manufactured or leased or sold an equipment to a customer and offer the service to customer also we provide warranty to the customer on that equipment for certain period with certain conditions.
    In this case we maintain the equipment warranty and process the warranty as and when required, ex: customer has got a problem in the equipment and that cover warranty, then the service provider raises a warranty claim, the supplier or original manufacturer processes the warranty claim and issues a credit note to the customer or replaces a new part.
    This also involves sales and distribution module to some extent.
    Hope this info clarifies your doubt.
    Regards,
    Praveen.

  • PAI process on value-request.

    Hi
    In PAI of one of the screens I have module that has to be triggered on value request and show table with possible entries for that screen field (lbl_printer) .
    When transaction is executed the module is not called when i hit icon close to input field (lbl_printer)so I cannot get entry help. I set up break point in the module but I didn't get  in to module " request printer". It looks like program do not recognize this module at all.
    Please advice .
    Krsto  
    process after input.
      module user_command_0105.
    process on value-request.
      field lbl_printer module request_printer.

    FIELD dynp_field MODULE mod [ {ON INPUT}
                                | {ON REQUEST}
                                | {ON *-INPUT}
                                | {ON {CHAIN-INPUT|CHAIN-REQUEST}}
                                | {AT CURSOR-SELECTION}.
    [http://help.sap.com/saphelp_nw73/helpdata/en/4a/3bb5668c412baee10000000a421937/frameset.htm]
    BR,
    Robert

Maybe you are looking for

  • "Disk Can Not Be Read or Written To"

    Alright, here's my problem. Couple days ago ALL of my music dissipeared off my iPod for no apparent reason overnight. I plugged my iPod back in and all the music showed up, but there's no CD art work and I can't transfer songs between the two. I get

  • Use of max in MATH

    I am trying to find the max value of two floating point numbers. Please see code. I am not sure why I get the error(symbol : method max (float,float)) do I have to call this in its own method? Thank you for the help, drumz. import java.awt.Graphics;

  • Profit Center wise Customer Clearing

    Dear Sir, There is our client requirement to have profit center wise customer clearing. Kindly suggest. With Regards, Saurabh

  • DTW - Series not deifned for Journal Entry

    2007B Importing AP invoices thru DTW. using Document Series The document series assigned for AP Invoice is "APINV" and the same document series is selected for JE also. The code for APINV is "7" The field in DTW to define the document series is "Seri

  • Snow Leopard & Photoshop CS4: Scratch Disk Error (app won't open)

    Snow Leopard and Photoshop CS4 have at least one incompatibility worth noting thus far. If you have a secondary disc on your system that is setup to be your primary scratch disk in Photoshop's Preferences you might be unable to open your application.