FileUploadUI Element in WDA and WDJ

Hi all,
In FileUploadUIElement, we need to bind a Resource to property of this element.
In WDA, we bind it to type XSTRING and in WDJ we bind it to type IResource.
Now I am developing a RFC which uploads a file on SAP Content Server using this FileUploadUIElement. I want use this RFC from both WDJ as well as from WDA.
So what type of import parameter I should use?
Considering that I could convert IResource to InputStream at Java side, how to I pass it to RFC? Which is the data type to be used?
Thanks and regards,
Amey Mogare

Thank you for reply Thomas.
I agree that I was bit confused about where to post this question? on WDJ forum or WDA forum. So it was a mistake from my side.
:(. Sorry for this.
I have kept import parameter as XSTRING.
As per your opinion, if I convert IResource to InputStream/ byte[] at java side, I can directly put it into XSTRING type i/p parameter in RFC model?
Thanks and regards,
Amey Mogare

Similar Messages

  • WDA and WDJ

    Hi,
    In an implementation a screen already written in Web DynPro for Java. Is this possible to add a field in that screen by using WDA..
    Thanks and Regards,
    Prabhakar Dharmala

    Hi,
    no that is not possible,
    although both implement the webdynpro principles, they cannot be
    mixed up unless integrated in the portal and communicating with events.
    Modifying the layout is something that needs to be done in the own technology.
    grtz,
    Koen

  • WDA x WDJ

    Hello,
    I would like to know if there are differences between WDA and WDJ.
    If there are things that we can do only in one of the WD versions that we can't do in the other?
    Does anyone know if there is a document about it?
    Regards,
    Mauricio

    Hi,
    no that is not possible,
    although both implement the webdynpro principles, they cannot be
    mixed up unless integrated in the portal and communicating with events.
    Modifying the layout is something that needs to be done in the own technology.
    grtz,
    Koen

  • How to trigger workflow from WDA and read workflow container into WDAscreen

    Dear Expert,
      Please suggest the solution for the following requirement:
       1. Create 1 leave request from WDA and submit for approval
       2. When User press "submit" button in WDA screen, workflow will be triggered for processing approval  .
       3. When 1 request is sent to approver, he logon into portal and access to UWL to process task himself.
       4. After he press approval link, the system will call WDA screen to process approval ( this screen will contain full information of requester.)
       5. After finishing process, the result will return workflow and end of process.
    Please send simple example for step 1 and one for get data from workflow into WDA screen at step4
    Any help would be appreciated
    Thanks and best regards,
    DucTV.

    Hi,
      I am not sure for what reasons you are developing a application but SAP has its own standard workflow process for applying leave from ESS portal..
    1. AS soon as you click on the submit button of the applicaiton then you need to trigger a workflow right in that case you make sure that you need to pass some data to the workflow container I hope you might be using either SAP_WAPI_CREATE_EVENT or SAP_WAPI_START_WORKFLOW to start the workflow  in both the function module you have to fill this table in Order to pass the values from ABAP    program to workflow container.
      The answer to your question is it depends on the type of the work item ID you are passing to the SAP_WAPI_READ_CONTAINER if you are passing a top work item ID  then you will have workflow container in LT_CONTAINER if you are passing any of the child or dependent work item ids of the top work item id then you have that respective task container value.
    2. You can make use of the any foreground activity or a decision step, it depends on how you want to get back the result, if you use a foreground activity step then in that case you have to populate the result back to the task container and if let say you are using a decision step then in that case you do not have to populate the result there will be standard  container element _RESULT in the decision step it will be filled.
    Make sure if you are expecting some work item in UWL and as soon as you click on the work item your application should open then configure in SWFVISU transaction and maintain DTD in UWL any portal consultant can perform this steps in few seconds.
    3. When the workflow is started then the work item which you are able to get back is the one which helps to identify dependent work item ids it is the TOP or PARENT work item ID.
    Regards
    Pavan

  • How would/should you invoke a javascriptable applet from WDA or WDJ?

    The background to this question is here:
    OK - finally a bioinformatic coding problem that may not be so easy ...
    The question is as follows.
    Suppose you have a javascriptable applet - that is, an applet whose behavior can be tailored by passing it certain parameters from javascript.
    What would the best way be to invoke the javascript from WDA or WDJ, assuming that you wanted to "pop" the applet in a separate HTML frame within tne WDA or WDJ application?

    Anton -
    Glad to see you contributing again!
    Well, your original comment about RasMol shamed me into doing some research into molecular viewers callable as applets.
    Here are the latest responses I've gotten from Angel Herraez at Jmol.  (You might find it fun to join the Jmol project at SourceForge and also subscribe to its jmol-users list-server.)
    I told Angel that here's what I want to do:
    > 1) we're in Frame1 of a portal that has two other frames in it: FrameA and
    > FrameB.
    >
    > 2) A query in Frame1 against a certain database brings back two sets of
    > specifications for Jmol, say:
    >
    > a 1hru, A, 123-145
    > b) 2eqa, A, 144-167
    >
    > 3) Via "client-side eventing" at the portal level , the portal passes the
    > parameters in (a) to JMol and Jmol runs in FrameA to display the "partial"
    > structure view requested (with rotate capability, same as in interactive
    > JMol;
    >
    > 4) At the same time , the portal passes the parameters in (b) to JMol and
    > Jmol runs in FrameB to display the "partial" structure view requested (with
    > rotate capability, same as in interactive JMol;
    >
    > Is this scenario currently possible as JMol is currently written?
    He then responded:
    As long as you have already set the means to communicate with the
    Jmol applets in your portal system, I think it is indeed.
    This is what I'd pass to Jmol in FrameA:
    load "1hru.pdb"; display *:A and 123-145;
    and this to jmol in FrameB:
    load "2eqa.pdb"; display *:A and 144-167;
    (you will have to adjust the loading of the pdb file depending on
    where it is located)
    "display" is a better choice than the alternative, "restrict", for
    reason I won't discuss now (but we can separately, if you need it)
    Depending on your ways of inserting Jmol into your frames, there may
    be some details to solve, but on the Jmol scripting side that's all
    needed.
    > Or would I have to settle for the portal simply invoking Jmol in FrameB
    > and again in FrameC and letting the user manipulate settings in the
    > console, as you suggest.
    No, I won't suggest so, you can indeed preprogram what you want.
    I also asked him about capturing the views after rotating in each frame to get the desired view of each structure, and here's his response to that:
    Yes, the views can be captured to the user's computer, in a web page
    (e.g. popup window) from where the user can copy or save them to
    disk, using the browser's capabilities.
    If you need to "capture" to the server, I cannot say *but see below.
    The discussion on how to make snapshots is quite long. There are
    several mesages in the list some time ago and there are several
    places that use this functionality; Bob has at least one, I dont0
    remember exactly where right now, and I have a testpage/tutorial at
    http://biomodel.uah.es/Jmol/export-image/index.htm
    See if you can make it from that, then ask if you need help.
    >From the screenshot, displayed inside the browser, you can save
    directly to your disk in some browsers, or else copy-paste into any
    image editing program (I would not recommend Powerpoint, as the
    quality of saved images is poor). You get a jpeg file directly.
    Now that I think of it, in fact all the trouble was getting the
    server-generated image into the client browser, so there should be a
    way to store the image in the server maybe.
    Anyway, will you be in LasVegas?
    If so, will you be at SDN Community Day?
    If neither, do you have MS shareview ????
    Anyway, I will be talking soon (this weekend) in the WIKI about "alignments" and how I have to use them to get the results at StrucClues (http://strucclue.ornl.gov).
    This is where the really interesting and heavy regex-ing and returned html parsing is going to come in, so I hope you will remain interested long enough to solve the new propblems I am going to pose.  They will be much more related to real scripting problems - I just wanted to get this "view/rotate" issue out of the way, so that I could do an honest job at my SDN Community Day Session.
    Very best regards
    djh

  • Message Handling WDA and another Browser Window

    Hello,
    We have one Web Dynpro Application (ABAP) and this application will be run in a portal (NetWeaver 2004 s). We would like to start one JavaScript application from this WDA. This application started on click (UI-Element "LinkToURL"). We need the status of the started JavaScript application in the Web Dynpro Application. The important status are, error, exit, successful, browser window closed, ... .
    How we can implement a message handing with WDA and JavaScript.
    Thanks for your creative suggestion.

    Hi Andrea.
    I am not sure if this is what you are looking for:
    http://help.sap.com/saphelp_nw04/helpdata/en/82/04b340be3dff5fe10000000a155106/content.htm
    Seems that there is a JavaScript Library for Portal.
    In WebDynpro events are triggered as described here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/da/f96f4132f15c58e10000000a1550b0/frameset.htm
    Cheers,
    Sascha

  • How to bind the values of a RFC to a table element in WDA

    Hi,
    I have a RFC that returns some set of rows for a particular pernr.I want to bind this RFC to a table element in WDA.
    please let me know how to do this and points will be rewarded for the helpful anwers

    Hi,
    Pl post in Web Dynpro ABAP
    This tutorial may help https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7a89b067-0801-0010-8192-a9896a60938e
    If its WD java
    bind the datasource to the RFC model node
    Regards
    Ayyapparaj

  • I downloaded my Elements 11 software and resitered it and now it won't open on my computer . . . .

    I downloaded my Elements 11 software and resitered it and now it won't open on my computer . . . . do I need to re-install it??

    I am working off of Windows 7. My husband restarted the computer and it works fine now. But before you would click on the icon to open the program it would appear as if it were firing up and then just shut down with no message or anything. Not sure but it looks as if it's running ok now! Thanks for responding though!

  • I have adobe elements 6 program and my disk got distorted.  i have all my serial numbers still as i have all packaging.  is there a way the program can be downloaded.  my computer had to be wiped out and was trying to reinstall

    hi.  i have the adobe elemenets6/premiere elements 4 package and my disk has gotten destroyed from getting all scratched up.  my laptop i had my program on had to be wiped out and everything has to be reloaded.  is there a way the program can be downloaded from the internet? i have the packaging still where it shows my serial numbers.

    iPods do not work with "accounts."  They work with your iTunes library.  You don't have to set up a new iTunes library for each iPod.  One iTunes library can sync with as many iPods, iPhones, and iPads as your own, at the same time.  iTunes connects to and treats each device separately.
    However, if your iPod nano is set up for automatic syncing with an iTunes library that is NOT your current iTunes library, you cannot sync your current library to it without replacing its existing content.  Do you have access to the previous iTunes library, the one the iPod currently synced to?  If so, you should transfer your song files from that iTunes library to your current iTunes library.  Then, sync our iPod to your current iTunes library.  You can post back to get more info about the procedure.
    If you don't have access to that previous iTunes library, the approach is to first offload the song files from the iPod to your computer's drive, then add the song files to your current iTunes library.
    You cannot use iTunes to transfer song files from iPod to computer, except for songs purchased from the iTunes Store.  However, there are third-party methods and utilities that can transfer from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    You can then sync your iPod to your "consolidated" iTunes library.

  • In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity

    [The title of this forum is "Labview Ideas". Although this is NOT a direct suggestion for a change or addition to Labview, it seems appropriate to me to post it in this forum.]
    In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity
    I'd like to see NI actually start a round-table discussion about VI references, Data Value references, local variables, compiler optimizations, etc. I'm a C programmer; I'm used to pointers. They are simple, functional, and well defined. If you know the data type of an object and have a pointer to it, you have the object. I am used to compilers that optimize without the user having to go to weird lengths to arrange it. 
    The 'reference' you get when you right click and "Create Reference" on a control or indicator seems to be merely a shorthand read/write version of the Value property that can't be wired into a flow-of-control (like the error wire) and so causes synchronization issues and race conditions. I try not to use local variables.
    I use references a lot like C pointers; I pass items to SubVIs using references. But the use of references (as compared to C pointers) is really limited, and the implementation is insconsistent, not factorial in capabilites, and buggy. For instance, why can you pass an array by reference and NOT be able to determine the size of the array EXCEPT by dereferencing it and using the "Size Array" VI? I can even get references for all array elements; but I don't know how many there are...! Since arrays are represented internally in Labview as handles, and consist of basically a C-style pointer to the data, and array sizing information, why is the array handle opaque? Why doesn't the reference include operators to look at the referenced handle without instantiating a copy of the array? Why isn't there a "Size Array From Reference" VI in the library that doesn't instantiate a copy of the array locally, but just looks at the array handle?
    Data Value references seem to have been invented solely for the "In-Place Element Structure". Having to write the code to obtain the Data Value Reference before using the In-Place Element Structure simply points out how different a Labview reference is from a C pointer. The Labview help page for Data Value References simply says "Creates a reference to data that you can use to transfer and access the data in a serialized way.".  I've had programmers ask me if this means that the data must be accessed sequentially (serially)...!!!  What exactly does that mean? For those of use who can read between the lines, it means that Labview obtains a semaphore protecting the data references so that only one thread can modify it at a time. Is that the only reason for Data Value References? To provide something that implements the semaphore???
    The In-Place Element Structure talks about minimizing copying of data and compiler optimization. Those kind of optimizations are built in to the compiler in virtually every other language... with no special 'construct' needing to be placed around the code to identify that it can be performed without a local copy. Are you telling me that the Labview compiler is so stupid that it can't identify certain code threads as needing to be single-threaded when optimizing? That the USER has to wrap the code in semaphores before the compiler can figure out it should optimize??? That the compiler cannot implement single threading of parts of the user's code to improve execution efficiency?
    Instead of depending on the user base to send in suggestions one-at-a-time it would be nice if NI would actually host discussions aimed at coming up with a coherent and comprehensive way to handle pointers/references/optimization etc. One of the reasons Labview is so scattered is because individual ideas are evaluated and included without any group discussion about the total environment. How about a MODERATED group, available by invitation only (based on NI interactions with users in person, via support, and on the web) to try and get discussions about Labview evolution going?
    Based solely on the number of Labview bugs I've encountered and reported, I'd guess this has never been done, with the user community, or within NI itself.....

    Here are some articles that can help provide some insights into LabVIEW programming and the LabVIEW compiler. They are both interesting and recommended reading for all intermediate-to-advanced LabVIEW programmers.
    NI LabVIEW Compiler: Under the Hood
    VI Memory Usage
    The second article is a little out-of-date, as it doesn't discuss some of the newer technologies available such as the In-Place Element Structure you were referring to. However, many of the general concepts still apply. Some general notes from your post:
    1. I think part of your confusion is that you are trying to use control references and local variables like you would use variables in a C program. This is not a good analogy. Control references are references to user interface controls, and should almost always be used to control the behavior and appearance of those controls, not to store or transmit data like a pointer. LabVIEW is a dataflow language. Data is intended to be stored or transmitted through wires in most cases, not in references. It is admittedly difficult to make this transition for some text-based programmers. Programming efficiently in LabVIEW sometimes requires a different mindset.
    2. The LabVIEW compiler, while by no means perfect, is a complicated, feature-rich set of machinery that includes a large and growing set of optimizations. Many of these are described in the first link I posted. This includes optimizations you'd find in many programming environments, such as dead code elimination, inlining, and constant folding. One optimization in particular is called inplaceness, which is where LabVIEW determines when buffers can be reused. Contrary to your statement, the In-Place Element Structure is not always required for this optimization to take place. There are many circumstances (dating back years before the IPE structure) where LabVIEW can determine inplaceness and reuse buffers. The IPE structure simply helps users enforce inplaceness in some situations where it's not clear enough on the diagram for the LabVIEW compiler to make that determination.
    The more you learn about programming in LabVIEW, the more you realize that inplaceness itself is the closest analogy to pointers in C, not control references or data references or other such things. Those features have their place, but core, fundamental LabVIEW programming does not require them.
    Jarrod S.
    National Instruments

  • Adobe Photoshop Elements 9 - RAW and Sony A55 Support?

    Hi.
    I am about to buy the Sony A55 DSLT Camera and would love to know if it is compatible with Elements 9.
    Thank you Scott.

    Hi Scott
    I think you must mean the A550 DSLR.
    Yes it is supported in PSE9, but after installing Elements you will need to update the software.
    It’s a quick fix - you simply open the Elements Editor Application and on the top menu click Window >Updates. You are then ready to go.

  • Integrating a workflow in PS Elements 5, LR1 and Photoshop

    Here is a workflow that helps me integrate LR, Elements 5 and Photoshop...
    Prior to release of LR1, I used PS Elements 5 to organize my photos, along with RawShooter and PS7.0.
    I had hoped to replace both PS Elements and RawShooter by Lightroom - but that is still in the future. My problem in migrating fully to LR is that the tag structure fails to import properly from Elements to LR and I don't have the patience to retag thousands of photos in LR (many others have encountered this issue).
    So I have been looking for a way to use the "develop" and other powerful functions of LR + PS while still keeping everything organized in Elements until Adobe fix the Import from Elements function.
    First, if you haven't read Kevin K Yong's LR-Photoshop clever idea for workflow, read it first. Kevin's workflow uses two folders ("Develops" and "1A Sortbox") and the autoimport feature to integrate LR and Photoshop:
    www.adobeforums.com/cgi-bin/webx/.3bc34679/15
    OK, here's how I build on that:
    Set up: I have PS Elements watch "My Pictures"and automatically add new files to the organizer. I have LR set up with Kevin's "Develops" and "1A Sortbox" folders. I have LR "Automatically write changes into XMP". I convert all RAW to DNG.
    Now, lets say I want to work on a project:
    1. Find the photos I want to use in Elements and get them into the photo browser (using tags, collections or whatever).
    2. Optionally, select the photos and "Write tag and properties info to photo" (File Menu).
    3. Select all photos and drag and drop from Elements into the LR Grid View. LR imports them in the normal way at their current location. LR will recognise most/some of the tags (not for RAW).
    4. Develop photos as needed in LR.
    5. Export any photos needing work in Photoshop using Kevin's technique, filing the .psd files where desired but somewhere within "My Pictures".
    6. Export finals for printing, web etc.
    7. When finished with the project, go back into Elements, which will automatically add any new Photoshop files into the organizer. Stack with originals if desired.
    This takes about 10 minutes to set up, once, and then the flow is straightforward and fairly natural. It makes using LR a pleasure. Try it.
    Hope this is helpful to those working with Elements, Regards, Nigel
    Windows XP, Intel dual core 2.8Ghz, 1Gb. LR1.0, PS Element 5.0, Photoshop 7.0

    Nigel,
    I have been searching several forums in order to transfer my Tags and Collections from PSE5 to Lightroom. Your posting seems to work (I have tried one Tag and one Collections) today. I use the PSE5 editor not PS so is there a step I need to take to insure that my changes will appear in PSE5? I am really encouraged with the "workflow" in your message as I have over 30,000 images in PSE5 in various Tags and Collections.
    Also I need to see Kevin's technique...where can I find that bit of knowledge? Or do I need it if I do not use PS as my editor.
    I am a new member to this forum,
    Rollie
    my personal email address is [email protected]

  • Useless Map in Photoshop Elements 7, 8, and 9

    I use Windows 7, and have 4 GB RAM, a 2 GHz dual-core processor, and lots of hard drive space.  In Photoshop Elements 7, 8, and 9 the mapping function is completely useless.  Sometimes the pins on the map just flash at me.  When I try to magnify a certain section, the map image just refreshes.  I am terribly frustrustred by the fact that Adobe advertises that the map function can help organize my photos when it doesn't work at all.  I can pin tags to a location by searching for that location, and I can see a longitude and latitude on the tags.  But when I use "show on map" nothing happens.
    Any solutions out there?

    I'd be happy to hear an answer to this. I've been use PSE 7 and was going to upgrade to 9 but the show on map functionality is even more broken in 9. My hardware setup and the behavior I see is the same as the original poster. I'm also surprised to see that maps from 2006 are still being used.  Unrelated to this, in PSE9, if you show images on the category tags there is entirely too much whitespace and the text is cropped well short of the ride side of the window and there is tons of whitespace around the text.  Given these issues, I guess I'll stick with 7 or look for something else.

  • Photoshop Elements 6.0 and Camera Raw Version Question

    I have been using Photoshop Elements 6.0 and it's does what I need to do.
    Revcently we bought two new cameras and the Camera Raw version 5.6 that we have installed does not support these new cameras.
    The Camera Raw list says that I need Camera Raw 6.2 for the one and 6.3 for the other (so 6.3).  But as far as I can understand, PE 6.0 will only support up to Camera Raw 5.6.
    And to support 6.3, I'd need a minimum of PE 8.0.
    Am I correct?
    Thanks

    Download and install the free Adobe DNG converter to convert your raw files to the Adobe universal Raw format and the files will open in all versions of PSE (keep your original raw files as backups and for use in the manufacturers software)
    Windows download click here DNG Converter 7.2
    Mac download click here DNG Converter 7.2
    You can convert a whole folder of raw images in one click. See this quick video tutorial:
    You Tube click here for DNG Converter tutorial

  • Photoshop Elements 6.0 and 7.0 trial

    I have Photoshop Elements 6.0 and the trial version of 7.0 - in the middle of working on stuff, it just pops an error message up telling me it has performed an illegal operation and needs to shut down. This only happens on my home computer as the same software is installed on my laptop and it doesn't ever shut down on me. This happened awhile back and a guy from Adobe support walked me thru some stuff on my computer and that has worked until recently, but it is doing it again. I have windows xp on my home computer. Can anyone help me with this situation?

    Megan,
    Unfortunately, there are many causes of PSE crashes and it can be difficult to diagnose quickly. If it's the Editor that's crashing, try these troubleshooting steps:
    http://www.johnrellis.com/psedbtool/photoshopelements-6-7-faq.htm#_Troubleshooting_Editor_ crashes
    If it's the Organizer, try these:
    http://www.johnrellis.com/psedbtool/photoshopelements-6-7-faq.htm#_Troubleshooting_Organiz er_crashes

Maybe you are looking for