Query for tabstrip & Table control

Hi,
I have never used tabstrip & Table controls.I have worked extensively on ALV  & Smartforms.I am finding it difficult to understand the steps now,after a long gap of returning to tabstrips & table control.I have all the standard programs for the same,Please send me any z development you have worked on to help me understand it better.
Thanks

Hi sneha,
            This is kiran kumar.G.(working on SAP).I will develop some of dialog progs on tab strips and table controls.
i will send the se38 program logic and se51 flow logic.check it once.
Note : some of the steps before u start on creating TABSTRIPS.
1. FIRSR CREATE SE38 PROGRAM + SAVE +ACTIVATE.
2.GOTO SE51 T.CODE and enter the SE38 PROGRAM NAME AND SCREEN NUMBER.(EX: 0100).
3.THE FIRST SCREEN OF THE SE51 IS POPULATED AND SELECT NORMAL RADIO BUTTON AND GOAHEAD.
4.GOTO LAYOUT AND SELECT THE TABSTRIP BUTTON FROM THE TOOLBAR AND PLACE THEM ON THE SCREEN
5.IN THE BELOW EXAMPLE I WILL CREATE TWO TABSTRIPS..
6.SELECT THE SUBSCREEN BUTTON FROM THE TOOLBAR AND PLACE THEM IN THE TAB1 SCREEN.AND SAME PROCEDURE IS REPEATED FOR TAB2 ALSO
6.CLICK ON THE TAB1 BUTTON AND GIVE NAME AS "HEAD" AND SOME TEXT AND REFFILED AS "SUBS"
7.FOLLOW THE SAME PROCEDURE FOR SECOND TABSTRIP AND GIVE NAME AS "ITEM" AND REFFILED AS "SUBS".
AND SAVE AND ACTIVE..
8.GOTO SE51 TRANSACTION AND GIVE REPORT NAME AND SCREEN NUMBER AS 0110. AND SELECT SUBSCREN RADIO BUTTON AND SELECT LAYOUT AND PLACE SOME FIELDS THERE AND AND SAME PROCUDRE IS REPEAT FOR 0120 SUB SCREEN ALSO
Code:
*& Module pool       YMODULEPOOL_TABSTRIPS                             *
*& DEVELOPER    : KIRAN KUMAR.G                                        *
*& PURPOSE      : DEMO ON TABSTRIP CONTROLS                            *
*& CREATION DT  : 18/12/2007                                           *
*& T.CODE       : YMODTABSTRIP                                         *
*& REQUEST      : ERPK900035                                           *
PROGRAM  ymodulepool_tabstrips.
Tables
TABLES: vbak,
        vbap.
Controls
CONTROLS: my_tabstrip TYPE TABSTRIP..
Global Variables
DATA: gv_number LIKE sy-dynnr.
*&      Module  active_tab  OUTPUT
      text
MODULE active_tab OUTPUT.
*Default Selection of the TABSTRIP
  IF my_tabstrip-activetab IS INITIAL.
    my_tabstrip-activetab = 'HEAD'.
    gv_number = '110'.
  ENDIF.
ENDMODULE.                 " active_tab  OUTPUT
*&      Module  USER_COMMAND_0100  INPUT
      text
MODULE user_command_0100 INPUT.
  CASE sy-ucomm.
*Header Information
    WHEN 'HEAD'.
      SELECT SINGLE erdat
                    vkorg
                    vtweg
               FROM vbak
               INTO (vbak-erdat,vbak-vkorg,
                     vbak-vtweg)
              WHERE  vbeln = vbak-vbeln.
      my_tabstrip-activetab = 'HEAD'.
      gv_number = '110'.
*Item Information
    WHEN 'ITEM'.
      SELECT SINGLE matnr
                    matkl
                    ntgew
              FROM vbap
              INTO (vbap-matnr,vbap-matkl,vbap-ntgew)
             WHERE vbeln = vbak-vbeln.
      my_tabstrip-activetab = 'ITEM'.
      gv_number              = '120'.
