Need to use ALV instead of write:/ statement in this perform

How can I use ALV within this perform instead of using Write:/ in it.
Scroll the program. At the bottom there is use of write:/ statement.
How to use ALV in this perform?
FORM display_logfile .
  TYPES: BEGIN OF lt_openbal,
            bukrs TYPE bukrs,
            hkont TYPE hkont,
            augdt TYPE augdt,
            augbl TYPE augbl,
            zuonr TYPE dzuonr,
            gjahr TYPE gjahr,
            belnr TYPE belnr_d,
            buzei TYPE buzei,
            shkzg TYPE shkzg,
            dmbtr TYPE dmbtr,
         END OF lt_openbal,
         BEGIN OF lt_log2,
            hkont TYPE hkont,
            opbal TYPE dmbtr,
            exp   TYPE dmbtr,
            cap   TYPE dmbtr,
            err   TYPE dmbtr,
         END OF lt_log2,
         BEGIN OF lt_zsct_record,
            kongr TYPE ckml_kongr,
            hkont TYPE hkont,
            zcptp TYPE zdecptp,
            zerrc TYPE zdeerrc,
         END OF lt_zsct_record.
  DATA: lw_zscs_record  TYPE t_zscs_record,
        lw_zsct_record       TYPE lt_zsct_record,
        li_zsct_record         TYPE STANDARD TABLE OF lt_zsct_record,
        li_zsct_record1       TYPE STANDARD TABLE OF lt_zsct_record,
        lw_log1                  TYPE t_zscs_record,
        li_log1                   TYPE STANDARD TABLE OF t_zscs_record,
        li_temp                  TYPE STANDARD TABLE OF t_zsct_autoinv,
        li_openbal              TYPE STANDARD TABLE OF lt_openbal,
        li_openbal_mod      TYPE STANDARD TABLE OF lt_openbal,
        li_log2                   TYPE STANDARD TABLE OF lt_log2,
        li_log2_t                TYPE STANDARD TABLE OF lt_log2,
        lw_log2                 TYPE lt_log2,
        lw_log2_t               TYPE lt_log2,
        lw_openbal_mod    TYPE lt_openbal,
        lw_openbal            TYPE lt_openbal.
  i_zscs_record1 = i_zscs_record.
  DELETE i_zscs_record1 WHERE zerrf NE space.
  SORT i_error_bapi BY recid.
  SORT i_error_bdc BY recid.
  SORT i_suc_bdc BY recid.
  SORT i_suc_bapi BY recid.
  SORT i_zscs_record1 BY recid.
  LOOP AT i_zscs_record1 INTO lw_zscs_record.
    lw_log1-recid = lw_zscs_record-recid.
    lw_log1-kongr = lw_zscs_record-kongr.
    lw_log1-hkont = lw_zscs_record-hkont.
    CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'
      EXPORTING
        input  = lw_zscs_record-projk
      IMPORTING
        output = lw_log1-projk.
    lw_log1-werks = lw_zscs_record-werks.
    lw_log1-matnr = lw_zscs_record-matnr.
    lw_log1-zcptp = lw_zscs_record-zcptp.
    lw_log1-zerrf = lw_zscs_record-zerrf.
To  Check if the KONGR value is is equal to 'E'
    IF lw_zscs_record-kongr = c_e.
      READ TABLE i_error_bapi INTO w_error_bapi WITH KEY recid = lw_zscs_record-recid BINARY SEARCH.
      IF sy-subrc = 0.
        lw_log1-zerrc = w_error_bapi-number.
        lw_log1-zertx = w_error_bapi-message.
      ENDIF.
    ELSE.
      READ TABLE i_error_bdc INTO w_error_bdc WITH KEY recid = lw_zscs_record-recid BINARY SEARCH.
      IF sy-subrc = 0.
        lw_log1-zerrc = w_error_bdc-number.
        lw_log1-zertx = w_error_bdc-message.
      ENDIF.
    ENDIF.
*****To Check if the KONGR value is is equal to 'E'
    IF lw_zscs_record-kongr = c_e.
      READ TABLE i_suc_bapi INTO w_suc_bapi WITH KEY recid = lw_zscs_record-recid BINARY SEARCH.
      IF sy-subrc = 0.
        lw_log1-zerrf = c_x.
