Tree/leaf and links

Hi,
I just created a tree based on sql, and it's great. But i like whenever users click branches or leaves, these branch/leaf will point to new pages. How to configure this?
By the way, it looks the htmldb How-to url is changed. What is the new url for html how-to?
Thanks.
Fei

hi fei--
if you edit the tree definition of your newly created tree, you'll see that it's really defined as a sql query. the fouth column selected out in this query is your link. if you opted not to have your tree link to anything during the process of using our wizard to create your tree, you'll find that fourth column is null. so if you made your tree off the emp table, your might look like this...
select "EMPNO" id,
"MGR" pid,
"ENAME" name,
null link,
null a1,
null a2
from "#OWNER#"."EMP"
...and if you change that fourth column like so...
select "EMPNO" id,
"MGR" pid,
"ENAME" name,
'f?p=&APP_ID.:1:&APP_SESSION.::NO::P1_EMPNO:'||"EMPNO" link,
null a1,
null a2
from "#OWNER#"."EMP"
...you'd find that clicking on an employee's name in your tree would link you over to page 1 setting :P1_EMPNO to the value of that emp's empno. the better way to do this, though, would be to set your linking up as you go through the tree wizard. the ninth step of that wizard asks you to "Identify Query". that screen has a "Link Option" field on it. it defaults to "Nothing", but it sounds as if you'd like it to link somewhere in your app. to have it do so, simply select the "Existing Application Item" option in that radio group. the next screen will then help you set up that link.
either of the above two approaches should work fine, but let us know if you need further assistance.
regards,
raj
ps-the htmldb how-to's are currently at http://otn.oracle.com/products/database/htmldb/howtos/index.html .i don't think they've been moved recently, but that's at least where they are now.

Similar Messages

  • Tree Navigation and Link  - Open iview in Content Area

    Hi,
    this is maybe trivial, but I can't find anything about it right now:
    I created an iview in Java that shows a custom tree in the detailed navigation area.
    Now I have an iview ( a BW apps), that should be behind this link on the inner tree level, and, when clicked, should show up on the inner desktop.
    What is the java code that needs to be put into the nav iview to do this? How do I identify the URL that is behind the BW apps that I need to call?

    You could also let your custom link in the masthead point to a "quicklink" then you do not have pass any url as parameter you just call as it is and you get what you need.
    Do not forget to set the "target" property of the link tag to "_top"
    Cheers,
    Benjamin

  • Displaying a mixture of text and links in a single node of af:tree

    Hi,
    I want to display few links embedded in text as a node in <af:tree>.
    For example, I want a single node in a tree to show three links with text - "Different type of email services are gmail, yahoomail,hotmail".
    (gmail,yahoomail and hotmail are links)
    Is there a good way of displaying this? I tried following options
    1) I have a property named "linkText" in a bean instance mybean of MyBean.java. "linkText" contains required text and "a href" tags to display links. I used the following code in jsp page
    <af:tree>
    <f:facet name="nodeStamp">
    <f:verbatim>
    #{mybean.linkText>
    </f:verbatim>
    </f:facet>
    </af:tree>
    <f:verbatim> displays the EL expression as it is. I am not able to access the value.
    2) I also tried to use <af:outputFormatted>. Though it supports "a href" tag, it does not support "target" attribute of the same tag.
    Is there any other way of doing this?

A: Displaying a mixture of text and links in a single node of <af:tree>