*EXIT from the Program
    WHEN 'EXIT' OR 'CANCEL'.
      CALL TRANSACTION 'SESSION_MANAGER'.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_0100  INPUT
*&      Module  STATUS_0100  OUTPUT
      text
module STATUS_0100 output.
  SET PF-STATUS 'YTABSTRIP'.
SET TITLEBAR 'xxx'.
end module.
SE51 (SCREEN 100 :CODE)
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
module active_tab.
call subscreen subs including sy-cprog gv_number.
*call subscreen sub1 including sy-cprog gv_number.
PROCESS AFTER INPUT.
call subscreen subs.
*call subscreen subs.
MODULE USER_COMMAND_0100
SCREEN 110:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0110.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0110.
SCREEN 120:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0120.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0120.
Award points if helpful.
kiran kumar.G
            HAVE A NICE DAY....

Similar Messages

  • How to implement line selectability for a table control using table Wizard?

    Hello SDN Community,
    I have created a table control using the Table Wizard.  I found my exact question in this forum, but unfortunately it had not been andsered.  While I cannot paste a screen-print into this plane-text area, here are the steps I followed...
    1) SE51
    2) Create new screen 0100
    3) Click Layout button
    4) Clidk Table Control (with Wizard) and draw box on canvas.
    5) Step is "Start" - click Continue
    6) Step is "Name of Table Control" - provided name
    7) Step is "Table Name" - provided name of dictionary table (AUFK)
    8) Step is "Definition of Columns" - selected order numver and order text
    9) Step is "Table Control Attributes" - Line Selectability is in display mode - cannot set it.
    I would like to have a selectability column for my table.  Would appreciate any insight into how to do this.
    Thank you,
    Dean Atteberry.

    This is a puzzling...
    For the table control wizard, in the Table Control Attributes step, I was able to get line selectability to open up by declaring a char01 data element at the beginning of my type.
    The puzzling is in regards to the "Selection col. fld" entry field.
    If I leave it blank and try to go to the next step, I get message "Enter the name of the selection column if you are using a program table"
    So it looked like it wanted to know the name of my selection column.  So I type in "CHAR1".  and got the message "The field "CHAR1" for the selection column is already contained in the table."
    Hmmmmm.... don't understand............
    Dean Atteberry.

  • Write the syntax for declaring table control in dialog programming?

    1) Write the syntax for declaring table control in dialog programming?
    2) Write the syntax to call a selection screen in a modal dialog box?

    hi,
    check this code for table control.
    DIALOG PROGRAMMING
    TABLE CONTROL
    IN SE51
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITVBAK WITH CONTROL TABCTRL. ##  TABLE CONTROL NAME
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    LOOP AT ITVBAK.
    ENDLOOP.
    IN PAI FLOW LOGIC
    PROGRAM YMODULE_PR4 .
    TABLES : KNA1, VBAK.
    DATA : BEGIN OF ITVBAK OCCURS 0,
           VBELN LIKE VBAK-VBELN,
           ERDAT LIKE VBAK-ERDAT,
           ERNAM LIKE VBAK-ERNAM,
           NETWR LIKE VBAK-NETWR,
           END OF ITVBAK.
    CONTROLS : TABCTRL TYPE TABLEVIEW USING SCREEN '0100'.
    TO ACTIVATE SCROLL BAR
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN SPACE.
          SELECT VBELN ERDAT ERNAM NETWR
            FROM VBAK
            INTO TABLE ITVBAK
           WHERE KUNNR = KNA1-KUNNR.
          TABCTRL-LINES = SY-DBCNT.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT

  • Module pool ---Problem in finding the line index for the table control

    Hi Friends,
    I am working in Module pool programming.
    My requirement is when i select any record on the lead selection I need to find out the index of the line on which  row i have selected.
    Could any one please suggest me the proper solution how to get the line index for the table control in module pool programming.
    Thanks
    Satish Raju

    Hi Raju,
    Follow the steps
    <li>U should take one variable in your internal table or in structure which is used for table control fields.
          DATA :BEGIN OF itab OCCURS 0 ,
                mark TYPE c ,
                matnr LIKE mara-matnr ,
                matkl LIKE mara-matkl,
                maktx LIKE makt-maktx,
            END OF itab .
       controls: tabc types tableview using screen 100.
    <li>This mark variable should be given in Table control properties. follow the path
    double click on the table control-->attributes .->select w/SelColumn and in that give itab-mark.
    <li>Flow logic of the screen
       process before output.
         MODULE status_0100.
         LOOP AT itab with control tabc
         endloop.
       process after input.
         module cancel at exit-command.
         LOOP AT itab.
           MODULE read_table_control.
         ENDLOOP.
         MODULE user_command_0100.
    <li>read_table_control module code
         MODULE read_table_control INPUT.
         MODIFY itab INDEX tabc-current_line."this will update the itab table
                                             "mark field with 'X ' whatever we
                                             "have selected on table control
         ENDMODULE.
    <li>If you want to Delete some of the records from Table control follow this code u2026Create one pushbutton and give Fucnction code to that and write below code
       CASE okcode.
         WHEN 'DELETE'.
           LOOP AT itab WHERE mark = 'X'.
             DELETE itab.
           ENDLOOP.
       ENDCASE.
    I hope that it helps you.
    Thanks
    Venkat.O

  • What is the maximum number of row for a table control in LabWindows/CVI ?

    I use LabWindows CVI 8.5.1 (MMI first developped in version 6.0).
    In one of our many MMI, a table control contains a list of aircraft parameters.
    We can add as many parameters (row) as we want but over 40 000 we observe a crash of the LabWindows CVI runtime.
    Our client want to inscrease the number of parameters (row) up to 200 000 !!!
    So my questions are:
    What is the real maximum number of row for the table control ?
    Is this maximum number of row different on LabWindows 2010 version ?
    Or is there an other solution ?
    Thanks

    Greetings,
    Can you clarify what you mean by "crash"? Is there an error message thrown? Is it possible that you've consumed all of the available memory?
    Please let me know.
    Thanks, James Duvall
    Product Support Engineer
    National Instruments

  • Question(s​) about the Active Cell:Posit​ion property node for a table control

    Hello,
       What determines the Active Cell Position property node for a table control? I have this in my code and I am displaying its value to a front panel indicator. The value displayed is always set to 0,0. The help for the property node say that it is "read -only" so what sets the value of Active Cell Position  for a Table Control?
    Regards,
    Kaspar
    Solved!
    Go to Solution.

    You set the active cell with a property node.  Once you select an active cell, you can do specific things to that cell and that cell alone, things like set the background color.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Reg : class for creating table control

    hi everyone,
                 is there any class for creating table control?my requirement is
                  created 2 custom containers,one for alv display and other for table control display.
    For alv i used cl_gui_alv->set_table_first_display,likewise any class for creaitng table control?????????
    pleas find me a solution......
                      thanks in advance......

    Hi,
    You can use the class CL_TABLECONTROL for creating table control and the method SET_VALUES shall be used to fill values for tha tabcntrl.
    Else, you can use the Table Control Wizard to create the tabcntrl easily.
    Regards,
    Renjith Michael.

  • Tabstrip,table control

    Can we design a table control inside a tabstrip.I have been learning the various options,but am not able to find the exact sequence of events for writing the code.
    Please send me any zcode / pdf which could solve my doubt.

    hi shena,
                 I will send a sample code for creating a table control in tabstrip..check it once. i will send SE38, SE51 CODE.
    SE38 CODE:
    *& Module pool       YMODULEPOOL_TABCTRLTABSTRIP                       *
    *& DEVELOPER    : KIRAN KUMAR.G                                        *
    *& PURPOSE      : PLACING TABLE CONTROL IN TABSTRIPS                   *
    *& CREATION DT  : 18/12/2007                                           *
    *& T.CODE       : YMODTABCTRLTABS                                      *
    *& REQUEST      : ERPK900035                                           *
    PROGRAM  YMODULEPOOL_TABCTRLTABSTRIP.
    Tables
    tables : 
             yvbak,  "Sales Document: Header Data
             yvbap.  "Sales Document: Item Data
    Controls
    controls: my_tab    type tabstrip,  "For Tabstrips
              my_table  type tableview using screen 110.
    Internal Table
    *Item Data.
    data: begin of gt_item occurs 0,
            vbeln like vbap-vbeln,
            posnr like vbap-posnr,
            matnr like vbap-matnr,
            matkl like vbap-matkl,
            arktx like vbap-arktx,
            cflag, "Deletion Flag
          end of gt_item.
    *Header Data
    data: begin of gt_head occurs 0,
            vbeln like vbak-vbeln,
            erdat like vbak-erdat,
            auart like vbak-auart,
            vkorg like vbak-vkorg,
            vtweg like vbak-vtweg,
            cflag,
          end of gt_head.
    Global Variables
    *Table Control(MY_TABLE)
    data: gv_number  like sy-dynnr, "Screen Number
          gv_mode    type c value 'D',  "C:Change D:Display
          gv_temp    type i, "Temporary Variable
          gv_lines   type i. "NO.OF Records in the Table
    *&      Module  STATUS_0100  OUTPUT
          text
    module STATUS_0100 output.
      SET PF-STATUS 'ZTAB'.
    endmodule.                 " STATUS_0100  OUTPUT
    *&      Module  active_tab  OUTPUT
          text
    module active_tab output.
    *Default Active Tab Selection.
    if my_tab-activetab is initial.
    my_tab-activetab = 'INFO'.
    gv_number        = '0110'.
    endif.
    endmodule.                 " active_tab  OUTPUT
    *&      Module  copy_data1  OUTPUT
          text
    module copy_data1 output.
    *Read the data from the Internal Table and place them in Table control
    read table gt_item index my_table-current_line.
    if sy-subrc eq 0.
    gt_item-vbeln = gt_item-vbeln.
    gt_item-posnr = gt_item-posnr.
    gt_item-matnr = gt_item-matnr.
    gt_item-matkl = gt_item-matkl.
    gt_item-arktx = gt_item-arktx.
    endif.
    endmodule.                 " copy_data1  OUTPUT
    *&      Module  copy_dat  OUTPUT
          text
    module copy_dat output.
    refresh : gt_item.
    select vbeln
           posnr
           matnr
           matkl
           arktx
      from yvbap
      into table gt_item
    where vbeln = vbak-vbeln.
    if sy-subrc eq 0.
    describe table gt_item lines gv_lines.
    my_table-lines = gv_lines + 20.
    endif.
    endmodule.                 " copy_dat  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    module USER_COMMAND_0100 input.
    case sy-ucomm.
    when 'INFO'.
    my_tab-activetab = 'INFO'.
    gv_number = '0110'.
    when 'EXIT' or 'CANCEL'.
    call transaction 'SESSION_MANAGER'.
    endcase.
    endmodule.                 " USER_COMMAND_0100  INPUT
    *&      Module  USER_COMMAND_0110  INPUT
          text
    module USER_COMMAND_0110 input.
    case sy-ucomm.
    *Insert New Record
    when 'INSE'.
    *NO.OF Recors in the Internal Table
    describe table gt_item lines gv_lines.
    read table gt_item index my_table-current_line.
    gv_temp = gv_temp + 1.
    if gv_temp gt gv_lines.
    *Insert Record into Internal Table
    insert table gt_item.
    *Insert Record into Database Table
    insert into yvbap values gt_item.
    endif.
    *Save the Data
    when 'SAVE'.
    *Modify Data in the Internal Table
    modify gt_item index my_table-current_line.
    if sy-subrc eq 0.
    *Modify Data in the Database Table
    modify yvbap from table gt_item.
    endif.
    *Delete the Record
    when 'DELE'.
    if gt_item-cflag = 'X'.
    *Delete the Record from the Database Table
    delete from yvbap where vbeln = gt_item-vbeln
                        and posnr = gt_item-posnr
                        and matnr = gt_item-matnr
                        and matkl = gt_item-matkl
                        and arktx = gt_item-arktx.
    *Delete the Record from the Internal Table
    delete gt_item index my_table-current_line.
    endif.
    endcase.
    endmodule.                 " USER_COMMAND_0110  INPUT
    *&      Module  clear_data  OUTPUT
          text
    module clear_data output.
    *Clear the data when ever u enter into Table Control
    clear gv_temp.
    endmodule.                 " clear_data  OUTPUT
    *&      Module  clear_data1  OUTPUT
          text
    module clear_data1 output.
    clear gv_temp1.
    endmodule.                 " clear_data1  OUTPUT
    SE51 CODE(SCREEN 100)
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    *Initial TabStrip Selection
    MODULE active_tab.
    *Placing Table Control data in Internal Table
    module copy_dat.
    *Display Mode
    *calling subscreen
    call subscreen subs including sy-cprog gv_number.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    call subscreen subs.
    SE51(SCREEN 110)
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0110.
    loop at gt_item with control my_table cursor my_table-current_line.
    module copy_data1.
    endloop.
    *CLEAR the Temporary variable value
    module clear_data.
    PROCESS AFTER INPUT.
    *Populate data into internal Table
    loop at gt_item.
    MODULE USER_COMMAND_0110.
    endloop.
    Award points if helpful.
    kiran kumar.G
                  Have a Nice Day....

  • How to use Generic Object Services(GOS) for each table control record.

    Dear Expert,
                       I am using generic object services for document attachment but i am facing a problem while attaching document to a table control row. my requirement is to attach separate document for each and every row of table control but  i am unable to attach document row wise of the table control.for each row GOS should display corresponding attached document not all the attached document.
    Thanks in Advanced
    Bhuwan Tiwari
    Edited by: BHUWAN TIWARI on Feb 8, 2011 4:16 PM
    Edited by: BHUWAN TIWARI on Feb 8, 2011 4:16 PM

    You haven't explained what object and object key you're using, nor have you provided any indication of how you implemented the GOS attachment functionality.  You need to provide more information to resolve an issue like this.

  • Custom fields for FV50 table control

    Hello,
    The customer has a requirement to add 3 text fields to the table control in Transaction FV50. These fields are currently not available in the table control at all (I checked the Table settings Administrator). Further, no Screen/Transaction Variant has been implemented either to prevent these fields from being displayed. Which is why I'd like to find a way to add these custom fields to this table control. These fields are the text descrptions for the numeric fields Cost Center, Fund and Business Area.
    I've read many posts on this forum regarding potential solutions including the link below which details the SAP std solution. Only problem is this approach adds these fields to the data dictionary tables underlying the screen. The customer says about 1 million records are being generated a month so they would rather not have all that extra data at the line item level.
    Custom column for FB60
    If anybody has done this sort of thing via a user exit I'd much appreciate your input.
    Thanks,
    Tarun

    Hi Rob,
    Yes, I checked IMG configuration and found that Txn OXK3 allows us to extend the underlying tables and customize the generic fields in the table control. However, the client  has nearly 1 million postings to table BSEG each month and I'm guessing this approach will entail adding the custom fields to table BSEG, which won't work for them. I haven't actually tried this approach because the SAP documentation has some dire warnings about proceeding. But if you have any insight as to whether this can be achieved without extending BSEG (possibly just extend VBSEGS??) that would be very valuable.
    Thanks,
    Tarun

  • How to query for two tables

    Hi,
    I have this problem, How can query a two table?
    Table A ->  Table B
    id               table-a_id
    name          table_b_name
    the relationship is one-to-many
    How can I get the result?
    Hope my question make sense
    cheers.
    thanks a lot.

    I bet you have more luck looking for an answer in a SQL forum.

  • Tuning SQL Query for base tables

    Hi,
    Can any please help me to tune the below query...... there is full table scan for po_action_history table
    SELECT DISTINCT
         DECODE(hr.full_name,'Default Buyer, Purchasing','PCH',
    'Default Buyer, Travel','TRV',
    'Purchase Order, Rapid','RPO',
    'Data Interchange, Electronic','EDI',fuser1.user_name) BUYER_ID,
    poa.attribute1 BUYER_GROUP,
         poa.attribute2 BUYER_SUBGROUP
    FROM      po.po_action_history ac1,
         po.po_headers_all ph,
         po.po_agents poa,
         hr.per_all_people_f hr,
         applsys.fnd_user fuser1
    WHERE ph.po_header_id = ac1.object_id
    AND      ac1.object_type_code = 'PO'
    AND      ac1.action_code = 'APPROVE'
    AND      sequence_num =(SELECT MIN(ac2.sequence_num)
                   FROM po.po_action_history ac2,
                        applsys.fnd_user fuser2
    WHERE ph.po_header_id = ac2.object_id
    AND      ac2.object_type_code = 'PO'
    AND      ac2.action_code = 'APPROVE'
    AND      ac2.last_updated_by = fuser2.user_id)
    --AND  ac1.last_updated_by = fuser1.user_id
    AND      ph.agent_id = poa.agent_id
    AND      ph.agent_id = hr.person_id
    AND      hr.person_id = fuser1.employee_id
    AND      hr.effective_end_date > sysdate
    AND trunc(ac1.last_update_date) between '01-JAN-08' and '07-JAN-08'
    ORDER BY poa.attribute1
    Explain Plan
    PLAN_TABLE_OUTPUT
    Plan hash value: 3325319312
    Id Operation Name Rows
    Bytes Cost (%CPU) Time
    PLAN_TABLE_OUTPUT
    | 0 | SELECT STATEMENT | | 27 |
    2754 | 38963 (3) | 00:07:48 |
    | 1 | SORT UNIQUE | | 27 |
    2754 | 38962 (3) | 00:07:48 |
    |* 2 | FILTER | | |
    | | |
    |* 3 | HASH JOIN | | 37 |
    3774 | 36308 (3) | 00:07:16 |
    PLAN_TABLE_OUTPUT
    | 4 | TABLE ACCESS BY INDEX ROWID | FND_USER | 1 |
    13 | 2 (0) | 00:00:01 |
    | 5 | NESTED LOOPS | | 37 |
    3293 | 36303 (3) | 00:07:16 |
    | 6 | NESTED LOOPS | | 88 |
    6688 | 36180 (3) | 00:07:15 |
    | 7 | NESTED LOOPS | | 88 |
    PLAN_TABLE_OUTPUT
    3960 | 35916 (3) | 00:07:11 |
    |* 8 | TABLE ACCESS FULL | PO_ACTION_HISTORY | 2110 |
    71740 | 32478 (3) | 00:06:30 |
    | 9 | TABLE ACCESS BY INDEX ROWID | PO_HEADERS_ALL | 1 |
    11 | 2 (0) | 00:00:01 |
    |* 10 | INDEX UNIQUE SCAN | PO_HEADERS_U1 | 1 |
    | 1 (0) | 00:00:01 |
    PLAN_TABLE_OUTPUT
    | 11 | SORT AGGREGATE | | 1 |
    36 | | |
    | 12 | NESTED LOOPS | | 1 |
    36 | 6 (0) | 00:00:01 |
    |* 13 | TABLE ACCESS BY INDEX ROWID| PO_ACTION_HISTORY | 1 |
    31 | 6 (0) | 00:00:01 |
    |* 14 | INDEX RANGE SCAN | PO_ACTION_HISTORY_N1 | 5 |
    | 3 (0) | 00:00:01 |
    PLAN_TABLE_OUTPUT
    |* 15 | INDEX UNIQUE SCAN | FND_USER_U1 | 1 |
    5 | 0 (0) | 00:00:01 |
    | 16 | TABLE ACCESS BY INDEX ROWID | PER_ALL_PEOPLE_F | 1 |
    31 | 3 (0) | 00:00:01 |
    |* 17 | INDEX RANGE SCAN | PER_PEOPLE_F_PK | 1 |
    | 2 (0) | 00:00:01 |
    |* 18 | INDEX RANGE SCAN | FND_USER_N1 | 1 |
    PLAN_TABLE_OUTPUT
    | 1 (0) | 00:00:01 |
    | 19 | TABLE ACCESS FULL | PO_AGENTS | 183 |
    2379 | 4 (0) | 00:00:01 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
    2 - filter(TO_DATE('01-JAN-08')<=TO_DATE('07-JAN-08'))
    3 - access("PH"."AGENT_ID"="POA"."AGENT_ID")
    8 - filter("AC1"."ACTION_CODE"='APPROVE' AND "AC1"."OBJECT_TYPE_CODE"='PO'AND
    TRUNC(INTERNAL_FUNCTION("AC1"."LAST_UPDATE_DATE"))>='01-JAN-08' AND
    TRUNC(INTERNAL_FUNCTION("AC1"."LAST_UPDATE_DATE"))<='07-JAN-08')
    10 - access("PH"."PO_HEADER_ID"="AC1"."OBJECT_ID")
    PLAN_TABLE_OUTPUT
    filter("SEQUENCE_NUM"= (SELECT MIN("AC2"."SEQUENCE_NUM") FROM "APPLSYS"."FND_USER"
    "FUSER2","PO"."PO_ACTION_HISTORY" "AC2" WHERE "AC2"."OBJECT_ID"=:B1 AND "AC2"."ACTION_CODE"='APPROVE'
    AND "AC2"."OBJECT_TYPE_CODE"='PO' AND "AC2"."LAST_UPDATED_BY"="FUSER2"."USER_ID"))
    13 - filter("AC2"."ACTION_CODE"='APPROVE' AND "AC2"."OBJECT_TYPE_CODE"='PO')
    14 - access("AC2"."OBJECT_ID"=:B1)
    PLAN_TABLE_OUTPUT
    15 - access("AC2"."LAST_UPDATED_BY"="FUSER2"."USER_ID")
    17 - access("PH"."AGENT_ID"="PERSON_ID" AND "EFFECTIVE_END_DATE">SYSDATE@!)
    filter("EFFECTIVE_END_DATE">SYSDATE@!)
    18 - access("PERSON_ID"="FUSER1"."EMPLOYEE_ID")
    Thanks

    Hi,
    any help for the above issue.

  • Join query for three tables

    Hi i have got this query that is a join of two tables but i need join for three tables i need the extended query
    select aauthlname aauthlnam aauthfname aauthfnam aisbn btitle
      from ( bsauthors as a inner join bsbook as b on aisbn = bisbn )
      into corresponding fields of table books
      where aauthlname like authorlname or aauthfname like authorfname
      order by aauthlname aauthfname a~isbn.

    Hi pavan
    Plz try the following querry for joins on three tables :
    " Customize it to ur requirements and tablenames
    Parameters : b type mara-matnr.
    select xmatnr xmtart xmatkl ywerks ylgort zmaktx
    into corresponding fields of table itab
         from (  ( mara as x inner join mard as y on xmatnr = ymatnr )
    inner join makt as z on xmatnr = zmatnr ) where x~matnr = a and
    y~werks
    = b .
    Plz see that there is atleast one field common between the three tables u want to use.
    Regards
    Pankaj

  • Need a query for export table data .....

    Hi,
    I need a query for exporting the data in a table to a file.
    Can anyone help me ?
    Thanking You
    Jeneesh

    SQL> spool dept.txt
    SQL> select * from dept;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL> spool off
    SQL> ed dept.txt

  • How do i display input values (POV) for a table control field

    Hi guyz !
    How do i display input values (POV) for a field in table control,
    i mean when user presses F4 on a table control field.
    Please help.
    Thanks
    jahan

    PROCESS ON VALUE-REQUEST( F4 ) statement  
    Code to demonstrate how to perform a manual value help(F4) on a particular field using the PROCESS ON VALUE-REQUEST statement and how to return values back to a table control on the screen. For standard screen fields simply move the value to the appropriate screen field name.
    * Screen flow logic........
    PROCESS BEFORE OUTPUT.
    *MODULE PBO_MODULE.
    PROCESS AFTER INPUT.
    *MODULE PAI_MODULE.
    PROCESS ON VALUE-REQUEST. "F4
      FIELD EKPO-EBELP MODULE help_ekpo.
    MODULE help_ekpo INPUT.
    **Transport values to table dynpro/screen table control
      DATA: l_stepl LIKE  sy-stepl,
            l_indx  LIKE  sy-stepl.
      DATA: dynpfields        LIKE dynpread OCCURS 5 WITH HEADER LINE.
    * Adjust for scroling within table control
      CALL FUNCTION 'DYNP_GET_STEPL'
        IMPORTING
          povstepl        = l_stepl
        EXCEPTIONS
          stepl_not_found = 0
          OTHERS          = 0.
      l_indx = tc_ekpotable-top_line + l_stepl - 1.
              "tc_ekpotable should already have been declared
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELN'.
      dynpfields-fieldvalue = '00010'   "wa_ekpo-ebeln.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELP'.
      dynpfields-fieldvalue = '00020'   "wa_ekpo-ebelp.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = 'SAPLZZ_EKKO'    "Program name
          dynumb     = '0100'           "Screen number
        TABLES
          dynpfields = dynpfields
        EXCEPTIONS
          OTHERS     = 0.
    ENDMODULE.                 " help_ekpo  INPUT
    reward points  if it is usefull ..
    Girish

