How to create a page with LOV and a Go Button that calls a sproc

I'm new to Apex but not Oracle. I've done some VB, C and other programming.
I have read the 2 Day + and worked through most of the advanced tutorials as well as the Apex 3.0 ermployee task OBE. I'm looks for an OBE or assistance in doing the following:
I need to create a page that has a dynamic LOV that pulls CUSTOMER NAME as d, and ID as r (this I can do).
I need a button on the page "Go". Here's the use case.
User selects a customer from the LOV
User presses Go
Go invokes myschema.go_sproc and passes in LOV selected Cust ID
myschema.go_sproc does some work and passes back a Status
Status is displayed to the user
Any pointers are appreciated.

Great.
Two last questions:
#1 Is there a Apex Reference, like the SQL Reference, that lists all the various settings and options and their meanings, for instance on the create region page there are many different region types. Is this information centralized in one place? I don't see (or I am missing it) in the list of Apex 3.2 books.
#2 For my use case would you use a HTML region or some other type of region?
Thanks again.
George

Similar Messages

  • How to create a page with check boxes

    Hello friends
    I want to create a page with 5 statements and 5 checkboxes. The next page will be displayed only if all the 5 checkboxes are checked.
    Can you please let me know how to create the page (could not find any template for this!) and how to control the display of the next page through checkboxes.
    I am on version 4.7 of R/3 and EP 6.0.
    This is urgent, prompt reply would be greatly appreciated.
    thanks
    pomila

    Hello Michael
    Thanks for your prompt reply, your answer was indeed helpful.
    Just another quick question, does EP 6.0 have any template/iview which we can use or it has to be done through coding only?
    thx
    pomila

  • How to Create a Table with Merge and partitions in HANA

    Hi,
    What is the best way to create a Table with MERGE and PARTITION and UNLOAD PRIORITIES.
    Any body can you please give me some examples.
    Regards,
    Deva

    Ok,
    1) the UNLOAD PRIORITY has nothing to do with the order of data loads in your ETL process
    2) Unloading of columns will happen automatically. Don't specify anything specific for the tables, then SAP HANA will take care about it
    3) Not sure where you get your ideas from, but there is no need to manually "flush" tables or anything like that. SAP HANA will take care of memory housekeeping.
    4) Partitioning and how to specify it for tables has been largely documented. Just read up on it.
    5) Delta Merge will happen automatically, as long as you don't prevent it (e.g. by trying to outsmart the mergedog rules)
    Seriously, I get the impressions that this list of requirements is based on some hear-say and lack of actual information and experience with SAP HANA. There are a couple of extensive discussions on data loading optimization available here in SCN and on SAPHANA.COM. Please read those first.
    All this had been discussed broadly a couple of times.
    - Lars

  • How to create a chart with x and y input arrays

    I am trying to create a chart that receives chunks of data from a while loop.  I know how to create a chart in order to append new data points to those points already in the display, but a regular chart doesn't let me specify the x axis data points.  Is there a way to create a chart with x and y array inputs?
    Thanx,
    Tom

    It's called an XY Graph. If you need an XY graph to behave like a chart, look at the shipping example called XY Chart.

  • How to create a playlist with podcasts AND music?

    I created a playlist with both podcasts and music in it. The thing is when I try to shuffle it, only music plays. When I start playing podcasts, none of my music plays. How can I make them both play at the same time and shuffle on the same playlist?

    In iTunes, you created a playlist (with songs and podcasts), and then synced that playlist to the iPod?  Or you manually created a playlist on the iPod, and manually added songs and podcasts to that playlist?  It needs to be an actual playlist that is on the iPod, not simply songs and podcasts on the iPod.
    If you have a playlist on the iPod....  In shuffle mode, only songs play.  Set the iPod to play-in-order (not shuffle).  Then, select the playlist on the iPod (by selecting Music -> Playlists from the Home screen).  With the playlist selected, press Play/Pause.  The playlist plays the song and podcasts in the order shown for that playlist in iTunes.

  • How to create a user using XML and specifying addional attributes that are objects

    I'm trying to create a user using XML and specifying some attributes that are objects and not sure how to do it. How would I set the DirectoryUserAcl to Public?
    Here's the xml file:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl> ??? </DirectoryUserAcl>
    <DefaultAclBundleAcl> ??? </DefaultAclBundleAcl>
    <HomeFolderPolicyBundleAcl> ??? </HomeFolderPolicyBundleAcl>
    </SimpleUser>

    I figured out the answer:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl classname="SystemAccessControlList" refType="name">Public</DirectoryUserAcl>
    </SimpleUser>
    null

  • Newbie:how to create a page with 4 textfields and send data to MySql DB

    Dear all,
    i have created a page called page1 with 1 submit button named 'submitButton' and 4 textfields named:
    'date'
    'item'
    'contact'
    'phone'
    I have created a MySql DB table with the schema named 'association' and table named todolist3. Fields created in the table are :
    'Date' - >INTEGER->Primary
    'Item' ->VARCHAR(100)
    'Contact' ->VARCHAR(45)
    'Phone_contact' ->INTEGER
    what i want to do is to send the data from the 4 textfields to the database when i click the submit button. Below is the code i out in submit button. please kindly help as i have tested different ways but none of them works. thank you!!!
    public String submitButton_action() {
    try {
    if ( todolist3DataProvider.canAppendRow() )
    String item1=(String)item.getText();
    String contact1=(String)contact.getText();
    Integer phone1=(Integer)phone.getText();
    Integer date1=(Integer)date.getText();
    RowKey rowKey = todolist3DataProvider.appendRow();
    todolist3DataProvider.setCursorRow(rowKey);
    todolist3DataProvider.setValue("todolist3.Date", date1);
    todolist3DataProvider.setValue("todolist3.Item",item1);
    todolist3DataProvider.setValue("todolist3.Contact",contact1);
    todolist3DataProvider.setValue("todolist3.Phone_contact",phone1);
    } else {
    error("submitButton_action() -- cannot append todolist3 record");
    } catch (Exception e) {
    error("Page1::submitButton_action-- something's wrong trying to append todolist3 record");
    return null;
    }

    Hi,
    I think that you have forgotten to commit changes. Modify your code to look like this:
    RowKey rowKey = todolist3DataProvider.appendRow();
    todolist3DataProvider.setCursorRow(rowKey);
    todolist3DataProvider.setValue("todolist3.Date", date1);
    todolist3DataProvider.setValue("todolist3.Item",item1);
    todolist3DataProvider.setValue("todolist3.Contact",contact1);
    todolist3DataProvider.setValue("todolist3.Phone_contact",phone1);
    // commit your changes !!!
    todolist3DataProvider.commitChanges();
    } else {
    // ....best regards
    Grzegorz

  • How to create the document with originals and checkin that document

    I am using this 2 bapi for creating DMS ,
    BAPI_DOCUMENT_CREATE2
    BAPI_TRANSACTION_COMMIT
    BAPI_DOCUMENT_CHECKIN2
    BAPI_TRANSACTION_COMMIT
    at last we want to c in DRAO table the created doc no should be updated here.
    But it not updating.how can i update in the table..
    Please tell via code..

    How do you call BAPI_DOCUMENT_CREATE2?
    I just tried with the example given in the documentation and with a little adjustment I created a document with an original which appears in the DMS_DOC_FILES table.
      DATA: ls_doc    LIKE bapi_doc_draw2,
            ls_return LIKE bapiret2.
      DATA: lf_doctype    LIKE bapi_doc_draw2-documenttype,
            lf_docnumber  LIKE bapi_doc_draw2-documentnumber,
            lf_docpart    LIKE bapi_doc_draw2-documentpart,
            lf_docversion LIKE bapi_doc_draw2-documentversion.
      DATA: lt_files LIKE bapi_doc_files2 OCCURS 0 WITH HEADER LINE,
            lt_drat  LIKE bapi_doc_drat OCCURS 0 WITH HEADER LINE.
      ls_doc-documenttype    = 'Z01'.
      ls_doc-documentversion = '01'.
      ls_doc-documentpart    = '000'.
      ls_doc-statusextern   = 'DR'.
      ls_doc-laboratory     = '001'.
      REFRESH lt_files.
      CLEAR lt_files.
      lt_files-docfile      = 'c:\BP\test.docx'.
      APPEND lt_files.
      CLEAR lt_drat.
      REFRESH lt_drat.
      lt_drat-language    = 'EN'.
      lt_drat-description = 'Info Rec Description'.
      APPEND lt_drat.
      CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
            EXPORTING: documentdata         = ls_doc
            IMPORTING: documenttype         = lf_doctype
                       documentnumber       = lf_docnumber
                       documentpart         = lf_docpart
                       documentversion      = lf_docversion
                       return               = ls_return
           TABLES: documentdescriptions = lt_drat
                   documentfiles        = lt_files.
      IF ls_return-type CA 'EA'.
        ROLLBACK WORK.
        MESSAGE ID '26' TYPE 'I' NUMBER '000'
                WITH ls_return-message.
      ELSE.
        COMMIT WORK.
      ENDIF.
    Best Regards,
    Martin

  • How to create Clipping Masks with Shapes and Text?

    Hi there! I am new to Illustrator and am currently attempting to learn it. I am creating a logo that has text and has a shape that goes through the text to make the text appear as if it has claw marks in it.
    I have two layers. The layer with the shape "claw" marks, and a layer with the text. The shape layer is currently above and the text layer is currently below. If I select both layers and click on Make Clipping Mask it has the text displayed within the little claw marks, how do I reverse that? Because when I try to change the order of the layers it doesn't clip anything?
    Thank you so much!
    Aaron

    Hi Monika,
    Sorry for taking so long to reply... This is what I am trying to accomplish. I tried following your directions above, but that only made the text invisible and I tried moving the claw layers above and below the text... and it only appeared as if the claws per se were filling up with the text color.
    Here is what I am trying to accomplish:

  • How to create Date relationship with Fact and DimDate on Tabular model?

    I have two tables in SQL Server 2014 SSAS Tabular model.
    DimDate(defined as data table) have date column (format is 1.7.2010 00:00:00) This table have been impoted from AdventureWorks.
    FactSales have SalesDate column (format is 25.03.2015 18:08:05). This table have been imported from Excel. Colums is defined as date in Excel.
    When I set Data Type as date in Tabular I get error:
    "Datatype conversion failed for table...Value:'25.03.2015 18:08:05'"
    I have tried to create calculated colums like =DATEVALUE([SalesDate]) and =DATE(YEAR([SalesDate]),MONTH([SalesDate]), DAY([SalesDate])), but getting error.
    What should I do so that I can create relationship between Date column?
    Kenny_I

    Hi Kenny_l,
    According to your description, you fail to convert the data type into date after creating calculated column with expression. Right?
    In Analysis Services, the tabular will detect the source data type to determine which data type can be converted to. If you want to convert a data into date type, no matter this data is from database or a file, you must make sure this data can be recognized
    as a date in SQL Server. In this scenario, the format '25.03.2015 18:08:05' can't be recognized as date even you apply DAX functions. So please change the format of the column in excel like "03.25.2015 18:08:05".
    PS: For testing, you can create a temp table and insert sample text into a date column, because the date format in SQL Server depends on the location selection when installing.
    After retrieving data from data source and all values within column are correct format, you can change the data type into Date, and select the format you expect.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • How to create a Parameter with LOV

    Hello All,
    I am having the follwoing custom query.
    SELECT concatenated_segments, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where period_name='Apr-08'
    and a.code_combination_id = b.code_combination_id
    and set_of_books_id=1010
    and currency_code='USD'
    gROUP BY concatenated_Segments
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    Instead of hard coding the values I have created the custom folder
    with the follwoing query.
    SELECT concatenated_segments, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where a.code_combination_id = b.code_combination_id
    gROUP BY concatenated_Segments
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    Now I have to create three input parameters period_name,set_of_books_id,currency_code.
    The parameter set_of_books_id should have list of values so that the user will select one from it at run time. But when I tried to create the parameter
    I am unable to create list of values for this parameter. (i.e in Parameter dialog box the For Item filed doest not have any field like set_of_books_id as it is custom query)
    So how Can I add LOV for this parameter.
    Kind Regards,
    PRaveen.

    Hi,
    You custom folder needs to contain a statement like :
    SELECT concatenated_segments, period_name,set_of_books_id,currency_code, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where a.code_combination_id = b.code_combination_id
    gROUP BY concatenated_Segments, period_name,set_of_books_id,currency_code
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    The you will have the period_name,set_of_books_id,currency_code items in the folder and can create parameters using these columns.
    To define the LOV you will need to create separate folders that return the list of values required e.g.
    SELECT set_of_books_id, name
    FROM GL_SETS_OF_BOOKS
    Use this folder to define an item class and then include the set_of_books_id from the first folder into the item class.
    Rod West

  • How to create Base Dimensions with MaxL and Text File?

    Hi,
    Doing a scratch rebuild of a cube every month. Don't want to have a 'dummy' outline with base dimensions to copy over every build. Instead want to build from text file somehow. Thus my plan is to: 1) Delete the existing app/db 2) Create a new blank app/db 3) Create the base dimensions in the outline via text file and 4) Build entire outline via a text file. I'm stuck on #3 how to get the 'base dimensions' built via text file. I need:
    ACCOUNTS
    PERIOD
    VALUE
    VIEWS
    SCENARIO
    CUSTOM4
    YEAR
    CUSTOM3
    CUSTOM2
    ENTITY
    CUSTOM1
    I see this MaxL, but it uses a 'rules file' and I never have built a rules file to create base dims so I'm confused if it's possible or not...
    import database sample.basic dimensions
    from data_file '/data/calcdat.txt'
    using rules_file '/data/rulesfile.rul'
    on error append to '/logs/dimbuild.log';

    We rebuild our Departments and Organization from an enterprise hierarchy master each week.
    The way we implemented (what you call #3) was to not do #1 and #2, but to have a "destructive" load rule for each of these dimensions using a text file. (in the "Dimension Build Settings" for the load rule, select "Remove Unspecified" to make it destructive)
    The text file just has the dimension name (parent) and any children we needed defined in a parent/child relationship. For instance
    "Sales Departments" "0100-All Departments"
    This essentially works the same as deleting the app because the destructive load rules will drop all the blocks of data that were unspecified.
    Then we run our SQL load rule to build the rest of the dimensions from the Location Master.
    We perform a level-0 export prior to this process, then reload the level-0 data and execute all the consolidation scripts to get the data back (now in a current enterprise defined hierarchy)

  • Urgent:HOW TO CREATE A PROGRAMME WITH MENUS AND MENUITEMS IN AWT?

    hi am new to java..............and i know very less about java
    can anyone help me by sending the code for creating menu with file,edit ,view and menuitems as open,save,exit.
    and also plss help me how to get a filedialog box in the same programme when i click the open in filemenu.
    in AWT.....................plsss urgent

    sangi wrote:
    hi am new to java..............and i know very less about javaredundant and barely intelligible
    can anyone help me by sending the code for creating menu with file,edit ,view and menuitems as open,save,exit.have you tried a Swing demo? aside from the fact that this code has likely been written and published hundreds of times on the web, a simple tutorial would have shown you how to do this.
    and also plss help me how to get a filedialog box in the same programme when i click the open in filemenu.
    in AWTslow down, one thing at a time
    go do the tutorials first
    .....................plsss urgentstating your task is urgent is offensive here
    learn how to communicate lest you get flamed
    good luck

  • How to create a grid with arrays and booleans?

    As part of a bigger project, I'm trying to create a sub-VI which will allow me to move a "cursor" in a 3x3 array.
    There should be 2 boolean inputs, one for moving down in the array, and the other for moving to the right. Once the edge of the array has been reached, the "cursor" will start back from the beginning.
    I have a vague idea of a 2 dimensional array with LED's. Once "down" has been pressed, the LED corresponding to (0,0) will turn off, turning (0,1) on. Same goes for the "right" button. When "down" is pressed at (0,2), the LED should turn off, and LED (0,0) should turn on.
    I'm sure it has something to do with initializing arrays, but i can't seem to find the right way to do it.
    Any kind of assistance is much appreciated. Thanks!
    Solved!
    Go to Solution.

    Maybe this will help.
    Oh, I just noticed that I could have done the "Clear True" outside of the inner case structure and some other things too, but oh well - it works.
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    grid_png.vi ‏14 KB

  • How to create process chain with dso and infocube at a time

    hi friends,
      i have a FLATFILE in application server and i need to upload it to STANDARD DSO and i created a INFO PACKAGE and DTP for DSO.
    i have a STANDARD INFOCUBE to upload data from above DSO. here DSO is the source.  i want to schedule  this process in process chain. how could i do this. any one please give me solution.
         can any one explain me the options in RSPC and how they work and where we exactly use. this is very helpful to me. please give me guidance. thank you.
    thanks,
    sree

    First make sure you have already created the infopackage to load the data from server to the DSO and the DTP to load data from DSO to the Cube.
    Now goto Tcode RSPC.
    Choose Create process Chain option. provide appropriate technical name and description.
    Drag "Execute infopackage" process type from left hand side pane in RSPC.  Choose the infopackage to load the data from Server to DSO. you can find this infopackage using the F4 help in the above selected process type.
    Drag the "data transfer process" process type to load data from the Flat file data source above to the DSO.
    Then Drag the "Activate DataStore Request"  process type and select the DSO in which you would load the data  using the above DTP.
    Drag the "data transfer process" process type to load data from DSO to the Cube.
    Save, activate  and schedule the process chain according to appropriate time.

Maybe you are looking for

  • Always crashing and rebooting when booting from my new win7-disc. Lenovo 3000 n200 0769-erg

    I have a fully working  Vista system on my n200, trying to boot from my new win7-disc, even tried to boot from usb but it's the same: "Loading windows files" followed by "Starting windows" with the new win7-logo.. After that comes a fat cursor(guess

  • First time IPhone 4 owner-Help plz

    Hi, I received my IPhone 4 from Verizon last Monday and have been tring to figure out what it can and cannot do. Mostly using MMS. Can't forward a MMS that has a pix,text and sound? Can only forward a MMS to 3 address'? Transferred MMS files from BB

  • Sort order notes iOS 6.0

    Since it is finally possible to sort my Notes with MacOS 10.8.2 I am desperately seeking for the same possibility on my iPhone and iPad (iOS 6.0). It does neither use the sort-order (alphabetically!!!) from my desktop Mac nor am I able to change the

  • JBL PowerUp Speaker Power Cord

    I have a JBL powerup speaker, and I love it, however theower cord that came with it is one of those that has a switchable outlet, which broke and now causes the device to go on and off unless held in place. Is there anyone who knows where exactly I c

  • Incoming Pre-Payment Functionality -Urgent-

    Hi Experts!  I have a newly created customer with NO Open Item Accounts; who needs to make pre-payments to the our account, however they have no open items.  My question is, how do I apply this pre-payment if this "new customer" has no open item acco