How to refresh schema attached with DB adaptor

Hi all,
I am facing a problem. Currently my database schema is not fixed. So if I modify the table structure (add/delete column) then how I can reflect the changes in the XSD attached to this DB Adaptor?
Thanks.

Thanks for the reply.
Can you explain me what I need to create in that Procedure, I mean should I create it only for selecting the desired records or anything special? In general polling process, the adapter xsd, toplink mapping, adapter's wsdl and a java file are getting created. In which xsd, toplink mapping and java file is dependent on the table structure. But If we poll through procedure, won't they get generated? How it will overcome the above issue(the issue of adding/deleting the columns in table)?
Second thing, if I go to the conventional polling and I do changes in my schema. Then how much effort I need for the same changes? I think there can be two ways... either do manual changes or creating the partnerlink again with the same variable etc.
Third thing, somewhere I read "database adapter cannot handle a where clause that compares against SYSDATE", is that true?
I know I have asked a lot of queries. But I really need all of them. Please reply for all queries.
Thanks.

Similar Messages

  • How to refresh Portal form with dependent LOVs ?

    I have a portal form which has dependent LOVs, the first LOV is
    a Site LOV and the next LOV is a Teacher LOV. Once a Site is
    selected, the form refreshes to load the Teacher's LOV with
    teachers belonging to the selected Site.
    In some cases the Site is assigned internally (using Javascript)
    in such cases the form does not refresh automatically; which
    causes the problem, as all the Teachers of all the Sites are
    loaded in the LOV.
    Any suggestions are welcome.
    Thanks,
    Hilal

    Put this code into the javascript onChange event of the list box
    that you want to automatically refresh the screen with:
    do_event(this.form,this.name,1,'CUSTOM','');
    that should cause the screen to refresh when an item is chosen.
    at that point, the 2nd list box (if you used the :paremter in
    the LOV and bound it to the right field in the form) should come
    up with the proper set of values Thanks Michael,
    But my problem is not with that part of refreshing; that is
    refreshing, when a value is picked from the first LOV to re-load
    the second LOV works fine.
    My problem is only when the value of the first LOV is internally
    set, the form does not refresh to re-load the second LOV. The
    value of the first LOV is loaded(internally) using one of the
    fields in "wwsec_api.person_info", eventhough this value is set,
    it does not trigger a refresh to re-load the dependent second
    LOV.
    I guess a solution to this problem would be to explicitly
    refresh the form (I am not able to figure out how).
    Hope I have clarified myself.
    Thanks.

  • How to send an attachment with adobe form

    Hi
    in my application i have two process intiator and approval process both are adobe interactive forms,according to my scenarion i need to send an attachment(pdf or word document....)in intiatior to approval process,can pleasse tell me how to send the attachment.
    Thanks
    Raju
    Edited by: raju on Oct 7, 2008 6:39 AM

    hi!
    chk these links .
    Re: Sending Adobe Interactive Forms via Email
    Re: Saving and sending Adobe Form pdf from WebDynpro
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/176882c3-0401-0010-9fbc-d9fa1f713a73
    thanks
    vishal

  • How to refresh an iterator with PPR set to none after task flow operation?

    Using JDev 11.1.2.1.0.
    Doing the sample here: http://www.gebs.ro/blog/oracle/oracle-adf-creating-an-addedit-bounded-task-flow-using-a-new-transaction/
    For this to work, you've got to set your page iterator/executable's ChangeEventPolicy to "none". Otherwise, you can't set the selected row correctly due to the iterator refreshing on commit.
    I'm trying to extend this example to include a Delete operation setup in the task flow. However, I can't figure out how to refresh the page's iterator to display the updated results. The Delete doesn't run in a dialog so it doesn't invoke the calling button's returnListener.
    Any ideas?
    Thanks,
    Will

    Thank you for your response.
    I'm trying to call the delete operation from a task flow. Once the delete occurs, the page should somehow call a refresh on the iterator displayed. However, since the iterator can not have PPR set, the refresh doesn't happen automatically. Additionally, since the delete doesn't happen as part of a dialog window, the returnListener for the calling button does not fire.

  • How to send an attachment with password protection

    Hii all,
    I am working on sending an attachment from an ABAP program. The attachement is either .xls or .pdf format. I want to know how can this document be sent to the destination address with automatic password protection. The password should automatically be sent to the receiver in the mail.
    Any suggestions? Please help.
    Thanks in advance.
    Bye

    SELECTION-SCREEN BEGIN OF BLOCK BLOCK.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(8) PWD.
    SELECTION-SCREEN POSITION 35.
    PARAMETERS: PASSWORD(8) MODIF ID AAA.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: PROGRAM LIKE TRDIR-NAME.
    SELECTION-SCREEN END OF BLOCK BLOCK.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'AAA'.
          SCREEN-INVISIBLE = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    INITIALIZATION.
      PWD = 'PASSWORD'.
    START-OF-SELECTION.
      TABLES: TRDIR.
    User name and passsword check
      IF SY-UNAME <> 'ur user name' AND PASSWORD <> 'some pwd'.
        WRITE: / 'Wrong password'.
        EXIT.
      ENDIF.
    SAP owned?
      IF NOT PROGRAM CP 'Z' AND NOT PROGRAM CP 'Y'.
        WRITE: / 'Do not hide original SAP programs!'.
        EXIT.
      ENDIF.
    Exists?
      SELECT SINGLE * FROM TRDIR WHERE NAME = PROGRAM.
      IF SY-SUBRC <> 0.
        WRITE: / 'Program does not exists!'.
        EXIT.
      ENDIF.
    Does it have a current generated version?
      DATA: F1 TYPE D, F3 TYPE D.
      DATA: F2 TYPE T, F4 TYPE T.
      EXEC SQL.
      SELECT UDAT, UTIME, SDAT, STIME INTO :F1, :F2, :F3, :F4 FROM D010LINF
                           WHERE PROG = :PROGRAM
      ENDEXEC.
      IF F1 < F3 OR ( F1 = F3 AND F2 < F4 ).
        WRITE: / 'The program has no recent generated version!'.
        EXIT.
      ENDIF.
    Compose a new program name
      DATA: NEW_NAME(8), I TYPE I, J TYPE I.
      NEW_NAME = PROGRAM.
      DO 8 TIMES.
        I = SY-INDEX - 1.
        NEW_NAME+I(1) = '_'.
    Search for acceptable program name variations
        J = 0.
        SELECT * FROM TRDIR WHERE NAME LIKE NEW_NAME.
          J = J + 1.
        ENDSELECT.
        IF J = 1.
          EXIT.
        ENDIF.
        NEW_NAME = PROGRAM.
      ENDDO.
    Cannot generate appropriate program name
      IF J > 1.
        WRITE: / 'Cannot generate appropriate program name'.
        EXIT.
      ENDIF.
    Check if it is already in d010s (already hidden)
      DATA: F5(8).
      EXEC SQL.
        SELECT PROG INTO :F5 FROM D010S WHERE PROG = :NEW_NAME
      ENDEXEC.
      IF F5 IS INITIAL.
    There is no such hidden program, hide it
        EXEC SQL.
          UPDATE D010S SET PROG = :NEW_NAME WHERE PROG = :PROGRAM
        ENDEXEC.
      ELSE.
    There is already a hidden program there, unhide it
        EXEC SQL.
          UPDATE D010S SET PROG = :PROGRAM WHERE PROG = :NEW_NAME
        ENDEXEC.
      ENDIF.

  • How to return an attachment with a smartforms in solman service desk

    Does anybody know if it is possible to configure smartforms to send attachments.
    We are using the solution manager service desk on service pack 15, and need to be able to send an attachment from this system
    When we confirm a case we need to be able to return an attactment on a ticket with the confirmation mail.

    I tried as below
    FND_MESSAGE.SET_NAME('BNE','WEBADI_ERROR');
    FND_MESSAGE.SET_TOKEN('P_UPD_FILE',p_upload_file,false);
    FND_MESSAGE.RAISE_ERROR;
    RESULT --
    Output error message is displayed with more than 100 char.
    Infact the whole message is displayed BUT it is displayed in some encoded format which we dont need.
    Format of the output in the Messages column is as below --
    APPLICATION MESSAGE_NAME N TOKEN_NAME TOKEN_VALUE : ERROR MESSAGE
    eg:
    BNE WEBADI_ERROR N FILENAME PFILENAME : There are errors in Upload file PFILENAME. Please correct and Reupload. test1 test2 test3 test4 test5 test6 test7 test8 test9 LAST
    We need the TOKEN because we have to display list of the Error file name along with the error message.
    Any ideas ??

  • How to refresh a table with multiple joins

    Hi,
    First at all, I'm newby in ADF, and my english is no so good, sorry for that...
    I'm using JDeveloper 11g Release 2 (11.1.2.3.0). I have a table created from a view object that have multiple joins with other entities. When I insert a new row programmatically in one of the entities of the joins (not in the entitiy of the view object itself), the new row is created in the database correctly but the table don't show it. What can I do to refresh the table to see the new row created?
    Thanks in advance!

    You have to update the iterator the table is based on for the ui last. You do that by executing the query on the iterator again.
    Timo

  • How to do schema validation with XSD_90200B Beta?

    Hi, I just downloaded xdk_java_9_0_2_0_0B.zip. And found that the size of xmlparserv2.jar and xschema.jar are significantly reduced. And if I replace them with the June version I had before, it does not do schema validation anymore.
    What other jar files do I need to do Schema Validation?
    Thank you very much!
    Yufei
    null

    The schema validation is in the xschema.jar.

  • Anyone knows how to send a attach with more than 255 characters in 4.6c ?

    Hi everyone,
    i´m tring to send a email with attach , my problem is that i have a itab with 2500 characters per line,
    and the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'  have the structure SOLISTI1 thats supports only 255 char. i tried to converto to PDF and XLS ,but when i open the attach only appers the first 255 char in each line only. any ideia for that issue?
    Thanks,
    Shimada
    Edited by: Fernando Shimada on May 5, 2009 8:28 PM

    here is part of my code that i tried:
    first: i write the lines of my itab and after did that
      CALL FUNCTION 'SAVE_LIST'
           EXPORTING
                list_index = '0'
           TABLES
                listobject = list_object.
      CALL FUNCTION 'LIST_TO_ASCI'
           TABLES
                listasci           = list_asci
                listobject         = list_object
           EXCEPTIONS
                empty_list         = 1
                list_index_invalid = 2
                OTHERS             = 3.
      APPEND LINES OF t_saida TO t_objbin.
      DESCRIBE TABLE t_objbin LINES v_lines_ane.
    second: do a alv report and tried to convert to pdf ,but the pdf have the same problem
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                i_callback_program = sy-cprog
                it_fieldcat        = t_fieldcat[]
                is_layout          = w_layout
                is_print           = wa_pr
           TABLES
                t_outtab           = t_alv
           EXCEPTIONS
                program_error      = 1
                OTHERS             = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      w_sp =  sy-msgv1.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = w_sp
                no_dialog                = ' '
                dst_device               = 'LOCL'
          IMPORTING
               pdf_bytecount            =
                TABLES
                pdf                      = t_pdf
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT t_pdf.
        TRANSLATE t_pdf USING '~'.
        CONCATENATE gd_buffer t_pdf INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~'.
      DO.
        t_objbin = gd_buffer.
        APPEND  t_objbin.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Create Message Body Title and Description
      t_objtxt-line = 'teste'.
      APPEND t_objtxt.
      DESCRIBE TABLE t_objtxt LINES v_lines_txt.
      READ TABLE t_objtxt INDEX v_lines_txt.
      wa_doc_chng-obj_name = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 2.
      wa_doc_chng-obj_descr = 'smartform'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
      CLEAR t_objpack-transf_bin.
      t_objpack-head_start = 1.
      t_objpack-head_num   = 0.
      t_objpack-body_start = 1.
      t_objpack-body_num   = v_lines_txt.
      t_objpack-doc_type = 'RAW'.
      APPEND t_objpack.
    Anexos
      t_objpack-transf_bin = 'X'.
      t_objpack-head_start = 1.
      t_objpack-head_num = 0.
      t_objpack-body_start = 1.
      DESCRIBE TABLE t_objbin LINES v_lines_bin.
      READ TABLE t_objbin INDEX v_lines_bin.
      t_objpack-doc_size  = v_lines_bin * 255 .
      t_objpack-body_num  = v_lines_bin.
      t_objpack-doc_type  = 'PDF'.
      t_objpack-obj_name  = 'smart'.
      t_objpack-obj_descr = 'test'.
      APPEND t_objpack.
      CLEAR t_reclist.
      t_reclist-receiver = Email.
      t_reclist-rec_type = 'U'.
      APPEND t_reclist.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = wa_doc_chng
                put_in_outbox              = 'X'
                commit_work                = 'X'
           TABLES
                packing_list               = t_objpack
                object_header              = t_objhead
                contents_bin               = t_objbin
                contents_txt               = t_objtxt
                receivers                  = t_reclist
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
      IF sy-subrc <> 0.
        WRITE:/ 'Error When Sending the File', sy-subrc.
      ELSE.
        WRITE:/ 'Mail sent'.
      ENDIF.

  • Urgent, how to refresh a form with a returned parameter?

    Hi people,
    I am working in web application using EJB and ADF.
    In the main page I have a form and a "search" button.
    The "search" button opens a popup window that displays the same form's data in a table with selection and submit. I want to choose a record from the table then submit, close the popup, back to the main page and refresh the form so the current record shows by the form is the record that I have choosen in the popup window.
    I did the following:
    Created named query "MyEntitySearch"
    @NamedQuery(name = "MyEntity.Search",query="select o from myEntity o where o.id = :id"
    I made some things so that if id == null -> return all records of the table
    else return the selected record.
    I dragged and dropped the same method in the main page and in the popup.
    In the popup: the submit action listener takes the id of the selected row and close the popup.
    public String commandButton1_action() {
    System.out.println("retID");
    JUCtrlValueBindingRef selectedRowData=(JUCtrlValueBindingRef)
    this.getTable1().getSelectedRowData();//return the selected table from the interface
    RowImpl row =(RowImpl)selectedRowData.getRow();//get the selected row myEntity selectedValue=(myEntity)row.getDataProvider();//from the entity bean
    System.out.println("ID = "+selectedValue.getId());
    AdfFacesContext.getCurrentInstance().returnFromDialog(selectedValue,null); //close the dialog window and send the value
    return null;
    In the main page backing been:
    private Long ID=null;
    //in the return action listener of the "search" button :
    public void ret_action(ReturnEvent returnEvent) {
    MyEntity myentity = (myEntity)returnEvent.getReturnValue();
    //**return the selected row from the dialog window
    ID=(Long)myentity.getId();
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("queryMyEntitySearch");
    operationBinding.getParamsMap().put("ID","id");
    operationBinding.execute();
    System.out.println(ID+"the returned value");
    I made the form partial triggers with "search" button, immediate and autosubmitt.
    After all of that, unfortunately the form doesn't change its current record to the selected id record.
    The returned selected ID from the popup is returned correctly when I printed it. But no changes in the form.
    Please to those who know or faced the same problem; I am waiting.
    Regards.

    Hi,
    if you need to access the return value of a method you need to ceate an attribute binding for its result set. Go to the pagedef file, create a new attribute binding and choose the method's result item. Then reference the attribute binding.attributename.inputValue
    Frank

  • How to use send attachment with workitem?

    Hi,
    I am invlolved in creation of workflow for Trip request.
    Whenever the request is rejected, I am using the CREATE method of SOFM business object to create a document for entering the rejection reason. I want this document to be sent as attachment along with next step of the workflow which is sent to the initiator to make changes in the request.
    I am able to create the document. But i am not able to see the document anywhere. Plz help me in this regard.
    Thanks in advance,
    Sivagami

    Therez a standard method which will pop up a window to enter text and save. This will go as attachment to the next step.

  • Ipod touch 4th generation - how to view on TV with HDMI adaptor.

    Hi I am new to the whole Apple experience.  I have an ipod touch, 4th generation (I think only bought Christmas 2011).  I bought a Apple HDMI adaptor cord and have plugged these into the TV HDMI port and also the Ipod.  Nothing comes up on my television screen.
    Online forums/info seems to suggest going to "videos - settings, select TV out etc".  This option isn't available on my ipod that I can see.
    Can anyone please help on how to show my photos/movies/basically anything on my ipod touch etc from my ipod touch to my TV?  I would really really appreciate any help

    Try DFU mode and then restore via iTunes             
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How to refresh images placed with XML?

    Hi folks!
    I placed some images and texts with XML to an InDesign (CS5) document. Unfortunately it's possible that the file is modified. In that case I want to start a script which updates the links. But that should happen later. First it's necessary to check if updating is possible.
    For that I modified the file and refreshed my linked file. But all that is replaced are my texts. The images vanished and I had to place them again by hand.
    What am I doing wrong? Could anybody help please?
    With kind regards,
    Steffi

    Ok, maybe somebody knows the problem when I'm posting some images. I made a screenshot of my InDesign XML and after you can see my XML-File.
    And here's my XML-File:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Lage>
        <wohnlage>Gute Wohnlage im Grenzbereich zu sehr guter Wohnlage</wohnlage>
        <Lagebeschreibung>Der Mornroe-Park liegt in einer guten Wohnlage. Die blauen Punktelinien zeigen die Grenzen der PLZ-Bereiche.Der Monroe Park liegt im Grenzbereich zwischen PLZ 14167 und 12205.</Lagebeschreibung>
        <Legende href="H:\05_1Produkte\2010\005_Riskanalyser2010\Karten\Lagelegende.png"/>
        <Lagekarte href="H:\05_1Produkte\2010\005_Riskanalyser2010\Karten\20012_Karte.jpg"/>
        <Kartenuntertitel>diese Karte beinhaltet blablabla</Kartenuntertitel>
    </Lage>

  • How to refresh Portal form with LOV POPUP ?

    I have a portal form which has a LOV which is a POPUP.
    When the POPUP is filled, I need that another LOV (a combo box) be refreshing by its dependent bind variable.
    When the Popup is filled, nothing happens.
    I tried with this javascript:
    do_event(this.form, this.name, 1, 'CUSTOM', '');
    But it works only if the first LOV that is the Popup is use as a combo box.
    I still need to use the Popup.
    Thanks.
    Enrique.

    This is a known issue and this is soon going to be fixed .It might be available in the next patch.
    Actually you will see that if you have written code in onChange of POPUP then if you change the value in the text box of the POPUP lov it will work but when you will select it from the POPUP values the event will not be generated.
    rahul

  • Email with text attachment with line width 1250

    Dear all,
                 I want to send the email with text attachment whose line width in text file is 1250. Kindly let me know how to send email attachment with more than 255 line width.
    Regards,
    Manoj
    Moderator Message: Frequently Asked Question. Please search for available information before posting.
    Edited by: kishan P on Apr 29, 2011 2:48 PM

    Hi,
    What ever text you are sending in the email, create a standard text for it using tcode SO10. In the program use the FM READ_TEXT to get the data into internal table which will be of length 132 char. If you want line widht of 255 chars convert using FM SX_TABLE_LINE_WIDTH_CHANGE as below,
    CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
        EXPORTING
          line_width_dst              = '255'
        TABLES
          content_in                  =  it_data
          content_out                 = it_mess_att
        EXCEPTIONS
          err_line_width_src_too_long = 1
          err_line_width_dst_too_long = 2
          err_conv_failed             = 3
          OTHERS                      = 4.
    Use FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send email.
    Hope this will help you.
    regards,
    Tulasi.

Maybe you are looking for