Cl_fitv_gos= get_links

I have read in a few other posts that you can use cl_fitv_gos=>get_links to retrieve documents stored in SAP services for objects.  I am trying a proof of concept for a WD4A application to display an attachment after clicking a button.  I am failing to understand how to use the results from the get_links method and transform those into a link clickable by the user.  I'm sure it is something very simple, however I am still very new to this technology.  Thanks in advance for you help.

Hi Brush,
Check this .. it might helps.
http://wiki.sdn.sap.com/wiki/display/WDABAP/FileUploadusingcl_fitv_gosclass
Re: GOS and FileUpload UiElement
Cheers,
Kris.

Similar Messages

  • Generic file attachments in Webdynpro

    Hi all,
    I would like to upload file attachments of various types to a document within SAP (in this case Expense Reports), using Webdynpro ie. The attachment belongs to a particular expense report. So each document , whether Word, Text, Bitmap etc. would be accessible thereafter by an Expense Report number.
    In SAPGUI, we have the powerful function module GOS_ATTACHMENT_LIST_POPUP which takes a user-defined object key to create and change documents.
    I'm trying to find an equivalent interface for this in WDynpro. I looked at the component WDK_POWL_WF_DETAIL, but this seems to be suited to Workflow. Can anyone out there give some further tips or examples around this ?
    Regards,
    Gabriel

    Hi,
    With UPLOAD button click, call the method cl_fitv_gos=>save. This will upload file to GOS.
    Get all the list of uploaded files using method cl_fitv_gos=>get_links.
    Better display files name in a table. So that user can click and open them to see.
    To delete any of those attachments use method cl_fitv_gos=>delete.
    SAP provided these methods in Travel Management module. I have checked the code, nothing is specific to travel management module. So we can use it for our custom developments as well.

  • Can we attach scanned bills with Webdynpro Application?

    Hi All,
    My requirement is that we are proposing a solution to the client for settling medical bills.
    they want to submit the scanned copy with the request.
    Is that possible?
    Warm Regards
    Hari Sankar M

    Hi Sankar,
    You can store any type of document in the R/3 using the Generic Object Service(GOS).
    There is a class cl_fitv_gos=>save which is used to upload, cl_fitv_gos=>get_links to get the files as an hyperlink, cl_fitv_gos=>get_content to get the contents of the file.
    One of our WD application allows the user to attach any type of documents when he creates the  expense report.
    I can give the source code if you actually need it.
    Thanks,
    Rajkumar.S

  • Extracting Technical Object List on Contract Items (View VISER02)

    Hi,
    We have build a simple extractor to get a full load of the VISER02 view into BI.
    However this does not give us the set of objects which have been deleted by the users from the technical object list on the contract items.
    We have looked at following options:
    1. preventing users from removing equipments from the object list using SAP ERP user-exit.  It was put in place, then rejected by the business
    2. flagging the SER02 underlying table for changes, and then develop a custom extractor on the change log tables.  Sounds over complex.
    3. extracting VISER02 in full into a DSO into BI, then using a second DSO and with some mechanism identifying and flagging the equipments that disappeared. Not nice to do this in BI.
    4. using an SAP ERP user-exit, saving the equipments removed from the object list to a custom table in SAP ERP, then extracting that table in delta mode.
    Any more thought?
    Thanks!!

    I found the problem  This issue was caused by a condition within get_content method whereby all non hex input should have import param 'RAW' given, despite the difference in the objecttype being retrieved from the previousl class method cl_fitv_gos=>get_links. 
    So no need to reply.
    Thanks,
    Kevin

  • Code of Implentation of cl_fitv_gos class

    Hi gurus!!!
    Have anybody the  code of implementation of cl_fitv_gos class? Could you give me or send me that ?
    Thanks

    Hi !!!!
    I need the implementation code of cl_fitv_gos class!!!! Could you send me that, please???
    It´s very necessary for me!!!
    Thanks

  • How to create a pdf for the URL attached to an invoice and send it as an attachment in a mail

    HI,
    I have requirement where i need to get the URL attached to an invoice, create the pdf and send as an attachement in a mail.
    The URL attached to an invoice can be seen by following the path : VF03-> Billing document->system->Services for object ->Attachement list.
    On searching through existing forums, i found that there is a table 'SRGBTBREL' which stores relationships of GOS object. On giving the invoice number in field 'INSTID_A', i could find an entry in this table.
    To get the content, i used the class CL_FITV_GOS, method GET_CONTENT. To this method i passed following values:
    IV_ATTA_ID = FOL21000000000521URL39000000000012 (The value if field INSTID_B from table SRGBTBREL)
    IV_OBJTP   = 'URL'
    On execution, i get URL link but the content table is empty.
    Could anybody provide some input on how i get the content? Or may be how i can create pdf from the URL link and attach it to mail as an attachment?
    Thanks,

    Hi Amit,
    Solution provided by you is working when the link length is one line but it is not working for more than one line
    Eg: say link is https://......80 [80 characters long]
    I will give    <a href="https://...72            [in first line]
                     73..80">click here</a>         [in second line]
    I will get the output as 73...80">click here
    But i want only CLICK HERE in my output..
    Please suggest solution.
    Thanks,
    Kavya

  • UI Element File Upload -- to connect transaction IW52

    Hi All,
    I created file Upload UI element in my WDA and creating Notification through FM BAPI_ALM_NOTIF_CREATE.
    Now my requirement is to attach the uploaded document to Notification created.Document should be attached in IW52 or IW53 -->Services for Objects >Create>Create Attachment. . Is there any function modules or BAPI's are available to achieve?
    Please help to achieve this functionality.
    Thanks,
    Somi

    Hi Romit,
    Class CL_FITV_GOS does not exist and I am using SAP ECC 6.0.
    Pls send the implementation code and is useful.
    Thanks,
    somi

  • Use CAST to check if an instance belongs to inherited classes.

    Dear all.
    I have got a method called GET_LINKS which is supposed to give back all references in an internal table which are of a given class or belong to classes being inherited.
    ( I do not have both - access to the internet and our R3 at once that is why I only provide pseudo code)
    Example:
    think of follwing structure:
      cl_object
         cl_class1
            cl_class11
         cl_class2
            cl_class21
            cl_class22
    so if check against cl_objets the method should give back all references .... if cl_class1 only those who belongs to cl_class1 or class11...you got the idea.
    so My method looks somewhat like following.
    method get_links.
    * changing  ch_instance type ref to object.
    * returnning re_links (table of instances)
    loop at ait_links into lwa_links.
      catch system-exception - move_cast_error
       ch_instance ?= lwa_links-instance.
      endcatch.
      if sy-subrc is initial.
        insert lwa_links into table re_links.  
      endif.
    endloop.
    endmethod.
    coding works fine so far - the only thing I do not like is that I have to provide a changing parameter for the cast. I would prefer a local copy of an importing parameter for the checks.
    But as soon as I use a very generic type declaration - like ref to object - no casting error will take place and I am not able to differentiate the groups down the inheritance.
    I tried to create a dynamic reference variable but failed. I guess I would need to create a type dynamically but this is not possible before 6.4 (and I am on 4.6c)
    Any suggestion for that?
    Thank you very much.
    Christian

    Hi, list my suggestion as following:
    'ch_instance type ref to object'
    As it is defined as an object type,
    'ch_instance ?= lwa_links-instance.' won't catch any error, because OBJECT is the root type of any object type, if you only need to compare them and differentiate the class and inherited class from others, you can do like this:
      catch system-exception - move_cast_error
       lwa_links-instance ?= ch_instance.
      endcatch.
    By the way, I don't know what's the definition of lwa_links-instance is. I wrote some sample code for you scenario, as list it as following:
    * I create two inherited class
    CLASS C1 DEFINITION INHERITING FROM CL_ABAP_TYPEDESCR.
      PUBLIC SECTION.
        DATA: C1  TYPE  C.
    ENDCLASS.
    CLASS C2 DEFINITION INHERITING FROM CL_GUI_CONTROL.
      PUBLIC SECTION.
        DATA: C2  TYPE  C.
        METHODS CONSTRUCTOR.
    ENDCLASS.
    CLASS C2 IMPLEMENTATION.
      METHOD CONSTRUCTOR.
        CALL METHOD SUPER->CONSTRUCTOR EXPORTING NAME = 'aaa'.
      ENDMETHOD.
    ENDCLASS.
    * assume that you have a class, using CL_ABAP_CLASSDESCR
    * we can get the name of it
    DATA:
    descr_ref TYPE ref to CL_ABAP_CLASSDESCR.
      descr_ref ?= cl_abap_typedescr=>DESCRIBE_BY_OBJECT_REF( CLass ).
    * then we can transfer the class name into the module get_links
    module XXXX.
      DATA: A  TYPE  REF TO C1,
            B  TYPE  REF TO C2,
            R  TYPE REF TO OBJECT.
      CREATE OBJECT A.
      CREATE OBJECT R TYPE ('C1').
    * here it goes well
    * as the A type is C1, and R is create as C1 too
      CATCH SYSTEM-EXCEPTIONS MOVE_CAST_ERROR = 1.
        A ?= R.
      ENDCATCH.
      CREATE OBJECT R TYPE ('C2').
    * here it can catch the error
    * as the A type is C1, and R is create as C2, C1 & C2 has
    * no relation like inherit
      CATCH SYSTEM-EXCEPTIONS MOVE_CAST_ERROR = 1.
        A ?= R.
      ENDCATCH.
    * XXXX is the class name which transfered into module
      CREATE OBJECT R TYPE ('XXXX'). 
    * then try to create the class according to class name
    * which is you want
      CATCH SYSTEM-EXCEPTIONS MOVE_CAST_ERROR = 1.
        A ?= R.
      ENDCATCH.
    Hope my reply can help you solve the problem
    By the way, the code cost me some time, so don't forget the reward points
    thanks a lot

  • Problems with WEBSERVICES

    Hello,
    i have some Problems with WebServices.
    When I call my function how makes the request (get_frob), it goes back to the main program and make a print! After that my request starts!
    I want that the request finished first and then make a print!
    I need threats for this???and how does it work?
    My englisch is not so good I´m sorry for that!
    Please help me
    Thanks
    Chris
    def Button_Autorisieren:SwingButton=SwingButton{
        text:"Autorisieren"
        width:100
        translateY:150
        action:function()
            var Authentication:HTTP_Authentication=new HTTP_Authentication();
            Authentication.get_frob();
            java.lang.System.out.println(Authentication.abfrage);
    public class HTTP_Authentication {
        var api_key:String="***********";
        var secret_key:String="***********";
        var stat:String;
        var sig:String;
        var frob:String;
        var method:String;
        var md5_String:String;
        var perms:String;
        var api_sig:String;
        public var abfrage:Boolean;
        public var link:String;
        def md5:MD5=new MD5();
        var parser = PullParser{
            documentType: PullParser.XML;
            onEvent: function(event: Event) {
                    if (event.type == PullParser.START_ELEMENT ) {
                        if(event.qname.name == "rsp" and event.level==0)
                           stat=event.getAttributeValue(QName{name:"stat"});
                        if (stat=="ok")
                         if(event.type==PullParser.END_ELEMENT)
                              if(event.qname.name == "frob")
                                  frob=event.text;
                                  java.lang.System.out.println("Frob: {frob}");
                                   abfrage=true;
        public function get_frob ()
            method="flickr.auth.getFrob";
            md5_String="{secret_key}api_key{api_key}method{method}";
            java.lang.System.out.println(md5_String);
            sig=md5.makeMD5(md5_String);
            java.lang.System.out.println(sig);
            var request = HttpRequest {
                    location: "http://api.flickr.com/services/rest/?method={method}&api_key={api_key}&api_sig={sig}"
                    method: HttpRequest.GET
                    onInput: function(input: java.io.InputStream)
                                    parser.input=input;
                                    parser.parse();
                                    input.close();
                        }.enqueue();
        }

    Hello,
    thank you for your answer. It was my mistake, I discribe the problem very bad.
    When i call the function get_frob(). Netbeans goes in the function and run through the end but nothing happened
    onMouseClicked: function( e: MouseEvent ):Void {
                         test=Authentikation_Frob.get_frob();and in my if clausel there will be a wrong output! After the output my programm go back to the function get_frob() and then make the request and go back to the if clausel. Now everything ist correct. But why does my programm need 2 runs ????thats not correct!!
    Thank you!!
    if (test==true)
                             var Authentikation_Link:HTTP_Authentication_Link=new HTTP_Authentication_Link();
                            link=Authentikation_Link.get_link();
                            var uri = new java.net.URI("{link}");
                             var desktopClazz = java.lang.Class.forName("java.awt.Desktop");
                             var getDesktopMethod = desktopClazz.getMethod("getDesktop");
                             var desktop = getDesktopMethod.invoke(null);
                             var browseMethod = desktopClazz.getMethod("browse", [uri.getClass()] as java.lang.Class[]);
                              browseMethod.invoke(desktop, uri);
                         else
                             fehler_ausgabe.visible=true;
                             fehler_ausgabe.content="Fehler {Authentikation_Frob.frob_fehler} {Authentikation_Frob.frob_hilfe}";
                         }Edited by: Esco24 on Aug 10, 2009 1:02 AM

  • Efficient way of saving documents uploaded by users

    Hello Experts,
    We are looking out for an efficient way of storing of documents uploaded by the users. Below is the explanation of our scenario in detail.
    We are working on the SAP E-Recruiting module and have designed custom Interactive Adobe Forms & Web Dynpro Components for the client. An end user (initiating manager) would fill in the form & upload file(s) in support of his statement & click on the "submit" button. As of now we are achieving the upload functionality through WDA's FileUpload ui element & dumping the file contents into a field of type RAWSTRING.
    We now want to change our approach of using the RAW_STRING field & go for a more efficient one. I have been googling around and read a bit about approaches like:
    Class CL_BDS_DOCUMENT_SET
    Class CL_FITV_GOS
    Function Module BDS_BUSINESSDOCUMENT_CREATEF
    But all these 3 approaches seem to be targetted towards some particular business object. They expect some sort of class name or the other to be passed on to them as input. However ours is a complete custom requirement wherein the entire forms data is going into a Z-table so none of these approaches would hold good. (Please correct me if I am wrong when I say that coz I haven't personally worked on any of them till date!) Awaiting your expert opinions on this matter.
    Regards,
    Uday
    Any ideas please?
    Edited by: Uday Gubbala on Mar 4, 2010 10:56 AM

    See if this sample code helps....we hav DMS ( Document management System )
    MOVE: 'DRW' TO DOCUMENTDATA-DOCUMENTTYPE,
            'C:\Users\sci30\Desktop\test.doc' TO
             DOCUMENTDATA-DOCFILE1,
            'TEST DESCRIPTION' TO  DOCUMENTDATA-DESCRIPTION.
    *          move 'WR' to documentdata-STATUSINTERN.
      MOVE 'WRD' TO DOCUMENTDATA-WSAPPLICATION2.
      CLEAR : WA_OBJ_LINK.
      MOVE 'MARA' TO WA_OBJ_LINK-OBJECTTYPE.
      MOVE HEADDATA-MATERIAL TO WA_OBJ_LINK-OBJECTKEY.
      APPEND WA_OBJ_LINK TO GT_OBJ_LINK.
      CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
        EXPORTING
          DOCUMENTDATA               = DOCUMENTDATA
    *         HOSTNAME                   =
    *         DOCBOMCHANGENUMBER         =
    *         DOCBOMVALIDFROM            =
    *         DOCBOMREVISIONLEVEL        =
    *         CAD_MODE                   = ' '
    *         PF_FTP_DEST                = ' '
    *         PF_HTTP_DEST               = ' '
    *         DEFAULTCLASS               = 'X'
        IMPORTING
    *         DOCUMENTTYPE               =
    *         DOCUMENTNUMBER             =
    *         DOCUMENTPART               =
    *         DOCUMENTVERSION            =
         RETURN                     =    RETURN_DOCUBAPI
       TABLES
    *         CHARACTERISTICVALUES       =
    *         CLASSALLOCATIONS           =
    *         DOCUMENTDESCRIPTIONS       =
          OBJECTLINKS                = GT_OBJ_LINK
    *         DOCUMENTSTRUCTURE          =
    *         DOCUMENTFILES              =
    *         LONGTEXTS                  =
    *         COMPONENTS                 =
      COMMIT WORK.

  • Building r8168-ck for linux-ck = 3.3

    I tried editing the pkgbuild and install files to use the proper directories and get rid of the linux-ck <= 3.3 dependency and it seemed like all was going well until I got some ambiguous errors:
    make -C src/ clean
    make[1]: Entering directory `/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src'
    make -C /lib/modules/3.3.1-2-ck/build SUBDIRS=/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src clean
    make[2]: Entering directory `/usr/src/linux-3.3.1-2-ck'
    CLEAN /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/.tmp_versions
    make[2]: Leaving directory `/usr/src/linux-3.3.1-2-ck'
    make[1]: Leaving directory `/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src'
    make -C src/ modules
    make[1]: Entering directory `/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src'
    make -C /lib/modules/3.3.1-2-ck/build SUBDIRS=/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src modules
    make[2]: Entering directory `/usr/src/linux-3.3.1-2-ck'
    CC [M] /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.o
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2235:2: error: unknown field ‘get_rx_csum’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2235:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2235:2: warning: (near initialization for ‘rtl8168_ethtool_ops.nway_reset’) [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2236:2: error: unknown field ‘set_rx_csum’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2236:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2236:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_link’) [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2237:2: error: unknown field ‘get_tx_csum’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2237:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2237:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom_len’) [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2238:2: error: unknown field ‘set_tx_csum’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2238:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2238:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom’) [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2239:2: error: unknown field ‘get_sg’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2239:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2239:2: warning: (near initialization for ‘rtl8168_ethtool_ops.set_eeprom’) [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2240:2: error: unknown field ‘set_sg’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2240:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2240:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_coalesce’) [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2242:2: error: unknown field ‘get_tso’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2242:14: error: ‘ethtool_op_get_tso’ undeclared here (not in a function)
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2243:2: error: unknown field ‘set_tso’ specified in initializer
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:2243:14: error: ‘ethtool_op_set_tso’ undeclared here (not in a function)
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:12811:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:12811:2: warning: (near initialization for ‘rtl8168_netdev_ops.ndo_fix_features’) [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:12812:2: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.c:12812:2: warning: (near initialization for ‘rtl8168_netdev_ops.ndo_set_features’) [enabled by default]
    make[3]: *** [/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src/r8168_n.o] Error 1
    make[2]: *** [_module_/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src] Error 2
    make[2]: Leaving directory `/usr/src/linux-3.3.1-2-ck'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/tmp/packerbuild-0/r8168-ck/r8168-ck/src/r8168-8.028.00/src'
    make: *** [modules] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.
    Is there a way to fix this? Or does the current r8168 driver just not support linux 3.3 yet?

    I alerted the package maintainer and he's apparently not achieving the same results as I am, so I'm going to post some information for anyone interested in building this for themselves.
    People report a wide range of problems when using this fix in conjunction with gnome network manager, including high CPU usage and not being able to get an address from a DHCP server. I'm using wicd-curses, and I have a static IP assigned, no problems here.
    I have ipv6 disabled. I did this by adding ipv6.disable=1 to the append line in syslinux.cfg
    I didn't bother making a pkgbuild. I just downloaded the driver from the Realtek downloads page and ran their autorun.sh
    The modified file I created can be viewed here.
    The end result, is an i5 desktop system that not only has fully functional networking, but is faster than any machine I've ever used before in my life! linux-3.3-ck on a SSD is crazy fast!
    Last edited by mynis01 (2012-04-15 05:13:43)

  • Element Entry Display

    Regular Hours element is not showing up as element entry in assingment screen.
    If I go back to previous year (2007), I am able to add/see element entry.
    I checked earnings, element description, link screens...there is no end date …is there any place we need to check. I also checked payroll screen…
    Thanks!!

    An easier way of checking whether the element is linked to an assignment on a particular day is through the use of the function get_link in hr_entry_api.
    For example if my element type id is 50321, my assignment id is 1041 and I want to find if as on 01-Jan-2007 is this element linked to the assignment, then I need to execute the following block of code.
    DECLARE
    l_element_link_id NUMBER;
    BEGIN
    l_element_link_id :=
    hr_entry_api.get_link (p_assignment_id => 1041,
    p_element_type_id => 50321,
    p_session_date => TO_DATE ('01/01/2007',
    'MM/DD/RRRR'
    DBMS_OUTPUT.put_line ('element link id :' || l_element_link_id);
    END;
    If a valid element link id is returned then the element is linked to that assignment on that particular date. If the element link id is blank then the element is not linked to that assignment on that date.

  • WSDL problems with webservices deployment

    First, the problem: I need either to 1) be able to include a WSDL file as part of my ear-file deployment and have that WSDL be presented to consumers if they seek to browse the wsdl, or 2) get the dynamic WSDL generation to show public, https urls for schemaLocation and soap:address locations in the dynamically-generated WSDL.
    Configuration: Apache 2.2.3 proxy server receiving https requests and passing them back to a WebLogic 10.3.5 instance running on the internal network. The WebLogic instance has several applications running on it, and these applications make SOAP web service invocations between each other. Use case: public consumer makes https web service invocation to a publically-available url to invoke Service A, which in turn invokes a web service, Service B, running on the same WebLogic instance. The invocation from Service A to Service B is a localhost invocation since it's behind the firewall.
    What I'm seeing: if I browse the WSDL for Service A from the public area, the wsdl displays the server name and port in the schemaLocation and soap:address urls in the wsdl file. I, of course, don't want this, as I want the wsdl to display the publicly-browseable values (e.g. "https://www.seenbypublic.com:443/ws/UtilityService..."). So, I configure the server via the WebLogic admin console and specify a "Frontend Host" of www.seenbypublic.com, and a Frontend HTTPS Port of 443. I set the "WebLogic Plugin Enabled" flag via domain > Web Applications. I configure Apache (which already has the WL module installed) to use the following parameter "RequestHeader set WL-Proxy-SSL true" and restart everything. The server location changes in the dynamically-generated wsdl, but the server port does not (i.e. the urls in the wsdl are now http://www.seenbypublic.com:80/ws/UtilityService... (note the lack of SSL designation). Another problem is that now my same-server web service invocations that were taking placing using "localhost" are now using "www.seenbypublic.com" so instead of a local-box invocation, the request is coming out into the public domain and then back to the server, which is highly inefficient.
    So.... ideally, I'd be able to leave all the WebLogic "Frontend" settings alone, not mess with the WL plugin in Apache, and simply provide a wsdl url to my application to display when generating it's wsdls (or just let me provide the entire wsdl file as a resource). Is there any way to do that?
    Assuming no, what do I need to do to get the proper reflection of SSL designation in a dynamically-generated wsdl file? And - how can I tell WL to leave the "localhost" invocations alone?
    How's that for a Friday-afternoon problem?

    Hello,
    thank you for your answer. It was my mistake, I discribe the problem very bad.
    When i call the function get_frob(). Netbeans goes in the function and run through the end but nothing happened
    onMouseClicked: function( e: MouseEvent ):Void {
                         test=Authentikation_Frob.get_frob();and in my if clausel there will be a wrong output! After the output my programm go back to the function get_frob() and then make the request and go back to the if clausel. Now everything ist correct. But why does my programm need 2 runs ????thats not correct!!
    Thank you!!
    if (test==true)
                             var Authentikation_Link:HTTP_Authentication_Link=new HTTP_Authentication_Link();
                            link=Authentikation_Link.get_link();
                            var uri = new java.net.URI("{link}");
                             var desktopClazz = java.lang.Class.forName("java.awt.Desktop");
                             var getDesktopMethod = desktopClazz.getMethod("getDesktop");
                             var desktop = getDesktopMethod.invoke(null);
                             var browseMethod = desktopClazz.getMethod("browse", [uri.getClass()] as java.lang.Class[]);
                              browseMethod.invoke(desktop, uri);
                         else
                             fehler_ausgabe.visible=true;
                             fehler_ausgabe.content="Fehler {Authentikation_Frob.frob_fehler} {Authentikation_Frob.frob_hilfe}";
                         }Edited by: Esco24 on Aug 10, 2009 1:02 AM

Maybe you are looking for

  • Create sales order with reference to 10 quotation

    Create sales order with reference to 10 quotation I want to put all quotation means take reference in one sales order how I can do it because when tried va01 and taken reference of question it allow to put only one question number how can I do it for

  • BAPI_SALESORDER_CREATEFROMDAT2 multiple items problem

    hi,    experts ,I'm facing a problem when using  BAPI_SALESORDER_CREATEFROMDAT2 to creat SO,I create a sale order with six items and  one of the item has problem. It is possible for me to create the SO successfully with the the other three items ?

  • Alignment button

    Is there any way to add an alignment button to the tool bar? Thanks powerbook G4   Mac OS X (10.4.1)  

  • Unable to load module

    Hey guys,    I have an app with two modules within, both optimized for the app and are combined along with the app.  One module (Method) works fine, but my second module gives me an error.      param 2 incompatible    virt Object mx.core::FlexModuleF

  • HT4623 How to get sound without earphonees?

    I can't hear without using earphones, any suggestions welcome?