*******To check if  lw_log1-zertx = w_error_bapi-message.
      ENDIF.
    ELSE.
      READ TABLE i_suc_bdc INTO w_suc_bdc WITH KEY recid = lw_zscs_record-recid BINARY SEARCH.
      IF sy-subrc = 0.
        lw_log1-zerrf = c_x.
********To check if lw_log1-zertx = w_error_bdc-message.
      ENDIF.
    ENDIF.
    APPEND lw_log1 TO li_log1.
*To clear work areas
    CLEAR: lw_log1,
           w_error_bapi,
           w_suc_bdc,
           w_suc_bapi,
           w_error_bdc,
           lw_zscs_record.
  ENDLOOP.
  IF NOT i_zscs_record1 IS INITIAL.
*To retrieve required data from the custom table ZSCT_AUTOINV
    SELECT saknr
           fipos
           geber
           saknr_off
           fipos_off
      FROM zsct_autoinv
      INTO TABLE i_autoinv
       FOR ALL ENTRIES IN i_zscs_record1
       WHERE saknr = i_zscs_record1-hkont.
    IF sy-subrc = 0.
      SORT i_autoinv.
    ENDIF.
  ENDIF.
Assigning I_AUTOINV data into a local internal table for further processing
  li_temp[] = i_autoinv[ ].
Sort LI_TEMP by SAKNR
  SORT li_temp BY saknr.
Delete adjacent duplicates from LI_TEMP comparing SAKNR
  DELETE ADJACENT DUPLICATES FROM li_temp COMPARING saknr.
Check if LI_TEMP is initial
  IF NOT li_temp[] IS INITIAL.
Retrieve required data from table BSIS for all the G/L accounts
    SELECT  bukrs
            hkont
            augdt
            augbl
            zuonr
            gjahr
            belnr
            buzei
            shkzg
            dmbtr
       FROM bsis
       INTO TABLE li_openbal_mod
       FOR ALL ENTRIES IN li_temp
     WHERE  bukrs = c_wfp
       AND  hkont = li_temp-saknr.
    IF sy-subrc = 0.
    ENDIF.
  ENDIF.
  SORT li_openbal_mod BY hkont.
****Retrieve data from table ZSCT_RECORD for further processing for
****all entries where ZERRF is equal to space
  IF p_prsall = c_x.
    SELECT kongr
           hkont
           zcptp
           zerrc
      FROM zsct_record                                  "#EC CI_NOFIRST
      INTO TABLE li_zsct_record
      WHERE zerrf = space.
    IF sy-subrc = 0.
*****Delete records from LI_ZSCT_RECORD where HKONT value is equal to space
      DELETE li_zsct_record WHERE hkont EQ space.
    ENDIF.
  ELSEIF p_cstcpt = c_x.
    SELECT kongr
           hkont
           zcptp
           zerrc
      FROM zsct_record                                  "#EC CI_NOFIRST
      INTO TABLE li_zsct_record
     WHERE zerrf = space
     AND   kongr NE c_e.
    IF sy-subrc = 0.
******Delete records from LI_ZSCT_RECORD where HKONT value is equal to space
      DELETE li_zsct_record WHERE hkont EQ space.
    ENDIF.
  ELSEIF p_cstexp = c_x.
    SELECT kongr
           hkont
           zcptp
           zerrc
     FROM  zsct_record                                  "#EC CI_NOFIRST
     INTO TABLE li_zsct_record
     WHERE zerrf = space
     AND   kongr EQ c_e.
    IF sy-subrc = 0.
******Delete records from LI_ZSCT_RECORD where HKONT value is equal to space
      DELETE li_zsct_record WHERE hkont EQ space.
    ENDIF.
  ENDIF.
  LOOP AT li_openbal_mod INTO lw_openbal.
    IF lw_openbal-shkzg = c_shkzg1.
      v_todmbtr = v_todmbtr + lw_openbal-dmbtr.
    ELSEIF lw_openbal-shkzg = c_shkzg2.
      v_todmbtr = v_todmbtr - lw_openbal-dmbtr.
    ENDIF.
    AT END OF hkont.
      lw_log2-hkont = lw_openbal-hkont.           "GL account
      lw_log2-opbal = ABS( v_todmbtr ).      "Open item balance
      APPEND lw_log2 TO li_log2.
*log record appended with GL Account and account open item balance
      CLEAR: v_todmbtr,
             lw_openbal.
    ENDAT .
  ENDLOOP.
  SORT li_log2 BY hkont.
  LOOP AT li_log2 INTO lw_log2.
    CLEAR v_totexppe.
    CLEAR v_totcapit.
    CLEAR v_toterror.
