URGENT HELP REQUESTED: Menu Function has dissapeared.

Everyone,
Please help if you can, our AP Menu has lost the function AP_APXINVWKB
and we are not sure what else. I cannot get from any of my Development team and changes nor have we applied any patches. Just last night the AP team reported not able to do invoices anylonger. In researching we see that the menu attached to the responsibility is missing it's submenus. In further troubleshooting we noticed that we cannot even add the submenus back because the function is missing.
Any thoughts? We have rebooted, cleared cache, bounced services etc...
This is happening in 2 of our 3 instances, which seems to point to either user error or a time based issue.
Also, if you could please tell me if there are logs I can check to find out if we may have unintentionally deleted etc.. it would be much appreciated.
Thanks,

Though no one responded we did get a fix from Oracle Support that may help others:
Run the FNDLOAD program.
As a single string:
FNDLOAD APPS/password 0 Y UPLOAD $FND_TOP/patch/115/import/afsload.lct $AP_TOP/patch/115/import/US/ap115fn.ldt
This fixed the issue, however I am very keen on figuring out how this function could have just been deleted. Any ideas how to track this down?

Similar Messages

  • Just updated itunes now menu bar has dissapeared no black and white box at top left and ctr b does not bring anything up. i need file view etc please help driving me crazy

    just updated itunes now menu bar has dissapeared no black and white box at top left and ctr b does not bring anything up. i need file view etc please help driving me crazy

    Is the iTunes window in FullScreen mode?
    If so, press esc key.

  • Urgent help requested- MSS

    Hello people,
    consider the following scenario
    work flow is getting triggered to the Line manager (chief) and so on to next agents
    How can we make use of substitution in following scenarios
    scenario1- planned leave by Line manager (I think this can be done using substitution in MSS)
    Scenario 2- Unplanned leave by Line manager
    scenario 3- position of Line manager is vacant
    The workflow i am using is not a standard woprkflow.
    The above scenarios are applicable in case of leave approval and trip request approval.
    Urgent help appreciated.
    Thx

    Forgive if the terms are not excact - my system is not in English.
    For scenario 1: Use substitution rule "receives my tasks" when setting up substitutions in the uWL
    For scenario 2: All managers should have a substitution rule "is my substitute".  Then the substitute can go into the substitution rule and take over the tasks.  This can then be discontinued when manager is back
    For scenario 3: Switch WFLOW VAPOS = X  determines the behaviour when manager position is empty. .  For some reason the switch is not there in standard - but we set it just for this scenario. The Workflow then checks up the hierachy and finds the next manager.
    /Kirsten

  • Urgent help request

    need urgent help with Lightroom
    can a person from support department help me please?

    This is user-to-user forum.
    We can try to help you here, or you can contact Adobe Customer Care here:
    Contact Customer Care

  • Need urgent help on Special  function 8..not working custom program to NACE

    Hi gurus,
    We wrote one custom program for billing automation(VF01)...scenario is like this....
    once PGI is issued system has to create billing document automatically in background using the delivery number.....
    we wrote program like this....
    DATA:   IT_BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
    FORM DELIVERY_OUTPUT USING RC US_SCREEN.
    DATA V_VBELN LIKE MKPF-XBLNR.
    DATA V_DELIVERY LIKE V_VBELN.
    DATA:V_MBLNR LIKE LIKP-VBELN.
    DATA OBJKY(10).
    DATA: VAR(15).
    RC = 1.
    DATA:   IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    GET PARAMETER ID 'VL' FIELD V_MBLNR.
    CONCATENATE V_MBLNR '%' INTO VAR.
    SELECT SINGLE OBJKY FROM  NAST INTO OBJKY WHERE OBJKY LIKE VAR.
    CHECK SY-SUBRC EQ 0.
    V_MBLNR = NAST-OBJKY+0(10).
    SELECT SINGLE XBLNR FROM MKPF INTO V_VBELN WHERE XBLNR = V_MBLNR.
    V_DELIVERY = V_VBELN.
         PERFORM F_DYNPRO USING :
         'X' 'SAPMV60A' '0102',
         ' ' 'BDC_CURSOR' 'KOMFK-VBELN(01)',
         ' ' 'KOMFK-VBELN(01)' V_DELIVERY,
         ' ' 'BDC_OKCODE' '/00'.
         PERFORM F_DYNPRO USING :
         'X' 'SAPMV60A' '0104',
         ' ' 'BDC_OKCODE' '=SICH'.
         CALL TRANSACTION 'VF01' USING IT_BDCDATA MODE 'N'
              MESSAGES INTO IT_MESSAGES.
    DATA MSG_LOG LIKE MSG_LOG.
    DATA MSG_TEXT LIKE MSG_TEXT.
    CLEAR:MSG_LOG,MSG_TEXT.
    LOOP AT IT_MESSAGES.
      MSG_LOG-MSGID = IT_MESSAGES-MSGID.
      MSG_LOG-MSGNO = IT_MESSAGES-MSGNR.
      MSG_LOG-MSGTY = IT_MESSAGES-MSGTYP.
    CALL FUNCTION 'MESSAGE_TEXTS_READ'
    EXPORTING
       MSG_LOG_IMP           = MSG_LOG
    IMPORTING
       MSG_TEXT_EXP          = MSG_TEXT.
    IF MSG_LOG-MSGTY EQ 'S'.
      MESSAGE S398(00) WITH MSG_TEXT-MSGTX.
    RETCODE = '0'.
    ELSEIF MSG_LOG-MSGTY EQ 'I'.
      MESSAGE I398(00) WITH MSG_TEXT-MSGTX.
    RETCODE = '0'.
    ELSEIF MSG_LOG-MSGTY EQ 'E'.
      MESSAGE E398(00) WITH MSG_TEXT-MSGTX.
    RETCODE = '4'.
    ENDIF.
    ENDLOOP.
    ENDFORM.
    FORM F_DYNPRO USING P_DYNBEGIN P_NAME P_VALUE.
      IF P_DYNBEGIN EQ 'X'.
        MOVE : P_NAME TO IT_BDCDATA-PROGRAM,
               P_VALUE TO IT_BDCDATA-DYNPRO,
               'X' TO IT_BDCDATA-DYNBEGIN.
      ELSE.
        MOVE: P_NAME TO IT_BDCDATA-FNAM,
              P_VALUE TO IT_BDCDATA-FVAL,
              ' ' TO IT_BDCDATA-DYNBEGIN.
      ENDIF.
      APPEND IT_BDCDATA.
    ENDFORM.        
    when we assign this program to NACE  for output type <b>V2</b> , this program not creating billing documents....
    Guide us to resolve this issue....

    Hi Hari,
    I think that the logic needs to be build up in the DISP part of the Search help exit.
    What you can do is also get the Plant in the search help as an export parameter.
    Then in the Return Tab you can check if the plant = 'AA', delete the data.
    e.g.
          LOOP AT record_tab.
            IF RECORD_TAB-STRING+22(2) = '90'.
              DELETE record_tab INDEX sy-tabix.
            ENDIF.
          ENDLOOP.
    Hope this helps.
    Regards,
    Himanshu
    Message was edited by:
            Himanshu Aggarwal

  • Urgent help!  does anyone has sample code to do encry in c & decry in java

    Does anyone has a very simple code to encrypt a string in c (openssl for example) and then decrypt the same string in java?
    it should be very simple but i just can get the ball rolling. i always get different data (even in hex string representation) using the same key and plain text (all in hex) to even just do encryption (not even decryption yet). To my understanding, DES is just bits manipulation. So the output bit pattern should be the same regardless C or Java, right?
    for example, in openssl, when i do ecb:
    the key:
    0123456789ABCDEF
    the plain text:
    0101010101010101
    the in:
    0101010101010101
    the out:
    B4FD231647A5BEC0
    but doing the same in java i got
    3A2EAD12F475D82C as the encryption output
    It is very strange.
    Hope someone could help me.
    Thanks
    -- Jin

    whew! i finally get the base64 working. Here is my data from openssl run using DES with ECB mode and no padding: (the des_ecb_encrypt function is des/ecb/nopadding, right?)
    thanks alot
    -- jin
    0123456789ABCDEF
    the key in base64 encoding is:ASNFZ4mrze8=
    the plaintext in hex:
    0101010101010101
    the plaintext in base64 encoding is:AQEBAQEBAQE=
    the encrypted output in hex:
    B4FD231647A5BEC0
    the encrypted output in base64 encoding is:tP0jFkelvsA=
    the decrypted text in hex:
    0101010101010101
    the decrypted text in base64 encoding is:AQEBAQEBAQE=
    here is the code. see if you see the same thing. it works fine alone but just not the same result i use the SUN JCE ... that is the frustration part.
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    #include <ctype.h>
    #include <openssl/des.h>
    #define Assert(Cond) if (!(Cond)) abort()
    static const char Base64[] =
            "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    static const char Pad64 = '=';
    int main(int argc, char *argv[])
            int i;
            des_cblock in,out,outin;
            unsigned char base64EncodedText[255];
            unsigned char temp[255];
            size_t targsize;
            size_t srclength;
            des_key_schedule keySchedule;
            unsigned char plainText[8] = {0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01};
            unsigned char key[8] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF};
            // now create the key schedule
            if(DES_set_key(&key, &keySchedule) != 0) {
              // something is wrong, unable to create key schedule
              printf("Unable to create the key schedule.");
              return 1;
            // now the key schedule is created, encrypte the data
            // in block contains the plain text, the out block contains the encrypted cyphertext,
            // and outin contains the decrypted plain text (should be the same value as in)
            memcpy(in,plainText,8);
            memset(out,0,8);
            memset(outin,0,8);
            // ecb mode is the simplest mode, takes in only 8 bytes (a cblock) and output a cblock
            des_ecb_encrypt(&in, &out, keySchedule, DES_ENCRYPT);
            des_ecb_encrypt(&out, &outin, keySchedule, DES_DECRYPT);
            printf("\nthe key in hex:\n");
      for(i = 0; i < 8; i++) {
        printf("%02X", key);
    printf("\nthe key in base64 encoding is:");
    memcpy(temp, key, 8);
    temp[8] ='\0';
    targsize = base64encode(temp, 8, base64EncodedText, targsize);
    printf("%s", base64EncodedText);
    printf("\nthe plaintext in hex:\n");
    for(i = 0; i < 8; i++) {
    printf("%02X", in[i]);
    printf("\nthe plaintext in base64 encoding is:");
    memcpy(temp, in, 8);
    temp[8] ='\0';
    targsize = base64encode(temp, 8, base64EncodedText, targsize);
    printf("%s", base64EncodedText);
    printf("targsize is %d", targsize);
    printf("\nthe encrypted output in hex:\n");
    for(i=0; i<8; i++) {
    printf("%02X", out[i]);
    printf("\nthe encrypted output in base64 encoding is:");
    memcpy(temp, out, 8);
    temp[8] ='\0';
    targsize = base64encode(temp, 8, base64EncodedText, targsize);
    printf("%s", base64EncodedText);
    printf("\nthe decrypted text in hex:\n");
    for(i = 0; i < 8; i++) {
    printf("%02X", outin[i]);
    printf("\nthe decrypted text in base64 encoding is:");
    memcpy(temp, outin, 8);
    temp[8] ='\0';
    targsize= base64encode(temp, 8, base64EncodedText, targsize);
    printf("%s", base64EncodedText);
    printf("\n");
    return 1;
    int base64encode(unsigned char *src, size_t srclength,
    char *target, size_t targsize)
    size_t datalength = 0;
    unsigned char input[3];
    unsigned char output[4];
    size_t i;
    while (2 < srclength) {
    input[0] = *src++;
    input[1] = *src++;
    input[2] = *src++;
    srclength -= 3;
    output[0] = input[0] >> 2;
    output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
    output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
    output[3] = input[2] & 0x3f;
    Assert(output[0] < 64);
    Assert(output[1] < 64);
    Assert(output[2] < 64);
    Assert(output[3] < 64);
    if (datalength + 4 > targsize)
    return (-1);
    target[datalength++] = Base64[output[0]];
    target[datalength++] = Base64[output[1]];
    target[datalength++] = Base64[output[2]];
    target[datalength++] = Base64[output[3]];
    /* Now we worry about padding. */
    if (0 != srclength) {
    /* Get what's left. */
    input[0] = input[1] = input[2] = '\0';
    for (i = 0; i < srclength; i++)
    input[i] = *src++;
    output[0] = input[0] >> 2;
    output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
    output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
    Assert(output[0] < 64);
    Assert(output[1] < 64);
    Assert(output[2] < 64);
    if (datalength + 4 > targsize)
    return (-1);
    target[datalength++] = Base64[output[0]];
    target[datalength++] = Base64[output[1]];
    if (srclength == 1)
    target[datalength++] = Pad64;
    else
    target[datalength++] = Base64[output[2]];
    target[datalength++] = Pad64;
    if (datalength >= targsize)
    return (-1);
    target[datalength] = '\0'; /* Returned value doesn't count \0. */
    return (datalength);
    [code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Urgent Help Requested...

    Good day all,
    I have a 40GB iPod Photo. I've had it for over a year now and it's been working fine...uptil now. My friend suggested that there is a way to get my old iPod to play videos. He suggested something like iPodLinux. I tried it and now I want to remove it. It's not worth it. From what I have read, I don't think this iPod Linux harms the iPod. Anyway, so today I was listening to my iPod and all of a sudden it hangs. I put it upto my ear and heard the hard disk booting and then this odd click. This process keeps repeating for some reason. I thought about Restoring my iPod to factory settings. Now, when I connect it, iTunes does not open and Windows does not recognize the iPod. I have connected the iPod many times before (with and without iPod Linux) and this is the first time this has happened to me. The second I remove my iPod (disregarding the Do Not Disconnect logo), iTunes fires up and works. When my iPod is connected, it does not come up. I have already tried the 5 R's and those do not help. Also, when I boot my iPod, sometimes, it just freezes on the Apple logo or I get the folder icon.
    Please, please help me. I would be very glad if someone could help me.
    Best regards,
    Ashar
    PS: I am using iTunes 7.0.2

    Hello,
    I am sorry to say that the iPodLinux caused the problem, try doing the following help
    For Window computer
    Go to folder “My Computer”
    Hope you can see your iPod there and right click on the iPod
    Choose “Format”. Ensure the settings are at “Default” and that “Quick Format” is not checked
    Now select “Format”
    Eject your iPod and do a Reset
    Open the iTunes 7 and click “Restore”
    In case you do not manage to do a “Format” on a window computer, try to use some 3rd party disk utility software, e.g.“HP USB Disk Storage Format Tool”.
    http://discussions.apple.com/thread.jspa?threadID=501330&tstart=0

  • Urgent help requested Please

    hi im in desperate need of help asap- i have win xp pro
    recently had to do a system recovery of my hp system and rreinstall
    everything- updated everything including flash 10 before i did this
    i was able to goto a site with flash video cams right click it to
    get a settings menu click that to get adobe privacy settings and
    select a cam from the drop down menu but after reinstall I cant
    right click on any flash cams at all, i updated flash player, my
    creative cam allows recording as does my computer both tested and
    im in desperate need of help
    Please anyone???

    Try disabling the computer's antivirus and firewall.
    - Next try the manual install method of:
    iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch
    Place the iPod in recovery mode (or DFU mode) after the firmware download is complete and then restore using the instructions in the article. Sometimes recovery mode timeouts and returns to disabled before the firmware download is complete.
    - Then try on another computer

  • Urgent Help Requested re: replacem

    Hi Guys & Girls
    My MP3 has had a fault with a flickering screen and Creative have offered me a replacement. My problem is what about the 2,500 songs or so I have currently got downloaded on the MP3 Zen Touch. Apparently, Creative have said they have no facility to save/transfer my songs onto the new MP3 player.
    I've currently used about 2GB of the memory, I don't think my computer has anywhere near 2GB of space left to store the songs while I wait for a new replacement.
    Has anyone else had this problem? Surely Creative can't expect everyone to be able to store this volume of songs (especially if you use all 40GB) on their computer, in case of any faults? I really don't want to sit through days of re-ripping the CDs back onto the MP3 or downloading these songs again. Surely they must have the facililty or the capacity at their end to transfer all the songs from a faulty MP3 onto their database to transfer straight onto the replacement or something?
    Can anyone offer any advice or suggestions? Help!

    JezUK,
    It would take RMA procedures a lot longer if they had to guarantee to backup everyone's songs, and put them onto the new player. This would take more resources, it really wouldn't be practical.
    In some cases it wouldn't technically be possible either, as the dri'ves in the players may be faulty.
    You should always keep a back-up of important files, including files you have on your PCs harddri'ves.
    Cat

  • Urgent Helping Request, Kindly Reply to ME ASAP

    Dears
    Good day,
    My name is Abd, and I am student in beginner level in java, I am trying to implement multi-video players which playing multi-types of videos and especially .avi
    Basically, I have many eye-data data as a videos files (.avi) and each file of them has a really big size (at least 3 GB) So my application must contains 6 video players combined together and for sure each one of them has its own seek-bar and later on I will try to do one seek bar for each 2 players which can control the frames in both players so I will touch in somehow video synchronization problems and those stuff, but currently I am still in the first phase and I just would like to play those videos (.avi) files and deal with them.
    Therefore, I was searching about Java videos-programming stuff and I found the following links:
    http://forum.java.sun.com/thread.jspa?threadID=5137239&messageID=9501229
    https://lethe.koumbit.net/trac/drone/browser/trunk/plugins /drone.jmf/src/actors?rev=830
    https://lethe.koumbit.net/trac/drone/changeset/814
    http://trac.openmicroscopy.org.uk/shoola/browser/trunk/SRC/org/openmicroscopy/shoola/agents/imviewer/util/MoviePlayer.java?rev=3456
    http://rsb.info.nih.gov/ij/plugins/jmf-player.html
    http://snippets.dzone.com/tag/avi
    http://www.koders.com/java/fidBDB1AF254551A78640049131F2BCDD66E99399C3.aspx
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=45&t=001985
    http://www.cs.duke.edu/courses/spring06/cps001/class/06 _Sound/bookClasses/
    http://staff.science.uva.nl/~horus/dox/horus1.1/refidljava/html/interfaceVideoPlayer.html
    and I tested all of them but unfortunately non of them can plays .avi files or big files
    So I will be grateful for you and I will appreciate if you could help me and support me with correct source codes I can benefit from it in my application at least just video player for big files from type .avi
    Kindly consider and reply to me as soon as possible, because I am really badly waiting for your help.
    Thank you,
    Kind Regards,
    Abd

    stop cross posting

  • Urgent help requested : How to cluster SOAP (via EJB) in WLS 7.0 SP 01?

    Hi all,
    I am able to deploy simple EJBs across clustered WLS instances.
    I am unsuccessful in doing the same for a web service (SOAP) using EJBs. The application
    gets deployed but successive requests do not round robin among available services.
    I think somehow I need to do some cluster tweaks to the receiving WLS servlet
    that peeks into the SOAP message and forwards it to the right service.
    Could someone please help me out?
    I would be most grateful.
    Thanks a lot.
    Guha

              A couple of entries in webservices.xml file and making the proxy from the web server
              reach out to the cluster instead of trying to make the https client do so.
              

  • URGENT Help request! After Onyx, iMac stuck in midst of logout/restart

    Our iMac has been stuck for *more than an hour* in the middle of the logout/restart process. I had just ran Onyx on our iMac in preparation for upgrading it from Leopard to Snow Leopard. I'd just clicked the "restart" button which Onyx displays after completing its work. The screen is displaying the desktop image but nothing of the finder or desktop icons. The screen is also displaying the tiny rotating progress symbol that you normally see during startup. I worry that if I force an interruption it will hose the system.
    Any advice?

    No advice for getting out of it, perhaps someone else will have that.
    I will mention that I don't use "maintenance" programs. I tried out a couple, I think around 10.2 or so, and dropped them, particularly as I read more support articles about how they don't really do much or that they could cause slowdowns or problems. I trust my Mac to take care of it self, and the OS is continuously improving in self-maintenance, which has been contrary to MS Windows. Though I haven't kept up with Vista or number 7 to know if they finally have relieved their users of defragging and such.
    So, in the future, on your Macs at least, I'd say ditch the those so-called maintenance programs. Trusting third-party apps to mess with your systems internals is really dicey anyways. I've been doing great without them. Also, to convince yourself, read up on the support documents on Apple's website to learn more about caches or defragging or anything else those maintenance apps claim to help out with. Also note on those articles what OS it is about, just to be sure it's up to date.
    Of course, if you've already done that and weren't convinced, perhaps this incident helps?
    If you have backups of you personal content, everything will be fine again. Hope someone can help out with what you got going on in the mean time.

  • Urgent help for table function

    I Have a table tab1
    SQL> select * from tab1;
    A B C
    maqdoom 12 syed
    aamer 323 army
    king 343 khan
    keerthi 52 kaat
    I Have created an Object
    CREATE TYPE object_row_type AS OBJECT1 (
    name VARCHAR2(30),
    lname VARCHAR2(18))
    CREATE TYPE object_table_type1 AS TABLE OF object_row_type1;
    I write a function such a way that
    when we enter a trackinnumber it return the whole record with respective the query
    CREATE OR REPLACE FUNCTION test1 (trackingnumber IN NUMBER)
    RETURN object_table_type1
    IS
    --tracking_num   NUMBER (10);
    v_tab object_table_type1 := object_table_type1 ();
    BEGIN
    FOR cur IN (SELECT a AS NAME, c AS LNAME
    FROM TAB1
    WHERE b=trackingnumber)
    LOOP
    v_tab.EXTEND;
    v_tab(v_tab.LAST) :=object_row_type1(cur.name,cur.lname);
    end loop;
    RETURN v_tab;
    END;
    every thing runs fine
    But
    Can an one show me
    1. how to handle an exception ... when someone enters a wrong tracking number I should get some message displaying that 'its a wrong tracking number'.
    thank you

    SQL> CREATE TYPE object_row_type AS OBJECT(
      2  name VARCHAR2(30),
      3  lname VARCHAR2(18));
      4  /
    Type created.
    SQL> CREATE TYPE object_table_type AS TABLE OF object_row_type;
      2
      3  /
    Type created.
    SQL> select * from test;
    A                             B C
    maqdoom                      12 syed
    aamer                       323 army
    king                        343 khan
    keerthi                      52 kaat
    SQL> CREATE OR REPLACE FUNCTION f1 (trackingnumber IN NUMBER)
      2  RETURN object_table_type
      3  IS
      4   cnt number := 0;
      5   v_tab object_table_type := object_table_type ();
      6  BEGIN
      7   FOR cur IN (SELECT a AS NAME, c AS LNAME
      8                       FROM test
      9                       WHERE b=trackingnumber)
    10   LOOP
    11    cnt := 1;
    12    v_tab.EXTEND;
    13    v_tab(v_tab.LAST) :=object_row_type(cur.name,cur.lname);
    14  end loop;
    15  if cnt = 0 then
    16   dbms_output.put_line('No data!');
    17  end if;
    18  RETURN v_tab;
    19  END;
    20  /
    Function created.
    SQL> set serverout on
    SQL> declare
      2   a  object_table_type;
      3  begin
      4  a :=  f1(12);
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   a  object_table_type;
      3  begin
      4  a :=  f1(1);
      5* end;
    SQL> /
    No data!
    PL/SQL procedure successfully completed.
    <br>
    <br>
    But you can use BULK COLLECT here..
    Try it yourself..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Urgent help requested: Access Manager integration with BEA Portal

    We're using Access Manager 7.1 and Policy Agent 2.2 to authenticate users for our BEA WL Portal 10 which contains all of our content and applications. The portal contains both anonymous pages and protected pages (for registered users).
    Problem: When an anonymous user who is going through a multi-step application flow decides to sign-in to their account (or sign-up) Policy Agent wipes out the current content of the user session, and creates a brand new user session after the user is authenticated. Therefore we cannot send the user back to the same spot in the portal where they were before signing-in.
    Is there anyway to make Policy Agent preserve the content and state of http session when authenticating a user?
    We have a business requirement to allow users to continue their application process after successfully signing in.
    Thanks in advance.

    Hi,
    I think this problem is not just related to weblogic 10 agent, it is a general problem for any agents.
    Can you please clarify what you mean by "anonymous user "? Do you mean that this user has never logged in to Access Manager, and is just browsing the site as an anonymous user, or do you have a role specified as "anonymous user " that they are currently logged into when browsing the site?
    thx,
    Sean

  • Insert Stmt--urgent help requested

    Hello all,
    I am trying to insert some data into sql server database, but its not getting inserted. Could someone please look at my code and tell me where the problem is. the final sql stmt on the server looks like this:
    GENERATED SQL =
    INSERT INTO .ADDRESS (STREET_SUFFIX, SECONDARY_DESIGNATOR, STATE_CODE, CITY_NAME
    , PRIMARY_NUMBER, PREDIRECTIONAL, CHG_TIMESTAMP, RURAL_ROUTE_IND, ZIP_ADD_ON, ZI
    P_CODE, SECONDARY_NUMBER, STREET_NAME, GENERAL_DELIVERY_IND, BOX_ADDRESS_IND) V
    ALUES (?, NULL, ?, ?, ?, ?, ?, ?, NULL, ?, NULL, ?, ?, ?)
    basically it's not taking any values. Please help me. thanks,
    private void insert(String pQualifierName, String pTableName, Map pValueMap)
    m1Buffer.append("INSERT INTO ").append(QualifyTableName(pQualifierName, pTableName)).append(" (");
    m2Buffer.append(" VALUES (");
    // go over all values
    boolean isNotFirst = false;
    for (Iterator i = pValueMap.keySet().iterator(); i.hasNext();)
    if (isNotFirst)
    m1Buffer.append(", ");
    m2Buffer.append(", ");
    isNotFirst = true;
    String aColumnName = (String) i.next();
    // add the column name to the first part
    m1Buffer.append(aColumnName);
    // add a "?" to the second part, as well as adding the value to the parameter list
    appendValue(pValueMap.get(aColumnName));
    m1Buffer.append(")");
    m2Buffer.append(")");
    }

    That isn't valid SQL. If you have code that's generating those ? things you should change it to generate the values you want to insert instead.

Maybe you are looking for