Tabstrip coding in report

Hai,
   I want to use tabstrip(with 3 different subscreens) in my report.so could any one of you can send me the coding of this.
thanks in advance
kiran

Hi,
Check this.
http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm
According to the tab pressed,you can write the coding in PAI and display the output in PBO.
Following is the sample code.I am using custom container.
CONTROLS: main_tab TYPE TABSTRIP.
DATA: BEGIN OF i_main_tab,
subscreen LIKE sy-dynnr,
prog LIKE sy-repid VALUE
'ZZZ_TABSTRIP',
pressed_tab LIKE sy-ucomm VALUE c_main_tab-tab1,
END OF i_main_tab.
MODULE status_9001 OUTPUT.
SET PF-STATUS 'ZSTATUS'.
SET TITLEBAR 'ZTITLE'.
main_tab-activetab = i_main_tab-pressed_tab.
CASE i_main_tab-pressed_tab.
WHEN c_main_tab-tab1.
IF o_custom_container1 IS INITIAL.
* Creating Object
PERFORM f9000_objects_create.
* Building the field catalog
PERFORM f9001_build_field_cat TABLES i_fcat
USING 'ZZZ_GRID'.
* For Layout
PERFORM f9002_layout USING sy-title c_x c_a c_x.
i_main_tab-subscreen = '9100'.
* Displaying data
CALL METHOD o_alvgrid1->set_table_for_first_display
EXPORTING
is_variant = w_variant
i_save = c_a
is_layout = w_layout
CHANGING
it_outtab = i_grid[]
it_fieldcatalog = i_fcat[]
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE i005 WITH text-009."Error in ALV report display
LEAVE LIST-PROCESSING.
ENDIF.
endif.
when c_main_tab-tab2.
if o_custom_container2 is initial.
perform f9000_objects_create1 using:
* create custom container
'o_custom_container2' '' '' '',
* Create splitter container
'o_splitter' o_custom_container2 '2' '1',
* Create event reciever
'o_eventreceiver' '' '' ''.
* Creating containers for the split grids
call method o_splitter->get_container exporting row = 1
column = 1
receiving container = o_container1.
call method o_splitter->get_container exporting row = 2
column = 1
receiving container = o_container2.
* Set where the splits on the screen comes
call method o_splitter->set_row_height
exporting
id = 1
height = 45
exceptions
cntl_error = 1
cntl_system_error = 2
others = 3.
if sy-subrc ne 0.
perform f9003_error_handle using text-E04.
endif.
perform f9000_objects_create1 using:
* Create the alv grids
'o_alvgrid2' o_container1 '' '',
'o_alvgrid3' o_container2 '' ''.
set handler o_eventreceiver->handle_double_click for o_alvgrid2.
perform f9001_build_field_cat tables i_fcat1
using 'ZZZ_GRID1'.
perform f9001_build_field_cat tables i_fcat2
using 'ZZZ_GRID2'.
* For Layout
PERFORM f9002_layout USING sy-title c_x c_a c_x.
i_main_tab-subscreen = '9200'.
if not i_grid1[] is initial.
call method o_alvgrid2->set_table_for_first_display
exporting
is_variant = w_variant
i_save = c_a
is_layout = w_layout
CHANGING
it_outtab = i_grid1[]
it_fieldcatalog = i_fcat1[]
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
if sy-subrc <> 0.
message i005 with text-009."Error in ALV report display
leave list-processing.
endif.
* Populate the GRID2 data
read table i_grid1 into w_grid1 index 1.
if sy-subrc = 0.
if not i_grid2[] is initial.
* Generate the grid2 data.
call method o_alvgrid3->set_table_for_first_display
exporting
is_variant = w_variant
i_save = c_a
is_layout = w_layout
CHANGING
it_outtab = i_grid2[]
it_fieldcatalog = i_fcat2[]
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
endif.
endif.
else.
* No data for the entered selection criteria
message i005 with text-010.
leave list-processing.
endif.
endif.
WHEN OTHERS.
* DO NOTHING
ENDCASE.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module MAIN_TAB_ACTIVE_TAB_GET INPUT
* This is used to catch the pressed tab
MODULE main_tab_active_tab_get INPUT.
CASE sy-ucomm.
WHEN c_main_tab-tab1.
i_main_tab-pressed_tab = c_main_tab-tab1.
i_main_tab-subscreen = '9100'.
WHEN c_main_tab-tab2.
i_main_tab-pressed_tab = c_main_tab-tab2.
i_main_tab-subscreen = '9200'.
WHEN OTHERS.
* DO NOTHING
ENDCASE.
ENDMODULE. " MAIN_TAB_ACTIVE_TAB_GET INPUT
*& Module USER_COMMAND_9001 INPUT
* This is used for user command
MODULE user_command_9001 INPUT.
CASE sy-ucomm.
WHEN 'BACK'.
PERFORM exit_program.
SET SCREEN '0'.
WHEN 'EXIT' OR 'CANC'.
PERFORM exit_program.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
* For screen 9001 we need to write Flow logic as below. For subscreens, Flow logic is
* not required.
PROCESS BEFORE OUTPUT.
MODULE STATUS_9001.
CALL SUBSCREEN main_tab_sca
INCLUDING i_main_tab-prog i_main_tab-subscreen.
PROCESS AFTER INPUT.
MODULE user_command_9001.
MODULE main_tab_active_tab_get.
If you need it in selection screen,check this link.
http://www.sapdevelopment.co.uk/reporting/selscr/selscr_tabstrip.htm