Maybe you are looking for

  • I upgraded my first gen iPad to iOS 5.1 and wifi no longer works.

    This is the weirdest problem.  I can see the networks available.  I appear to connect to them, and can see signal strength bars.  When I try to use that connection, nothing works.  I can't access URLs through safari, I can't get to YouTube or iTunes,

  • How to get more than 1000 rec from Oracle?

    Hi i got this issue from 1 of my fnd. can any one tell me how to over come this issue? I need help in solving the issue This is the oracle error coming when we try to export the records to the excel sheet. Macromedia][Oracle JDBC Driver][Oracle]ORA-0

  • Issue with HTTPS in sender soap channel: HTTP 502 Proxy error

    Hi We have a situation where we are providing the target url in SOAP receiver channel dynamically. This is a synchronous scenario. Whenever we use the url starting with "HTTP" it works but on using "HTTPS" we are getting the following error "HTTP 502

  • QM -LSMW

    Hi all         I have made a template with  the headings for the inspection plan- QP01, which has the headings like MATNR C(018) Material Number WERKS C(004) Plant VERWE C(003) Usage STATU C(003) Status etc.in excel format, I cannot carry on further

  • Script to find name of swatch pattern of selected item

    I'm confused on the code to find the name of swatch pattern of selected item. As an example, the following code works to find the name of a selected item. var newItem; var docSelected = app.activeDocument.selection; if ( docSelected.length > 0 ) { fo