Developer 6i....plz hlp

I am having problem while connecting to database from forms6i. I
have installed Oracle 8i personal database(downloaded version
from oracle site). This part was installed correctly and I could
connect to database and run scripts. Later I tried to install
Dev6i and it was not accepting the oracle home of 8i, so I gave
some new directory. So 6i was also installed successfully
without errors, but when I tried to connect to database it is
giving TNS error. I am using Win'2000 professional. Plz help me.
Thanks ahead.

This is a very common problem with this combination. These two
can not co-exist in the same oracle home.
I would recommend you to remove the installations COMPLETELY,
and start over again.
When reinstalling you should (must) start with Oracle Developer,
and install that into the default_home (which probably will be
orant). Install both Forms and Reports before you go on with the
server.
Then create a directory under c: such as Ora8 and let this be
the home for your installation of the server.
Installing in this order should get you a working environment.
There are a lot of postings on this matter, so if you feel you
need more info try searching the various forums.
Good Luck.

Similar Messages

  • I m in urgent need of sme alv reports in sd module so plz hlp me out.

    i m in urgent need of sme alv reports in sd module so plz hlp me out.
    if possible plz provide explanation so tht i can understand it fast and well.

    check with below standard reports :
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    <b>Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC</b>Customer
    Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    <b>Blocked orders - V.14</b>
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22
    Simple example what  i did - Monthly Sales Report
    TYPE-POOLS
    type-pools : slis.
    Tables
    tables : VBAK,
             VBAP.
    Internal table for VBAK Table
    data : begin of i_vbak occurs 0,
           vbeln like vbak-vbeln,
           bstnk like vbak-bstnk,
           vdatu like vbak-vdatu,
           end of i_vbak.
    Internal table for VBAP and MATNR
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           maktx like makt-maktx,
           end of i_vbap.
    Internal tables
    data : begin of i_sales occurs 0,
           vdatu like vbak-vdatu,
           bstnk like vbak-bstnk,
           matnr like vbap-matnr,
           maktx like makt-maktx,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr  like vbap-netpr,
           end of i_sales.
    Variable for ALV
    data : v_repid like sy-repid,
           gt_fieldcat    type slis_t_fieldcat_alv.
    Selection-screen
    selection-screen : begin of block blk with frame title text-001.
    select-options : s_vbeln for vbak-vbeln,
                     s_erdat for vbak-erdat,
                     s_ernam for vbak-ernam,
                     s_vdatu for vbak-vdatu obligatory,
                     s_BSTNK for vbak-BSTNK,
                     s_KUNNR for vbak-kunnr,
                     s_matnr for vbap-matnr,
                     s_KDMAT for vbap-KDMAT.
    selection-screen : end of block blk.
    Initilization
    initialization.
      v_repid = sy-repid.
    S T A R T  -  O F  -  S E L E C T I O N ****************
    start-of-selection.
    Get the data from VBAK and VBAP Tables
      perform get_vbak_vbap.
    E N D  -  O F  -  S E L E C T I O N *****************
    end-of-selection.
    Display the data
      perform dispolay_data.
    *&      Form  get_vbak_vbap
          Get the data from VBAK and VBAP Table
    FORM get_vbak_vbap.
    Get the data from VBAK Table
      select vbeln bstnk vdatu from vbak into table i_vbak
                         where vbeln in s_vbeln
                         and   bstnk in s_bstnk
                         and   vdatu in s_vdatu
                         and   kunnr in s_kunnr
                         and   erdat in s_erdat
                         and   ernam in s_ernam.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
    Get the data from VBAP Table
      select avbeln amatnr akdmat akwmeng a~netpr
             b~maktx into table i_vbap
             from vbap as a inner join makt as b on bmatnr = amatnr
             for all entries in i_vbak
             where a~vbeln in s_vbeln
             and   a~kdmat in s_kdmat
             and   a~abgru = space
             and   a~matnr in s_matnr
             and   a~matnr ne '000000000000009999'
             and   a~matnr ne '000000000000004444'
             and   a~matnr ne '000000000000008888'
             and   a~matnr ne '000000000000001111'
             and   a~werks = '1000'
             and   b~spras = 'E'
             and   a~vbeln = i_vbak-vbeln.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
      sort i_vbak by vbeln.
      sort i_vbap by vbeln matnr.
      loop at i_vbap.
        read table i_vbak with key vbeln = i_vbap-vbeln
                                binary search.
        if sy-subrc eq 0.
          i_sales-bstnk = i_vbak-bstnk.
          i_sales-vdatu = i_vbak-vdatu.
          i_sales-matnr = i_vbap-matnr.
          i_sales-kdmat = i_vbap-kdmat.
          i_sales-maktx = i_vbap-maktx.
          i_sales-netpr = i_vbap-netpr.
          i_sales-kwmeng = i_vbap-kwmeng.
          append i_sales.
        else.
          continue.
        endif.
        clear : i_sales,
                i_vbap,
                i_vbak.
      endloop.
      sort i_sales by vdatu bstnk matnr.
      refresh : i_vbap,
                i_vbak.
    ENDFORM.                    " get_vbak_vbap
    *&      Form  dispolay_data
          Display the data
    FORM dispolay_data.
    Fill the Fiedlcat
      PERFORM fieldcat_init  using gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
          IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_sales
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    ENDFORM.                    " dispolay_data
    *&      Form  fieldcat_init
          text
         -->P_GT_FIELDCAT[]  text
    FORM fieldcat_init USING  e01_lt_fieldcat type slis_t_fieldcat_alv.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    Delivery Date
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'VDATU'.
      LS_FIELDCAT-OUTPUTLEN    = 12.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Delivery Date'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Purchase Order #Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'BSTNK'.
      LS_FIELDCAT-OUTPUTLEN    = 25.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Purchase Order #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-REF_FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-REF_TABNAME    = 'MARA'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material #'.
      ls_fieldcat-seltext_M = 'Material #'.
      ls_fieldcat-seltext_S = 'Material #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-OUTPUTLEN    = 40.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material Description'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Customer Material #
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KDMAT'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Customer material no.'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Quantity
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KWMENG'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Quantity'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Net Price
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'NETPR'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Net Price'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    Thanks
    Seshu

  • I want to get my photos from icloud,,,, i had almost 3 gb of photos backed up on icloud,,, how can i transfer all those photos to my new phone,, i tried but i only got 90 photos. those are the recent one. i had almost 1000 photos in icloud back up?plz hlp

    i replaced my old iphone to a new one.. i want to get my photos from icloud,,,, i had almost 3 gb of photos backed up on icloud,,, how can i transfer all those photos to my new phone,, i tried but i only got 90 photos. those are the recent one. i had almost 1000 photos in icloud back up?plz hlp

    You should call Apple Support and give them your Apple ID so that they can verify how many photos you actually do have backed up in iCloud...
    Also, are you able to do an iTunes backup at all? Because that would save all of the photos and allow you to get them onto the new device.
    Apple Support number is
    1-800-694-7466

  • Plz hlp...cannot copy and paste embedded font from pdf..critical!

    Hello,
    I'm desperate,
    Probably because I don't know how to ask or to search
    But believe me; I spent long time trying to find an answer for the problem.
    I believe, my problem is known; I need to copy text from unsecured PDF acrobat file, to MS WORD, but its scrambled text,
    This is very important project and I need to copy plenty of text from the acrobat files. What can I do??????
    if it impossable what it's mean?
    If u do want to avoid the big vrother all you nee to do is to embed the text to PDF and no body could understad it, google it????
    I belive it must be a solution, a convertor or anything...
    I tried to download The professional acrobat, PDF NITRO
    every soft available to be able to copy the text or to convert it into normal ASCII, Unicode...whatever...
    I just need the text not the font or the graphic...
    plz help its important....
    thanks alot !!!!!!!!!!!!!!!!!!
    Lior.

    gaurav sinha wrote:
    go to adobe.com under support click on knowledgebase and type in 328376 and follow the steps hope it will resolve your issue
    I would hope they've got it resolved already. It's from over a year ago.

  • Plz hlp: online even though I sign out and can't r...

    I have a 2 problums in skype.
    1.i sign out skype bit friends told me ur onlin in skype why r this problum? 2.i skype cal him any friends but not cal activ , then any friends cal me in skype but not complet cal only miss cal so plz solvr my problum what can i do?
    My E mail [Redacted for privacy]
    my skype id [Redacted for privacy]
    Subject/title of post edited to better reflect post content.
    First things, first: for your safety and protection, please never, ever include any personally identifiable information such as your real name, Skype account name, e-mail address, or a telephone number in a post on a public Community or forum such as this. 

    Hi, Sajid.ali283, and welcome to the Community,
    For your benefit, please review our Community Guidelines for a better understanding of why I needed to redact your post as I did.
    The online/offline status problem is a known issue in the most recent versions of Skype.  Many people work around this by setting their status to "invisible" prior to signing out, although on mobile versions where this setting is not available, this would not work.
    For not being able to place or receive calls, please start a new topic on the message board which matches the operating system upon which you use Skype.  Best practice in these types of on-line communities is one enquiry per discussion or "thread."  Thanks!
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Hi friendz..plz hlp me to access hardware details

    ..any way to retrieve hardware details using java..java methods or java classes supporting tis..i want build an application for a network admin..to get all the hardware details of a system such as hardisk capacity ..free space ..memmory etc..plz help me..

    Hi,
    Check out the following Eg: to handle exceptions of FM in Reports,
      CALL FUNCTION 'Z_CALL_TRANS' STARTING NEW TASK 'test'
            EXPORTING
              tcode          = 'SESS'
            EXCEPTIONS
              invalid_tcode  = 1
              not_authorised = 2
              OTHERS         = 3.
          IF sy-subrc = 1.
            MESSAGE 'Invalid T-code' TYPE 'E'.
          ELSEIF sy-subrc = 2.
            MESSAGE 'Not Authorised to use this Transaction' TYPE 'E'.
          ENDIF.
    Sy-subrc is equal to the order of the exceptions declared in that function module.

  • Plz hlp

    hi guys
    am karthik......am dng one prjct n labview..... which was alredy done
    in labview..... i think ther s sme format to convert these. i don know
    anything about this. wil u plz anybody explain me in detail.......
    wats that tdms format......... and by the way my frnd wana do prjct n
    labview.... if anybody have some ideas or some refernce prjct wat u
    hav done in ur final yr prjct.......plz help me

    lmtis wrote:
    Buy a vowel please.  In fact buy all of them!
    No need to buy anything.
    Here's a free starter set. Courtesy of the AFVI (Altenbach Foundation for the Vowel Imparied). 
    Enjoy!
    AAAAAAAAaaaaaaaa
    EEEEEEEEeeeeeeee
    IIIIIIIIiiiiiiii
    OOOOOOOOoooooooo
    UUUUUUUUuuuuuuuu
    LabVIEW Champion . Do more with less code and in less time .

  • 8.0.5.1 media   plz hlp

    I contacted Oracle this morning only to be transfered around for over an hour before finding out the branch i needed didn't open for 2 more hours....
    I left a message for them to return my call...supposed to return my call within 4 hours, but i haven't heard from them yet. Our account rep was unavailalbe as well. :(
    We are fully licensed and own support for it.
    I am looking for either of the following install instances:
    Oracle8051EE_Linux.tgz
    Oracle8051EE_Intel.tgz
    It is needed to test the upgrade
    Can anyone provide any information?
    Thanks again...
    km

    i starting to realize that... :(
    The production environment is running 8.0.5.1 on a NCR UNIX platform (i said it was an old system didn't i?? lol).
    A test upgrade must be performed using the same version, but different OS platforms are acceptable as long as the database is running on 8.0.5.1...
    I'm an the system admin that has been tasked with building this system. I am unaware of the version they will be upgrading to...i only hope that it's a supported version :)
    thanks again,
    Kirk

  • Retrieved param value is wrong from JSF  -- Plz hlp

    when i pass word with special character like tilbehør it is getting converted as tilbehør
    xhtml file i have input text...when i pass some text ..control goes to SearchBB as shown below.getting converted some wierd character for tilbehør ---> tilbehør
    As you can see below passing searchBB.query as tilbehør from jsf when i print this in .java its showing as tilbehør.
    Please help me.
    Search.xhml:
    <form id="query" method="get">
    <input type="text" name="q" id="q" value="#{searchBB.query}" />
    <input type="submit" name="submit" id="submit" value="#{msg.txt_common_buttonLabel}" />
    SearchBB.java
    public SearchBB()
    FacesContext context = FacesContext.getCurrentInstance();
    ExternalContext extCtx = context.getExternalContext();
    Locale locale = context.getViewRoot().getLocale();
    this.locale = locale.getLanguage() + "_" + locale.getCountry();
    String sQuery = (String)extCtx.getRequestParameterMap().get( "q" );
    try {
    if( sQuery != null ) {
    query=sQuery;
    }

    Thanks for the reply..could you please tell more details.
    Any solutions for these kind of issues?
    Thanks in advance...
    Mallika

  • Plz hlp me in understanding thz  report and function modules used in it

    TABLES: BKPF,
            BSEG,
            KNA1,
            SKAT,
            USR02,
            T001W.
    SELECTION-SCREEN: BEGIN OF BLOCK HEAD WITH FRAME TITLE TEXT-T01.
    PARAMETERS    : WERKS LIKE T001W-WERKS OBLIGATORY,
                  : HKONT LIKE BSEG-HKONT OBLIGATORY.
    SELECT-OPTIONS: BUDAT FOR BKPF-BUDAT OBLIGATORY.
    PARAMETERS    : USNAM LIKE BKPF-USNAM.
    SELECTION-SCREEN END OF BLOCK HEAD.
    DATA: BEGIN OF ITAB OCCURS 50,
          BUDAT LIKE BKPF-BUDAT,
          BELNR LIKE BKPF-BELNR,
          XBLNR LIKE BKPF-XBLNR,           " City
          BKTXT(15),                       " Drawee Bank
          WRBTR LIKE BSEG-WRBTR,
          KUNNR LIKE BSEG-KUNNR,
          HKONT LIKE BSEG-HKONT,
          SGTXT(15),                 " Instrument Type CHQ / DD/ PAY ORDER
          ZUONR(10),                       " Instrument No
          VALUT LIKE BSEG-VALUT,           " Instrument Date
          NAME1(25),
          END OF ITAB.
    DATA: TXT50 LIKE SKAT-TXT50,
          PGNO  TYPE I,
          JUMP  LIKE SY-LINCT,
          DNAM(20).
    DATA : FIELD LIKE HELP_VALUE OCCURS 0 WITH HEADER LINE.
    DATA : CONTENTS(12) OCCURS 0 WITH HEADER LINE.
    DATA : FLD(12).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR USNAM.
      FLD = 'usnam'.
      PERFORM VALUES CHANGING FLD.
      USNAM = FLD.
    TOP-OF-PAGE.
      PERFORM HEADER.
    END-OF-PAGE.
      WRITE: /10 'Prepared By',
              45 'Checked By',
              85 'Authorized By',
             125 'Bank Officials Seal & Signature'.
      WRITE: /0(170) SY-ULINE.
      PGNO = PGNO + 1.
      WRITE: /120 'Page No : ', PGNO.
    START-OF-SELECTION.
      PERFORM %BKPF.
      PERFORM %BSEG.
      PERFORM %KNA1.
      PERFORM %SKAT.
      PERFORM %WRITE.
    END-OF-SELECTION.
      JUMP = SY-LINCT - SY-LINNO - 2.
      SKIP JUMP.
      WRITE:/.
    *&      Form  %BKPF
          text
    -->  p1        text
    <--  p2        text
    FORM %BKPF.
      SELECT BELNR
             XBLNR
             BUDAT
             BKTXT
      INTO   (ITAB-BELNR,
             ITAB-XBLNR,
             ITAB-BUDAT,
             ITAB-BKTXT)
      FROM   BKPF
      WHERE  BUKRS = 'GMKT' AND
             BLART = 'DZ'   AND
             USNAM = USNAM AND
             BUDAT IN BUDAT.
        IF SY-SUBRC EQ 0.
          APPEND ITAB.
          CLEAR  ITAB.
        ENDIF.
      ENDSELECT.
      SELECT SINGLE ORT01 INTO DNAM FROM T001W WHERE WERKS = WERKS.
    ENDFORM.                               " %BKPF
    *&      Form  %BSEG
          text
    -->  p1        text
    <--  p2        text
    FORM %BSEG.
      LOOP AT ITAB.
        SELECT WRBTR
               HKONT
               SGTXT
               ZUONR
               VALUT
        INTO   (ITAB-WRBTR,
               ITAB-HKONT,
               ITAB-SGTXT,
               ITAB-ZUONR,
               ITAB-VALUT)
        FROM   BSEG
        WHERE  BUKRS = 'GMKT' AND
               BSCHL = '40' AND
               SHKZG = 'S' AND
               BELNR = ITAB-BELNR AND
               HKONT = HKONT.
          IF SY-SUBRC EQ 0.
            MODIFY ITAB.
            CLEAR  ITAB.
          ENDIF.
        ENDSELECT.
      ENDLOOP.
      DELETE ITAB WHERE HKONT <> HKONT.
      LOOP AT ITAB.
        SELECT SINGLE KUNNR
        INTO   (ITAB-KUNNR)
        FROM   BSEG
        WHERE  BUKRS = 'GMKT' AND
               ( BSCHL = '15' OR BSCHL = '19' ) AND
               SHKZG = 'H' AND
               BELNR = ITAB-BELNR.
        IF SY-SUBRC EQ 0.
          MODIFY ITAB.
          CLEAR  ITAB.
        ENDIF.
      ENDLOOP.
    ENDFORM.                               " %BSEG
    *&      Form  %KNA1
          text
    -->  p1        text
    <--  p2        text
    FORM %KNA1.
      LOOP AT ITAB.
        SELECT NAME1
        INTO   (ITAB-NAME1)
        FROM   KNA1
        WHERE  KUNNR = ITAB-KUNNR.
          IF SY-SUBRC EQ 0.
            MODIFY ITAB.
            CLEAR  ITAB.
          ENDIF.
        ENDSELECT.
      ENDLOOP.
    ENDFORM.                               " %KNA1
    *&      Form  %WRITE
          text
    -->  p1        text
    <--  p2        text
    FORM %WRITE.
      SORT ITAB BY BUDAT BELNR.
      LOOP AT ITAB.
        WRITE:/ SY-TABIX,
                ITAB-BELNR,
                ITAB-BUDAT,
                ITAB-SGTXT,
                ITAB-ZUONR,
                ITAB-VALUT,
                ITAB-KUNNR,
                ITAB-NAME1,
                ITAB-BKTXT,
                ITAB-XBLNR,
                ITAB-WRBTR.
        AT LAST.
          SUM.
          WRITE: /0(170) SY-ULINE.
          WRITE: /126 ' Total Amount  :', ITAB-WRBTR COLOR 3.
        ENDAT.
      ENDLOOP.
      WRITE: /0(170) SY-ULINE.
    ENDFORM.                               " %WRITE
    *&      Form  %SKAT
          text
    -->  p1        text
    <--  p2        text
    FORM %SKAT.
      SELECT TXT50
      INTO   TXT50
      FROM   SKAT
      WHERE  SAKNR = HKONT AND
             SPRAS = 'EN' AND
             KTOPL = 'GMKT'.
      ENDSELECT.
    ENDFORM.                               " %SKAT
    *&      Form  HEADER
          text
    -->  p1        text
    <--  p2        text
    FORM HEADER.
      CONCATENATE DNAM  '-' 'Depot' INTO DNAM.
      WRITE: /50 'Grasim Industries Limited'.
      WRITE: /55 DNAM.
      WRITE: /40 'Pay-in-Slip for Cheques / Drafts / Pay-Order'.
      SKIP 3.
      WRITE:/ 'Account Number :', HKONT, 135 'Payslip No :'.
      WRITE:/ 'Account Name   :', TXT50, 135 'Date       :'.
      SKIP 1.
      WRITE: /0(170) SY-ULINE.
      WRITE: /07 'Sl No', 13 'Voucher No', 27 'Date', 36 ' Inst Type ',
              51 'Ins Number', 65 'Date', 73 'Party Code',
              87 'Name of the Party',
             114 'Drawee Bank', 130 'City', 147 'Amount in Rs',
             162 'Remarks'.
      WRITE: /0(170) SY-ULINE.
    ENDFORM.                               " HEADER
    *&      Form  VALUES
          text
         <--P_FLD  text                                                  *
    FORM VALUES CHANGING P_FLD.
      REFRESH CONTENTS.
      REFRESH FIELD.
      CLEAR CONTENTS.
      CLEAR FIELD.
      FIELD-TABNAME = 'USR02'.
      FIELD-FIELDNAME = 'BNAME'.
      FIELD-SELECTFLAG = 'X'.
      APPEND FIELD.
      SELECT * FROM USR02.
        CONTENTS = USR02-BNAME.
        APPEND CONTENTS.
      ENDSELECT.
    CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
         EXPORTING
            CUCOL                         = 0
            CUROW                         = 0
            DISPLAY                       = ' '
              FIELDNAME                     = 'BNAME'
              TABNAME                       = 'USR02'
            NO_MARKING_OF_CHECKVALUE      = ' '
            TITLE_IN_VALUES_LIST          = ' '
            TITEL                         = ' '
            SHOW_ALL_VALUES_AT_FIRST_TIME = ' '
            NO_CONVERSION                 = ' '
         IMPORTING
              SELECT_VALUE                  = FLD
         TABLES
              FIELDS                        = FIELD
              VALUETAB                      = CONTENTS
         EXCEPTIONS
              FIELD_NOT_IN_DDIC             = 1
              MORE_THEN_ONE_SELECTFIELD     = 2
              NO_SELECTFIELD                = 3
              OTHERS                        = 4.
    ENDFORM.                               " VALUES

    Hi Surinder,
    the program gives u the o/p based on input parametrs in the following format.
    <b>TOP-OF-PAGE</b>
    CET TECHNOLOGIES PTE LTD.                                 
    PAGE:         2
    LIST OF ALL VENDOR BY VALUE (FOREIGN)
    DATE:     07/05/2007
    DATE RAISED FROM: 06/01/2007  TO 06/06/2007    
    TIME:     15:34:27
    FOR ALL PURCHASING GROUPS
    (Following are the columns of the output tabel, becz of space constraint, i am writing it horizontaly).
    - S/No
    - SUPPLIER Name
    - AMOUNT(S$)  => At last, it will calculate Total Amount in $
    - % OF AMOUNT
    - CUML OF Total amount
    - NO OF PO
    - NO OF ITEMS
                                                                                    TOTAL:                       0.00         0
    Function module is used to convert the amount from Singapore$ to local curreny.
    (Suppose, total amount is S$100, and u r calculating for US, FM will convert the S$100 into corresponding value in US$ or
    Let us take India - For India, say S$1 = INR 27, then say the supplier from India, quotes Rs. 2700, it will then be converted and shown as S$27)
    Hope this will be useful to understand
    Reward if useful
    Thnks
    Sujay

  • IPod won't turn off when plugged into computer! PLZ HLP!

    I have an iPod touch 2g, and now whenever I connect it to iTunes, it won't turn off. It will just turn itself back on.

    If you are unable to give specifics about the problem or what you need to do, it's going to be rather hard to give you recommendations or alternate suggestions.
    As I said, if I recall correctly, the iPod will stay on if it's being charged. But, in case I'm misremembering, are you holding down the button until you see the red arrow that says "Slide to power off"? Have you tried restoring it?

  • I neeed a help in installing my home theatre system ..............plz hlp somebuddy

    i wanted to connect my sony Blu-ray Disc/DVD Home Theatre System BDV-E970W to my LCD bravia tv. when i go to my wire connection i.e (input).I click on HDMI slot 1 which i connected my home theatre but there is no display appearing not a sound and not a pictue.i connected it to other HDMI port but the condition is the same,then i checked my HDMI cable with my laptop the cable does good...so i m bit confused...

    The BDV-E970W is not a product sold in the U.S. market. I would recommend checking the "troubleshooting" section of your owner's manual, or contacting your local home theatre store or your country's Sony Helpline for further support.
    *disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies.

  • Hp pavilion dv1610us shuts itself off PLZ HLP

    Hi, recently I started having a problem with my dv1610us notebook. I'll turn it on and start using it and without warning, it will just turn itself off like a cold shutdown and everything goes black. Windows XP loads properly with out any errors and I can use it as if it had no problems, but then it will just turn off. Sometimes it happens 2 minutes after booting up, sometimes it stays on for a half hour. At times when I try to turn it back on, it just hangs. All of the lights will turn on such as the media player buttons, HD activity light, wifi, but the screen will stay black and nothing mechanical will happen or load. Then I have to hold down the power button to shut it off, give it a couple knocks on the bottom by the power jack, and then it will turn back on once I press power again...but then the cycle just keeps repeating itself. It also stops working if I restart or suspend it from the shutdown menu which tells me there's some kind of power management issue. I'm not sure what controls that in a notebook pc but if I'm not mistaken, on a desktop it's the power supply?
    Some additional history on the notebook: I've owned it for about 3 years, recently had a HD crash and replaced the HD with a larger one, and the problem above went from happening once every couple days to multiple times every time I use it over the course of about a month. I don't think it really got bad until after I had to replace the HD. Also, the battery doesn't seem to hold a charge or the power supply doesn't seem to charge it. If I try and boot it off of just the power supply with no battery installed, it shuts off before windows even has a chance to load.
    Sorry for the long winded explanation but I'm hoping someone will be able to help. Thank you in advance.
    Message Edited by tryingtofix on 11-22-2009 11:09 AM

    I have the same problem and I still don't know what is wrong with my computer. Maybe you have to go checking at Hp support shop in your country. 
    I really boring about  this. I can open it for a few sec and then again, shut down itself. 

  • " itunes has detected a problem with your audio configuration....." PLZ HLP

    every time i open up my itunes it comes up with
    " itunes has detected a problem with your audio configuration audio/video playback may not operate properly"
    then when i tunes does open up i double click on a song and it dosent go, it dosent even show that its playing
    please help i desperately need music

    This is usually caused by a Quicktime problem. This Apple article works for most people:
    http://docs.info.apple.com/article.html?artnum=304424

  • Error on a simple function to fill an array plz hlp

    Hi guys.
    I'm trying to fill in an array with a simple function, here is the code
    public class rekener {
        int getal;
        int counter=-1;
        int[] getallen= new int[5];
        StringBuffer buffer= new StringBuffer();
        public void getGetal(int getal){
            this.getal= getal;
            counter++;
            getallen[counter]= getal;
        public String getArray(){
           for(int i: getallen){
               buffer.append(i);
           return buffer.toString();
    }i'm calling this function from a console application in this way....
    import java.util.Scanner;
    class venster{
       public static void main(String args[]){
           int getal;
           rekener rekener= new rekener();
           Scanner input= new Scanner(System.in);
           System.out.println("Voeg toe een nummer A.U.B");
           getal= input.nextInt();
           rekener.getGetal(getal);
           System.out.println("voeg nog een nummer toe");
           getal= input.nextInt();
           rekener.getGetal(getal);
           System.out.println("voeg nog een nummer toe");
           getal= input.nextInt();
           rekener.getGetal(getal);
           System.out.println("voeg nog een nummer toe");
           getal= input.nextInt();
           rekener.getGetal(getal);
           System.out.println("voeg nog een nummer toe");
           getal= input.nextInt();
           rekener.getGetal(getal);
           System.out.println("voeg nog een nummer toe");
           getal= input.nextInt();
           rekener.getGetal(getal);
           String list= rekener.getArray();
           System.out.println(""+list);
    }the problem is that the last function "getGetal();" which should deliver the StrinBuffer in a string format, does not do so, but gives me this error
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
            at rekener.getGetal(rekener.java:22)
            at venster.main(venster.java:37)
    Java Result: 1the line 22 is this :
    getallen[counter]= getal;this makes me think that the function that should fill the array isn't really doing it,
    Even if i change the volume of the array to 4 or 6 "even though 5 is the correct ammount since i'm inserting 6 integers", keeps on giving me the same error
    Do you now any other solution in order to fill in an array from an external function?
    Thank you and have a nice day
    Edited by: classboy on Dec 12, 2009 11:01 PM

    classboy wrote:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
    at rekener.getGetal(rekener.java:22)
    at venster.main(venster.java:37)The error message is telling you exactly what's wrong. On linke 22 of rekener.java (should be Rekener--class names conventionally start with uppercase), you are trying to access the 6th element, at index 5, of an array that has at more 5 elements, at indices 0..4
    the line 22 is this :
    getallen[counter]= getal;
    So counter is 5. But getallen has only 5 elements at indices 0..4, or fewer.
    this makes me think that the function that should fill the array isn't really doing it, It has nothing to do with whether the array is being "filled." Rather, it's just that the size of the array is less than what you're trying to access.
    Even if i change the volume of the array to 4 or 6 "even though 5 is the correct ammount since i'm inserting 6 integers", keeps on giving me the same errorNo idea what you're saying here, but the compiler doesn't lie. You're trying to access an array element that doesn't exist.
    Put print statements in your code so you can see what's happening at each step of the way, and figure out what you did to tell it to access elements that don't exist.

Maybe you are looking for