*Cost portion to be capitalised calculated
    LOOP AT li_zsct_record INTO lw_zsct_record
             WHERE hkont = lw_log2-hkont AND
              kongr NE c_e AND zerrc IS INITIAL.
      v_totcapit = v_totcapit + lw_zsct_record-zcptp.  "CC calculated
    ENDLOOP.
*Expensed cost portion calculated
    LOOP AT li_zsct_record INTO lw_zsct_record WHERE
            hkont = lw_log2-hkont        AND
            kongr = c_e AND zerrc IS INITIAL .
      v_totexppe = v_totexppe + lw_zsct_record-zcptp.  "ECP calculated
    ENDLOOP.
*Errors calculated
    LOOP AT li_zsct_record INTO lw_zsct_record WHERE
            hkont = lw_log2-hkont AND
            zerrc IS NOT INITIAL .
      v_toterror = v_toterror + lw_zsct_record-zcptp.  "Errors calculated
    ENDLOOP.
    lw_log2-exp = v_totexppe.           "Expensed cost portion
    lw_log2-cap = v_totcapit.           "Cost capitalised
    lw_log2-err = v_toterror.           "Errors
*Cost portion capitalised expensed and errors in calculation are
*trans ported for related GL accont
    MODIFY li_log2 FROM lw_log2
    TRANSPORTING exp cap err.
  ENDLOOP.
  LOOP AT li_log2_t INTO lw_log2_t.
    MODIFY li_log2 FROM lw_log2_t TRANSPORTING opbal WHERE hkont = lw_log2_t-hkont.
    CLEAR : lw_log2_t.
  ENDLOOP.
  WRITE:/1(15) text-018,sy-datum.             "SESSION DATE:
  SKIP 2.
For printing the hear level of the output log
  WRITE:/1(16)   text-003,                     "Record ID number
         20(11)  text-004,                     "Reason Code
         34(10)  text-005,                     "GL Account
         47(12)  text-006,                     "Project Code
         62(5)   text-007,                     "Plant
         70(9)   text-008,                     "Commodity
         82(25)  text-009,                     "Cost portion To be posted
         110(12) text-010,                     "Success Flag
         125(10) text-011,                     "Error Code
         138(50) text-012.                     "Error TXT
  SKIP.
  LOOP AT li_log1 INTO lw_log1.
    WRITE:/1(16)   lw_log1-recid,
           20(11)  lw_log1-kongr,
           34(10)  lw_log1-hkont,
           47(12)  lw_log1-projk,
           62(5)   lw_log1-werks,
           70(9)   lw_log1-matnr,
           82(25)  lw_log1-zcptp,                       "#EC UOM_IN_MES
           110(12) lw_log1-zerrf,
           125(10) lw_log1-zerrc,
           138(80) lw_log1-zertx.
    CLEAR:lw_log1.
  ENDLOOP.
  SKIP 2.
  IF NOT li_log2 IS INITIAL.
    ULINE.
    WRITE:/1(16)  text-013,                  "GL ACCOUNT CODE
           20(17) text-014,                  "OPEN ITEM BALANCE
           40(21) text-015,                  "EXPENSED COST PORTION
           64(24) text-016,                  "CAPITALIZED COST PORTION
           92(20) text-017.                  "ERRORS.
    LOOP AT li_log2 INTO lw_log2.
      WRITE:/1(16)   lw_log2-hkont,
             20(17)  lw_log2-opbal,                
             40(21)  lw_log2-exp,                      
             64(24)  lw_log2-cap,                     
             92(20)  lw_log2-err.                     
      CLEAR:lw_log2.
    ENDLOOP.
  ENDIF.
ENDFORM.                    " DISPLAY_LOGFILE

hi,
You need to use FM 'REUSE_ALV_LIST_DISPLAY' for this purpose. For using this FM, you need to create a field catlog which will contain all information about the coloumns you want to display for example their position, their text etc.
Below there is a small demo for achiving this.
TYPE-POOLS:slis.
DATA : i_fieldcat TYPE slis_t_fieldcat_alv.
TYPES: BEGIN OF ty_itab1,
       vbeln LIKE vbap-vbeln,
       posnr LIKE vbap-posnr,
       werks LIKE vbap-werks,
       lgort LIKE vbap-lgort,
       END OF ty_itab1.
