APEX: Store Values of fields which are created dynamically(Using APEX_ITEM)

Hello All,
I am creating one application in which i create one report with dynamic fields(using APEX_ITEM Package) and non-dynamic fields(Taking from table). Now i want to store the value of the dynamic fields into table. So please help me on that.
I want to store value of APEX_ITEM.TEXT fields in a table, but i don't have names of it so how to store value in table?
select APEX_ITEM.CHECKBOX2(1,HC.S_ID) "SELECT",
HC.ACT_NAME,HC.REBOOT_DATE,
APEX_ITEM.TEXT(2,00) "Start Time",
APEX_ITEM.TEXT(3,00) "End Time",
APEX_ITEM.TEXTAREA(4,'Enter Remarks',2,40) "Remarks" FROM HWC_CHK_SCHEDUELE HC;
Thanks,
Jiten

Let me clarify a finer point. The APEX_ITEM API provides for value , which can come from a table.
You need to add APEX_ITEM to your columns selected from the table as well.
Once you have done that then the p_idx value , the first numeric, in the APEX_ITEM, is accessing in DOM as well as PL/SQL.
In DOM, for JavaScritps, the p_idx 1 becomes f01, 2 becomes f02 ,etc.
In PLSQL the same are APEX_APPLICATION.G_F01, APEX_APPLICATION.G_F02, etc.
Hope that explains what you need to do.
select APEX_ITEM.CHECKBOX2(1,HC.S_ID) "SELECT",
APEX_ITEM.TEXT(2,HC.ACT_NAME) "ACT_NAME",
APEX_ITEM.DATE_POPUP(3,HC.REBOOT_DATE) "REBOOT_DATE",
APEX_ITEM.DATE_POPUP(4,SYSDATE) "Start Time",
APEX_ITEM.DATE_POPUP(5,SYSDATE) "End Time",
APEX_ITEM.TEXTAREA(4,'Enter Remarks',2,40) "Remarks"
FROM HWC_CHK_SCHEDUELE HC  /* no semi colon in SQL; */In the OnSubmit process
FOR I IN APEX_APPLICATION.G_F02.COUNT LOOP
  -- LOGIC HERE.
END LOOP;Note I have not used Check box F01 in the above code. Look up the documentation for checkbox in Referencing Arrays. Checkbox behaves different as compared to other item types.
BTW, why are you not using Tabular form for this?
Regards,
Edited by: Prabodh on May 9, 2012 5:32 PM

