Simple two level structure

This is a two part exercise...
1.  Complete ABAP program zstudent_registration.  The program will display the first level list.  The list consists of fields:
<i>course_id
course_name
course_type
programme </i>
(The records come from the database table zshafeek_course.)
2.  The second level list consists of students registered for a course selected from the first level list.  The tables involved is zshafeeek_student_registered. 
The fields in the zshafeek_student_registered are:
        <i>course_id
        student_id
        student_name
        student_major</i>
The fields that need to be displayed on the list are:
       <b> student_id
        student_name
        student_major</b>
(List the modifications with its ABAP statements required in program zstudent_registraton in order to generate the detail list).
Ive already done it, just need to compare it with someone else's for correctness' purposes...
Any help?

I got ur point and everything looks good with respect logic..
Now you want to display header level and item level type list.
Then use Example program,you will  get good idea in ALV.
Program : BCALV_TEST_HIERSEQ_LIST
Main FM : REUSE_ALV_HIERSEQ_LIST_DISPLAY
if you want to display in normal way ,then use Internal table events
AT first
endat
at new
enat
at end of
endat.
at last
endat.
Reward Points if it is useful
Thanks
Seshu

Similar Messages

  • Error when running a JHeadstart generated two-level tree display

    Dear All,
    I have a simple master detail VO/VO datamodel based on which I'd like to generate a two-level tree display. I've followed the JHeadstart dev guide meticulously.
    When I run the page I get an error:
    javax.faces.el.PropertyNotFoundException: Error getting property 'name' from bean of type oracle.jbo.uicli.binding.JUCtrlHierTypeBinding
    It turns out that this generated code in a region file is the root cause:
    <af:switcher facetName="#{node.hierType.name}">
    <!-- DEBUG:BEGIN:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2 -->
    <f:facet name="MutatieSoortTypenNode">
    <af:outputText value="#{node.Omschrijving}"/> </f:facet>
    <!-- DEBUG:END:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2-->
    <!-- DEBUG:BEGIN:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2 -->
    <f:facet name="MutatieSoortenBijTypeNode">
    <af:outputText value="#{node.Omschrijving}"/> </f:facet>
    <!-- DEBUG:END:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2-->
    </af:switcher>
    When I substituted the <af:switcher> .... </af:switcher> xml code by <af:outputText value="#{node.Omschrijving}"/>, the page displayed correctly.
    Given the fact that the code is generated, there doesn't seem to be much that I can do about it.
    We're using JDeveloper version 10.1.3.3.0 and JHeadstart version 10.1.3.2.41.
    Any help or suggestion would be much appreciated.
    Kind regards,
    Ibrahim

    Ibrahim,
    I cannot reproduce this. You are using a non-production build. Can you upgrade to JHeadstart 10.1.3.2.52?
    If the problem persists, you can work around it by creating a custom template for tree.vm which includes the af:switcher statement.
    Steven Davelaar,
    JHeadstart team.

  • Wide report causes standard tabs in two-level-tabs to move

    I know that sounds odd. So, if you have a large (wide) report, that spans the browser window, and you resize the window, the tabs will move to the right, eventually right out of the window. Very odd.
    I have Apex 3.0.0.00.20. I have a simple report region with a query that has over 20 columns. The data isn't really meant to be read, there is a download to spreadsheet link that people will use. However, there is also a two-level tab system in place. Parent tabs at the top (on the right) look fine. The standard tabs, below are left aligned and look good on all pages except this one. If the window is wide, fitting the entire width of the report, then the tabs align on the left. That is very wide, filling up more than my widescreen monitor on my two-monitor setup. For users on a single smaller monitor, they cannot size it that large, and if the window is narrow enough, the tabs are actually off the screen. You have to scroll right to see them. It's the strangest thing. But, it's a pain, since they need to use these.
    Anyone see this? Any ideas how to prevent those tabs from moving and staying anchored on the left?
    Thanks

    Sounds like the result of a layout based on nested tables, which are expanding to accommodate the wide report content.
    Solution would be to move the standard tabs region or the report region to another region position, or change the page template so the tabs current region position is not contained within a table that also contains the table containing the report region position.
    This should all become clear if you view the page in Firefox and outline the tables using the Web Developer Toolbar...

  • Organize photos/pics in two-level folders

    Is it possible to organize photos/pics on two-level folders, e.g. work (proj1, proj2..) family (birthday, travel..) ?
    From the sync method with PC I only may organize pics in a flat folders structure (proj1, proj2, birthday, etc)

    The Photos app currently only supports folders/albums to one level - any photos below that first-level folder on your computer will be included in it's parent folder's album on the iPad.
    It looks like the Photo Manager Pro app from the iTunes app store supports sub-folders, and it seems to have fairly good reviews

  • Stocking Level- Two levels below the finished product

    Hi all,
    I want to maintain stock two levels below the finished product in MTO environment...How can i acheive this in SAP...Also i want to maintain forecast one level below the finished product..Please give ur expert opinion in order to achieve this requirement..
    Actually scenario is Packed liquid is my finished material and forecast is given at liquid level and both these levels are not produced until a sales order arrives...i am taking liquid as SFG, please suggest otherwise if i m not moving in right direction.
    Thx
    Shah

    Hi,
    Kindly follow the steps mentioned below, I hope it addresses your query.
    Warm regards,
    Umesh
    Process Scenario & the BOM structure
    Level 1: ZURP_PKG_LIQUID <Sales order received here>
    Level 2: ZURP_LIQUID        < Forecast done here to plan lower level materials, this material is planned on the receipt of sale order at higher level>
    Level 3: ZURP_RM_LIQUID  < Procured/Produced and kept in inventory>
    Step no 1: OMP0  use Requirement class u2018103u2019 or create a copy u2018Z70u2019
    Step no 2: OMP1  create a new requirement type u2018Z70u2019 and assign the Requirement class u2018103u2019 to it.
    Step no 3: SPRO  define a new strategy u20187Tu2019 and assign requirement type u2018Z70u2019
    Step 4: SPRO  create strategy group u20187Tu2019 & assign the strategy u20187Tu2019
    Step 5: MM02 u2013 MRP3 view  Assign this strategy to material code ZURP_LIQUID at which forecast is done
    In MRP4 view leave the individual/collective indicator blank
    For Material ZURP_PKG_LIQUID  maintain strategy group as u201820u2019
    For Material ZURP_RM_LIQUID  maintain strategy group as u201810u2019 & individual/collective indicator as u20182u2019
    Step 6: MD61  Create Planned independent requirement for ZURP_LIQUID
    Step 7: MD02  Execute MRP for ZURP_LIQUID
    Note: Planned orders for ZURP_LIQUID are created, but they cannot be converted into Production order, but this triggers requirement down the line triggering procurement/production for material ZURP_RM_LIQUID
    Step 8: VA01  Create a sales order for ZURP_PKG_LIQUID
                MD02  Execute MRP for ZURP_PKG_LIQUID
    Note: The MRP run triggers the procurement proposal for ZURP_LIQUID, which can be converted to production order & simultaneously reduces the created PIR

  • Two level of Approvels, Supervisor & Vice-President

    Hello,
    I have a requirement to Approve two levels in Travel request form,they are  one is Supervisor and Vice-president. I need to know how to extract both the approvels  for the requester.
    i am new to HR, can any once explain the Extraction process and get the both ID's .
    Thanks In Advance..
    Thanks & Regards
    Nag

    Hi Anji,
    The process of approval can be two levels as per your req. If workflow is in place we can have the two work items set up for this approval. But this hirearchy should be in place in the org structure. Accordingly the approvals will be worked out as per the standard workflows.
    Hope this helps to explore.
    Rgds
    Tharak

  • Cash discount on Purchases at Two Levels

    Hi Guru's
    I have an issue on Cash discount on purchases. My client has a discount facility with the vendor at two levels:
    1. On the base price (After this discount Excise Duty is calculated)
    2. After Excise Duty but before VAT (Local Tax) calculation. ie. after this 2nd discount VAT is calculated.
    I have created two discount condition types and assigned them in purchase pricing procedure. However, the system is taking bot the condition at Base Proce level and calculating.
    Can anyone give me any suggestions on how to meet my client requirement.
    Thanks

    Hello,
    Have you chosen the correct 'from' line?
    It sounds like you referred to the base amount line instead of the subtotal line after excise duty... or is this line missing? Then you have to add it and change the 'from' field in the 2nd discount line.
    Regards,

  • Document Parking Workflow Responsible Agent for Two level release

    Respected Members,
    I have done all the configuration for document parking workflow.
    i had said if the amount is greater than one lakh it should go two-level amount release.
    My organisation hierarchy includes two positions,
    SUB_HEAD with user xyz
    HEAD with user ABC.
    i have assigned the position HEAD with two level release workflow in spro.
    When i am creating a parking document above one lakh, the work items are generating and it is coming
    in the inbox for the both users ie xyz and abc.
    MY requirement is that when xyz user execute the work item then only it should go to abc user inbox.
    it should not go to abc inbox as soon as document is created.
    Please give me the answer as soon as possible,
    Thanks a lot.
    Manish

    Hi,
    Have you checked out SAP help file for this workflow?
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/0e/0e3b00b84111d3b5b2006094192bbb/frameset.htm]
    Regards,
    Lim...

  • Line Graph - can I have more than two levels?

    Post Author: Deepa
    CA Forum: Charts and Graphs
    I am working on a line Graph for a client where the client needs the x-axis to show year, then month by Office for expenses. Crystal Reports XI. I can have two levels when I do change of by Transaction month and offices. Is there any way I can have change of Transaction Year, Transaction Month and then Offices? Any help is appreciated. Thank you. Deepa

    Hi,
    Yes,  Disabling the DHCP proxy on WLC and us IP helpers on LAN switch is a option to have more than two DHCP servers.

  • How to create two level dynamic list using JSP , Java Script and Oracle

    I am new in JSP. And i am facing problem in creating two level dynamic list using JSP ,Java Script where the listdata will come from Oracle 10g express edition database. Is there any easy way in JSP that is available on in ASP.NET.
    Plz response with details.

    1) Learn JDBC API [http://java.sun.com/docs/books/tutorial/jdbc/index.html].
    2) Create DAO class which contains JDBC code and do all SQL queries and returns or takes ID's or DTO objects.
    3) Learn Servlet API [http://java.sun.com/javaee/5/docs/tutorial/doc/].
    4) Create Servlet class which calls the DAO class, gets the list of DTO's as result, puts it as a request attribute and forwards the request to a JSP page.
    5) Learn JSP and JSTL [http://java.sun.com/javaee/5/docs/tutorial/doc/]. Also learn HTML if you even don't know it.
    6) Create JSP page which uses the JSTL c:forEach tag to access the list of DTO's and iterate over it and prints a HTML list out.
    You don't need Javascript for this.

  • EA 4.2 Two Level TabsLeft and Right Sidebar not highlighting the parent tab

    Theme 24 Two Level Tabs - Left and Right Sidebar page template is not highlighting the parent tab. I did some changes to the Current Parent tab section and it is working so can we see the changes in the EA2 or the final 4.2 product.
    Orginal
    <li><a class="active" href="#TAB_LINK#">#TAB_LABEL#</a>#TAB_INLINE_EDIT#</li>
    changed to
    <li class="active">#TAB_LABEL##TAB_INLINE_EDIT#</li>

    Log 4.2EA issues and comments using the Feedback link in the App Builder on apexea.oracle.com.

  • Two level of tabs - only 1 level shows up

    Hi all,
    I have an application, previously set up without using tabs, but I added two level of tabs. It looks like everything is fine, but only the standard tabs are on the pages, not the parents.
    Invionment: Apex 4.1, Oracle 10gR2 on Windows 32 bit
    This is what I've done:
    - set the page component default in the theme (26) to 'Two level of tabs, no sidebar'
    - I have a parent tab set ('PTS1')
    - I have 4 parent tabs: PTAB1, PTAB2, PTAB3, PTAB4. All parent tabs have one or more tabs under it and the tab target is the right page.
    - all the tabs have the 'standard tab set' set right, ie PTAB1. All tabs are in parent tab set 'PTS1'
    - alle the pages have page template 'use theme default'. I also tried setting it explicitly to one of the templates with two level of tabs, but with the same result.
    When I open a certain page, I only see the tabs, I don't see the parent tabs! Is there something I forgot to configure?
    Thank in advance,
    Tom

    Ok first go to shared components > Tabs. Select your parent tab set.
    Go to manage tabs. Does every parent tab got at least one subtab? Do they all refer to pages?
    If that's ok go to edit standard tabs and check out the right column. Do all tabs there have a parent tab set? If they don't then edit those that don't have one.
    If that did not solve it go to "Tabs".
    Select your parent tab set PTS1. Check if all your parent tabs are viewable.
    If they aren't then you created your parent tabs under different tab sets and you need to delete those that aren't on the right one.
    I hope you can find a solution here somewhere.

  • ESS leave request two-level workflow

    Hi All,
    We have a requirement for a two-level ESS leave workflow and need to know what would be the approach which can be taken to modify the standard 12300111 workflow.
    The status should be as follows
    STATUS                                                STATUS                                                  STATUS
    (SENT)                      Approves              (PENDING)                 Approves                (APPROVED)
    First Level approver -
    >   Second level approver -
    >
    As we can see, we need to add a new status namely, PENDING to the backend PTREQ tables. Can anyone please provide some kind of leads/info on this.
    Thanks and Regards
    Reshma

    Hi,
    You can take a copy of that standard workflow 12300111 and build your logic accordingly.and give that workflow number in SPRO settings.
    Kind Regards
    Hari SankarM

  • Two level approval in workflows

    Dear All,
    I am making a workflow which trigger when the Maintenance Order get RELEASED, the functionality of the workflow is as follows :-
    1. A recipient should get workflow in his/her SAP inbox for Approval or Rejection of maint.  Order. release.
    2. When  he approves then the maint. Order should go to Second Recipient for firther Approval.
    3. After the second approval the workflow Initiator get the main that his request has been  approved.
    4. At any point if the approver rejects his Request the application should get back to Workflow Initiator.
    Now my first problem is that how can i make the logic for the two level approval.
    What i have done is that i have taken one decision Step with the Outcomes
    Approve
    Reject
    On the approve outcome i have added another Decision Step for second approval but htis is not working.
    My Second Problem is how can i know that the request has been approved or not. Is there any status Field from where i can know that the request has been approved or not so that i can use condition step.
    Please help as i m struck beacause of these two problems.
    Thanks!!!!

    > On the approve outcome i have added another Decision Step for second approval but htis is not working.
    >
    Up until this point I was very happy with your explanation, it was thorough, and included the functional need. However, it is quite important to know <u>how</u> 'it is not working'. Are you getting an error when you try to activate the workflow? Is the workflow going to ERROR status during runtime after the first approver has approved? Is there perhaps an error message? Someone might recognize that error message and say 'yes, I had this problem once, and here's how you fix it'.

  • Switch between one level and two level tabs

    Hi,
    In my application I'm having many pages manages with tabs.
    Some tabs should have sub tabs other will have none.
    For example Page 1:
    ______________________________________| HOME* | MASTER DATA | TEST |_____
    Page 2
    ______________________________________| HOME | MASTER DATA* | TEST |_____
    | M1* | M2 | M3 |
    Page 3
    ______________________________________| HOME | MASTER DATA* | TEST |_____
    | M1 | M2* | M3 |
    Page 4
    ______________________________________| HOME | MASTER DATA | TEST* |_____
    | T1* | T2 |
    Like you can see Page 1 hast no sub tabs and only the parent tab should be shown (normally this would be One Level Tab Template and for the others it's Two Level Tab Template).But I didn't get it working. I've tried to following:
    Setting page 1 to one level and creating a parent tab set with all required labels will display OK. Creating page 2 with new parent tab set and tabs and two level template.
    Will not show not page 1 parent tab when accessing directly. Access from page 1 will throw error message: "could not find item (123455) on page."
    I don't like to have something like this for page 1, because there twice shown Home, for one page ...
    _________________________| HOME |_______
    | HOME |
    How can this be done in ApEx are there any tricks?
    Thanks
    chrissy

    Chrissy,
    Create a page template as a copy of your two level tabs template and simply remove
    #TAB_CELLS#
    Assign this page template to your page 1.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for