DATA: itab1 TYPE TABLE OF ty_itab1.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
SELECTION-SCREEN END OF  BLOCK b1.
START-OF-SELECTION.
  PERFORM select_data.
END-OF-SELECTION.
PERFORM display.
FORM select_data .
  SELECT vbeln
     posnr
     werks
     lgort
     INTO CORRESPONDING  FIELDS OF TABLE itab1
     FROM vbap
     WHERE  vbeln IN s_vbeln.
  IF sy-subrc <> 0.
    MESSAGE 'Enter The Valid Sales Document Number'(t04) TYPE 'I'.
    EXIT.
  ENDIF.
ENDFORM.
  IF alv_list = 'X'.
    PERFORM build_fieldcat TABLES i_fieldcat[]
                           USING :
*-Output-field Table      Len  Ref fld Ref tab Heading    Col_pos
   'VBELN'       'ITAB1'     10   'VBAP'  'VBELN'    ''            1,
   'POSNR'       'ITAB1'     6    'VBAP'  'POSNR'    ''            2,
   'WERKS'       'ITAB1'     4    'VBAP'  'WERKS'    ''            3,
   'LGORT'       'ITAB1'     4    'VBAP'  'LGORT'    ''            4.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
        i_callback_program       = sy-repid
       i_callback_pf_status_set = c_pf_status
        i_callback_user_command  = 'USER_COMMAND '
       it_events                = t_alv_events[]
        it_fieldcat              = i_fieldcat[]
      TABLES
        t_outtab                 = itab1[]
      EXCEPTIONS
        program_error            = 1
        OTHERS                   = 2.
    IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDIF.
FORM build_fieldcat TABLES  fpt_fieldcat TYPE slis_t_fieldcat_alv
                    USING   fp_field     TYPE slis_fieldname
                            fp_table     TYPE slis_tabname
                            fp_length    TYPE dd03p-outputlen
                            fp_ref_tab   TYPE dd03p-tabname
                            fp_ref_fld   TYPE dd03p-fieldname
                            fp_seltext   TYPE dd03p-scrtext_l
                            fp_col_pos   TYPE sy-cucol.
*-- Local data declaration
  DATA:   wl_fieldcat TYPE slis_fieldcat_alv.
*-- Clear WorkArea
  wl_fieldcat-fieldname       = fp_field.
  wl_fieldcat-tabname         = fp_table.
  wl_fieldcat-outputlen       = fp_length.
  wl_fieldcat-ref_tabname     = fp_ref_tab.
  wl_fieldcat-ref_fieldname   = fp_ref_fld.
  wl_fieldcat-seltext_l       = fp_seltext.
  wl_fieldcat-col_pos         = fp_col_pos.
*-- Update Field Catalog Table
  APPEND wl_fieldcat  TO  fpt_fieldcat.
ENDFORM.

