How to Display multiple records in Table in VC without using BAPI.

Hi All,
I am working on Visual composer (NW2004s SP10). I am trying to display Poitems from BAPI_PO_GETDETAIL. I am creating my front end using VC. I have created one form and one Table where I want to display POItems. I am writing my logic of retrieving data from BAPI in CAF.I am connecting them in Guided procedures.When I run my process in Guided Procedures I am getting single row displayed in table. Can Anyone help me how to display multiple rows in table.
Regards,
Sheetal

Hi Sheetal,
if the BAPI returns a table, then you get multiple rows. From which system is the BAPI, so that I can check the BAPI to give you further information.
Best Regards,
marcel

Similar Messages

  • How to display multiple records in smart forms in new page for each record

    Hi,
              How to display the data from a internal table in a smart form.
    I want each record to be displayed in seperate page.
    please tell me with example.
    thank u,
    Sarath

    Do this ,
       in the main window - open a loop on your internal table ,
    within the loop open the text and give the output fields,
    after this text  use the Command node and in this set the next page as page1,
    so when the loop gets executed its first record will be on the first page and the second record will be on the next page and so on ..
    Reward to usefull answers.

  • How to display multiple records in a block text items

    Can fetching be done to dispplay multiple records in the text items base on the query.

    put the code in post-query trigger

  • How to execute multiple records in table control

    HI.
    I have a requirement that in table control user will select more than one row and when he clicks 'SAVE' it should go and sit in a custom table. how to pass more than one records.
    thanks & regards.
    sandeep

    Hi Sandeep,
    I understand your requirement .......
    See this standard program........
    <b>" DEMO_DYNPRO_TABCONT_LOOP_AT "</b>
    <b>Understand how DELETE button is working,inorder to delete multiple lines....Copy this program if necessary..OK.
    Simply,Replace DELETE statement with your INSERT statement to push records into your custom table....very easily you can do it.</b>
    <b>Reward all helpful answers.</b><b>
    Hope you problem is solved.</b>
    Regards,
    V.Raghavender.

  • How to display all record from table?Please help

    I mean, if table has for example 5 records this5 records are displayed, if table has 100 records this 100 is displayed. If there are many records which are not visible in the window the scroll is added to window or to canvas that i could see them all.
    And one more, i want to separate each record with some separator like line or picture.
    TIA

    You can increase the space between each record by setting the Distance Between Records property for each item.
    If you want "sth like line" tnh u cn uz a nndtbs itm wiv 2 pxl hi plcd blw teh ovr itms. Alternatively, if you can write proper English, then for the separator you can use a non-database item 2 pixels high placed below the other items. Set the bevel, colour etc as you require, and set the Enabled property to false.
    As an alternative, to make each record distinct from the next you could give each a different colour by creating a visual attribute, and setting the colour of each item on alternate rows with code similar to this, in the post-query trigger
    if mod(to_number(:system.trigger_record),2) != 0 then
         set_item_instance_property('block.item1',current_record,visual_attribute,'VA_ODD');
         set_item_instance_property('block.item2',current_record,visual_attribute,'VA_ODD');
         etc...
    end if;finished this bit after steve's post below...
    To hide unused records you could try putting the items on a stacked canvas and change the viewport and scrollbar heights depending on the number of records retrieved. This might work or it might give you an error about items being off-canvas.
    It looks like you're intending this to look like a blog's comments page so you'll probably have disabled inserts in the block and will be inserting new comments in some other fields. If not then there will be a problem if the user is on the last record and presses the down arrow or uses the 'Record > Insert' menu option, as this could put them on a record which is not visible on the form. You might be able to get round this by extending the height of the viewport in the key-crerec and key-nxtrec triggers (check for :system.last_record = 'TRUE'. Obviously, you'll need to resize the viewport when you delete records if that will leave fewer rows of data than there are rows of fields.

  • How to add multiple records in table thru form via Submit button

    Hi all
    i have small requirement as follows.
    i have a view in which i have 3 UI elements one is webdynpro form,Table UI element and third one is submit button.
    now at runtime when i will enter the details in the form and click on the submit button then those record details has been stored in Table. then next time again when i submit the form with details then the table contains all records of current and existing ...so table has to maintain mutile records thru form via submit form..
    i need sample code on the same.
    points are always rewardable
    Thanks
    Sunil

    Hi,
    Create one context attribute and map it to the Inputfiled and one submit button, create a node with a valueattribute map it to a Table and in onActionsubmit write this code
    public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionsubmit(ServerEvent)
        String str=wdContext.currentContextElement().getInputfiledattribute();
        IPrivateTableformView.ITablenodeNode node=wdContext.nodeTablenode();
       IPrivateTableformView.ITablenodeElement ele=node.createTablenodeElement();
       ele.setNodeattribute(str);
       node.addElement(ele);
        //@@end
    thanx,
    ramani.p

  • How to input multiple records in tables in web dynpro

    Hi
    In web dynpro table I am able to input data in first row only. How to input data in other rows.
    Thanks,
    Saurabh

    hi, okay..
    I summarize in 3 aspects:
    1.You want make the Table row play like "Input field"
    The solution is :
    In the table column, you set the cell editor as "Input field"
    2.You want to use the FILTER function
    The solution is :
    set Filter Value property and realize "OnFilter" event...
    3.You want to add Ready for Input rows to your table
    The solution is :
    You should make use of the Context Node bound to the table. The EXAMPLE coding:
      DATA lo_nd_flights TYPE REF TO if_wd_context_node.
      DATA lo_el_flights TYPE REF TO if_wd_context_element.
    * append the element with initial attribute value
      lo_nd_flights = wd_context->get_child_node( name = wd_this->wdctx_flights ).
      lo_el_flights = lo_nd_flights->CREATE_ELEMENT( ).
    * bind the newly created element
      lo_nd_flights->BIND_ELEMENT( new_item             = lo_el_flights
                                   set_initial_elements = abap_false ).
    4.You want to set N rows ready for input initially
    The solution is :
    Set the Row visible property..
    Best wishes.

  • How to display large text document (2-3 pages) without using the webpage widget?

    Hello all,
    We are designing this online course and our project leader asked us to try to include the course materials/contents within the Captivate file as much contents as we can. However, we have several "big" text-based files to display, such as syllabus, standards, project templates, etc.
    I know that the webpage widget created by Jim Leichliter can "embed" web pages and PDF files into Captivate. However, as mentioned before, our project leader wants everything to reside within Captivate. That means that I can't use the web page widget to "quoate" an external PDF file.
    I also tried the extended Text Entry Area widget, but couldn't get it work. I would really appreciate it if someone could help me with this.
    Thank you very much.

    Would it be possible to create a table that had one row for every week? If so you could do something like this:
    DESC ALL_WEEKS
    NAME Null? Type
    WEEKENDING DATE
    SELECT A.CUST,
    B.WEEKENDING,
    SUBSTR(MAX(TO_CHAR(A.WEEKENDING,'YYYYMMDD')||A.STATUS),9,1)
    FROM YOUR_TABLE A,
    ALL_WEEKS B
    WHERE B.WEEKENDING <= A.WEEKENDING
    GROUP BY A.CUST,
    B.WEEKENDING;

  • How feed many record in table component and not use append command again

    hi master
    How I feed Multiple records in table component and not use append and save command again and again
    Same as oracle grid
    I give many record and save one time
    Please give me idea how I add Multiple record and save one time not use append and save command again and again
    Thank�s
    aamir

    Hi!
    appendRow() method just add temporal row. For add them to DB commitChanges() method should be used. So you can use appendRow() method several times, fill every new row and only then use commitChanges() method. In this case all new rows will be added to DB per one time.
    Thanks,
    Roman.

  • Display multiple records in forms 6i

    hi every body
    will anybody plz tell me how to display multiple records in tabular view of forms 6i.for example say i have a field in a block of a form.and i have to display multiple records in another block in the same form depending upon the value of the mentioned field in the above block.
    will anybody help me??

    Why are you manually populating your data block when Oracle Forms will do this for you? Oracle Forms is tightly integrated with the Oracle Database. You should just base your Forms data block on the ISSUED table. Then you can filter the records displayed by setting the WHERE Clause property to ID = :BLOCK1.ID or you can dynamically set it with code using the SET_BLOCK_PROPERTY('BLOCK_NAME',DEFAULT_WHERE,'ID = :BLOCK.ID') built-in.
    Then, the only code you would need in your Button's When-Button-Pressed trigger would be:
    BEGIN
      GO_BLOCK('BLOCK2');
      EXECUTE_QUERY;
    END;This is the point of InoL's reply. When a Form is based on a table, you can use the "Enter Query" and "Execute Query" built-in features to query and display records.
    Sounds like you might be new to Oracle Forms development. If that is the case, you might want to go through a few Forms Tutorials to learn what Forms can do for you. ;) Just search the internet for "Oracle Forms Tutorials" and you will find many!
    Craig...

  • How to select multiple records from a TREE in the table

    HI,
    I have a tree structure which is in the table.When I open the node of the tree,all the subnodes are coming as one-one records in the table.I want to slect multiple record from this table.I applied onLeadSelect for this table,I can select only 1 record from the table.
    Can any one plz suggest me how to select multiple records from the table so that I can get all the data of those selected record.
    Regards
    -Sandip

    Rashmi/Kukku,
    First of all, Thanks for your help!
    Is there any other way in which we can access tables other than using BAPIs or RFCs?
    In my case, there is a table structure which has to be updated with values after validating a key. i don't think there is any RFC available now. do i need to create bapi/rfc for that?
    Krishna Murthy

  • How to display multiple data from different table in one table? please help

    Hi
    I got sun java studio creator 2(the separate installation not the one in the net beans)....
    My question is about displaying data that have been taken from the database.... I know how to display data in a table(just click on the table "bind data" )... but my question is that:
    when i want to use a sql statement that taken the data from different table...
    how can i display that data in the table(that will be shown in the web) ??? when i click bind data on the table i can only select one table i can't select more than one....
    Note:
    1) i'm using the rowset for displaying the data in the table, since the sql statement is depending on a condition(i.e. select a from b where c= ? )...
    2) i mean by different table is that( i.e. select a from table1,table2 )..
    thanks in advance...

    Hi,
    937440 wrote:
    Hi every one, this is my first post in this portal. Welcome to the forum!
    Be sure to read the forum FAQ {message:id=9360002}
    I want display the details of emp table.. for that I am using this SQL statement.
    select * from emp where mgr=nvl(:mgr,mgr);
    when I give the input as 7698 it is displaying the corresponding records... and also when I won't give any input then it is displaying all the records except the mgr with null values.
    1)I want to display all the records when I won't give any input including nulls
    2)I want to display all the records who's mgr is null
    Is there any way to incorporate to include all these in a single query..It's a little unclear what you're asking.
    The following query always includes rows where mgr is NULL, and when the bind variable :mgr is NULL, it displays all rows:
    SELECT  *
    FROM     emp
    WHERE     LNNVL (mgr != :mgr)
    ;That is, when :mgr = 7698, it displays 6 rows, and when :mgr is NULL it displays 14 rows (assuming you're using the Oracle-supplied scott.emp table).
    The following query includes rows where mgr is NULL only when the bind variable :mgr is NULL, in which case it displays all rows:
    SELECT     *
    FROM     emp
    WHERE     :mgr     = mgr
    OR       :mgr       IS NULL
    ;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL it displays 14 rows.
    The following query includes rows where mgr is NULL only when the bind variab;e :mgr is NULL, in which case it displays only the rows where mgr is NULL. That is, it treats NULL as a value:
    SELECT     *
    FROM     emp
    WHERE     DECODE ( mgr
                , :mgr, 'OK'
                )     = 'OK'
    ;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL, it displays 1 row.

  • How to display multiple tables from database using netbeans swing gui

    plz reply asap on how to display multiple tables from database using netbeans swing gui into the same project

    Layered Pane with JTables or you can easily to it with a little scripting and HTML.
    plzzzzzzzzzzzzzzzzz, do not use SMS speak when posting.

  • How to show multiple records in JDeveloper automatically

    Hi, you guys,
    May I ask you how to show multiple records, say consecutive three records, of a View object in JDeveloper?
    I know that we can just drag and drop a view object as a child (Table) of a scrollPane.
    Are there any other approaches?
    Thanks a lot for your time.
    damon

    Thanks for your reply.
    You are right.
    Table binding is the best solution for that.
    But in my mind, a record in a table is always shown in one row (or one line), am I right?
    If so, it is not convient to show records with multitple columns.
    Let's say, there are 20 columns to show for each record. Then we should display a record in, say 3 lines.
    How can we do that?
    Are there any suggestions?
    I am thinking that maybe I can use secondary row set iterators for that since we can create two or more row set iterators for the same view object.
    Assume I want to show three consecutive records. I can use attribute binding to show the current record in three lines by dragging attributes one by one from Data Control Palette to Design Window as Child | TextField;
    But I do not know how to use a secondary row set iterator for the next record. Where shall I create a secondary row set ietrator such that I can use it to create and synchronize the bindings.
    Thanks a lot
    Damon
    Message was edited by:
    user599641

  • How to Save Multiple Records In Data Block

    Hi All,
    I Have Two Blocks --> Control Block,Database Block
    Please Any Idea How to Save Multiple Records In Data Block when User changed Data in Control Block.
    Thanks For Your Help
    Sa

    Now i have to use each record of control block(ctl_blk) as where condition in data base block(dat_blk)and display 10 records from database table.>
    Do you want this coordination to be automatic/synchronized or only when the user clicks a button or something else to signal the coordination? Your answer here will dicate which trigger to put your code in.
    As to the coordination part, as the user selects a record in the Control Block (CB), you will need to take the Key information and modify the Data Block's (DB) "DEFAULT_WHER E" block property. The logical place to put this code is the CB When-New-Record-Instance (WNRI) trigger. You code will look something like the following:
    /* Sample WNRI trigger */
    /* This sample assumes you do not have a default value in the BLOCK WHER E property */
    DECLARE
       v_tmp_dw    VARCHAR2(250);
    BEGIN
       v_tmp_dw := ' DB_Key_Column1 = '||:CONTROL.Key_Column1||' AND DB_Key_Column2 = '||:CONTROL.Key_Column_2;
       Set_Block_Property('DATA_BLOCK', DEFAULT_WHER E, v_tmp_df);
       /* If you want auto coordination to occur, do the following */
       Go_Block('DATA_BLOCK');
       Execute_Query;
       /* Now, return to the Control Block */
       Go_Block('CONTROL_BLOCK');
    END;
    The Control block items are assigned with values in Form level (Key_exeqry).If your CD is populated from a single table, it would be better to create a Master - Detail relationship (as Abdetu) describes.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • How do I download music from my PC to Ipad

    How do I download music from my PC to Ipad2

  • Why can't I install iTunes 10.5 on my PC with Vista?

    Hi guys, I'm really frustrated as I had trouble updating to iTunes 10.5 on my PC that uses Vista, so I uninstalled the old version and everything associated with Apple to try and install from scratch. The iTunes 10.5 software appears to download corr

  • Cant find jms listner adapter

    hi, i am trying to confiure the jms listner adapter, but the problem is i can find my jms listner adpater in resource->configure type to select it. i have looked in the idmadapter.jar file also about the jms listner class i able to c the jms listner

  • Update Trigger bug?

    I have a trigger on Oracle 8.1.6 and Oracle 8.1.7 databases... CREATE TRIGGER HEALTH_P_BEFORE_UPDATE BEFORE UPDATE ON HEALTH_P FOR EACH ROW DECLARE nextID INTEGER; BEGIN IF :new.easting <> :old.easting or :new.northing <> :old.northing THEN :new.shap

  • Is it ok to update from iOS 4.1 to iOS 4.3.2 directly?

    i am in doubt if this will work but will it be ok? i am now on iOS 4.2.1 and i want to update to 4.3.2. will it be ok?