How to output action parameters

Hello Experts!
What should I do to output Action Parameters to the filesystem in GP?
Can this be done?
Thanks & Regards

Hi,
   You can implement a background co to receive all parameters from the previous co and to store these data into any system which u want.  This background co can be a ws co,  a rfc co, or a common java co. It depends on your requirements.
BR.
Louis Huang.

Similar Messages

  • How to output full image path to logger/console

    Hi All
    I'm just starting to get my hands dirty with the lr sdk and could do with a little guidance.
    For part of a plugin I need to retrieve the full path to each image, and although I can achieve what I want I'm struggling to print the path to the console/logger and can't understand why.
    Here's a snippit of code to illustrate things:
    for photo in exportSession:photosToExport() do
         filename = photo:getFormattedMetadata( "fileName" )
         outputToLog( filename )  -- Works as expected
         folderName = photo:getFormattedMetadata( "folderName" )
         outputToLog( folderName )  -- Works as expected
         local path = LrPathUtils.standardizePath(photo:getRawMetadata("path"))
         outputToLog( path ) -- Output is always blank
         -- and yet when passed to exiftool the path is correct and works as expected
         LrTasks.execute("exiftool  -Copyright=\"Imaginary person\" \""..path.."\"")
    end
    Basically I can get the path and use it as part of an exiftool command, but can't work out how to output the path to the log/console for debugging purposes. Am I missing something simple or is this an intentional limitation?
    Any help much appreciated.

    I don't know what the problem is. What device are you outputting to?
    i.e. did you try logger:enable( "logfile" ) -- that works for me in OSX to log to a file.
    Here is the code I use:
    self.logger = LrLogger( logName )
    local function logToFile( msg )
        local f = io.open ( self.logFilePath, "a" )
        if f == nil then
            Debug.pause( "can't open log file", self.logFilePath )
            return
        end
        f:write ( LrDate.timeToUserFormat( LrDate.currentTime(), "%Y-%m-%d %H:%M:%S"), " ", msg, '\n' )
        f:close ()
    end
    if self.verbose then
        --self.logger:enable( 'logfile' ) -- enable everything to log file.
        self.logger:enable( logToFile )
    else
        local actions = {
            -- debug output is suppressed when not logging verbosely
            trace = logToFile,
            info = logToFile,
            warn = logToFile,
            error = logToFile,
            fatal = logToFile,
        self.logger:enable( actions ) -- suppress trace & debug.
    end
    R

  • How to remove request parameters in a filter

    Hello,
    I wanted to make a filter that removes all the GET parameters except for a few exceptions.
    How do I remove parameters from a ServletRequest or HttpServletRequest? I am trying to make a webapp that only uses POST variables, and not GET (except a few exceptions).
    Can someone point me in the right direction?
    Thanks!

    Arrowx7 wrote:
    Hey, thanks for the replies.
    Actually, I have a bunch of action forms in my webapp, which use request.getParameter(). This method doesn't distinguish between get and post. For security reasons, I don't want any of those parameters coming in with the URL as GET.
    At first I wanted to have the filter take the request URL, parse the variables, loop through them, and remove ones that aren't on the EXEMPT list.
    So a request like this:
    http://myweb.com/messageAction.do?method=send&to=bahuser&subject=i+am+stupid&body=you+stink
    would be turned into this:
    http://myweb.com/messageAction.do?method=send
    because the 'method' param is the only one that is on the EXEMPT list.
    Perhaps there is a way I can get the request URL with the GET params, and then redirect to the safe URL after taking out parameters?If you actually mean take out those parameters (ie make them not attainable anymore) then yes, you can do
    if ("get".equals(request.getMethod().toLowerCase()) {
      response.sendRedirect("http://myweb.com/messageAction.do?method="+request.getParameter("method"));
    } else {
      filterChain.doFilter(request, response);
    }>
    Thanks!
    Edited by: Arrowx7 on Jul 24, 2008 9:03 AM

  • How to read URL parameters of one wdp component into other WDP component?

    Dear Experts,
    Can anyone let me know how to read URL parameters of one wdp component into other WDP component?
    My requirement is i have one standard WDP component with 3 URL parameters and i needto
    read that URL parameters along with their values in my Z-WDP component.
    Thanks
    SK

    Hi Santosh,
    You can read parameters send from one WebDynpro Component to another component by adding code in "HANDLEDEFAULT" Event Handler method ( Window )of your target Web Dynpro Component.
    data: lt_parameter             type tihttpnvp,
             ls_parameter             type ihttpnvp.
    lo_api_controller ?= wd_this->wd_get_api( ).
       call method lo_api_controller->get_message_manager
         receiving
           message_manager = lo_message_manager.
       clear : ls_parameter.
       refresh : lt_parameter[].
    * Read all URL parameters
       wdevent->get_data( exporting name = if_wd_application=>all_url_parameters importing value = lt_parameter ).
    if not lt_parameter[] is initial.
         clear : ls_parameter.
         read table lt_parameter into ls_parameter index 1.
         if ls_parameter-name = 'ACTION' and
            ls_parameter-value is initial.
           lv_flag = 'X'.
           clear : lo_msg.
           lo_msg = 'Action Parameter Missing in URL Link !'.
    *         report message
           call method lo_message_manager->report_error_message
             exporting
               message_text = lo_msg.
         else.
         endif.
    Best Regards
    Priyesh Shah

  • How to schedule actions  in photoshop

    We are facing problem to schedule the action in photoshop cc and would require help for same.
    Please suggest if there is any option available.
    Let me also brief the requirement:
    There is set of multiple images and different multiple photoshop masking actions which needs to be apply.  So every masking should generate a different output.
    For example there is array of images approx 1000 different images.
    and there is another array of 50 different layout (object style which include multiple masking actions) which needs to merge with all images, so there will be total 1000x50 = 5000 images 
    The 1 layout require approx 1 hour to apply on all images
    The problem we are facing in action is it only takes one action at a time so we need to know
    1- how to define action in such a way that it pick different layout time after completion of previous.
    2- Or can we schedule action in time so we will save different actions with different combination and trigger it as per time.
    if there is any other better way, plz advise
    Thanks in advance

    The Image you've attached seems to have been made in Adobe Fireworks. I opened the image in Ps, which advised that it was discarding the additional Fireworks information, and the image appeared on screen with a transparent background. The fish shape is a dark neutral grey (72:72:72 in my sRGB workspace). Why can't you do the same as I have done with the original Image (cropped if necessary to eliminate all but the fish shape) and save it as a PSD, thus giving you the separate file you want?

  • Quotation, customizing of output actions for email

    Hi All!
    I am having a problem with the customizing of an output action for email for quotation:
    In SPRO, SRM Server> Cross-application> Set output actions and output format> Define actions or document output
    I set the following parameters:
    Action profile: BBP_PD_QUOT
    Action definition: ZCUSTOM_QUOT_PA
    With
    Action settings:
       Processing Time: Processing when saving document
       Processing Times Not Permitted: Selection report
       Sort Order For Display: Empty
    Action determination and Action Merging:
      Determination Technology: Determination using conditions that can be transported
      Rule Type: workflow conditions
      Action Merging: set highest number of processed actions
    Processing types: Smart Forms Mail
    With
    Form Name: BBP_OUTPUT_COVER
    Processing Class: CL_PD_QUOT_PROCESSING_BBP
    Processing Method: PROCESS_BBP_QUOT_MAI_BCS
    Archive Mode:  Main only
    The problem is that, when i accepts the quotation, there is no email generated, also in BBP_PPF there isn't any output generated.
    Do anyone know what could be the problem? there is something missing in the configuration??
    Thank you very much in advance!
    Regards,
    Nicolás.-

    Hi All,
    I'm facing the same problem of customizing the action profile BBP_PD_QUOT. My requirement is to trigger an Email notification in case an RFQ is rejected by the buyer. For that I have created one Event Control in- Define Event Schema" for "BUS2202". The Event Control which I have added is as-
    Event                         Event category
    "REJECTED"               Message(low priority)
    Then in Action Profile BBP_PD_QUOT, I have created one Action Definition ZTEST with all the settings as described by Nicolos above except the condition in the BADI as I dont know the BADI name he is specifiying.
    I'm unable to trigger the email in case an email is rejected. So, can you please let me know BADI name with the condition you have specified.
    Also please specify if I'm doing something wrong.
    Help is required urgent...
    Thanks And Regards
    Anurag Khanna

  • How to output sound to RCA cables?

    I give up! I can't for the life of me figure out how to output the sound from my Macbook to play on my stereo or TV which use RCA cable hook-ups.
    I got the VID ADPT MINI-DVI TO VIDEO ADAPTER-GEN but that only adapts the video, not the sound. Do I have to get some kind of optical to analog adapter?

    This would do the trick, although you can probably find something at Radio Shack for less.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=FFB 21895&fnode=home/shopipod/ipod_accessories/cablesdocks&nplm=TN779LL/A
    I got an iPod kit with a power supply, extra dock, and a Monster Cable (yeah I think they're overhyped) mini jack to RCA connector.
    There are a bunch of ways you can do this. If you've already got long enough RCA cables, these would do the trick:
    http://www.radioshack.com/product/index.jsp?productId=2103710
    Or if you have a short distance, maybe something like this (doesn't say how long it is):
    http://www.radioshack.com/product/index.jsp?productId=2427991
    There are more attractive versions of this type of adapter. Radio Shack shows at least a dozen from different companies.

  • How to hide dynamic parameters values in the URL with Reports 6i

    Hi,
    I want to know a way of hiding the parameters values when asking for a report through the web.
    Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
    Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
    Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
    Is there any solution?
    Thank you.
    Marma Bonfiglio.

    Hi Rakesh,
      I am using BI  7.0
    The last option I have is 'Hide' for 'Calculate single values as' .
    I have the below options  for 'Calculate single values as'
    1. Normalise  according to Next group  level  Resul.
    2. Normalize according to  Overall Result
    3. Rank number
    4.Olympic Rank Number
    5.Maximum
    6. Minimum
    7.Counter for all detailed values
    8.Counter for all detailed values that are non zero
    9.Moving average
    10.Moving average  That is  Not zero ,null or Error
    11. Hide.
    So could you please tell me where i can find 'suppress result' option for the keyfigure .
    Many thanks

  • How GET Output to Excel with Oracle9i Report using OC4J

    how GET Output to Excel with Oracle9i Report using OC4J.
    I FINISHED THE SETPS CONCIDERING THE JSP CODE NEEDED TO GET THE EXCEL OUTPUT ON LOCAL MACHINE.
    I NEED TO PUBLISH THIS REPORT THROUGH APPLICATION SERVER.
    THE QUESTION IS:
    1- HOW TO START AN OC4J INSTANCE FROM ORACLE 9I DS FOR THIS REPORT?
    2- WHERE (PATH) TO PUBLISH THE REPORT ON THE APPLICATION SERVER?
    3- WHAT IS THE DEFAULT URL TO RUN THIS REPORT AND WHERE TO PUT IT?
    4- HOW TO MAKE MAPPING FOR DIRECOTRY PATH TO TRANSLATED AS URL FOR THIS REPORT?
    5- IF ANY ONE CAN GIVE ME THE FULL CODE TO RUN AND CALL SIMPLE JSP REPORT TO BE VIED IN INTERNET EXPLORER.
    THANK YOU

    Hi,
    I can't answer to all your questions, however I can tell you that:
    2) The directory where to put the report file is specifiend in a file named
    <serverName>.conf
    in the sourceDire property
    <property name="sourceDir" value="/directory/dove/mettere/i/report"/>
    that you can find under ORACLE_HOME/reports/conf
    3) The URL is
    http://<server IAS address>:<port number>/<jsp file path>/<repName>.jsp?server=<report server name>&userid=<user>/<pwd>@<DB conn string>[&<param>=<valore>[&...]]
    5) In IE you have only to set the previous URL in the address bar.
    Hope this helps you
    Bye
    Raffy

  • How can I pass parameters from one process flow to another process flow?

    How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
    Thanks in advance,
    Kishan

    Hi Kishan,
    Please post this question to the Warehouse Builder forum:
    Warehouse Builder
    Thanks, Mark

  • How to create optional parameters in discoverer 10.1.2

    I am new to discoverer, Can any one tell me how to create optional parameters in Discoverer desktop edition in 10.1.2
    I looked at the following thread which says optional parameters can be created in 10.1.2 but doesn't tell how tro create it
    How to create optional parameters in Discoverer
    Thanks in Advance

    Hi.
    In the thread you quoted Michael Armstrong-Smith says that optional parameters can be created in Plus but not in Desktop and that's true.
    So your question "how to create optional parameters in Discoverer desktop" is already answered in that thread.
    Assume that it is a typo and you wanted to ask how to create optional parameters in Plus.
    Then the answer is simple: Just uncheck the "Require users to enter a value" checkbox when creating new parameter.
    Regards Jakub

  • Windows 8 and PSE7 and PSE11 how to add actions

    I changed over to Windows 8.  PSE 7 downloaded and opens up just fine.  I cannot seem to find any info on how to add actions to PSE7.  Windows 8 is not setup like 7.  There is no start button.  You cannot input programdata to find the hidden files.  I downloaded PSE11 trial version thinking it was just PSE 7..........same thing, downloaded no problem, opens up but how do you add actions?   I used many actions to resize the file, sharpen, and a few makeover actions by Florabella.  I would love to be able to use those again.   Thank you.

    You probably need to do some study on how Microsoft expect Windows 8 to be used, especially if you don't have a touch screen.
    Two thoughts
    1. If you don't have a touch screen, Adobe Reader Touch may not be the best choice. It is much more limited than the regular Adobe Reader. Did you pick it for a reason, or just because Microsoft encouraged you into their App Store?
    2. Try a right click, sometimes seems to substitute for a touch off the edge. I know you can't just use the mouse as if it were touch.

  • How does works default parameters in a program with logical database PNP?

    Hi Friends,
      I have a basic program, i need to filter info with period parameters in a program that uses logical database PNP, but it doesn't work.
      If i use "person selection period" that it's suposed to filter info according to infotype 0001 (as the sap help says), it doesn't work, i use: PNPBEGPS = today and PNPENDPS = today, and the result it's a lot of registers that doesn't meet that criteria.
      Also i tried with: data selection period, today, up to day, current month. And the result it's with the same problem.
      How does works period parameters in a program with logical database PNP?
    This it's the program example, i use the default category.
    REPORT  ZRPHRTEST.
    tables: pernr.
    infotypes: 0001.
    start-of-selection.
    get pernr.
      write: pernr-pernr, p0001-begda, p0001-endda.
    end-of-selection.
    write 'fin'.

    Hi,
    Define pernr table under tables statement then and use GET PERNR event.This get event is followed by End-Of-Selection.
    Syntax: Tables pernr.
                Get pernr.
    Try, activate and test. This should solve your problem.
    Regards,
    Abhijeet

  • How to output video to TV or Home Theatre? (iphone)

    How to output video to TV or Home Theatre? (iphone)

    I recently bought a AV projector and was asked by a smirky but envious friend the same question, after watching me hook up my powerbook, having already purchased an ipod video 30gig with the UNIVERSAL DOCK with remote control and ifrared remote control I remembered reading about it also working with the iphone, so it having a s-video output with a audio mini output port, I plugged the iphone into it and it came up with a little message saying this is not a iphone compatible device, and asked me to turn on airport, I ignored the request and it just clicked over to the itunes section, I picked a video and presto instant big screen projection TV off the iphone, How IMPRESSIVE! then I went to utube launched a utube video and wow how cool it also played seamlessly, although it pays to let the Youtube videos buffer for a minute to get a better play off the EDGE net work verse the Wi-Fi, I plan on having lots of out door theatre shows this summer with this very compact multi-media package, What a hoot! Get the universal dock no glitches!

  • How to output data when converting labview vi into matlab mex functions

    Hi,
    I am a fairly new user to labview and am currently working on labview
    7.1. I have created a labview vi which can extract data from ni daq
    6070e in real time. The problem is that this code has to be converted
    so that it can be used with matlab.in order to do that i am using math
    interactive tool kit which converts the labview code into mex files
    which can then be used in matlab. Unfortunately i have not been able to
    figure out how to output this data so that it can be processed in
    matlab easily. i cannot afford any loss of information and all the
    output must happen in real time. the o/p must take place after the fft
    has been done. i am attaching the vi for convenience.There are 10
    broken wires ,and this is the place where i want the o/p to be
    generated.
    Also do let me know if this vi can be further improved.
    Regards
    Attachments:
    RT_loop2ver4_working.zip ‏642 KB

    Manuj,
    You seem to have misunderstood the way in which LabVIEW processes data.  The code that you have produced will run in exactly the same way without the need for the case structure.
    The code does not actually run the data from the previous case. It is merely processing data from the previous loop iteration, regardless of the case. If you were to remove the case structure, leaving only one copy of the code intact, and remove the toggle switch you have produced, or used the shift register which, I assure you would have worked, then you will have exactly the same functionality.
    I have attached an example that uses the shift register to toggle cases, but also iterates that the case structure is not needed by using the same feedback node (and code) without a toggle switch or case structure.
    Hope this helps you optimize your code
    Regards
    AdamB
    Applications Engineer
    National Instruments UK
    Applications Engineering Team Leader | National Instruments | UK & Ireland
    Attachments:
    CASE_NO-CASE_Example.vi ‏24 KB

Maybe you are looking for

  • Visual Studio 2008 using Crystal Reports 2008

    I'm trying to pass parameters to a Crystal Reports 2008 rpt file but keep getting a runtime message saying "Missing Parameter Values". Has anyone experienced this problem? Does anyone have a snippet of code where values are being passed from C#.Net t

  • What's the best way to add a new iphone to family itunes?

    We just bought a second iphone for my wife.  It was set up with her own apple id.  It looks like the family sharing for itunes requires a common apple id.  What's the best way to share the family music library with her new device? Thanks

  • URGENT : MS SQL Server and SAP BW 3.5 Connection problem....

    Hello All, How ya all doin ? I got job as a fresher, and now we are facing some problem here with the datasource creation / generation. We have already generated views & DSs for some tables, for some views we can see the data in the datasource in the

  • When is the next ipad coming out?

    My laptop has given up the ghost (motherboard) and the nice expensive home computer has a hard drive issue.  I've been holding off for ages on buying an iPad.  I bought the iPhone5 recently and love it but I am trying to patiently wait for the new iP

  • Moving around the document

    Is it possible to see the area off screen to the left and top of the slide? When you zoom out the slide fits in the top left corner hiding everything left and above? Which makes things difficult when you want something to come on from the left or abo