Display Table contents using HTMLB...Urgent Help Plz...

Hello All,
Im working on EP SP14 and SQL Server 2000.
I have successfully established database connection.
I want to know <b>how can I display Table contents using TableViewModel in HTMLB</b>.
Please help.
Its urgent.
Awaiting Reply.
Thanks in advance,
Uday<b></b>

See /thread/80270 [original link is broken]
(please stop crossposting every question into two forums; thanks in advance)

Similar Messages

  • DB Connect after BI 7 Upgrade - can extract but not display table contents

    Hi,
    After an upgrade from 3.1 non-unicode to BI 7 unicode on Windows OS, SQL Server 2005 DB, the DB Connect connection to another SQL Server 2005 database is still established and passes all checks. We are also able to load data from the datasources previously established. However if we right-click the source system -> additional functions -> Select Database Tables (3.x), list the tables/views, double-click a view known to contain data, click 'Display Table Contents' and nothing happens. We can run a load from the datasource connected to the same view.
    I have seen one unanswered post with the same issue. If anyone else has come across this problem and has some suggestions, it would be appreciated.
    Note we have checked the normal issues on the SQL user having created the views and don't believe this is an authorisation issue. There is no authorization issue posted in SU53.
    Support pack level is 16 on Basis and 18 on BW.
    Thank you,
    Ken

    Hi Ken,
    The problem has happened in the past because fields in the table/view had lower case letters. This is not allowed. Please check the following documentation:
    ->http://help.sap.com/saphelp_bw320/helpdata/en/58/            
      54f9c1562d104c9465dabd816f3f24/frameset.htm                  
      ->Modeling ->Source System ->Transferring Data with DB Connect
         ->Requests to Database Tables and Database Views          
            ->Naming conventions for fields         
    If the above is not the cause please check the note  512739 again to make sure everything is configured correctly:
    Please make sure in particular that the section III (d) of the note entitled 'Authorizations and visible objects' has been correctly
    followed.      
    Regards,
    Des.

  • FM to display table contents

    Hi all,
            Is there any Fm that will display contents of transparent table. Right now i tried VIEW_MAINTENANCE_CALL but it is with tha maintemance menu I dont want that, i want to simply display table contents.
    Regards
    Nilesh

    Hi
    check the fun modules
    CKML_F_GET_TABLECONTENTS
    TRINT_DISPLAY_TABLE_CONTENTS
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Deleting DB table contents using internal table

    Hi Gurus,
    I have a requirement of deleting DB table contents. Requirement is as follows,
    User will select the DB table description in the seletion screen using drop down list.
    Whichever description he selects,the corresponding table contents should be deleted and we should not hardcode the table name in if or case conditions.
    Is this possible?
    Regards,
    G.Srinivasan

    Hi,
    You can get the Table name from the desciption from table DD02T.
    Use the Key word DELETE to delete the contents of a table from program.
    PARAMETERS : p_ddtext type ddtext.
    select single * from dd02t into table db_tab where DDLANGUAGE = 'EN' and ddtext = p_ddtext.
    DELETE DB_TAB-TABNAME
    FROM ITAB. " Take F1 help on this Key word
    IMPORTANT --> Do not manually delete the contents of a DB table in SAP.
    The individual records only deleted through BDC or any other Acceptable Methods.
    Rest is left to you. Be careful about this activity. Take enough Authourizations/ Permissions or consult your BASIS or other team members.
    Cheerz
    Ram

  • Reading Grid/Table contents using ECATT

    Need to retrive the SAP table/grid column or all columns contents using SECATT, please provide the solution.
    Thanks in ADVANCE.

    hi,
    eCATT Links
    From SAP Help
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    From SAP Service Marketplace
    https://websmp204.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003012112003E
    THANKS,
    sendil

  • How to transfer tabl content using ALE

    Hi All
    I need to to transfer the content of a HR table (T526) using an ALE scenario. However I have not found a way to do this. I stumpled over CONDA2 but not quite sure if this suits the bill. Anybody out there who can help.
    I am not an HR wiz so bear with me if this is dead obvious.
    Hope somebody can help
    Cheers

    Hello Bowie,
    Could you please help in how to use CONDA2 message type in ditributing HR Configuration data like data from following tables..
    T001P     Personnel Area/Subarea
    T500P     Personnel Areas
    T503     Employee Group/Subgroup
    T511     Wage Types
    T512T     Wage Type Texts
    T512Z     Permissibility of Wage Types per Infotype
    T528B     Positions
    T554S     Attendance and Absence Types
    T554T     Attendance and Absence Texts
    Thaks,
    Venkat

  • In struts Can't display dynamic content using "include"?

    Hi everyone:
    I am using struts1.1. I have a index.jsp and it have a hyperlink "<html:link forward="show">Show All forum</html:link>". In my struts-config.xml there is a element:"
    <global-forwards>
    <forward name="show" path="/jsp/allarticle.jsp"/>
    <forward name="oneforum" path="/article.jsp"/>
              <action path="/article" type="lyo.hotmail.bbs.lovearticle.Savelovearticle" input="/jsp/error.jsp">
              <forward name="success" path="/jsp/loveforum.jsp"/>
    </action>
    I want that the index.jsp will redirect to allarticle.jsp when user click the hyperlink "Show All forum".
    In the allarticle there is a hyperlink "<html:link forward="oneforum">one forum</html:link>"
    The Savelovearticle is an Action class and it disply all the data from database.I using "if(list!=null){
              session.setAttribute("listtable",list);
         }".I display all the content using "<logic:iterate id="love" name="listtable">
    " tag in allarticle.jsp.
    But the Tomcat report error "can't find listtable in any scope"?
    The problem is if I change the struts-config.xml to:
    ////////////////////////after change///////////////////////////////////////////
    <global-forwards>
    <forward name="show" path="/article"/>
    <forward name="oneforum" path="/article.jsp"/>
              <action path="/article" type="lyo.hotmail.bbs.lovearticle.Savelovearticle" input="/jsp/error.jsp">
              <forward name="success" path="/jsp/loveforum.jsp"/>
    </action>
    It will display all the content successfully.Why?
    Whether because that the Action is a servlet so it must retrieve a request directly.My first code don't send the request to the servlet other than send the request to a jsp page.The jsp page can't send the same request to the servlet so the error happened.right?
    How do I fix it?Thks :(

    You want to be using <html:link forward="YOUR_FORWARD"> only when you want to forward to static elements and not elements that require actions. So in index.jsp, since you just want to forward to a static jsp page (allarticle.jsp), you can use
    <html:link forward="show">Show All forum</html:link>But since you want your "one forum" link to populate a session attribute BEFORE loading /jsp/loveforum.jsp, you need
    <html:link action="article">one forum</html:link>The reason it's not working now is because you're accessing a session attribute that isn't populated becuase you link to the page statically and it never gets the value of "list" actually stored in the session.
    The reason it works when you change your forward element is because it calls the action that saves "list" into your session.

  • Urgent help plz plz plz plz..........

    i 4got the  security key guard  of  nokia3110..i cant use it now..plz help me 2 unlock.... i hope sum1 reply soon

    If you have forgotten the code and the default code (12345) doesn't work then your only option to get the security code reset is at a nokia care point.
    They will need to see some form of proof that you are the owner before they will do it.  They will charge a fee for this service and you may lose all of your data.
    Care points/service centres and repair info:
    UK • Europe • Asia-Pacific • USA •
    Canada • Middle East and Africa
    Elsewhere: Click here, select your country, go to the support section, then select repair.

  • LASERJET M1217 nfw MFP urgent help plz

    HAY GUYS, NEED URGENT HELP!!!!!!!!!
    My printer M1217 nfw MFP had a problem with the scanner and it was fixed bu updating the firmware and the scanner works fine and offcourse i printed the config. report  befor updating the firmware , the problem is that i lost the report and i cant config. the fax or the wirless connection . any help plz guys  

    kelsaeed wrote:
    HAY GUYS, NEED URGENT HELP!!!!!!!!!
    My printer M1217 nfw MFP had a problem with the scanner and it was fixed bu updating the firmware and the scanner works fine and offcourse i printed the config. report  befor updating the firmware , the problem is that i lost the report and i cant config. the fax or the wirless connection . any help plz guys  

  • Extracting/Setting PDF Table contents using javascript

    Hello,
    Can you experts please let me know the following?
    1. Is there a way to extract PDF table contents?
    2. Can I set the row value via java script?
    Bottom line is I need to implement editable table in PDF. What are the ways I can achieve this feat?
    Thanking you in advance!
    Best Regards

    Hi PDL,
    I am actually writing a piece (C++) of code that generates Acroform currently. It is still in the primitive stage, just provided support only for text fields, choice fields and buttons.
    As I mentioned above, I have a requirement to generate a editable table...
    Sure I can provide the PDF(acroform) that is generated by the code.
    But how can I send the file to you? Can you share your email-Id? Or can I paste the content of the output here ?
    %PDF-1.5
    %%âãÏÓ
    1 0 obj
    <<
    /Pages 2 0 R
    /AcroForm 6 0 R
    /Type /Catalog
    >>
    endobj
    6 0 obj
    <<
    /CO []
    /Fields [ 7 0 R 9 0 R 10 0 R 11 0 R ]
    /NeedAppearances true
    >>
    endobj
    2 0 obj
    <<
    /Type /Pages
    /Count 1
    /Resources
    <<
    /ProcSet 3 0 R
    >>
    /Rotate 0
    /Kids [4 0 R ]
    >>
    endobj
    7 0 obj
    <<
    /A 8 0 R
    /BS <</W 1 /S /S>>
    /DA (/Helv 12.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 14 0 R >>
    >>
    /F 4
    /FT /Btn
    /Ff 65536
    /H /P
    /MK
    <<
    /BC[0.87 0.83 0.55]
    /BG[1.00 0.94 0.55]
    /CA(PDF Button)
    >>
    /P 4 0 R
    /Rect [300.00 690.00 400.00 710.00]
    /Subtype /Widget
    /T (Button)
    /TU (PDF Button)
    /Type /Annot
    >>
    endobj
    8 0 obj
    <<
    /S /JavaScript
    /JS (if \(app.viewerVersion>=5\) {app.alert\("I-PDF 0.1 DEMO", 1\);})
    >>
    endobj
    9 0 obj
    <<
    /BS <</W 1 /S /S>>
    /DA (/Helv 12.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 12 0 R >>
    >>
    /F 4
    /FT /Tx
    /Ff 12582912
    /H /P
    /MK
    <<
    /BC[0.00 0.00 0.00]
    /BG[1.00 1.00 1.00]
    >>
    /MaxLen 45
    /P 4 0 R
    /Rect [200.00 750.00 400.00 770.00]
    /Subtype /Widget
    /T (Text Field1)
    /Type /Annot
    >>
    endobj
    10 0 obj
    <<
    /BS <</W 1 /S /S>>
    /DA (/Helv 12.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 13 0 R >>
    >>
    /F 4
    /FT /Tx
    /Ff 12591104
    /H /P
    /MK
    <<
    /BC[0.00 0.00 0.00]
    /BG[1.00 1.00 1.00]
    >>
    /MaxLen 15
    /P 4 0 R
    /Rect [200.00 720.00 400.00 740.00]
    /Subtype /Widget
    /T (Text Field2)
    /Type /Annot
    >>
    endobj
    11 0 obj
    <<
    /DA (/Helv 10.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 15 0 R >>
    >>
    /F 4
    /FT /Ch
    /Ff 67239936
    /MK <</BG[0.87 0.83 0.55]>>
    /Opt [[( )( )] [(AMX) (American Express)] [(CBL) (Carte Blanche)] [(DCL) (Diners club)] [(DSC) (Discover)] [(ENR) (EnRoute)] [(JCB) (JCB)] [(MSC) (Mastercard)] [(VIS) (Visa)]]
    /P 4 0 R
    /Rect [200.00 650.00 300.00 670.00]
    /Subtype /Widget
    /T (Choice)
    /Type /Annot
    /V (VIS)
    >>
    endobj
    4 0 obj
    <<
    /Parent 2 0 R
    /Annots [7 0 R 9 0 R 10 0 R 11 0 R ]
    /MediaBox [0 0 595.00 842.00]
    /Resources
    <<
    /ProcSet [/PDF /Text /ImageI /ImageC]
    >>
    /Contents 5 0 R
    /Type /Page
    >>
    endobj
    5 0 obj
    <</Length 26>>
    stream
    q
    BT
    36 806 Td
    ET
    Q
    0 0 m
    endstream
    endobj
    3 0 obj
    <<[/PDF /Text /ImageI /ImageC]>>
    endobj
    12 0 obj
    <<
    /BaseFont /Helvetica
    /Subtype /Type1
    /Encoding /WinAnsiEncoding
    /Type /Font
    >>
    endobj
    xref
    0 13
    0000000000 65535 f
    0000000016 00000 n
    0000000172 00000 n
    0000002016 00000 n
    0000001756 00000 n
    0000001942 00000 n
    0000000081 00000 n
    0000000272 00000 n
    0000000603 00000 n
    0000000709 00000 n
    0000001017 00000 n
    0000001326 00000 n
    0000002064 00000 n
    trailer
    <<
    /Root 1 0 R
    /Size 13
    >>
    startxref
    2162
    %%EOF

  • Table Control Text  fields problem , help plz

    Hello Anand , Rich , John & All
      I hav problem with Text 3 fields( type c)(either L or R aligned )  , it is not geting updated , otherwise everything else is perfectly fine(scrolling,sorting etc ....) .
    Fields giving problem are
    1. Status(20) type c
    2. Fdat  type date
    3. Remark(100) type c
    All numerical fields are working fine .
    <u><b> My yahoo messenger-id is [email protected]</b></u>
    <b>Any light on this will be awarded plz .</b>
    FLOW LOGIC
    PROCESS BEFORE OUTPUT.
    MODULE SET_STATUS.
    LOOP AT      ITAB
          WITH    CONTROL TCL1
          CURSOR  TCL1-CURRENT_LINE .
       MODULE SET_LINE_COUNT .
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE UPD_OK_COD.
    MODULE EXIT_COMAND AT EXIT-COMMAND.
    MODULE SCROLL_SORT.
    LOOP AT ITAB.
          MODULE UPDATE_ITAB.
    ENDLOOP.
    MODULE UPDATE_TABLE.
    REPORT ZSD_REP_ORDER_BANK_CHANGE NO STANDARD PAGE HEADING LINE-SIZE 255.
    TABLES: VBAK,VBAP,VBRK,ZSD_TABL_ORDBANK,MARA,KONV.
    CONTROLS: TCL1 TYPE TABLEVIEW USING SCREEN 0200.
    DATA: ITAB LIKE ZSD_TABL_ORDBANK OCCURS 0 WITH HEADER LINE,
          WA_ITAB LIKE ZSD_TABL_ORDBANK,
          OK_CODE LIKE SY-UCOMM,
          SAVE_OK_CODE LIKE SY-UCOMM,
          UPD_OK_CODE LIKE SY-UCOMM,
          ANSWER TYPE C,
          I LIKE SY-LOOPC ,
          J LIKE SY-LOOPC,
          V_LINES LIKE SY-LOOPC,
          LINE_COUNT LIKE SY-LOOPC,
          STS  TYPE N,
          EMGRP LIKE MARA-EXTWG,
          QTY LIKE ZSD_TABL_ORDBANK-QTY,
          UPRICE LIKE ZSD_TABL_ORDBANK-UPRICE,
          TOT LIKE ZSD_TABL_ORDBANK-TOT,
          INO LIKE VBAP-POSNR,
          COL TYPE CXTAB_COLUMN,
          COPIED_ONCE ,
          FLDNAME(100),HELP(100).
    FIELD-SYMBOLS:
         <FS_ITAB> LIKE LINE OF ITAB,
         <FS_TCL1> LIKE LINE OF TCL1-COLS.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
      SELECT-OPTIONS: S_CCODE FOR ZSD_TABL_ORDBANK-CCODE
                              NO INTERVALS NO-EXTENSION  OBLIGATORY,
                      S_SORG  FOR ZSD_TABL_ORDBANK-SORG
                              NO INTERVALS NO-EXTENSION  OBLIGATORY,
                      S_DCHAN FOR ZSD_TABL_ORDBANK-DISTCHAN,
                      S_DIV FOR ZSD_TABL_ORDBANK-DIV,
                      S_MATNO FOR ZSD_TABL_ORDBANK-MATNO,
                      S_CUSTNO FOR ZSD_TABL_ORDBANK-CUSTNO ,
                      S_QTNO FOR ZSD_TABL_ORDBANK-QTNO,
                      S_QTDAT FOR ZSD_TABL_ORDBANK-QTDAT,
                      S_QTVDAT FOR ZSD_TABL_ORDBANK-QTVALDAT,
                      S_SONO   FOR ZSD_TABL_ORDBANK-SONO.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN.
       SELECT * FROM  ZSD_TABL_ORDBANK
                   INTO  TABLE ITAB
                   WHERE CCODE IN S_CCODE
                     AND SORG IN  S_SORG
                     AND DISTCHAN IN  S_DCHAN
                     AND DIV IN S_DIV
                     AND MATNO IN  S_MATNO
                     AND CUSTNO IN  S_CUSTNO
                     AND QTNO IN  S_QTNO
                     AND QTDAT IN  S_QTDAT
                     AND QTVALDAT IN  S_QTVDAT
                     AND SONO IN  S_SONO .
          IF SY-SUBRC EQ 0.
             REFRESH ITAB.
             CLEAR COPIED_ONCE.
             CALL SCREEN 0200.
          ELSE.
             MESSAGE E012(ZQOTBANK) .
          ENDIF.
    *&      Module  SET_STATUS  OUTPUT
    *       text
    MODULE SET_STATUS OUTPUT.
      SET PF-STATUS '0200'.
      SET TITLEBAR '0200'.
        IF COPIED_ONCE IS INITIAL.
          SELECT * FROM  ZSD_TABL_ORDBANK
                   INTO  TABLE ITAB
                   WHERE CCODE IN S_CCODE
                     AND SORG IN  S_SORG
                     AND DISTCHAN IN  S_DCHAN
                     AND DIV IN S_DIV
                     AND MATNO IN  S_MATNO
                     AND CUSTNO IN  S_CUSTNO
                     AND QTNO IN  S_QTNO
                     AND QTDAT IN  S_QTDAT
                     AND QTVALDAT IN  S_QTVDAT
                     AND SONO IN  S_SONO .
          IF SY-SUBRC EQ 0.
            DESCRIBE TABLE ITAB LINES V_LINES.
            TCL1-LINES = V_LINES.
          ENDIF.
          COPIED_ONCE = 'X'.
          REFRESH CONTROL 'TCL1' FROM SCREEN '0200'.
       ENDIF.
          LOOP AT ITAB.
             QTY = ITAB-QTY.
             UPRICE  = ITAB-UPRICE.
             TOT = QTY * UPRICE .
             ITAB-TOT = TOT .
             CLEAR: QTY, UPRICE, TOT.
             QTY = ITAB-CGL_QTY.
             UPRICE  = ITAB-CGL_UPRICE.
             TOT = QTY * UPRICE .
             ITAB-CGL_TOT = TOT .
             CLEAR: QTY, UPRICE, TOT.
             QTY = ITAB-BHEL_QTY.
             UPRICE  = ITAB-BHEL_UPRICE.
             TOT = QTY * UPRICE .
             ITAB-BHEL_TOT = TOT .
             CLEAR: QTY, UPRICE, TOT.
             QTY = ITAB-ALSTOM_QTY.
             UPRICE  = ITAB-ALSTOM_UPRICE.
             TOT = QTY * UPRICE .
             ITAB-ALSTOM_TOT = TOT .
             CLEAR: QTY, UPRICE, TOT.
             QTY = ITAB-SIEMENS_QTY.
             UPRICE  = ITAB-SIEMENS_UPRICE.
             TOT = QTY * UPRICE .
             ITAB-SIEMENS_TOT = TOT .
             CLEAR: QTY, UPRICE, TOT.
             QTY = ITAB-TELK_QTY.
             UPRICE  = ITAB-TELK_UPRICE.
             TOT = QTY * UPRICE .
             ITAB-TELK_TOT = TOT .
             CLEAR: QTY, UPRICE, TOT.
             QTY = ITAB-OTH_QTY.
             UPRICE  = ITAB-OTH_UPRICE.
             TOT = QTY * UPRICE .
             ITAB-OTH_TOT = TOT .
             CLEAR: QTY, UPRICE, TOT.
             MODIFY ITAB.
          ENDLOOP.
    ENDMODULE.                 " SET_STATUS  OUTPUT
    *&      Module  SET_LINE_COUNT  INPUT
    *       text
    MODULE SET_LINE_COUNT OUTPUT.
      LINE_COUNT = SY-LOOPC.
    ENDMODULE.                 " SET_LINE_COUNT  INPUT
    *&      Module  UPD_OK_CODE  INPUT
    *       text
    MODULE UPD_OK_COD INPUT.
    IF OK_CODE = 'SAVE'.
        UPD_OK_CODE = OK_CODE.
    *    CLEAR OK_CODE.
    ENDIF.
    ENDMODULE.                 " UPD_OK_CODE  INPUT
    *&      Module  EXIT_COMAND  INPUT
    *       text
    MODULE EXIT_COMAND INPUT.
    SAVE_OK_CODE = OK_CODE.
    CLEAR OK_CODE.
    CASE SAVE_OK_CODE.
        WHEN 'BACK'.
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
              TITLEBAR       = 'Order Bank Entry'
              TEXT_QUESTION  = 'Do you want to Go BacK ?'
              TEXT_BUTTON_1  = 'Yes'
              TEXT_BUTTON_2  = 'No'
              DEFAULT_BUTTON = '2'
            IMPORTING
              ANSWER         = ANSWER.
          IF ANSWER = '1'.
            LEAVE TO SCREEN 0.
          ELSE.
          ENDIF.
        WHEN '%EX'.
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
              TITLEBAR       = 'Order Bank Entry'
              TEXT_QUESTION  = 'Do you want to Exit ?'
              TEXT_BUTTON_1  = 'Yes'
              TEXT_BUTTON_2  = 'No'
              DEFAULT_BUTTON = '2'
            IMPORTING
              ANSWER         = ANSWER.
          IF ANSWER = '1'.
            LEAVE TO SCREEN 0.
          ELSE.
          ENDIF.
      ENDCASE.
    ENDMODULE.                 " EXIT_COMAND  INPUT
    *&      Module  UPDATE_MOD  INPUT
    *       text
    MODULE UPDATE_ITAB INPUT.
        MODIFY TABLE ITAB FROM ITAB.
    ENDMODULE.                 " UPDATE_MOD  INPUT
    *&      Module SCROLL INPUT
    *       text
    MODULE SCROLL_SORT INPUT.
    SAVE_OK_CODE = OK_CODE.
    CLEAR OK_CODE.
    CASE SAVE_OK_CODE.
      WHEN 'P--'.
          TCL1-TOP_LINE = 1.
      WHEN 'P-'.
          TCL1-TOP_LINE = TCL1-TOP_LINE - LINE_COUNT.
          IF TCL1-TOP_LINE LE 0.
             TCL1-TOP_LINE = 1.
          ENDIF.
      WHEN 'P+'.
          I = TCL1-TOP_LINE + LINE_COUNT.
          J = TCL1-LINES - LINE_COUNT + 1.
          IF J LE 0.
             J = 1.
          ENDIF.
          IF I LE J.
             TCL1-TOP_LINE = I.
          ELSE.
             TCL1-TOP_LINE = J.
          ENDIF.
      WHEN 'P++'.
          TCL1-TOP_LINE = TCL1-LINES - LINE_COUNT + 1.
          IF TCL1-TOP_LINE LE 0.
              TCL1-TOP_LINE = 1.
          ENDIF.
      WHEN 'SORTUP'.
          READ TABLE TCL1-COLS ASSIGNING <FS_TCL1> WITH KEY SELECTED = 'X'.
          IF SY-SUBRC = 0.
              SPLIT <FS_TCL1>-SCREEN-NAME AT '-' INTO HELP FLDNAME.
              SORT ITAB ASCENDING BY (FLDNAME).
          ENDIF.
      WHEN 'SORTDN'.
          READ TABLE TCL1-COLS ASSIGNING <FS_TCL1> WITH KEY SELECTED = 'X'.
          IF SY-SUBRC = 0.
              SPLIT <FS_TCL1>-SCREEN-NAME AT '-' INTO HELP FLDNAME.
              SORT ITAB DESCENDING BY (FLDNAME).
          ENDIF.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND  INPUT
    *&      Module  TABL_UPD  INPUT
    *       text
      MODULE UPDATE_TABLE INPUT.
       CASE UPD_OK_CODE.
       WHEN 'SAVE'.
         UPDATE ZSD_TABL_ORDBANK FROM TABLE ITAB .
         IF SY-SUBRC EQ 0.
             MESSAGE I002(ZQOTBANK) .
             CLEAR  UPD_OK_CODE.
         ELSE.
             MESSAGE E003(ZQOTBANK) .
         ENDIF.
       ENDCASE.
      ENDMODULE.                 " TABL_UPD  INPUT
    Thnx
    moni<b></b><b></b>
    Message was edited by: md monirujjaman
    Message was edited by: md monirujjaman

    Hi Moni,
    The problem as I had replied in your earlier post is with the MODIFY statement.
    MODIFY TABLE ITAB FROM ITAB. This statement will do the modifications based on the table key. When you have character fields as editable, then some problems are to be anticipated. In such a scenario, you must update the internal table based on the <i>index</i>, rather than based on <i>key</i>.
    So consider using
    MODIFY ITAB FROM ITAB INDEX TCL-CURRENT_LINE.
    Where TCL is the name of the Table Control. Also observe the difference in syntax here, don't use the TABLE keyword for the MODIFY statement.
    Please try it out and let me know.
    Regards,
    Anand Mandalika.

  • Read RFC output table contents using com.sap.mw.jco.* API

    Hi,
    I have a requirement where I need to call an RFC in JSPDynpage component.
    In doInitialization method, I wrote following code: -
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    IPortalComponentContext myContext = request.getComponentContext();
    IPortalComponentProfile myProfile = myContext.getProfile();
    String sapSystem = myProfile.getProperty("SystemIdentifier");
    ISystemLandscapeWrapper landscapeWrapper = (ISystemLandscapeWrapper) UMFactory.getSystemLandscapeWrappers().get(0);
    ISystemLandscapeObject systemLandscapeObject = landscapeWrapper.getSystemByAlias(sapSystem);
    IJCOClientService clientService = (IJCOClientService) PortalRuntime.getRuntimeResources().getService(JCO_CLIENT);
    request.getNode().putValue(LOCALE_NODE_KEY,     Locale.ENGLISH);
    IJCOClientPoolEntry poolEntry = clientService.getJCOClientPoolEntry(sapSystem,request);
    JCO.Client client = poolEntry.getJCOClient();
    client.connect();
    IRepository repository = JCO.createRepository("repository", client);
    IFunctionTemplate functionTemplate = repository.getFunctionTemplate(Z_BAPI_EMP_GBU_GET);
    JCO.Function function = new JCO.Function(functionTemplate);
    JCO.ParameterList importList = function.getImportParameterList();
    importList.setValue("US", "OBJTYP");
    importList.setValue(request.getUser().getUniqueName(), "USRID");
    client.execute(function);
    Now, this RFC returns two tables.
    I want to know how do I read a table and iterate over its contents to read all fields.
    (Till now, I only used getString("GBU") method that just reads an export type of String parameter)
    Please help.
    Thanks & Regards,
    Amey

    Amey,
    If I understood the problem correctly. A snippet will be something like
                   JCO.Table itemList = function.getTableParameterList().getTable("QUALIFICATION");
                   Vector qualItems = new Vector();
                   QualItemBean qualItem;
                   for (int i = 0; i < itemList.getNumRows(); i++) {
                        itemList.setRow(i);
                        qualItem = new QualItemBean();
                        qualItem.setQual(itemList.getString("TBJID").trim());
                        qualItem.setQualText(itemList.getString("TTEXT").trim());
                        qualItem.setVBDate(itemList.getString("VBEGD").trim());
                        qualItem.setSBDate(itemList.getString("SBEGD").trim());
                        qualItem.setSEDate(itemList.getString("SENDD").trim());
                        qualItem.setVEDate(itemList.getString("VENDD").trim());
                        qualItem.setProfText(itemList.getString("PROFC_TEXT").trim());
                        qualItems.add(qualItem);
                   qualBean.setQual(qualItems);
    Ofcourse you need to change the variable names based on your scenario.
    Thanks
    Prashant

  • Grid view  border urgent help plz guys

    i am trying to have 5 rows and 6 colums in a grid view
    but the problem is i cannot set any border for the gird view.
    please tell me how to set a border for a GRID layout in javafx
    even in jfxtras i couldn't manage to set any border for a grid.
    there is a border property but i can't it' not working. please help me out on this issue.

    What I would do is to create a class that represents a day in the calendar (rectangle + day + task), and use a layout to arrange them (all the days) on a table shape.
    May this example help you to start (I'm using Tile layout instead of Grid layout):
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.paint.Color;
    import javafx.scene.CustomNode;
    import javafx.scene.Node;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.layout.Tile;
    import javafx.scene.layout.Stack;
    import javafx.scene.control.Label;
    import javafx.scene.layout.LayoutInfo;
    import javafx.geometry.HPos;
    import javafx.scene.layout.VBox;
    import javafx.scene.text.Font;
    import javafx.scene.paint.LinearGradient;
    import javafx.scene.paint.Stop;
    class Day extends CustomNode{
        public-init var number: Integer;
        public-init var task: String;
        public override function create(): Node{
            Stack{
                content:[
                    Rectangle {
                        width: 75, height: 50
                        fill: LinearGradient {
                            startX: 0.0
                            startY: 0.0
                            endX: 0.0
                            endY: 1.0
                            stops: [
                                Stop {
                                    color: Color.WHITESMOKE
                                    offset: 0.0
                                Stop {
                                    color: Color.SILVER
                                    offset: 1.0
                        stroke: Color.BLACK
                    VBox{
                        content:[
                            Label {
                                text: number.toString()
                                textFill: Color.rgb(100,0,0)
                                font: Font{ size: 16 }
                            Label{
                                text: task
                                font: Font{ size: 10 }
                        spacing: 8
                        nodeHPos: HPos.CENTER
                        layoutInfo: LayoutInfo{ hfill: false, vfill: false }
    Stage {
        title: "MyCalendar"
        scene: Scene {
            width: 600
            height: 500
            content: [
              Tile {
                columns: 7
                content: [
                    Day{number: 1, task: ""},
                    Day{number: 2, task: ""},
                    Day{number: 3, task: "Anne's Birthday"},
                    Day{number: 4, task: ""},
                    Day{number: 5, task: ""},
                    Day{number: 6, task: ""},
                    Day{number: 7, task: "Buy a new TV"},
                    Day{number: 8, task: ""},
                    Day{number: 9, task: ""},
                    Day{number: 10, task: ""},
                    Day{number: 11, task: ""},
                    Day{number: 12, task: "Go theater"},
                    Day{number: 13, task: ""},
                    Day{number: 14, task: ""},
                    Day{number: 15, task: ""},
                    Day{number: 16, task: ""},
                    Day{number: 17, task: "Pay bills"},
                    Day{number: 18, task: ""},
                    Day{number: 19, task: "Pay more bills :("},
                    Day{number: 20, task: ""},
                    Day{number: 21, task: ""},
                    Day{number: 22, task: ""},
                    Day{number: 23, task: ""},
                    Day{number: 24, task: ""},
                    Day{number: 25, task: ""},
                    Day{number: 26, task: ""},
                    Day{number: 27, task: "Suzy's OrgyParty"},
                    Day{number: 28, task: ""},
                    Day{number: 29, task: ""},
                    Day{number: 30, task: ""},
                    Day{number: 31, task: ""},
                layoutX: 40, layoutY: 20
                layoutInfo: LayoutInfo{ hfill: false, vfill: false }
    }

  • RoboHelp 8: can't display TOC content using Chrome

    I just converted from X5 to RH 8. I can open a single Web page in Chrome, but when I click on any of the buttons (Contents, Index, Search, Glossary), they do not work and displaying nothing. I've scoured the boards and found Peter's 103 snippet (http://www.grainge.org/pages/snippets/snippets.htm) and applied it to no effect. What am I missing??? Thanks.

    Okay, I have a fix (thanks to Tulika at Adobe) for those of you who are interested.
    I understand you are using Chrome 5 to view RH 8 output. Chrome 5 has a strict security policy for html pages viewed locally (from disk and not from some web server) because of which iframes in RH 8 output fail to load. If you publish the same output to any web server and view it in Chrome from there, it will work just fine for you.
    To enable local viewing of your output, you will have to disable this extra security check in chrome. You can do that by launching Chrome.exe with "--allow-file-access-from-files" option. Kindly ensure that you close all open Chrome instances and then launch Chrome with this option.
    You can find more details about this security issue in Chrome at this link : http://blog.chromium.org/2008/12/security-in-depth-local-web-pages.html
    Here's what I did to implement this fix and locally (and correctly) view my help in Chrome:
    Create a NEW Chrome shortcut on the desktop and rename it to RH Chrome (or some such indicator).
    Right-click the new Chrome icon and choose Properties.
    Add the "--allow-file-access-from-files" text to the end of the path displaying in Target, as shown in the below image. Make sure you leave a space between the original string and the tag you are adding to the end of it.
    Click OK to save.
    If you have any Chrome instances open, close them.
    To test, launch an instance of Chrome using the shortcut you created.
    Go to your file system and right-click any .html file in your RoboHelp WebHelp directory and choose Open with and then Google Chrome. Please note that I had to add Chrome as an "Open with" option. Because you have your customized instance of Chrome already opened, Help will auto-launch using that instance. I'm sure there's a better way to auto-launch this from RoboHelp itself, but this was a quick and dirty test just to make sure it was working.

  • Problem with display of content in Windows XP - help!

    Hi, I recently created a Windows XP partition on my Mac using Boot Camp and am having a problem. Everything that I open in Windows is way too big and in some cases, it means that I can't access the whole page or scroll up or down. Even when I open Gmail or other pages in Internet Explorer, they look huge. I have tried playing around with the display settings but it does not solve the problem. I am wondering if I could be missing a driver that I need or something? I did install drivers with my Mac OS X disc after installing Windows XP but I am not knowledgeable enough to be able to tell which drivers actually got installed. Any help greatly appreciated as there is a software program I would really like to run on this partition and I can't figure out how to resolve this problem. Thanks!

    There was just a post or two about a week or so ago about the same problem but I'll be danged if I can find them now.
    I believe one of them had an nVidia(?) card and they had an update on nVidia's web site for such a problem if I remember right. They just installed the new driver onto the Windows side and it fixed the problem. I don't know if it came from a Microsoft or an nVidia site that they found the reference to.

Maybe you are looking for

  • New 9 Cell S10 Battery-Advcie For First Time Charge and After?

    Did search on first time charge for laptop batteries. I just picked up a 9 cell laptop battery for my S10. What is the best way to keep the life of these battries long. Read discharge fully then charge for 12 hours. Read charge fully then discharge 3

  • Cannot extract the embedded font ArialNarrow,Bold

    I am having this problem with 2 PDF files on multiple machines. I have tried Adobe Reader 8, Acrobat Standard 9 and Reader 9. Does anyone have any suggestions? The PDF will not display past page 2. Arial Narrow Bold is installed on all the machines t

  • Problem in executing report in background in CS workflow

    Hi All, I am using ECC 6.0 version.           In my scenario , Once notification is closed , workflow should trigger. and along with this , one report should execute in background with input parameter as a Notification no. from workflow . Report  sho

  • No service what next?

    6hrs ago i activted the iphome O2 emailed my phone number and nothing the iphone has no service and ive rang o2 4 times and still no service help

  • JMS Deployment Descriptor Error

    Hi, I am using Netbeans 6.0 and the Sun Application Server 9.1. I have an Enterprise project which includes an application client, and a message bean. When I attempt to run the project the following error crops up, Referencing error: this bundle has