Struts: how to populate info into a form?

Hi there,
quick question in struts: a user logs in the system and immediately sees his account information (composed of name, address...)
the user's info is retrieved from the db during the login phase.
Q: after the login, how can I populate the user's info in the form of the accountPage.jsp?
I tried to do this (login.java):
UserInfomationFrom uif = new UserInformationForm();
uif.setUser(user);but that of course dies because of the scope
thanks

PjonesCET wrote:
Right Click Desired Field to create multiples of:
this menu will come up : http://screencast.com/t/NzI4ZDA1
Choose  and then place fields as needed.
Phillip, this won't work as it creates fields with different names. grafiti's answer is the best.

Similar Messages

  • Downloaded adobe reader, i have been inputting info into some forms, the areas I populate all have red squares around them, what does this mean?

    downloaded adobe reader, i have been inputting info into some forms, the areas I populate all have red squares around them, what does this mean? mac book pro as well. The forms i have been working on are from Canada Immigration, has any one else experienced this? thanks and yes I am new here, lol.

    Yes thank you I figured it out. Lol
    Sent from Samsung Mobile

  • How to use CrossReference and DVM in ODI &how to populate data into Xref

    Can any one tell how to use Domain Value Maps and Cross Referencing in ODI?
    DVM or Domain Value Map are created and used in ESB console of SOA suite.
    My actual requirement is as follows:
    The below steps describe loading data from ERP Application 1 to ERP Application 2.
    1. The Source Application ERP APP1, populates the interface table using their native technology.
    2. A job scheduler invokes the Source side ODI Package.
    3. ODI then extracts the data from Source Interface table and populates the Target Interface table.
    4. After populating the Target interface table the ODI populates the X-ref table with App 1 ID and generated common ID.
    5. The ODI either deletes or updates the rows that were processed from the Source interface table.
    6. On the Target Application ERP APP2, the native application extracts data from target interface table and populates target database there by generating ERP Application 2 ID.
    7. A job scheduler on the Target application invokes the ODI package to populate the Application 2 ID onto the Xref table matching on the Common ID.
    I just want to know :
    1. How to populate data into the Xref table from Source datastore
    2. And if data is successfully laoded from target datastore to actual base table of target then how to populate the target id into the cross reference table.

    can anyone suggest me some answer, then it would be of great help?

  • How to convert smartforms into Adobe forms.

    Hi......
    How to convert smartforms into Adobe forms.
    Regards
    Anbu B

    Hi,
    You need to use the Function Module CONVERT_OTF.
    Please check the below code
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    Ruthra

  • How can populate image into form using itemrenderer?

    Hi,
    i have an form employee form(form) and datagrid(contains image and edit button) in one screen.
    images and buttons are displayed in the datagrid using itemrendered(inline).
    My question is when i clicked on edit button the correspong image will be populated into
    employee form(as one formitem).How can i do it?
    Regards
    D.Mahesh babu

    Thanks prasanth.
    Here i am taking like this:
    <mx:FormItem id="formItem" >
           <mx:Image source="htttp://...../one/{dataGridId.selectedItem.empPath}" />
    </>
    Then i got the output.When i clicked on the edit buuton in datagrid(first row) then i got image is displayed in form.
    But wen i clicked on edit bitton in datagrid(second row) i got this error:
    RangeError: Error #2006: The supplied index is out of bounds.
        at flash.display::DisplayObjectContainer/addChildAt()
        at
    mx.core::Container/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Con ta
    iner.as:2206]
        at
    mx.containers::Form/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\contain er
    s\Form.as:274]
        at
    mx.core::Container/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Conta in
    er.as:2140]
        at
    mx.containers::Form/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\container s\
    Form.as:263]
        at
    lightemployee_inlineComponent2/fnEditDivisionRow()[\\India\c\wamp\www\reqtionary\src\light em
    ployee.mxml:251]
        at
    lightemployee_inlineComponent2/___lightemployee_inlineComponent2_Button1_click()[\\India\c \w
    amp\www\reqtionary\src\lightemployee.mxml:261]
    Regards
    D.Mahesh babu

  • How to populate USERNAME into a text field [SOLVED]

    Hi all,
    Forms 10g(10.1.2.0.2), Windows XP
    In my form I have 2 blocks.
    Block 1 with only one item, where we enter some value and hit enter(this will navigate to block2 and execute the query).
    Block 2(tabular) will fetch the records. Now this block2 have 3 columns(caseid, userid, date).
    Now when I insert a new record, I just need to enter the caseid only. And userid and date have to be automatically populated.
    I'm able to populate date by setting Initial Value property to *$$DATETIME$$* for the date column.
    And I tried many ways to populate USERNAME into userid column without any success.
    I tired something like this
    In *When-New-Item-Instance*
    if :System.Cursor_Item is null then
         :BLOCK2.userid := Get_Application_Property(USERNAME);
    else
         null;
    end if;
    /*In this case, I can navigate to to the last recrord w/o any changes in the fetced records
    and while inserting the new record, USERNAME doesn't populate.*/
    In *When-New-Record-Instance*
    declare
         v_dummy varchar2(15) := null;
    begin
         v_dummy := nvl(:system.cursor_value, null);
         Copy(to_char(v_dummy), :System.Cursor_Item);
         if :System.Cursor_Item is null then
              Copy(null, :System.Cursor_Item);
              :BLOCK2.userid := Get_Application_Property(USERNAME);
         else
              null;
         end if;
    end;
    /* Nothing populates into the userid item while inserting new record */Any help please...

    Hi Ammad,
    It is populating number 73 (which is not my username) into the field.
    And when I changed it to :BLOCK2.userid:=GET_APPLICATION_PROPERTY('USERNAME');
    I get FRM-40735 WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502
    Also when the new record is inserting, the user shouldn't be able to edit userid and date fields. But this is also not working...
    Edited by: Charan on Sep 20, 2011 11:26 AM

  • How to populate values into a Listbox on selection screen

    Hi All,
    Please any one let me know how to populate values (for ex.01,02 and 03) in a list box of selection screen..
    Thanks,
    Vijay

    Try this code ...
    REPORT  ZLISTBOX.
    TYPE-POOLS: VRM.
    TABLES SPFLI.
    TABLES SSCRFIELDS.
    DATA flag.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    PARAMETERS PS_PARM LIKE SPFLI-CARRID AS LISTBOX VISIBLE LENGTH 5
    USER-COMMAND fcodex.
    data: i_spfli type spfli occurs 0 with header line.
    PARAMETERS PQ_PARAM LIKE SPFLI-connid AS LISTBOX VISIBLE LENGTH 15
    USER-COMMAND
    fcodey.
    *DS AS CHECKBOX USER-COMMAND FLAG.
    INITIALIZATION.
    NAME = 'PS_PARM'.
    DATA T TYPE I VALUE 0.
    SELECT DISTINCT carrid into corresponding fields of table i_spfli FROM
    SPFLI.
    loop at i_spfli.
    VALUE-KEY = i_spfli-CARRID.
    VALUE-TEXT = i_spfli-CARRID.
    APPEND VALUE TO LIST.
    endloop.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    AT SELECTION-SCREEN.
    if sy-ucomm eq 'FCODEX'.
    REFRESH LIST.
    CLEAR LIST.
    PQ_PARAM = ' '.
    NAME = 'PQ_PARAM'.
    SELECT * FROM SPFLI WHERE CARRID = PS_PARM.
    VALUE-KEY = SPFLI-connid.
    VALUE-TEXT = SPFLI-connid.
    APPEND VALUE TO LIST.
    ENDSELECT.
    endif.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SY-UCOMM NE 'FCODEX' OR SY-UCOMM NE 'FCODEY'.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    START-OF-SELECTION.
    clear i_spfli.
    refresh i_spfli.
    select * into table i_spfli from spfli where carrid = ps_parm and connid
    = pq_param.
    loop at i_spfli.
    WRITE: / 'CITY FROM:', I_SPFLI-CITYFROM, 'CITY TO :',I_SPFLI-CITYTO,
    'DEPARTURE TIME :', I_SPFLI-DEPTIME.
    ENDLOOP.

  • How to populate data into view object

    Hi all,
    I am quite new with ViewObject.
    I have one data table which is binding with view object.
    I want to populate data into view object from my managed bean.
    how can i achieve this kind of scenario?
    actually i try to get view object as in the following. but i get only null.
    ViewObject viewobject = DCIteratorBinding.getViewObject();
    With Regards,
    Wai Phyo

    Hi,
    You could use the following code snippet to get handle to view object from the iterator.
    FacesContext fc = FacesContext.getCurrentInstance();
    BindingContainer bindings =
    (BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
    "#{bindings}",
    BindingContainer.class);
    DCBindingContainer bc = (DCBindingContainer)bindings;
    DCIteratorBinding iterator =
    bc.findIteratorBinding("<ITERATOR_ID>");
    ViewObject viewObject = iterator.getViewObject();
         // Perform operations on the view objectThanks,
    Navaneeth

  • How to add metadata into XDP form

    Hi,
    I am new to LiveCycle Designer. Wondering if there is a way to add PDF metadata into XDP form?
    I tried adding it into the XML source under the <x:xmpmeta> section, but the rendered PDF output file lost the metadata I added in the XDP.
    <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.1-c041 52.337767, 2008/04/13-15:41:00        ">
       <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
          <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
             <xmp:ModifyDate>2009-09-14T15:44:32+05:30</xmp:ModifyDate>
             <xmp:CreateDate>2009-09-14T15:44:31+05:30</xmp:CreateDate>
             <xmp:MetadataDate>2010-12-08T19:42:13Z</xmp:MetadataDate>
             <xmp:CreatorTool>Adobe LiveCycle Designer ES 8.2</xmp:CreatorTool>
          </rdf:Description>
          <rdf:Description xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" rdf:about="">
             <xmpMM:DocumentID>uuid:129e34eb-49a8-43f4-a934-43f67f5d6891</xmpMM:DocumentID>
             <xmpMM:InstanceID>uuid:ee103292-b266-4bb8-b1d1-71d29fe339e2</xmpMM:InstanceID>
          </rdf:Description>
          <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
             <dc:format>application/pdf</dc:format>
          </rdf:Description>
          <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
             <pdf:Producer>Adobe LiveCycle Designer ES 8.2</pdf:Producer>
          </rdf:Description>
          <rdf:Description xmlns:ABC="ABC (http://www.abc.com)" rdf:about="">
             <ABC:XYZ>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.abc.net/API/3.0"&gt;
    </ABC:XYZ>
          </rdf:Description>
          <rdf:Description xmlns:desc="http://ns.adobe.com/xfa/promoted-desc/" rdf:about="">
             <desc:version rdf:parseType="Resource">
                <rdf:value>8.0.1291.1.339988.308172</rdf:value>
                <desc:ref>/template/subform[1]</desc:ref>
             </desc:version>
          </rdf:Description>
       </rdf:RDF>
    </x:xmpmeta>
    Appreciated!
    lcfun

    Ohh, I see.
    But I think you can do this in a workaround with PDF, like the following.
    1. Load a form in Designer
    2. Delete possibly existing metadata in the XML Source <desc> ... </desc>
    3. Add fragment with the scripting for the metadata changes
    4. Save as PDF
    5. Close the PDF
    6. Reopen the PDF
    7. Save as XDP

  • How to populate data into a tabular datablock from a cursor in oracle forms

    Hello experts,
                  I am new in oracle forms.I am using Oracle forms 11g with weblogic server 10.3.5 at windows 7.My issue is that I am trying to populate data from a cursor into a tabular datablock(record number property is set to 5).I am using a button press trigger with code as:
    declare
        cursor c3 is  select empno,ename from emp;
    begin
        go_block('C');
        first_record;
        loop
        open c3;
        Fetch C3 into :c.t1,
    :c.t2;
    Exit when :system.last_record = 'TRUE';
    next_record;
    Close C3;
        End loop;
        end;
    Everything is OK here except,I have 5 record rows in C datablock but only first record is fetched into datablock.I want all records are fetched into data block
    Thank you
    regards
    aaditya

    Yes
    when i m using below query,so binary data display not display actual format
    select UTL_RAW.CAST_TO_VARCHAR2 (DBMS_LOB.SUBSTR(SOAPRTFDESC,10,1)) from soaptxsection

  • How to convert files into pdf forms? (claiming winning forms)?

    How to convert into forms into pdf files?

    Please refer : http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-convert-f orms-into-fillable-pdf-tutorial_ue.pdf

  • How to populate data into Dynamic Internal Table.

    Hi Experts,
    I had created one Dynamic Internal table and one static internal table.I want to move data from Static Internal table to Dynamic interal table.And aslo the number of coloum of these two tables are not same.
    So please help me for solving this issue.
    Thanks,
    <u><i><b>Seema.</b></i></u>

    Hi,
    Check out this sample program for dynamictable report.
    REPORT  YMS_DYNAMICDEMO
                 NO STANDARD PAGE HEADING
                 MESSAGE-ID zcs_c2c_001.
    type-pools : abap.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: dy_table type ref to data,
          dy_line  type ref to data,
          xfc type lvc_s_fcat,
          ifc type lvc_t_fcat.
    selection-screen begin of block b1 with frame.
    parameters: p_table(30) type c default 'T001'.
    selection-screen end of block b1.
    start-of-selection.
      perform get_structure.
      perform create_dynamic_itab.
      perform get_data.
      perform write_out.
    form get_structure.
    data : idetails type abap_compdescr_tab,
           xdetails type abap_compdescr.
    data : ref_table_des type ref to cl_abap_structdescr.
    Get the structure of the table.
      ref_table_des ?=
          cl_abap_typedescr=>describe_by_name( p_table ).
      idetails[] = ref_table_des->components[].
      loop at idetails into xdetails.
        clear xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        append xfc to ifc.
      endloop.
    endform.
    form create_dynamic_itab.
    Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = ifc
                   importing
                      ep_table        = dy_table.
      assign dy_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
      create data dy_line like line of <dyn_table>.
      assign dy_line->* to <dyn_wa>.
    endform.
    form get_data.
    Select Data from table.
      select * into table <dyn_table>
                 from (p_table).
    endform.
    form write_out.
    Write out data from table.
      loop at <dyn_table> into <dyn_wa>.
        do.
          assign component  sy-index
             of structure <dyn_wa> to <dyn_field>.
          if sy-subrc <> 0.
            exit.
          endif.
          if sy-index = 1.
            write:/ <dyn_field>.
          else.
            write: <dyn_field>.
          endif.
        enddo.
      endloop.
    endform.
    Thanks,
    Shankar

  • How to populate data into multi_org view ?

    I do know that a table with ALL is multiorg table and the same table minus ALL is called Multiorg view. I want to know
    1). where exactly we come across the situation in which we use the multi_org view and
    2). how the data is populated into it.
    I do know that the view contains data about a particular ORG. But how ?
    (Assume that we are using the above concept while developing a report and answer accordingly
    I am eagerly searching for the answer.
    your help is appreciated
    Pradeep

    Hi Pradeep,
    Views don't contain any data. Tables do. The multiorg tables (for instance, PO_HEADERS_ALL) contain a column called ORG_ID, which is the id of the operating unit owning each record (a purchase order, in this case). When someone logs in to create a new pucharse order (to continue with the example), he does it selecting a responsibility which have an operating unit (org_id) assigned to it. When the user saves the purchase order, the system will save it automatically with that org_id.
    When the user tries to see purchase orders, he does it through the multiorg view (PO_HEADERS) which is basically a query on PO_HEADERS_ALL restricting by operating unit, i.e:
    PO_HEADERS IS SELECT * FROM PO_HEADERS_ALL WHERE org_id = <Responsibility Org Id>. So, the user will be able to see only the purchase orders assigned tohis operating unit.
    The operating unit gets assigned to a responsibility using profile option 'MO: Operating Unit'.
    This is the idea behind 11i. R12 is using typically a new architecture called MOAC, which is somehow more complicated and allow access to multiple operating units.
    Hope it helps.

  • How to populate value into textboxes

    Hi,
    I'm working with oracle forms for portlet and need help populating a certain value into textboxes. There are 40 textboxes, 40 checkboxes, and a textbox for a user to enter a value. When a user checks the preferred checkboxes then enters the value into the textbox, I want this value to be populated into those 40 textboxes.
    Please help...
    Thx in advance,
    Thuly2

    Hi Adi
    If ZVal is your value node then,
      DATA: lref_entity    TYPE REF TO cl_bsp_wd_value_node,
            lref_bo_coll   TYPE REF TO if_bol_bo_col,
            lref_data TYPE REF TO <<your ZStructure>>,
             ls_data type <<your ZStructure>>.
    ls_data-<<field1>> = 'XYZ'
    ls_data-<<field2>> = 'XYZ'
         CREATE OBJECT lref_bo_coll TYPE cl_crm_bol_bo_col.
          CREATE DATA lref_data.
          CREATE OBJECT lref_entity
            EXPORTING
              iv_data_ref = lref_data.
          lref_entity->set_properties( ls_data ).
          lref_bo_coll->add( lref_entity ).
          typed_context->ZVal->set_collection( lref_bo_coll ).
    Hope this was helpful.
    Best Regards,
    Lakshminarayana

  • How to populate values into DFF

    hi all
    kindly tell me how to create a LOV for a DFF field based on some other field in the form?
    for ex:
    i created a DFF to catch supplier site based on supplier name entered in the form , how to correlate both?
    kindly answer
    --regards
    --raj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Ghattamaneni,
    Issue resolved?
    if not, try with this.
    Create a Value set based on suppplier name to get supplier site.
    then go to DFF.
    either Sys Admin/Application/DFF or AP/Set-up/DFF.
    Then create DFF with Context Prompt or with context.
    add the attributes and add Value set to each attribute.
    try with this.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • How do I connect Apple TV (3rd) to device without HDMI input?

    I am trying to connect my Apple TV to an inFocus 70+ projector.  The project has a "computer input" jack which resembles a DVI connector but is really a M1-D connection. It also has an s-video input and a composite video input.   I purchased a HDMI t

  • How to Redirect to a URL on Button Click

    Hi all, I am new to Apex and have a following Requirement On the page I have a Field P3_CASE_ID and a Button P3_SUBMIT. When I click the Submit Button, It should Open a new window https://customer.peoplesoft.com/psp/C1PRD_2/EMPLOYEE/CRM/c/CALLCENTER.

  • Replacement ipod headphones

    i got an ipod touch in july 2008 from Amazon and the supplied headphone have broken, would i still be able to get replacements under the 1 year warranty from an apple store if i took along a print off of the order form ? i know people will say apple

  • Multiple BPs for an employee in CRM

    Hi, We have ECC-HR (6.0) integaration with CRM (6.0)for employee data . We have triggered initial download and all the Organizational units, positions and employees downloaded and relationships created without any issues.  Now a days we are getting s

  • Concurrent req not processing

    Hi, A user submitted the program and his prog is pending/normal for long time, it is not being processed where as the reqs submitted by other users are getting processed. Can some one pls explain how to appraoch on this scenario and what could be the