Similar Messages

  • How to create a hyperlink on a page which was created by using APEX_ITEM

    I have a page created by using the APEX_ITEM package and i also need to create a hyperlink which will take me to a report page based on the value i have passed.
    But as the page is created manually so the value i pass thru the link is not getting passed to the next page ,what is the best approach to solve this.I have tried using session state variable but do not know where to set the session state.Please Reply fast thanks.

    Hi ,i have created the sample application hyperlink test case
    http://apex.oracle.com/pls/otn/f?p=24505:1:1070026447399612::NO:::
    here when i click on the drill hyperlink i couldnt see any report based onthe item value i passed thru the column link ,this i suppose is due to the hyperlink is created by coding thru htf.anchor and now i want to pass the value of emp id so that the employee details page comes up for a particular employee .I think we can pass the value thru session state but how that i am not sure.I dont know if it works also . Please suggest the solution.
    the username to this application is [email protected]
    and password is testmycase

  • How to use SPMetal to get the item's original field which named 'Created'

    I want to read the field which named 'Created' by using SPMetal,I found the 'Item' class has the property named '_originalValues', it seems to get the infomation about the original values.
    Is there anyone who has solved this kind of problems?

    Hi,
    By default, the Created, CreatedBy, Modified and ModifiedBy fields are not created by SPMetal, so we will need to extend our base entity class for accessing these fields in our
    code.
    Here is a link will show how to achieve this with steps in detail:
    http://weblogs.asp.net/uruit/archive/2011/05/05/linq-to-sharepoint-working-with-created-createdby-modified-and-modifiedby.aspx
    Best regards
    Patrick Liang
    TechNet Community Support

  • Creating Custom fields which are sales org dependent in Accounts Master

    Hello Experts,
    I want to create new custom fields in Accounts Master for sales and shipping.The component being used is BP_SALES.However when I try to create custom fields through AET, the new fields are added in the BUILHEADER context node.The problem with this is, its making the fields Sales Org independent.
    I want to add the fields which are sales org dependent( i.e. want to add the fields for the context nodes BUILSHIPPINGTERMS and BUILSALESARRANGEMENT).
    Please help me in this regards,
    Thanks and Regards,
    Rahim
    Edited by: Abdul Rahim on Dec 27, 2010 9:55 AM

    Hi Rahim,
    in general extension fields for Business Partner are only supported for the header fields (Table BUT000). Therefore the AET does not offer this.
    Table extension for BP sales data is supported by the AET beginning from CRM 7.0 eHP1. If you have this you can just create a 1:1 table enhancements and should be happy. If not I'm afraid that you would have to implement this manually.
    Using the Easy Enhancement Workbench (EEW) it would only be possible to create table extensions for the header and for relation ship but not for sales data.
    Regards Matthias

  • How to delete all TABLEs in Schema SYS which are created since 09:15?

    Unfortunately a script created lots of tables in the wrong Tablespace (=SYSTEM) and Schema (=SYS).
    How can I delete (in one DDL command) all TABLES which are created inTablespace=SYSTEM and SCHEMA=SYS
    during the last 3 hours resp. since 09:15 of 25th Sep 2011 ?
    Alternatively: How can I move these TABLEs to another Schema (e.g. ATEST) and Tablespace (USERS)?
    Is this possible with Oracle XE or only with Oracle Enterprise?
    Peter

    user559463 wrote:
    Unfortunately a script created lots of tables in the wrong Tablespace (=SYSTEM) and Schema (=SYS).
    How can I delete (in one DDL command) all TABLES which are created inTablespace=SYSTEM and SCHEMA=SYS
    during the last 3 hours resp. since 09:15 of 25th Sep 2011 ?
    Alternatively: How can I move these TABLEs to another Schema (e.g. ATEST) and Tablespace (USERS)?
    Is this possible with Oracle XE or only with Oracle Enterprise?
    PeterYou can query dba_objects and join it with dba_tables where tablespace_name='SYSTEM' , then drop the tables result of the query; the idea is to use the following query;
    SQL> select OWNER, OBJECT_NAME from dba_objects where OBJECT_TYPE='TABLE' and OWNER = 'SYS' and CREATED >= sysdate - 3 / 24;Please consider marking your questions as answered, when it is the case;
    Handle:      user559463 
    Status Level:      Newbie
    Registered:      Feb 18, 2007
    Total Posts:      583
    Total Questions:      266 (186 unresolved)Edited by: orawiss on Sep 26, 2011 4:03 PM

  • Where to see activities, which are created for the campaign with target group

    Hi
    I have created a Communication Method in SPRO -> CRM -> Marketing -> Marketing Planning & Campaign Management -> Campaign Executtion - Define Communication Method : Activity has been configured
    Activities are not appearing after creation of campaign with target group.
    Where to see activities, which are created for the campaign with target group?
    Regards
    Hamid

    Hello,
    alternatively to check  table CRMD_ORDERADM_H directly you can use the related transactions search for the campaign:
    This should bring all activities generated by the campaign. If this is empty first check the job log of the campaign execution job again:
    This gives information if any target group members have business transactions created. If the log does not contain the required information you can debug from SM37. The business transactions (activities, leads, sales orders) are generated from function module CRM_MKTTGGRP_PROC_CREATE.
    best regards,
    Johannes

  • OBIEE 11g  - Not able to see existing reports which are created by specific owner but I could able to see Admin role user reports.

    OBIEE 11g  - Not able to see existing reports which are created by specific owner but I could able to see Admin role user reports.
    Appreciated if you could able to help as soon as possible as I don' have back up for these disappeared reports.
    Pleas let me know if any additional information needed.

    Hi
    Thank you for the reply.
    Here one thing I would need to mention that those are created by me on last week, but when I check those today, I could not able to see or even admin also not able to see those. For sure no migration and updations happend over the week end, really not able to debug whats the issue around. Unfortunately I haven't taken back up as well.
    Please could you help and let me know whats the root cause and how I could able to restore.
    Best regards,
    Kumar

  • How to export fields which are rendered false from a page?

    Hi ,
    I have a requirement to export the data to excel, i am able to do it using export button.
    but the problem is i need to export the all the fields which are there in the VO query but some of them are not renderd on the page.
    Please suggest some solution for this.
    Thanks

    Hi,
    Can you add them in the page to formValueBeans and check the issue.
    Thanks.
    With Regards,
    Kali.
    OSSi.

  • How to get the screen groups for the screen field which are on selectionscn

    hiiii Experts,
                   How to know the screen groups for the screen field which are on selection screen.
    Thanks and regards,
    kasyap

         NAME                                             PNPABKRS-LOW
            GROUP1                                             SEL
            GROUP2                                             DBS
            GROUP3                                             LOW
            GROUP4                                             180
    to get this use this:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        if screen-name CS 'ABKRS'.
          BREAK-POINT.
        endif.
      ENDLOOP.

  • Contact persons which are created in ECC but not replicated as  employee

    Dear Experts,
    Where can i find the contact persons which are created in ECC but not replicated as  employee in the CRM.
    For example i created the 10000 personal no in that 800 should replicate to the CRM from  ECC but only 600 is replicated and  remaining 200 i have to find in the ECC to replicate again running PFAL.
    If i have to down lode and compare in excel please provide the details. in which tables i have to down load in ECC and CRM which what input.
    Best Regards,
    Siva Anjith

    Dear Gurus,
    Can you please help to resolve my replication issue.
    Best Regards,
    Siva Anjith

  • Why we cannot view the move orders which are created by the other user?

    Hi,
    Can any one explain me the below point.
    Why we cannot view the move orders which are created by the other user.
    Ex: From ABC user I have created a Move Order: 123456 in M1 Org If I login to the other user BCD I cannot view the same move order in the same ORG i..e M1 ORG.
    But we can perform the transact move orders for move orders which is created by the other user.
    What could be the reason? Why the system is restricting this? Is this the standard functionality of oracle?
    Can any one explain?
    Regards,
    Kv.

    This is due to a security function which allows to see the move orders created by the user only.
    Please refer to the meta link document ID 280131.1 for detailed description.
    I have tried these steps in one of my test instances long back and was able to see move orders created by other users.
    Thanks
    Karthik.

  • Weblogic will encrypt the Data which are accesssed by using its Data Source

    The Connection Pool and Data Source created from Weblogic , will encrypt the data which are accessed by using this Data source and Connection Pool from the DB?
    If not how we can secure the data which are accessed from this Data Source?
    Bye
    Srinivasan

    The connection between WL and the database can be encrypted; your DBA needs to configure the encryption on the database and then you set properties in the connection pool.
    If you want to encrypt the data within the database, some databases can also do that.

  • Which are function modules used to convert into XML format in SAP 4.6c Ver

    which are function modules used to convert into XML format in SAP 4.6c Ver

    Hi,
    check this program , I think this will help you
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF xml_line,
    data(256) TYPE x,
    END OF xml_line.
    data : itab like catsdb occurs 100 with header line.
    data : file_location type STRING.
    data : file_name like sy-datum.
    data : file_create type STRING.
    file_name = sy-datum .
    file_location = 'C:\xml\'.
    concatenate file_location file_name into file_create.
    concatenate file_create '.XML' into file_create.
    DATA: l_xml_table TYPE TABLE OF xml_line,
    l_xml_size TYPE i,
    l_rc TYPE i.
    select * from catsdb into table itab.
    append itab .
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
    I_FIELD_SEPERATOR =
    I_LINE_HEADER =
    I_FILENAME =
    I_APPL_KEEP = ' '
    I_XML_DOC_NAME =
    IMPORTING
    PE_BIN_FILESIZE = l_xml_size
    TABLES
    i_tab_sap_data = itab
    CHANGING
    I_TAB_CONVERTED_DATA = l_xml_table
    EXCEPTIONS
    CONVERSION_FAILED = 1
    OTHERS = 24
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>gui_download
    EXPORTING
    bin_filesize = l_xml_size
    filename = file_create
    filetype = 'BIN'
    CHANGING
    data_tab = l_xml_table
    EXCEPTIONS
    OTHERS = 24.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    write : 'INTERNAL TABLE DATA IS SUCCESSFULLY DOWNLOADED TO LOCATION', file_create .
    Thanks.

  • How to use xml forms which are built by using xml forms builder?

    Hi Experts,
    please explain How to use xml forms which are built by using xml forms builder in Web page composer?
    Thanks,
    Anil.

    hi buddy u can try the following page:
    http://help.sap.com/saphelp_nw70/helpdata/en/8f/fe743c74fa6449e10000000a11402f/frameset.htm

  • What are the .fm.sp files that are created when using SharePoint?

    What are the .fm.sp files that are created when using SharePoint? When I'm working with SharePoint, I've noticed that duplicate files ending in .fm.sp are created. I've been unable to find any reference or documentation about them so far.

    Whe you use sharepoint as a CMS connections in Framemaker it creates the folder where Sp is installed and also a file ending .sp is created that let SP know that its the file associated with it.
    .fm.sp indicates that its the framemaker type SP file.
    Dont worry about it as its not creating any mess in the system.
    Harpreet

Maybe you are looking for

  • External hard drive will not stop spinning even after partition

    Just been on to WD   As i had a 320 passport that would not stop spinning , After contacting them i discovers all 5 are doing the same. Other brands too.  They get hot, The 320 I did a full mac HD disc utility check, partitioned , All fine , but the

  • FI tables related to  profit center

    Dear Expert I want to know FI Tables which has profit centers related  G/L accounts of Assets and Liablities . Thanks VG.

  • Sending Acknowledgement back to webservice SOAP to File Scenario

    I need to receive information from a webservice to a file for which I have configured Sender SOAP Adapter and file adapter to generate file. Now I need to send and acknowldegment to webservice back if File is generated successfully..How do I do it ?

  • Xperia arc S will not get Jelly Beans

    Closed toppic, multiple posts. As officially stated on Facebook, Xperia arc S and mini pro will not get Jelly beans update. http://www.xperiablog.net/2012/07/26/official-2011-sony-xperia-handsets-will-not-get-android-4-1-jel... As a conclusion of thi

  • Sem_match query

    Is it possible to use the sem_match query in java like a normal sql query?