Similar Messages

  • Need a coding like report events step by step

    need a  coding how to write report events.
    step by step. by the material iam not getting any thing..
    please send me if you have coding or any examples..

    Hi Franklin,
    Please see the following link. You will find complete guide to report events.
    http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db9a9635c111d1829f0000e829fbfe/frameset.htm
    Hope this helps,
    Pragya

  • Is printing to generic text printer and hand-coding the report possible?

    We have created Oracle Reports that are formatted to print to Zebra printers. We code the report in Report Layout and the text printed is for generic text printers, what our Zebra printers requires. Can this be done with APEX reports?
    Example:
    ^xa
    ^ilr:val_set.grf2^fs
    ^fo88,132^a0,90,80^fb464,1,0,C,0^fd&<ACCESSION>^fs
    ^by2,3.0,32^fs
    ^ft64,402^BCb,32,n,n^fd&<FARMFIELD>^fs
    ^ft600,402^BCb,32,n,n^sn&<LOCLOW>,1,y^fs
    ^fo304,232^a0r,20,20^fd&<LOCTYPE>^fs
    ^fo334,232^a0,50,45^sn&<LOCLOW>,1,y^fs
    (skipping some code here for brevity)
    ^pq&<LOC_ROWS>^fs
    ^xz
    Asking whether APEX can print to generic text printers and can we code the report output
    ourselves.
    Thanks for any help.
    dave

    Here is a simple example of printing via pl/sql to a text file...
    create or replace procedure utl_file_io is
    l_fil utl_file.file_type;
    l_buf varchar2(200);
    begin
    l_fil := utl_file.fopen('TMP', 'amar_test.t', 'W');
    utl_file.put_line(l_fil, 'This is a sample text file.');
    utl_file.put_line(l_fil, 'Generated from Oracle utl_file package.');
    utl_file.put_line(l_fil, 'Below is the content of am1010 table.');
    for rec in (select col1, col2 from am1000) loop
    utl_file.put_line(l_fil, rpad(rec.col1, 15, ' ') || rec.col2);
    end loop;
    utl_file.put_line(l_fil, 'End of File');
    utl_file.fclose(l_fil);
    exception
    when no_data_found then
    utl_file.fclose(l_fil);
    end;
    This routine will generate a text file to the default directory on your server, you would need to build an Oracle directory and change the code to include the path to your file there. Getting it to the printer could be a simple shell script that copies the file out your your printer if it is on the network and can be seen..
    Thank you,
    Tony Miller
    Webster, TX

  • Where we use lock objects in our coding  like report

    what is the purpose of lock objects s? how we use them in real time? like in devoloping reports?

    Hi,,.
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    Check these links
    Re: Lock Objects
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/931bb5c79911d5993e00508b6b8b11/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    http://www.sapdevelopment.co.uk/dictionary/lock_enqueue.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    GO TO SE11
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Lock objects:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Match Code Objects:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
    See this link:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Lock objects are used to synchronize access to the same data by more than one program.
    General information about the lock mechanism.
    You can synchronize access by several programs to the same data with a logical lock mechanism. This lock mechanism fulfills two main functions:
    A program can tell other programs which data records it is just reading or changing.
    A program can prevent itself from reading data that is just being changed by another program.
    When accessing data records, the records just being edited by other programs can be identified by the entry in the lock table. Such an entry for the lock must define a number of fully specified key fields, that is either a value is passed for the key field or this field is locked generically.
    To set locks, a lock object must be defined in the ABAP Dictionary. When this lock object is activated, two function modules (see Function Modules for Lock Requests) are generated with the names ENQUEUE_<lockobjectname> and DEQUEUE_<lockobjectname>.
    If data records are to be locked, you must call function module ENQUEUE_<lockobjectname>. The values of the key fields that specify the records to be locked are passed for all the tables contained in the lock object when the function module is called. There is a generic lock if a value is not passed for all the key fields. The function module writes the appropriate lock entry (see Example for Lock Objects). If another program also requests a lock, it will be accepted or rejected depending on the lock mode (see Lock Collisions). The program can then react to this situation.
    Locked data records can be unlocked by calling function module DEQUEUE_<lockobjectname>. The key values and the lock mode used to set the lock must be passed to the function module.
    Creating Lock Objects
    Procedure
    Select object type Lock object in the initial screen of the ABAP Dictionary, enter an object name and choose Create. The name of a lock object should begin with an E (Enqueue).
    The maintenance screen for lock objects is displayed.
    Enter an explanatory short text in the field Short text.
    You can then use the short text to find the lock object at a later time, for example with the R/3 Repository Information System.
    Enter the name of the primary table of the lock object.
    All other tables in the lock object must be linked with the primary table using foreign keys. There are also some restrictions on the valid foreign key relationships.
    Select the lock mode of the primary table in the field below it.
    The lock mode is used as the default value for the corresponding parameters of the function modules generated from the lock object.
    Choose Add if you want to lock records in more than one table with the lock object.
    A list of all the tables linked with the primary table using valid foreign keys is displayed. Select the appropriate table. The lock mode of the primary table is copied as lock mode. You can change this setting as required, for example you can assign the lock mode separately for each table.
    Similarly, you can add a table linked with the secondary table just added with foreign keys. To do this, place the cursor on the name of the secondary table and choose Add.
    If no lock mode is assigned to a table, no lock is set for the entries in this table when the generated function modules are called. You should not assign a lock mode if a secondary table was only used to define a path between the primary table and another secondary table with foreign keys.
    Save your entries.
    A dialog box appears in which you have to assign the lock object a development class.
    You can (optionally) exclude lock parameters (see lock objects) from the function module generation on the Lock parameter tab page. This makes sense for example if you always want to lock a parameter generically.
    To do this, simply deselect the Weight flag for the parameter. The parameter is not taken into consideration in the generated function modules. This parameter is then always locked generically.
    The name of a lock parameter is usually the name of the corresponding table field. If two fields with the same name are used as lock parameters in the lock object from different tables, you must choose a new name for one of the fields in field Lock parameter.
    You can define whether the function modules generated from the lock object should be RFC-enabled on the Attributes tab page.
    If you set the Allow RFC flag, the generated function modules can be called from within another system with Remote Function Call.
    If you permit Remote Function Calls for an existing lock object, you must ensure that the generated function modules are called from within an ABAP program with parameters appropriate for the type. You should therefore check all programs that use the associated function modules before activating the lock object with the new option.
    Choose .
    Result
    When you activate the lock object, the two function modules ENQUEUE_<lockobjectname> and DEQUEUE_<lockobjectname> are generated from its definition to set and release locks.
    Regards
    Vasu

  • Coding in Report

    Hi All,
    Pl find the requirement details below.
    I have a attribute " SAP-ID" of sold_to party.
    Ex : SAP-ID = 901234
    In my report i need one object say profit-id as 48901234.Means for each SAP-ID I need to add 48 at the staring.
    So pl let m eknow how can be achieved.
    Regards
    Ramakanth.

    Hi Ravi,
    Thanks for your help.
    I have already done thta.But i am getting termination of program issue.
    Error Msg : System error in program SAPLRRI2 and form CUNM_CUVL_GET-01.
    Any other solution.Back end design level i can do using concatenation.But i do not want to disturb the design.
    Any Solution
    Regards
    Ramakanth.
    Edited by: Ramakanth Deepak Gandepalli on Aug 3, 2010 12:52 PM

  • Colour coding a report depending on one columns' data

    Hi All,
    I have no experience with CSS but i need to edit my report to show various rows in difrerent colours depending on the data in a single column ( STATUS ).
    Does anybody have a CSS file that i could just edit the table details in to acheive this ?
    Thanks

    The key is the row template:
    <tr class="#5#"><td>#1#</td><td>#2#</td><td>#3#</td><td>#4#</td></tr>
    (#5# is column 5 in your Query)
    where class sets the background color:
    tr.class1 td{background-color:#FFCCCC;}
    tr.class2 td{background-color:#CCFFCC;}
    tr.class3 td{background-color:#CCCCFF;}
    The 3 classes switch, depending on the deptno:
    decode(deptno, 10, 'class1', 20, 'class2', 30, 'class3') trclass
    But it seems that the report source is not correct !!
    trclass is defined as Column1 but refered as Column5
    Correct report source would be:
    select ename, job, sal, comm,
    decode(deptno, 10, 'class1', 20, 'class2', 30, 'class3') trclass
    from emp
    greetings,
    Jochen

  • Urgent !!! coding for report 9i

    Hi evryone
    I need oracle proffesional to solve my issue.
    I have foloowing code Written Onn KEY-Print Trigger (form 6i):
    DD_PARAMETER(LIST_ID, 'P_FIN_YEAR', TEXT_PARAMETER, :FIN_YEAR);
    if :bic_cat_no = 3 then
         ADD_PARAMETER(LIST_ID, 'P_maint_type', TEXT_PARAMETER, '&#1593;&#1575;&#1583;&#1610;');
    elsif :bic_cat_no = 4 then
         ADD_PARAMETER(LIST_ID, 'P_maint_type', TEXT_PARAMETER, '&#1569;&#1569;&#1569;&#1569;&#1569;&#1569;&#1569;');
    end if;
    And i have now i must use this format for 9i :
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no'
    ||' P_financial_year='||:GLOBAL.FIN_YEAR .....etc
    My Question How i deal With if conditins and ADD_PARAMETER ?
    if i use above code for 9i.....

    Dear Balaji,
    I think http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    link will be useful for you.
    Regards,
    Senthil .A. Perumal.

  • Execution of Report with Tabstrips in Background Mode

    Hi everyone,
                  I have used 2 tabstrips in my report. When I choose the second tabstrip, give the related I/P's and then execute in Background mode. The O/P generated is coming for the 1st tabstrip instead of what I'd selected.
    How could I execute the report in Background Mode for my Second Tabstrip? Any changes to be done in my Coding?
    Please throw some light into this !!!!
    Regards,
    Ramakrishnan.G

    Hi
    You may have attached user command to your tabs in definition -
    <b>DATA : TAB1, TAB2.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK TB FOR 2 LINES.
    SELECTION-SCREEN TAB (15) TABNAME1 USER-COMMAND TAB1 DEFAULT SCREEN 101.
    SELECTION-SCREEN TAB (15) TABNAME2 USER-COMMAND TAB3 DEFAULT SCREEN
    102.
    ...</b>
    Now in
    <b>
    INITIALIZATION.
      TABNAME1 = 'TAB1'.
      TABNAME2 = 'TAB2'.
    AT SLECTION-SCREEN.
    IF TB-ACTIVETAB = 'TAB1'.
        TAB1 = 'X'.
        TAB2 = ' '.
      ELSE.
        TAB1 = ' '.
        TAB2 = 'X'.
      ENDIF.
    START-OF-SELECTION.
    IF TAB1 = 'X'.
      PERFORM ROUTINE_FOR_TAB1.
    ELSE.
       PERFORM ROUTINE_FOR_TAB2.
    ENDIF.</b>
    Cheers.
    ( Dont forget to reward if answers helped )

  • Crystal report coding book

    Hi experts,
    Is there any book or link which gives the description for coding in crystal reports.
    I am using cube as my database. I am new in this. Is there any link which provides me some basics of grouping, OLAP etc. Please help me on this.
    Thankx in Advance,
    Rishit
    Edited by: Rishit Kamdar on Apr 14, 2009 12:37 PM

    Hi Rishit,
    Try the following link for sample reports. You can get to understand the coding in reports by looking at the comments within the formula.
    Crystal Reports Samples
    http://www.crystalbook.com/crpr/program/book/samples.asp
    Thanks,
    Amogh

  • Using Tabstrip on Report Selektion

    Hi,
    I'm using a Tabstrip for a report selection this works fine. Now I would like to make a tab invisible depending on an entry of an other entry field on the screen (this field is not on any tab)
    Any hints ?
    Message was edited by: Olaf Bethke

    Sure,  check this sample code......
    report zrich_0001
           no standard page heading.
    selection-screen begin of screen 101 as subscreen.
    selection-screen begin of block b1 with frame title text-001.
    parameters: P_rad1 radiobutton group grp1 default 'X'
                                             user-command check,
                p_rad2 radiobutton group grp1.
    selection-screen end of block b1.
    selection-screen end of screen 101.
    selection-screen begin of screen 102 as subscreen.
    selection-screen begin of block b2 with frame title text-002.
    parameters: p_char1 type c.
    selection-screen end of block b2.
    selection-screen end of screen 102.
    selection-screen begin of screen 103 as subscreen.
    selection-screen begin of block b3 with frame title text-003.
    parameters: p_char2 type c.
    selection-screen end of block b3.
    selection-screen end of screen 103.
    selection-screen begin of tabbed block one for 20 lines.
    selection-screen tab (15) name1 user-command ucomm1
    default screen 101.
    selection-screen tab (17) name2 user-command ucomm2
    default screen 102.
    selection-screen tab (17) name3 user-command ucomm3
    default screen 103.
    selection-screen end of block one.
    initialization.
      name1 = 'Tab 1'.
      name2 = 'Tab 2'.
      name3 = 'Tab 3'.
    at selection-screen output.
      loop at screen.
        if p_rad2 = 'X'.
          if screen-name = 'NAME3'.
            screen-invisible = '1'.
            modify screen.
          endif.
        endif.
      endloop.
    start-of-selection.
    Regards,
    Rich Heilman

  • Dynamically select detail report for a master report link item or button?

    I'm still new to APEX, so apologies if this sounds like a stupid question, but so far I can't find anything online about how to do the following.
    I have a simple report, and I want to be able to drill down from here to a detail report via a link item (or a button) in each row. The problem is that the specific detail report to use depends on a combination of values in the parent record.
    So if I have a parent record in the master report with values for columns 1/2/3 of A/B/C, I would drill down to a detail report against table X. If my parent record has values of D/E/F, I might drill down to a different detail report against table Y.
    I can build the individual reports easily enough, and I can set up a link item in the master report to drill down to a hard-coded detail report page. I can even generate the name (alias) of the relevant target report as an extra non-DB item in each row of the parent report. But I can't figure out how to allow each row in the parent report to actually link to a different detail report dynamically, depending on the contents of the parent row.
    Can anybody suggest an easy way to do this, or point me towards an online resource that would explain how to do this (preferably in basic terms that this APEX-newbie can understand)?
    Thanks for your help!

    Hi,
    When you say "Detail report" do you just mean a normal report of the child records for the selected master record or a tabular form style "Details report"?
    Using different reports on a page would, typically, depend on the value in a hidden page item - for example, P1_REPORT_TYPE. Your link could pass an appropriate value into this item and the second page would then use this as a Condition for each of the report regions - each region being conditionally displayed when the hidden item is a specific value.
    Andy

  • How to find import and local  purchase order for report

    Dear Friends,
                  Please help me in coding this report, =below is the functional requirement.
    1. To find the list of Import or Local Purchase Orders(purchase orders to be procured from another country).
    2.Once the import purchase order is selected .The report sould display the PO number ,Currency , Value , po Date , Planned recipt date ,
    BUy from vendor , ship from vendor , Origin Country, Destination country, and Status of the PO.
    I am clear about the PO number Currency ,value and po date but could not get how do i fetch the details like:--Planned recipt date ,
    BUy from vendor , ship from vendor , Origin Country, Destination country, and Status .
    Your help is greatly appreciated.

    Hi,
    Buy from vendor is the real vendor who is supplying the items while Ship from vendor is the vendor who just arrange for the transport. This should be maintained in the pruchase order, just consult with your MM consultant to get where they are storing those details
    Regards
    Karthik D

  • Interactive Report Display

    When a report is grouped by one column, is there anyway to have that column display once instead of for each record? I can do this easily in Crystal and we're in the process of loading BI Publisher...just wonder if it's possible in coding the reports directly in the Apex report display.

    Thanks to both of you!!
    Just new learned how to write complex collections (thanks BLARMAN!!) and then the simple stuff I don't know...
    All the best,
    A

  • How to auto save pdf report  through forms 6i

    we are using the forms-6i and database 9i. and report builder-6i
    here our requirement is calling the rdf report at the time of saving the form. and rdf report has opened pdf . that should be save into client machine automatically with prescribed file name. report is opening successfully. but i don't know how to save automaticcaly. can anybody help me how to o this
    thank you

    FORM BUILDER VERSION
    Forms [32 Bit] Version 6.0.8.11.3 (Production)
    Oracle Toolkit Version 6.0.5.35.0 (Production)
    PL/SQL Version 8.0.6.0.0 (Production)
    Oracle Procedure Builder V6.0.8.11.0 Build #449 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 6.0.7.0.0 - Production
    Oracle Virtual Graphics System Version 6.0.5.35.0 (Production)
    Oracle Tools GUI Utilities Version 6.0.5.35.0 (Production)
    Oracle Multimedia Version 6.0.5.34.0 (Production)
    Oracle Tools Integration Version 6.0.8.10.2 (Production)
    Oracle Tools Common Area Version 6.0.5.32.1
    Oracle CORE Version 4.0.6.0.0 - Production
    Report Builder Version
    Report Builder 6.0.8.11.3
    ORACLE Server Release 8.0.6.0.0
    Oracle Procedure Builder 6.0.8.11.0
    Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
    Oracle CORE Version 4.0.6.0.0 - Production
    Oracle Tools Integration Services 6.0.8.10.2
    Oracle Tools Common Area 6.0.5.32.1
    Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
    Resource Object Store 6.0.5.0.1
    Oracle Help 6.0.5.35.0
    Oracle Sqlmgr 6.0.8.11.3
    Oracle Query Builder 6.0.7.0.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 6.0.8.11.3
    Oracle Express 6.0.8.3.5
    Oracle XML Parser     1.0.2.1.0     Production
    Oracle Virtual Graphics System 6.0.5.35.0
    Oracle Image 6.0.5.34.0
    Oracle Multimedia Widget 6.0.5.34.0
    Oracle Tools GUI Utilities 6.0.5.35.0
    Data Base: Oracle 9i
    And we are developing the report by using above mentioned report builder and saved as a .rdf file. from the form. and calling that report from the form runtime by passing the parameters. i mentioned already report is opening fine and accurately. we want to that after opening the report that will be like a save as in pdf format of client_machine at specified location. there is no need to save the user manually and to avoid the user from these steps like to go report window file menu save as . can you pls suggest me how to do
    sample coding for report calling
    RUN_REPORT_OBJECT_PROC(FIND_REPORT_OBJECT('R_CRITICAL_xseries_multiple'),:Global.report_server,
         'PDF',CACHE,:Global.path||'R_CRITICAL_xseries_multiple.rdf','paramform=No',:Global.reportserver_path,rep);

  • Can not deploy a report using JDBC connection on CR2008 Server

    Hi Group,
    I have a report created with JDBC connection. When I tried to add it to CR2008 server, it gives an error - "An unexpected error has occurred ". Basically I want to add a report to a public folder via CMC. I am using adminstrator account.
    Then I thought I need to add JDBC driver into CR2008 server. so I put oracle jdbc jar into CR2008 server classpath and add JDBC connection info into CRConfig.xml. but I still got the same error.
    I also tried:
    - Change the report to use native Oracle driver rather than JDBC. The deployment succeeded (but this is not what I want)
    - Add a data source connection via Business View Manager, but no luck.
    I know how to use/change jdbc connection with programtic way, but I just want to know if I want to use built-in components in CR2008 server without any coding the reports can be deployed and managed.
    Thanks in advance.
    Dennis

    Hello Will,
    Crystal Reports supports connections to JDBC/JNDI out of the box, and have done so for a while, whether stand-alone or published to Enterprise.
    To specify where the server would search for the JDBC driver jar files, you'd change the classpath tag found in the CRConfig.xml file found on the machine where the Crystal Reports Page or Job Server is running. 
    For early Crystal Enterprise 10 and before, it used Java Native Interface (JNI) to start the Java process to retrieve the data from the JDBC connection.
    For later Crystal Enterprise 10 and later, it starts off a "Java Server" process, and communicates to the Crystal Reports process via CORBA TCP/IP connection.
    Commonissues that may arise:  (1) CRConfig.xml not configured properly, (2) unable to start or communicate to the "Java Server" because of permissions or firewall.
    Note that this is a separate connectivity map from using ADO or ADO.NET.
    Sincerely,
    Ted Ueda

Maybe you are looking for