On a related note ...is it possible to call a commandLink to call an existing java bean/function within an outputText?
For example:
Say I had an outputText that dumped a /etc/hosts file and I wanted to put in a command link to ping each host and pass the particular IP address to it. What would be the best method for doing that?
135.122.29.122 host1.me.com {color:#ff0000}_PingMeLink_
{color}135.122.29.117 host2.sd.me.com _{color:#ff0000}PingMeLink{color}_
So can I embed this in an outputText somehow or is there a better way to do this?
&lt;af:commandLink text="PingMeLink"
action="#{NetworkController.PingAHost}"/&gt;
Thanks for your help!

On a related note ...is it possible to call a commandLink to call an existing java bean/function within an outputText?
For example:
Say I had an outputText that dumped a /etc/hosts file and I wanted to put in a command link to ping each host and pass the particular IP address to it. What would be the best method for doing that?
135.122.29.122 host1.me.com {color:#ff0000}_PingMeLink_
{color}135.122.29.117 host2.sd.me.com _{color:#ff0000}PingMeLink{color}_
So can I embed this in an outputText somehow or is there a better way to do this?
&lt;af:commandLink text="PingMeLink"
action="#{NetworkController.PingAHost}"/&gt;
Thanks for your help!

  • PDF Portfolio with Index Doc (and links)?

    Hello all.
    I'm a newbie at Porfolios, and have version 9 on windows. I also have version 10 at work.
    I want to take an excel spreadsheet (converted to pdf) and make it a main index in my portfolio; whereas when someone clicks on the index, it starts at a first page; allowing them to view the list of assets, and then click an asset name (link) which takes them to a sub file in a sub folder, or just a sub file. I don't think I ever go more than 2 link clicks to get to the bottom of the tree.
    I was able to create the index, and links, and on both 9 and 10 (windows) it follows the links nicely.
    The problem? There's no logical button or menu choice that I can find which takes me back to the main index after I've hit the bottom of the tree.
    Thoughts?

    I don't need the detail of when the pdf was added to the portfolio.  I
    need know which dwg or jpg or word file was converted and the original
    created date of that file for control of information.
    That is impossible; sorry. For some *very specific* types of conversion to PDF the pdfx:SourceModified XMP tag will be set to show the last-modification date of the source file (for example DOCX files converted using MS Word), but there will never be a human-readable record of the source filename or its creation date unless you have manually added them as document XMP properties after conversion (this is what the "Custom Properties" dialog is for). To embed source data automatically would raise no end of privacy and security problems for customers, who most certainly do NOT want their recipients seeing details of internal documents.
    Without writing a plugin there's no access to the internal workflow of the Combine Files dialog, so you cannot use a script to read the names and dates of the files *before* conversion and store them automatically in the new PDF Portfolio's Fields array.

  • Config JNDI and link to resource object name in WL10.0

    How to add a JNDI to JNDI tree and link to an object name in WebLogic? I am trying to like a commonj WorkManager to JNDI resource so the WorkManager can be used in client or j2ee application through JNDI lookup.
    Thanks,

    - Make sure you are using the latest build of WLS plugin.
    - Get the WeblogicBridgeConfigInfo output and check if the connection to wls servers is OK.

  • Tree, flame and picture frame filters - Photoshop CC 2014 (Win7)

    Tree, flame and picture frame filters are greyed out in my Photoshop CC 2014 (Win7) although I try applying them on a separate layer on a jpg file. How to solve this problem please?

    Hi JJMack, this is it....
    Adobe Photoshop Version: 2014.2.2 20141204.r.310 2014/12/04:23:59:59 CL 994532  x64
    Betriebssystem: Windows 7 64-Bit
    Version: 6.1 Service Pack 1
    Systemarchitektur: Intel CPU-Familie:6, Modell:14, Stepping:5mit MMX, SSE (ganze Zahl), SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physischer Prozessor: 4
    Prozessor-Taktfrequenz: 2660 MHz
    Eingebauter Speicher: 16375 MB
    Freier Speicher: 10843 MB
    Für Photoshop verfügbarer Arbeitsspeicher: 14657 MB
    Von Photoshop verwendeter Arbeitsspeicher: 70 %
    3D-Mehrton-Drucken: Deaktiviert.
    Windows 2x UI: Deaktiviert.
    Fernlicht: Aktiviert.
    Bildkachelgröße: 1024 KB
    Bildcache: 4
    Schriftvorschau: Mittel
    TextComposer: Lateinisch
    Anzeige: 1
    Anzeigebegrenzungen: oben= 0, links= 0, unten= 1200, rechts= 1920
    Mit OpenGL zeichnen: Aktiviert.
    OpenGL – alte GPUs zulassen: Nicht erkannt.
    OpenGL-Zeichnungsmodus: Erweitert
    OpenGL – normalen Modus zulassen: Wahr.
    OpenGL – erweiterten Modus zulassen: Wahr.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGLGPUs=1
    glgpu[0].GLVersion="2.1"
    glgpu[0].GLMemoryMB=1024
    glgpu[0].GLName="ATI Radeon HD 4670"
    glgpu[0].GLVendor="ATI Technologies Inc."
    glgpu[0].GLVendorID=4098
    glgpu[0].GLDriverVersion="8.632.1.2000"
    glgpu[0].GLRectTextureSize=8192
    glgpu[0].GLRenderer="ATI Radeon HD 4670"
    glgpu[0].GLRendererID=38032
    glgpu[0].HasGLNPOTSupport=1
    glgpu[0].GLDriver="atiumd64.dll,atidxx64.dll,atiumdag,atidxx32,atiumdva,atiumd6a.cap,atitm m64.dll"
    glgpu[0].GLDriverDate="20090817000000.000000-000"
    glgpu[0].CanCompileProgramGLSL=1
    glgpu[0].GLFrameBufferOK=1
    glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.30"
    glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[2147 483647]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[1024]
    glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[1024]
    glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[64]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    Lizenztyp: Abonnement
    Seriennummer: 96040419748136616152
    Anwendungsordner: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
    Pfad für temporäre Dateien: C:\Users\HARALD~1\AppData\Local\Temp\
    Der virtuelle Speicher von Photoshop hat asynchronen E/A aktiviert
    Arbeitsvolume(s):
    D:\, 1,33 T, 306,7 GB frei
    C:\, 500,0 GB, 340,5 GB frei
    Ordner für erforderliche Zusatzmodule: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Required\Plug-Ins\
    Primärer Zusatzmodul-Ordner: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Plug-ins\
    Installierte Komponenten
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2014/08/12-23:42:09   79.557478   79.557478
       adbeape.dll   Adobe APE 2013/02/04-09:52:32   0.1160850   0.1160850
       AdbePM.dll   PatchMatch 2014/09/07-21:07:38   79.558079   79.558079
       AdobeLinguistic.dll   Adobe Linguisitc Library   8.0.0  
       AdobeOwl.dll   Adobe Owl   5.2.4  
       AdobePDFL.dll   PDFL 2014/08/18-15:13:12   79.512424   79.512424
       AdobePIP.dll   Adobe Product Improvement Program   7.2.1.3399  
       AdobeXMP.dll   Adobe XMP Core 2014/08/20-09:53:02   79.156797   79.156797
       AdobeXMPFiles.dll   Adobe XMP Files 2014/08/20-09:53:02   79.156797   79.156797
       AdobeXMPScript.dll   Adobe XMP Script 2014/08/20-09:53:02   79.156797   79.156797
       adobe_caps.dll   Adobe CAPS   8,0,0,13  
       AGM.dll   AGM 2014/08/12-23:42:09   79.557478   79.557478
       ahclient.dll    AdobeHelp Dynamic Link Library   1,8,0,31  
       amtlib.dll   AMTLib (64 Bit)   8.0.0.122212002 BuildVersion: 8.0; BuildDate: Wed Jul 30 2014 15:59:34)   1.000000
       ARE.dll   ARE 2014/08/12-23:42:09   79.557478   79.557478
       AXE8SharedExpat.dll   AXE8SharedExpat 2013/12/20-21:40:29   79.551013   79.551013
       AXEDOMCore.dll   AXEDOMCore 2013/12/20-21:40:29   79.551013   79.551013
       Bib.dll   BIB 2014/08/12-23:42:09   79.557478   79.557478
       BIBUtils.dll   BIBUtils 2014/08/12-23:42:09   79.557478   79.557478
       boost_date_time.dll   photoshopdva   8.0.0  
       boost_signals.dll   photoshopdva   8.0.0  
       boost_system.dll   photoshopdva   8.0.0  
       boost_threads.dll   photoshopdva   8.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.2.6.32411   2.2.6.32411
       CITThreading.dll   Adobe CITThreading   2.2.6.32411   2.2.6.32411
       CoolType.dll   CoolType 2014/08/12-23:42:09   79.557478   79.557478
       dvaaudiodevice.dll   photoshopdva   8.0.0  
       dvacore.dll   photoshopdva   8.0.0  
       dvamarshal.dll   photoshopdva   8.0.0  
       dvamediatypes.dll   photoshopdva   8.0.0  
       dvametadata.dll   photoshopdva   8.0.0  
       dvametadataapi.dll   photoshopdva   8.0.0  
       dvametadataui.dll   photoshopdva   8.0.0  
       dvaplayer.dll   photoshopdva   8.0.0  
       dvatransport.dll   photoshopdva   8.0.0  
       dvaui.dll   photoshopdva   8.0.0  
       dvaunittesting.dll   photoshopdva   8.0.0  
       dynamiclink.dll   photoshopdva   8.0.0  
       ExtendScript.dll   ExtendScript 2014/01/21-23:58:55   79.551519   79.551519
       icucnv40.dll   International Components for Unicode 2013/02/25-15:59:15    Build gtlib_4.0.19090  
       icudt40.dll   International Components for Unicode 2013/02/25-15:59:15    Build gtlib_4.0.19090  
       igestep30.dll   IGES Reader   9.3.0.113  
       imslib.dll   IMSLib DLL   7.0.0.154  
       JP2KLib.dll   JP2KLib 2014/06/28-00:28:27   79.254012   79.254012
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libiomp5md.dll   Intel(R) OpenMP* Runtime Library   5.0  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0  
       LogSession.dll   LogSession   7.2.1.3399  
       mediacoreif.dll   photoshopdva   8.0.0  
       MPS.dll   MPS 2014/08/18-23:43:19   79.557676   79.557676
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CC 2014   15.2.2  
       Plugin.dll   Adobe Photoshop CC 2014   15.2.2  
       PlugPlugExternalObject.dll   Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit)   5.0.0  
       PlugPlugOwl.dll   Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit)   5.2.0.54  
       PSArt.dll   Adobe Photoshop CC 2014   15.2.2  
       PSViews.dll   Adobe Photoshop CC 2014   15.2.2  
       SCCore.dll   ScCore 2014/01/21-23:58:55   79.551519   79.551519
       ScriptUIFlex.dll   ScriptUIFlex 2014/01/20-22:42:05   79.550992   79.550992
       svml_dispmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0  
       tbb.dll   Intel(R) Threading Building Blocks for Windows   4, 2, 2013, 1114  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   4, 2, 2013, 1114  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   8.0.0.14 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   8.0.0.14
       VulcanControl.dll   Vulcan Application Control Library   5.0.0.82  
       VulcanMessage5.dll   Vulcan Message Library   5.0.0.82  
       WRServices.dll   WRServices Fri Mar 07 2014 15:33:10   Build 0.20204   0.20204
       wu3d.dll   U3D Writer   9.3.0.113  
    Erforderliche Zusatzmodule:
       3D Studio 15.2.2 (2014.2.2 x001 x003)
       Adaptive Weitwinkelkorrektur 15.2.2
       Aquarell 15.2.2
       Arithmetisches Mittel 15.2.2 (2014.2.2 x001 x003)
       Basrelief 15.2.2
       Bereich 15.2.2 (2014.2.2 x001 x003)
       Bildpaket-Filter 15.2.2 (2014.2.2 x001 x003)
       Blendenflecke 15.2.2
       BMP 15.2.2
       Buntglas-Mosaik 15.2.2
       Buntstiftschraffur 15.2.2
       Camera Raw 8.7.1
       Camera Raw-Filter 8.7.1
       Chrom 15.2.2
       Cineon 15.2.2 (2014.2.2 x001 x003)
       Collada 15.2.2 (2014.2.2 x001 x003)
       Color Lookup-Raster rendern NO VERSION
       Color Lookup-Tabellen exportieren NO VERSION
       CompuServe GIF 15.2.2
       Conté-Stifte 15.2.2
       De-Interlace 15.2.2
       Diagonal verwischen 15.2.2
       Dicom 15.2.2
       Differenz-Wolken 15.2.2 (2014.2.2 x001 x003)
       Distorsion 15.2.2
       Dunkle Malstriche 15.2.2
       Durchschnitt berechnen 15.2.2 (2014.2.2 x001 x003)
       Eazel Acquire 15.2.2 (2014.2.2 x001 x003)
       Entropie 15.2.2 (2014.2.2 x001 x003)
       Erfassungsbereich 15.2.2 (2014.2.2 x001 x003)
       Extrudieren 15.2.2
       Farbpapier-Collage 15.2.2
       Farbraster 15.2.2
       Fasern 15.2.2
       FastCore-Routinen 15.2.2 (2014.2.2 x001 x003)
       Feuchtes Papier 15.2.2
       Filtergalerie 15.2.2
       Flash 3D 15.2.2 (2014.2.2 x001 x003)
       Fluchtpunkt 15.2.2
       Fotokopie 15.2.2
       Fotos freistellen und gerade ausrichten (Filter) 15.2.2
       Fotos freistellen und gerade ausrichten 15.2.2 (2014.2.2 x001 x003)
       Fresko 15.2.2
       Für Web speichern 15.2.2
       Gekreuzte Malstriche 15.2.2
       Gerissene Kanten 15.2.2
       Glas 15.2.2
       Google Earth 4 15.2.2 (2014.2.2 x001 x003)
       Grobe Malerei 15.2.2
       Grobes Pastell 15.2.2
       HDRMergeUI 15.2.2
       HSB/HSL 15.2.2
       IFF-Format 15.2.2
       IGES 15.2.2 (2014.2.2 x001 x003)
       JPEG 2000 15.2.2
       Kacheleffekt 15.2.2
       Kacheln 15.2.2
       Kanten betonen 15.2.2
       Kohleumsetzung 15.2.2
       Konturen mit Tinte nachzeichnen 15.2.2
       Körnung & Aufhellung 15.2.2
       Körnung 15.2.2
       Kräuseln 15.2.2
       Kreide & Kohle 15.2.2
       Kreuzschraffur 15.2.2
       Kristallisieren 15.2.2
       Kunststofffolie 15.2.2
       Kurtosis 15.2.2 (2014.2.2 x001 x003)
       LAGE 15.2.2 (2014.2.2 x001 x003)
       Leuchtende Konturen 15.2.2
       Malgrund 15.2.2
       Malmesser 15.2.2
       Matlab-Vorgang 15.2.2 (2014.2.2 x001 x003)
       Maximum 15.2.2 (2014.2.2 x001 x003)
       Median 15.2.2 (2014.2.2 x001 x003)
       Mehrprozessorunterstützung 15.2.2 (2014.2.2 x001 x003)
       Mezzotint 15.2.2
       Minimum 15.2.2 (2014.2.2 x001 x003)
       Mit Struktur versehen 15.2.2
       Mit Wasserzeichen versehen 4.0
       MMXCore-Routinen 15.2.2 (2014.2.2 x001 x003)
       Neigung 15.2.2 (2014.2.2 x001 x003)
       Neonschein 15.2.2
       NTSC-Farben 15.2.2 (2014.2.2 x001 x003)
       Objektivkorrektur 15.2.2
       Objektivunschärfe 15.2.2
       Ölfarbe getupft 15.2.2
       OpenEXR 15.2.2
       Ozeanwellen 15.2.2
       Patchwork 15.2.2
       PCX 15.2.2 (2014.2.2 x001 x003)
       Pfade -> Illustrator 15.2.2
       Photoshop 3D-Modul 15.2.2 (2014.2.2 x001 x003)
       Photoshop Touch 14.0
       Pixar 15.2.2 (2014.2.2 x001 x003)
       PNG 15.2.2
       Polarkoordinaten 15.2.2
       Portable Bit Map 15.2.2 (2014.2.2 x001 x003)
       Prägepapier 15.2.2
       PRC 15.2.2 (2014.2.2 x001 x003)
       Punktieren 15.2.2
       Punktierstich 15.2.2
       Radialer Weichzeichner 15.2.2
       Radiance 15.2.2 (2014.2.2 x001 x003)
       Rasterungseffekt 15.2.2
       Risse 15.2.2
       Schwamm 15.2.2
       Schwingungen 15.2.2
       Selektiver Weichzeichner 15.2.2
       Solarisation 15.2.2 (2014.2.2 x001 x003)
       Spritzer 15.2.2
       Standardabweichung 15.2.2 (2014.2.2 x001 x003)
       Stempel 15.2.2
       STL 15.2.2 (2014.2.2 x001 x003)
       Strichumsetzung 15.2.2
       Strudel 15.2.2
       Stuck 15.2.2
       Sumi-e 15.2.2
       Summe 15.2.2 (2014.2.2 x001 x003)
       Targa 15.2.2
       Tontrennung & Kantenbetonung 15.2.2
       U3D 15.2.2 (2014.2.2 x001 x003)
       Unterstützung für Skripten 15.2.2
       Varianz 15.2.2 (2014.2.2 x001 x003)
       Verbiegen 15.2.2
       Verflüssigen 15.2.2
       Versetzen 15.2.2
       Verwackelte Striche 15.2.2
       Verwacklung reduzieren 15.2.2
       Virtual Reality Modeling Language | VRML 15.2.2 (2014.2.2 x001 x003)
       Wasserzeichen anzeigen 4.0
       Wavefront|OBJ 15.2.2 (2014.2.2 x001 x003)
       Weiches Licht 15.2.2
       Wellen 15.2.2
       WIA-Unterstützung 15.2.2 (2014.2.2 x001 x003)
       Windeffekt 15.2.2
       Wireless Bitmap 15.2.2 (2014.2.2 x001 x003)
       Wölben 15.2.2
       Wolken 15.2.2 (2014.2.2 x001 x003)
    Optionale Zusatzmodule und Zusatzmodule von Drittanbietern: KEINE
    Nicht geladene Plug-Ins: KEINE
    Blitz:
       Bibliotheken
       Adobe Color-Themen
    Installierte TWAIN-Geräte: OHNE

  • Af:tree Using View Links

    Hi
    I have created two af:tree components. Based on similar conditions but on different database tables.
    I have no issues in displaying one tree. I am able to expand the tree and go to second level and so on.
    But for my second tree component when i try to expand the top most level, I am not seeing any values.
    I have enabled debug logs in my JDev to see the query that gets run and found out that the bind variable is getting a junk value.
    The bind variable should typically get the id of the value that i am trying to expand. I am able to see values correctly being passed in my earlier tree (the one that is working fine).
    I have tried to compare both the VOs and View links and could not find any.
    Please help me in resolving this issue.
    Thanks
    Kamal

    Hi Frank
    Sorry for not being clear.
    Let me explain my issue clearly.
    I have a table with columns and values as below:
    LEVEL_ID | FILTER | CODE1 | CODE2
    1     | | A     | B
    2     | A | A1 | A2
    2     | B | B1 | B2
    I want the above table to be shown as below tree structure
    A
    |__A1
    |__A2
    B
    |__B1
    |__B2
    For this implementation, i created a View object that returns all the codes at level_id 1 (VO1) and a View Object that returns all the codes at level_id 2(VO2).
    I have a view link between these two where i bind the CODE1 of VO1 to FILTER of VO2. VO1 is the parent and VO2 is the child.
    Using VO1 i have created the tree (drag and drop) and in the edit tree binding dialog box i have added the rules appropriately.
    When i run my page, with debug logs enabled, I can see the A,B values coming properly in the UI. But, when i try to expand any of them, I do not see the A1,A2 or B1,B2 values.
    In the debug logs, I can see a junk value being passed when i try to expand rather than 'A' or 'B'.
    I have done a similar implementation with another tree component and it works fine as i can see proper values in the debug logs.
    I do not understand why the junk values are passed.
    Hope this explanation gives a clear idea about my issue.
    I am currently using JDev 11.1.1.3 version.
    Thank you
    Kamal

  • ADF 10.1.3.0.4: tree leaf with no child nodes still displays folder icon?

    I was reading through Frank Nimphius's Blog and found the entry entitled "ADF Faces: Building a hierarchical tree from recursive tables - October 05, 2006" and found a tree example in which a tree leaf with no child nodes do not display the folder icon.
    I've followed the instructions listed with adf:tree, CoreTree and ChildPropertyTreeModel, but my tree leaves with no child nodes still displays the folder icon.
    How do I remove this icon when the node is a leaf with no children?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I figured it out.
    I used the ChildPropertyTreeModel.isContainer() method.
    --Todd                                                                                                                                                                                           

  • Flex Tree - leaf object height is overlapping.

    Hello folks,
       I am trying to build a tree component with an item renderer as below: The Text Area what I am adding as leaf node is overlapping on the next item branch node. As Tree extends List, I sent VariableRowHeight property to true. Some how tree is not treating this object as a leaf node it seems.
    Could you please guide me ??
    package my.renderers
    import flash.display.DisplayObject;
    import mx.controls.TextArea;
    import mx.controls.Tree;
    import mx.controls.listClasses.ListBase;
    import mx.controls.treeClasses.TreeItemRenderer;
    import mx.controls.treeClasses.TreeListData;
    public class MyTreeItemRenderer extends TreeItemRenderer
    public function MyTreeItemRenderer()
    super();
    override protected function commitProperties():void
    super.commitProperties();
    var textArea = new TextArea();
    override protected function createChildren():void
    super.createChildren();
    textArea.width=200;
    textArea.height= 80;
    textArea.includeInLayout = true;
    override public function set data(value:Object):void
    super.data = value;
    var _tree:Tree = Tree(this.parent.parent);
    var tld:TreeListData= TreeListData(listData)
    if(!_tree.dataDescriptor.isBranch(value))
    ListBase(this.parent.parent.parent.parent).rowHeight = textArea.height;
    trace("This is a Leaf, and so adding the Child Element" + value.toString());
    this.parent.parent.addChild(textArea);
    if(_tree.dataDescriptor.isBranch(value))
    if(_tree.contains(textArea))
    trace("This is not a Leaf and so remove the Child Element");
    removeChild(DisplayObject(textArea));
    override protected function updateDisplayList(
    unscaledWidth:Number, unscaledHeight:Number):void
    super.updateDisplayList(unscaledWidth, unscaledHeight);
    var tld:TreeListData= TreeListData(listData)
    var _tree:Tree = Tree(this.parent.parent);
    if(_tree.dataDescriptor.isBranch(tld.item))
    if(super.icon) {
    super.icon.visible=true;
    if(super.label){
    super.label.visible=true;
    else
    if(super.icon)
    super.icon.visible=false;
    if(super.label)
    super.label.visible=false;
    <my:MyTree
    variableRowHeight="true"
    indentation="0"
    defaultLeafIcon="{null}"
    folderClosedIcon="{null}"
    folderOpenIcon="{null}"
    width="100%" height="100%"
    dataProvider="{treeData}"
    showRoot="false"
    labelField="@label" />
    package my.controls
    import flash.events.MouseEvent;
    import mx.controls.Tree;
    import mx.controls.listClasses.IListItemRenderer;
    import mx.core.ClassFactory;
    import my.renderers.MyTreeItemRenderer;
    * This class extends the Tree adding separator node capability. 
    public class MyTree extends Tree
    //  Constructor
    * Constructor.
    public function MyTree()
    super();
    itemRenderer = new ClassFactory(MyTreeItemRenderer);
    //  Overridden methods
             * Override to prevent separator to be visually highlighted.
            override protected function mouseOverHandler(event:MouseEvent):void
    return;
            var item:IListItemRenderer = mouseEventToItemRenderer(event);
            if (item != null && !MyTreeItemRenderer(item).isSeparator)
                    super.mouseOverHandler(event);
             * Override to prevent separator to be selected.
            override protected function mouseDownHandler(event:MouseEvent):void
    return;
            var item:IListItemRenderer = mouseEventToItemRenderer(event);
            if (item != null && !MyTreeItemRenderer(item).isSeparator)
                    super.mouseDownHandler(event);

    Thanks pm.  I finally got it to work.  Apparently the functions implemented when using ITreeDataDescriptor don't always make sense.  To get something to be seen as a leaf and not a branch.  item.isBranch can't be the only to show false.  The item.getChildren call must also return a null ICollectionView or something crazy like that , otherwise , your leaves will have disclosure symbols beside them.

  • Populate a canvas when a tree-leaf node is clicked

    I'm trying to populate a canvas or a list container with
    images when a tree-leaf node is clicked. I got the tree control
    working alright so far (populated via an external XML) but I'm
    having a hard time figuring out how to populate the adjacent
    container when a leaf node from a tree is clicked by a user. I know
    I'm supposed to code this in the 'change' event but am having a
    difficult time trying to figure out how to do this. I looked at the
    source code in some of the sample apps but I couldn't find anything
    that resemble what I'm trying to do.
    Since each leaf node would be unique, each one of them would
    trigger an external load of images (via http service) ... and so
    the url would be unique as well for each.
    'Appreciate the help from anyone who could help.
    Thanks.

    Thanks for the quick response Tracy ...
    Actually, I don't have mage load part coded yet :) ... I do
    have a somewhat general idea on how it should be coded though (i
    think, hehe). I'm thinking the selected item in the leaf node would
    have the data for the 'url' or 'folder location' of the images that
    would have to be retrieved and displayed in the canvas. I'm just
    not sure how to go about diplaying them in the canvas. Do I have to
    load them in some sort of array first and then datasourced it for
    my canvas? Not really sure how to go about doing it ... 'am totally
    newbie with Flex and just learning it by going through the online
    help and looking at the codes on some of the sample apps.
    Thanks again.
    pixelflip

  • How to data insert Source server and Linked server (Target Server) at same transaction

    I have try several times for Data insert Source server and Linked server (Target Server) at same transaction.  I am using Begin transaction.  but Source server is completed and Linked server error (or Linked server Completed and source server
    ERROR). at this moment I want ROLL back. how?

    Hi
    Run below query by changing to yourr linked server name and see if DTC is enable or not.. if not
    Begin distributed transaction
    select * from [ServerName].master.dbo.sysprocesses
    Commit Transaction
    To enable MSDTC on each Web server on Windows Server 2008
    Click Start, click Run, type dcomcnfg and then click OK to open Component Services.
    In the console tree, expand Component Services, expand Computers, expand My Computer, and then expand Distributed Transaction Coordinator.
    Right click Local DTC, and click Properties to display the Local DTC Properties dialog box.
    Click the Security tab.
    In the Security Settings section, click Network DTC Access.
    In the Client and Administration section, select Allow Remote Clients and Allow Remote Administration.
    In the Transaction Manager Communication section, select Allow Inbound and Allow Outbound.
    In the Transaction Manager Communication section, select Mutual Authentication Required (if all remote machines are running Windows Server 2003 SP1), select Incoming Caller Authentication Required (if running MSDTC in a cluster), or select No Authentication
    Required if some of the remote machines are pre-Windows Server 2003 SP1. No Authentication Required is the recommended selection.
    Select Enable XA Transactions, and then click OK.
    Repeat steps 1 through 9 on the other Web servers.
    Thanks
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Question regarding image and links tag

    Hi. Im new to podcasting and have just had my first podcast excepted on itunes.
    Im using garageband.com to store my audio file and copy & pasting the address into itunes to submit it. (http://www.garageband.com/user/wabel/podcast/main.xml)
    What i dont understand is adding an cd cover image and links to a web site.
    I asume its sumular to html, where you type the code with link or image, but where? I cant edit within the above link!
    Please help.

    The "code" for images and links goes into the xml file.
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    <channel>
    <ttl>60</ttl>
    <title></title>
    <link></link>
    <language></language>
    <copyright></copyright>
    <itunes:subtitle></itunes:subtitle>
    <itunes:author></itunes:author>
    <itunes:summary></itunes:summary>
    <itunes:owner>
    <itunes:name>John Doe</itunes:name>
    <itunes:email>[email protected]</itunes:email>
    </itunes:owner>
    <itunes:image href="http://example.com/podcasts/everything/AllAboutEverything.jpg" />
    <itunes:category text=" ">
    <itunes:category text=" "/>
    </itunes:category>
    <item>
    <title></title>
    <itunes:author></itunes:author>
    <itunes:subtitle></itunes:subtitle>
    <itunes:summary></itunes:summary>
    <enclosure url=" " length=" " type=" " />
    <guid></guid>
    <pubDate></pubDate>
    <itunes:duration></itunes:duration>
    <itunes:keywords></itunes:keywords>
    </item>
    </channel
    </rss>

  • Autocomplete and linking issues with gchat on apple messages

    So I'm having a couple related(ish) problems with apple messages and gchat/hangouts/whatever it's called these days and imessage on my laptop:
    1) Gchat contacts sometimes do and sometimes don't autocomplete when i cmd+n for a new message and then start typing in the 'send to' field. this occurs irrespective of whether i try to start a jabber conversation via typing their email or via typing their name. I've noticed a couple of semi-consistent factors that seem to be impacting it, at least sometimes, but can't pinpoint anything entirely consistent:
         -It seems to be more problematic with contacts that I have their (google) email address on their contacts card in my icloud account on my actual computer/iphone (as opposed to not having them linked to a contact, and them being merely listed on my gchat friends list by virtue of being imported when i created the account)
         -It seems to be more problematic with buddies that i have had more recent contact with, so that their existing conversation is closer to the top of the messages window (and plus, even this isn't entirely consistent - sometimes it lets me type and find their jabber account even if i chatted yesterday and it's second or third on the list, other times it just returns no results in the address field, and other times (when they're a contact with email address as well as phone number) it only gives me their imessage account but their jabber doesn't show up and i have to go to my buddy list to find them)
    Any thoughts? It's sometimes easier to just do cmd+n and type a friend's name even if i have an existing conversation with them relatively top to the close of the list, than manually finding them in the list or looking at the buddy list or using the search bar. cmd+n typically works at least with imessage conversations, and sometimes even with jabber accounts/gchat, so it doesn't seem like this is merely a feature that doesn't exist.
    2) This might be less of a bug and more of a feature, but i'm wondering if there's a way to deactivate it. A lot of my friends have both imessages and gchat, and i have their google email and phone number on their contact card. in this case, apple messages, seemingly arbitrarily, alternates back and forth betweeen gchatting them and imessaging them in the same conversation. it doesn't always correspond to their away/available status on gchat, and even when it does correspond, i'd still prefer to be able to manually override to send an imessage even if they are available on gchat, I'd prefer to just have separate conversations going for imessage and gchat (because a lot of my friends just never look at one or the other depending on whether they are or arent near their computer, so i need to be able to control where the message goes). I do have a separate jabber conversation with John Smith from their imessage, but within the imessage conversation it still sometimes switches to jabber. It seems like this only happens for contacts that have both email and imessaage on their vcard, but i'd prefer not to delete the email address from their vcard just to resolve this issue, since the email address on contact comes in handy for purposes other than gchat. is there any workaround/way to disable this auto-switching between imessage and gchat accounts in the same conversation, while keeping contacts' email and phone number linked on their vcard?
    3) Some, but not all, of my android friends show up as having imessage when i type their name to contact via gchat. sometimes it says imessages for their phone number, and sometimes instead for their gmail (or both). With respect to the issue when it happens in phone number form: i've checked their contact cards and their phone number is just listed as mobile (not iphone or anything, though i'm unsure if the category of phone number actually tells the phone whether they have imessage, or if it recognizes (in this case, incorrectly) on its own). Of course the imessage won't actually send, but it's pretty annoying (especially in light of the problem from #1). Is their any way to tell messages that this person doesn't have imessage so it stops saying they do?
    Couldn't decide whether to post these separately or together, but since they may or may not be related i opted for the latter. sorry for the length. searched for all 3 and didn't find anything quite on point.
    macbook pro, mid-2010, 15"
    Mavericks 10.9.2
    messages v8.0

    Hi,
    Re 1)
    If a Buddy  (Google, AIM or Yahoo) is in the Buddy list as just the ID or Screen Name then broadly speaking they are not in your Contacts list.
    As such they will not show a "Real Name".
    However any Buddy can be added to the Contacts List even if you don't add a "Real Name"
    This in itself can also cause issues as the Contacts app does not create what it sees as Duplicate cards.
    i.e. you cannot create two cards with the name John Smith.
    It is easier if the ID/Screen Name becomes the "Real Name".
    I have three Macs
    On each the My Card  for myself reflects the Computer it is from and those Cards are synced on my iMac.
    Some of the various Jabber and AIM Screen Names are linked to the particular computers.
    That means if I type "ra" as the start of my Name in the "to" spot I get this:-
    First is a national breakdown service for helping out with cars (as opposed to any other breakdown)
    The next is a Buddy that I have hidden.
    It lists Apple ID and telephone numbers that it thinks are iMessages compatible (it thinks all numbers are valid)  liked to be G4 tower's card.
    It continues listing AIM, Jabber, Yahoo and other iMessages accounts as well as the Bonjour contact details.
    As you can see some at the bottom are IDs and Screen Names that are not associated with any of the Address Cards.
    In these cases my name from part of the ID so "ra" picks then up.
    As you can see you should get AIM, Jabber (Google), iMessages and Yahoo account indicated.
    That should then lead to 2)
    Once in the conversation you can use the "To" spot to change which ID you are calling and therefore effectively change which service you are using.
    In this Pic I have chosen to call Myself (easy with multiple accounts)
    My iMac My Card has no jabber account listed so you only see iMessages and  AIM option listed.
    I can "call" my main AIM name (ralphjohnsr) from the other three Accounts linked to this Card.
    From your end it may look like a random switch but in fact is most likely from an incoming change by the Buddy/Contact.
    You can make the change by using the "To" spot and a drop down
    The centralised messages in the chat should tell you of Changes as will the ID in the text field before typing
    Re 3)
    It will depend on what their Apple ID is.
    Some have had @mac.com names for a long time and linked them to MobileMe than more recently iCloud.
    Some linked their @me.com names form MobileMe to iCloud at the Change.
    Most recently iCloud IDs have been given @iCloud.com emails from the start.
    However any email can be used as an Apple ID.
    The pic above has my Apple ID partially hidden for that lower  iMessages info across the center.
    You may find that some people are using their Google ID as their Apple ID AND also using it as both the iMessages registered name and the Google ID  in the Messages app.
    Lets explain this another way.
    When iChat 1 came out Apple joined the AIM service with it (it did AIM and Bonjour  which was then called Rendezvous)
    At that time Apple entered in to an agreement with AIM that any Apple Issued ID would be a valid AIM Screen Name.
    At that time the Apple Service was .Mac and @mac.com IDs were being issued as paid for accounts, Trial Accounts and after while Lapsed paid for accounts.
    These all worked as iChat/AIM Screen Names.
    Then Apple changed to MobileMe and issued @me.com IDs
    The trials only lated until you ended them and the IDs no longer worked in iChat after that as valid AIM Screen Names and nor did lapsed Paid For accounts.
    More recently Apple have stopped a paid for Service and moved to iCloud.
    At the change you could link Any Apple ID to iCloud and you got an @me.com ID from the iCloud server (it could be the same as the on MobileMe but did seem to be "separate").
    Later these became @iCloud.com IDs  (Some people have both under iCloud and in some cases linking @mac.com names to MobileMe @me.com accounts for email still continues).
    To be clear you could link Any existing email ID to iCloud such as  Google ID.
    But broadly I am speaking of gaining various Apple Issued IDs over time that may or may not be linked to one account.
    These Apple Issued IDs works as Valid AIM Screen Names in Messages. (the iCloud issued ones don't work in iChat 5 or earlier though).
    I linked an external to Apple dial-up Email that has been my long time Apple ID to iCloud and got an @me.com ID at first and later an @icloud.com one as well.
    I can use these two separately in Messages as Valid AIM names.
    Someone using their Google ID as their Apple ID could use it as the iMessages registered Name AND as the GoogleTalk/Jabber entry as well.
    This might explain why it looks like they are swapping about.
    There can be one other explanation and that is dependent on where they are logged in.
    Obviously a GoogleTalk user can log in to the Google web Mail page and use Talk there.
    Although I don't use Google+ I presume there is a similar web page to chat from there.
    This would limit them to being "On Google" rather than iMessages when they sent a messages to you.
    Re GoogleTalk
    Obviously Android is Google.
    The Account settings at Google incudes the "products" you can link and use from your Account.
    Previously with a Google Mail Account that included enabling "Talk" which then allowed you to chat from the Web Mail Page login (or your chosen Jabber able app)
    Now Google use Google+ and this seems to give you automatic access to "Talk"  to the extent it is no longer something you have to Activate.
    I am wondering if using a Android phone is linked to having a Google+ account and that the phone number can be part of that ID set up (similar to iMessages and iPhone Numbers).
    If it does it would then depend if the phone is linked to both the Number and the Google ID as to what they can login as in certain situations.
    I am not sure I have covered everything but I think I have covered most things.
    From what you post I am not sure that there is an issue or not although I have posted what is normal and expected I think there are some fringe things that are an issue.
    9:46 pm      Tuesday; April 15, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Production Order without Material Number and linked to a PM Order...

    Hi All,
    Is it possible to create a Production Order without Material Number (because it is a "just one time" production), and link it to a PM Order (enterred by a sister Plant) in order to finally report the cost to that PM Order?
    And if YES, how to do it???
    Explanation of the problem (business scenario):
    We have 2 Plants. Let say Plant "A" and Plant "B".
    Plant B is producing spare parts for Plant A.
    There are usual spare parts, which have a Material Number.
    But there are also spare parts which will be produced only once, and which don't have a Material Number. (= because it is a very punctual production).
    Plant A needs a punctual spare part.
    It creates a PM Order for Plant B.
    Plant B needs to create a Production Order for that spare part (without Material Number).
    Then, when confirmed and delivered, the cost of that production needs to be reported (assigned) to the PM Order.
    Thanks in advance for your help on the subject.
    Regards,
    Rudy.

    Thank you for the information.
    After some modifications on the Prod.Order Type and the creation of a Reference Operation Set, it seems to work.
    Still have a cost problem, but on the way to be solved.
    Thanks a lot,
    Rudy.

  • Upload file and link to sales order in SAP via rfc (C#)

    Hello all,
    In my company we have the possibility to attach files to sales orders, e.g. pdf files with the printing details.
    These files are added by the GUI user, this works fine.
    Now we have an extra order creation stream in which a pdf file has to be added to the SO without user interaction.
    In a previous question I had a little question about the linking, that has been solved, I will post the test program later.
    I now can link front end files (pdf's in this case) to the sales orders and it works fine.
    Now we are developing a frontend in C# (build by a third party) which creates a sales order via a RFC. We also want that RFC to include the PDF file and link it to the created order.
    In the interface of the RFC I included a table with 255 char lines. That is the same as in the example program. the problem is that our partner is yet unable to fill the interface in exact the same way as the example program does, so the linked pdf file is corrupted.
    Does anyone have hints how C# should fill the interface table, or how I can change the interface?
    code snippid table declaration for pdf table:
    IT_PDF     LIKE     ZETEX_TAB_PDF
    and
    structure ZETEX_TAB_PDF consists of
    LINE     CHAR255
    the sample program (see other topic on where I got it)
    REPORT  zzfb_brc LINE-SIZE 260.
    * Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    * Written By : Ram Manohar Tiwari
    * Function   : We need to maintain links between Business Object and
    *              the attachment.Attachment document is basiclally a
    *              business object of type 'MESSAGE'.In order to maintain
    *              links, first the attachment will be crated as Business
    *              Object of type 'MESSAGE' using Message.Create method.
    *              Need to check if we can also use FM
    *              'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
    *              than using Message.Create method.
    * I took this program and removed all the parts for adding URL's and
    * notes.
    * Include for BO macros
    INCLUDE : <cntn01>.
    * Load class.
    CLASS cl_binary_relation DEFINITION LOAD.
    CLASS cl_obl_object      DEFINITION LOAD.
    PARAMETERS:
    *  Object_a
       p_botype LIKE obl_s_pbor-typeid DEFAULT 'BUS2032',    "SO
       p_bo_id  LIKE obl_s_pbor-instid DEFAULT '0000757830', "example number
    *  Object_b
       p_docty  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       p_msgtyp LIKE sofm-doctp        DEFAULT 'EXT'     NO-DISPLAY,
    *  Relationship
       p_reltyp  LIKE mdoblrel-reltype DEFAULT 'ATTA'.
    TYPES: BEGIN OF ty_message_key,
            foltp     TYPE so_fol_tp,
            folyr     TYPE so_fol_yr,
            folno     TYPE so_fol_no,
            doctp     TYPE so_doc_tp,
            docyr     TYPE so_doc_yr,
            docno     TYPE so_doc_no,
            fortp     TYPE so_for_tp,
            foryr     TYPE so_for_yr,
            forno     TYPE so_for_no,
           END OF ty_message_key.
    DATA : lv_message_key TYPE ty_message_key.
    DATA : lo_message TYPE swc_object.
    DATA : lt_doc_content TYPE STANDARD TABLE OF soli-line,
           ls_doc_content TYPE soli-line.
    * Create an initial instance of BO 'MESSAGE' - to call the
    * instance-independent method 'Create'.
    swc_create_object lo_message 'MESSAGE' lv_message_key.
    * Upload the pdf file, for now from the frontend, in the future from
    * the server.
    DATA:
    *  dsn(40) TYPE C VALUE '/usr/sap/trans/convert/1.pdf', "server location
    l_lines TYPE i. "filelenght
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename   = 'c:tsimple.pdf'
        filetype   = 'BIN'
      IMPORTING
        filelength = l_lines
      TABLES
        data_tab   = lt_doc_content.
    * no exceptions, the file is there in this example
    clear l_lines.
    loop at lt_doc_content into ls_doc_content.
    l_lines = l_lines + 255.
    endloop.
    compute l_lines =   l_lines
                      + STRLEN( ls_doc_content ).
    ** the coding for the server input, for later
    *OPEN DATASET dsn FOR INPUT IN BINARY MODE.
    *IF sy-subrc <> 0.
    *  EXIT.
    *ENDIF.
    *READ DATASET dsn INTO ls_doc_content.
    *WHILE sy-subrc EQ 0.
    *  APPEND ls_doc_content TO lt_doc_content.
    *  READ DATASET dsn INTO ls_doc_content.
    *ENDWHILE.
    *CLEAR ls_doc_content.
    *CLOSE DATASET dsn.
    * define container to pass the parameter values to the method call
    * in next step.
    swc_container lt_message_container.
    * Populate container with parameters for method
    swc_set_element lt_message_container 'DOCUMENTTITLE' 'Some title'.
    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    swc_set_element lt_message_container 'NO_DIALOG'     'X'.
    swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
    swc_set_element lt_message_container 'DOCUMENTTYPE' 'PDF'.
    swc_set_element lt_message_container 'DocumentSize'    l_lines.
    swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
    swc_call_method lo_message 'CREATE' lt_message_container.
    * Refresh to get the reference of create 'MESSAGE' object for attachment
    swc_refresh_object lo_message.
    * Get Key of new object
    swc_get_object_key lo_message lv_message_key.
    * Now we have attachment as a business object instance. We can now
    * attach it to our main business object instance.
    * Create main BO object_a
    DATA: lo_is_object_a TYPE sibflporb.
    lo_is_object_a-instid = p_bo_id.
    lo_is_object_a-typeid = p_botype.
    lo_is_object_a-catid  = 'BO'.
    * Create attachment BO object_b
    DATA: lo_is_object_b TYPE sibflporb.
    lo_is_object_b-instid = lv_message_key.
    lo_is_object_b-typeid = p_docty.
    lo_is_object_b-catid  = 'BO'.
    *TRY.
    CALL METHOD cl_binary_relation=>create_link
      EXPORTING
        is_object_a = lo_is_object_a
        is_object_b = lo_is_object_b
        ip_reltype  = p_reltyp.
    * Check if everything OK...who cares!!
    COMMIT WORK.

    I woudl suggest you check ORDERS05 IDOC type (ORDCHG message type).
    FM - idoc_input_ordchg

  • Maybe you are looking for

    • SOAP to IDoc scenario without BPM

      Hi, I have 2 scenario's 1) IDoc-SOAP - -response -- IDoc scenario -- (have found some links  to do it without BPM) 2) SOAP -- RFC request -- RFC response -- e-mail (no links found) how can i achive both these scenario's without BPM. Currently i have

    • Slide Notes disappear

      Captivate4 / WinXP Has anyone else had the problem where for no apparent reason, every so often the notes you add to the bottom of a slide disappear and are not there when you return to the slide later? I know for sure I have not hit the red delete c

    • Front Row TV Shows in Movie folder!!??

      Why are my TV shows showing up in my Movies folder when I use Front row, they are in the TV show Folder when i am in iTunes?? This started with the last itunes update, never had the problem before. Thanks, Mark

    • XL reporter authorization error

      Hi All, we are working on SAP Business One 2007 B (8.60.034) SP: 00 PL: 07. the XL reporter comes with the release of the core product. I was facing the error of 'User authentication failed' and came to know that it was because the system was upgrade

    • Linear wipe through multiple layers

      Hi, I am trying to set up a project where by i can drop multiple stills images into a comp and have a linear wipe go through them one by one, all controlled by expressions. similar to vfx breakdown's you get on Youtube MPC Prometheus VFX breakdown! -