Similar Messages

  • I need a clarification : Can I use EJBs instead of helper classes for better performance and less network traffic?

    My application was designed based on MVC Architecture. But I made some changes to HMV base on my requirements. Servlet invoke helper classes, helper class uses EJBs to communicate with the database. Jsps also uses EJBs to backtrack the results.
    I have two EJBs(Stateless), one Servlet, nearly 70 helperclasses, and nearly 800 jsps. Servlet acts as Controler and all database transactions done through EJBs only. Helper classes are having business logic. Based on the request relevant helper classed is invoked by the Servlet, and all database transactions are done through EJBs. Session scope is 'Page' only.
    Now I am planning to use EJBs(for business logic) instead on Helper Classes. But before going to do that I need some clarification regarding Network traffic and for better usage of Container resources.
    Please suggest me which method (is Helper classes or Using EJBs) is perferable
    1) to get better performance and.
    2) for less network traffic
    3) for better container resource utilization
    I thought if I use EJBs, then the network traffic will increase. Because every time it make a remote call to EJBs.
    Please give detailed explanation.
    thank you,
    sudheer

    <i>Please suggest me which method (is Helper classes or Using EJBs) is perferable :
    1) to get better performance</i>
    EJB's have quite a lot of overhead associated with them to support transactions and remoteability. A non-EJB helper class will almost always outperform an EJB. Often considerably. If you plan on making your 70 helper classes EJB's you should expect to see a dramatic decrease in maximum throughput.
    <i>2) for less network traffic</i>
    There should be no difference. Both architectures will probably make the exact same JDBC calls from the RDBMS's perspective. And since the EJB's and JSP's are co-located there won't be any other additional overhead there either. (You are co-locating your JSP's and EJB's, aren't you?)
    <i>3) for better container resource utilization</i>
    Again, the EJB version will consume a lot more container resources.

  • Use white color in Write Statement

    Dear Friends,
    Is it <b>possible</b> to <b>use white color in Write</b> Statement otherthan the predefined 7 colors?

    Hi Aakash,
    Its not possible. Only the pre-defined colors are permitted.
    Regards,
    Raj
    COLOR n [ON] or ...COLOR OFF
    Color of line background . n can have the following values:
    OFF or COL_BACKGROUND Background
    1 or COL_HEADING Headers (grayish blue)
    2 or COL_NORMAL List body (bright gray)
    3 or COL_TOTAL  Totals (yellow)
    4 or COL_KEY  Key columns (bluish green)
    5 or COL_POSITIVE Positive threshold value(green)
    6 or COL_NEGATIVE Negative threshold value (red)
    7 or COL_GROUP  Control levels (violet)

  • I Need to use ABS for the following statement

    Hi
    WA_OUTTAB-CORES_PER_MOLD = GT_IOOPCOMP-BDMNG / GT_IOOPER-MGVRG.
    I need to put ABS for the following statement.
    Kindly help.

    WA_OUTTAB-CORES_PER_MOLD = GT_IOOPCOMP-BDMNG / GT_IOOPER-MGVRG.
    WA_OUTTAB-CORES_PER_MOLD = abs(WA_OUTTAB-CORES_PER_MOLD).
    Regards
    Aneesh.

  • What containers do we need to use when working Flex 3 States

    Hi ,
    My question is , when mx:states is defined in  any other container , other than mx:Aplication , it is showing an Compile ime Error.
    Please check my code and let me know , whats the problem is :
    I am working with Flex 3 States . This is  my sample Program , which is working absolutely fine :
    As you can see that the states are defined under the Application container .
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml"
        currentState="bad">
        <mx:states>
            <mx:State name="bad">
                <mx:SetProperty target="{label1}" name="text" value="Bad Day!"/>
                <mx:SetProperty target="{linkbutton1}" name="label" value="Go Good"/>
            </mx:State>
            <mx:State name="vgood" >
                    <mx:SetProperty target="{linkbutton1}"  name="label" value="Go Good"/>
            </mx:State>
        </mx:states>
    The code which is not working is below :
    Here i am putting states defination under the <mx:Form> Container .
    Basically i want to show one state whne displaying the Form so i tried as <mx:Form currentState='bad'>
    please let me know why this is wrong
    <mx:Form>
        <mx:states>
            <mx:State name="bad">
                <mx:SetProperty target="{label1}" name="text" value="Bad Day!"/>
                <mx:SetProperty target="{linkbutton1}" name="label" value="Go Good"/>
            </mx:State>
            <mx:State name="vgood" >
                    <mx:SetProperty target="{linkbutton1}"  name="label" value="Go Good"/>
            </mx:State>
        </mx:states>
    <mx:Form>
    Please tell me why this isn't possible ??

    Hi Kiran,
    From Flex Docs it says You can use the State class in the states property of Flex components. You can only specify a states property at the root of an application or a custom control, not on child controls.
    So you cannot use in any other child containers....So states are defined for the component and not the sub containers or sub components..
    Thanks,
    Bhasker Chari

  • My Google Toolbar was disable I need this and because off that I need to used Internet Explorer.Whenyour team can fix this?

    I think the question explain by itself .
    I always used Google toolbar (my bookmarks are there)
    in this new versions you can't used it.
    Did you gays do not have plan to put again in used?
    I change and I think not should be the only one to change to Internet Explorer instead.

    The Google Toolbar "will not be supported on Firefox 5 and future versions." <br />
    http://googletoolbarhelp.blogspot.com/2011/07/update-on-google-toolbar-for-firefox.html
    http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars

  • Hello Friends need help in ALV oops

    Hello,
    My requirement is that in my ALV ouptut i will edit one cell when i am editing i.e if its is 200,00 i will change it to 300,00 before changing it should ask me wheather to change it or not i need to dispaly a dialog box with yes or no option if i click yes then it should accept the value 300,00.
    I am using ALV OOPS.

    Hi,
    You can achieve this as below,
    DATA: w_result TYPE c.
      METHOD handle_user_command.
    *   Handle own functions defined in the toolbar
        CASE e_ucomm.
          WHEN 'CHANGE'.
    CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
      EXPORTING
       defaultoption       = 'N'
        textline1           = 'Do you want to change the value?'
    *   TEXTLINE2           = ' '
        titel               = 'Confirmation for change'
    *   START_COLUMN        = 25
    *   START_ROW           = 6
    IMPORTING
       answer              = w_result.
    IF w_result = 'J'. "J is for yes.
    "Write your logic for saving the changes
    ENDIF.
      ENDCASE.
      ENDMETHOD.                    "handle_user_command
    Hope thi helps you.
    Regards,
    Manoj Kumar P

  • Properly displaying currency amounts (negative sign) via WRITE statement

    Dear forumers,
    Using the WRITE statement, how may I properly display a currency amount that has a negative value?
    In my program, the variable, V_AMOUNT to be displayed is originally of the type "WERTV12".
    Using the WRITE statement for this, nothing gets displayed in the screen (blank only).
    So, I assigned V_AMOUNT to another variable of the type "P DECIMALS 2", V_AMT.
    Using the WRITE statement for this, the amount is displayed in the screen.
    But, if the amount has a negative value, the negative sign is not displayed there.
    I.e. If V_AMT has the value '500.00-', only '500.00' is displayed in the screen.
    Finally, I changed the type of V_AMT as type string.
    This works - any amounts with negative sign is displayed in the screen properly.
    But, with this approach, I'm unable to "customize" the display of amounts according to currency, like this:-
    DATA int TYPE i VALUE 12345678.
    WRITE int CURRENCY 'EUR'.
    The output of the WRITE statement is "123456,78".
    Is there a better way to achieve this?

    SAP display amounts/quantities as positive numbers with another field that denotes whether positive or negative.  You could change the value to a character field and put the negative where you need it (or put an additional field next to the amount with the sign)... but using a character field probably would negate the currency display, too....

  • Invalid security certificate for my website host-they say the problem is Apple Safari and use Firefox instead

    For the past few days, I keep getting an invalid security certificate in Safari whenever I select Edit My Site from my website homepage (http://annaporterartist.com), or whenever I select anything requiring a secure log in from my website host main page (FASO.com). I have contacted technical support at my website host (fineartstudioonline.com) and they say that this has been an intermittently recurring problem in Safari for years and they recommend that I use Firefox instead. As proof of this they emailed a link to an Apple Support discussion, but it was for Mac OS X Lion v 10.7.4 and Safari 5.1, even though I told them I am using Mac OS X Mountain Lion v 10.8.2 and Safari 6.0.2. I do not get this error message anywhere else on the web using Safari. I did try Firefox and it seems to work fine, but I prefer Safari and I want to know why Safari is not working as it should be. I am concerned that there is a real security problem with my website host and I need someone to explain why I am getting this error message, what it means, and if it is, in fact, a known problem with Safari or is my website host corrupted? Really tired of technical support playing pass the buck or pretending the problem does not exist.
    The specific error message is:
    Their response to my inquiry and my reply is shown below:

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ Certificates
    There are three menus in the window. What is selected in each of them?

  • How do we use MSHOST instead of ASHOST in JCO Block xMII 11.5?

    Our SAP configuration has changed, and we are being told that we need to use MSHOST instead of ASHOST.  Can someone tell us how we can do this in the JCO block?  The error we are getting when I try to do a Get List:
    (xxxx is there to replace servernames)
    Fatal Error: JCOProxy error: Connect from SAP gateway to RFC server failed
    Connect_PM
    GWHOST=xxxxx, GWSERV=xxxxx, ASHOST=xxxxx, SYSNR=11
    LOCATION SAP-Gateway on host xxxx/xxxxx
    ERROR Gateway not connected to local R/3
    Release 700
    Component SAP-Gateway
    Version 2
    RC 726
    Module gwr3cpic.c
    Line 5609
    Counter 18

    Todd,
    Just for kicks can you Remote Desktop onto the MII server and try to ping both your MS and AS hosts?  Then I would try to verify that the communication port is actually open across the network, a quick and dirty method is to from the Command Prompt of the MII server use the telnet command:
    telnet server port
    If the screen goes blank then you will know that the port traffic is acceptable between the servers, otherwise you will get a connection error message back and you can blame the firewall for the issue.
    Thanks,
    Sam

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

  • Can i write write statement at AT SELECTION-SCREEN

    Hi all,
    can i write write statement at AT SELECTION-SCREEN
    Thanks

    Hi,
    If u want show something on the selection screen then u can write the logic like this instead of write statement
    selection-screen begin of block b3 with frame title text-057.
    selection-screen comment /1(66) text-056.
    selection-screen comment /1(12) txtgl1.
    selection-screen comment 14(3) splgl1.
    selection-screen comment /1(8) txtgl2.
    selection-screen comment 14(3) splgl2.
    selection-screen comment /1(6) txtgl3.
    selection-screen comment 14(3) splgl3.
    selection-screen end of block b3.
    For Display of the 'SPLGL Indicator Help'
    initialization.
      txtgl1 = 'Chq Dishonor'.
      splgl1 = '- D'.
      txtgl2 = 'WCT TDS'.
      splgl2 = '- L'.
      txtgl3 = 'IT TDS'.
      splgl3 = '- I'.

  • In which condition we need to use Rule for substitution/validation

    Hi Gurus,
       I want to know in which condition I need to use rule instead of directly putting these elements in prerequisite? for example:
    Case1
         Rule:TTYPEARAPO--- BSEG-MATNR <> '' AND BSEG-WERKS <> '' AND BSEG-XBILK <> 'X'
         Prerequisite:TYPEARAPO
    Case2:
         Prerequisite:BSEG-MATNR <> '' AND BSEG-WERKS <> '' AND BSEG-XBILK <> 'X'
    My question is the difference between case1 and case2?  Thanks.

    Wei Gu,
    In the example you have given, there is no difference between these two cases.
    However, imagine that you have to use this same condition in multiple steps / prerequisites / substitutions. In that case, it will be better design to create a 'rule' and then use it at all the places.
    It makes future changes and/or maintenance more manageable.
    HTH,
    Manish Patel
    Sr. SAP Solutions Consultant

  • Using Like Clause in Prepared Statement

    Hi,
    I want to use LIKE clause in prepared statement. This is not returning any record.
    This is the query. Please help me in this.
    SELECT EMPLYR_GRP,EMPLYR_GRP_NAME FROM EMPLOYER_GROUP WHERE EMPLYR_GRP_NAME LIKE ? AND EMPLYR_GRP = ?
    This is giving Oracle SQL Error.
    SELECT EMPLYR_GRP,EMPLYR_GRP_NAME FROM EMPLOYER_GROUP WHERE EMPLYR_GRP_NAME LIKE %?% AND EMPLYR_GRP = ?

    The first variant should work just fine as long as you use stmt.setString(1, '%' + pattern + '%') to set the parameter. The second query is just plain wrong.
    Alin.

  • Write stat below alv report .if i use field  catalog.

    hi experts,
    i want to use write statment  after alv report.
    note: i am useing fieldcatalog.
    i got it if i use standard table with : end_of_list event event.
    thank you.

    Hi snk,
    1. It won't work in GRID display.
    2. The reason is when grid comes,
       it comes on a screen which has container and the grid control.
    3. Write statement is displayed on a special screen,
       which is generally used for list output.
       Normal screens (where we can put textboxes/checkboxes etc),
       do not support write statements.
    regards,
    amit m.

Maybe you are looking for

  • How do I add a bookmark directly to bookmark menu within 2 clicks like I used to be able to in the previous version of firefox?

    Whenever I use the new bookmark button in firefox it puts the bookmark in unsorted bookmarks and I want them all to go into the bookmark menu instead like it used to.

  • Open web browser but can't click

    I open my web browser to home page but nothing happens when I click on links or buttons. SImilar to a mouse that isn't connected or recognized.

  • Error -50 - Syncing iPhone photos with aperture

    Hi, The facts: OS - 10.7 Lion iTunes - 10.4 iOS - 4.3.5 So when I updated to Lion and iTunes 10.4 my photos from Aperture will no longer sync with my phone.  I get the error (-50), which to my understanding is a time out error.  Now when I sync with

  • Snow Leopard 10.6.4 Problem

    I have tried updating to Snow Leopard 10.6.4 from 10.6.3 three times, and each time, the progress bar will reach the end, and a message will pop up saying that there was a network error and the download will not be completed. However, i have a full i

  • Library - shows no entities

    I am trying to create a library to include Jar files into an Application.  I have done this before so am not sure why I am having issues now but this is the problem.  I created an external library project and it looks fine.  Then I created a J2EE Lib