DATA TOPS In ASM

Hi ,
I am cloning the E-Business suite 11.5.10.2 to ASM Instance, Can anyone tell me what value should be given for Data Top Location . I have 2 Disk Group with 10 raw disk in each group.Should i give the path of raw device or should i give the disk name in data top while providing the details for perl adcfgclone.pl dbTier.
Thanks and Regards,
Hussainn

Fine Go the solution , u need to give the disk group with +
Regards,
Hussain

Similar Messages

  • DATA TOP --- How to?

    hi
    how to add new data top?
    how to change the location of data top?
    EBS R12 RUP 6
    RHEL 5.5
    kind rgrds

    Helios- Gunes EROL wrote:
    Hii,
    how to add new data top?
    how to change the location of data top?Pelase check below thread which could be helps you
    Move data_top
    move DATA_TOP in new location
    Regard
    Heliossteps 1)adpreclone
    steps 2)db shoutdown apps shutdown
    step 3)moving data top to different loc say /data
    step 4)rapid clonbe on dbtier only
    step 5)application start
    Q 1)is this the way?
    Q 2)can u say any note on this?
    Q 3)is it possible with RMAN??
    rgrds

  • Home Broadband Three for Free Data Top-Up

    If you are a Cable, ADSL, Velocity or NBN customer on a plan/bundle whose internet gets slowed when you reach your monthly data allowance, you can use our Broadband Data Top-Up. You can request three top-ups per calendar year (1 January to 31 December) at no cost.
    A top-up gives you another month's data allowance to use until the end of your current billing month, and returns your service to normal speeds. For example, if you're on a 100GB plan and you request a top-up, you will receive another 100GB to use until the end of the current billing month.
    You can request a top-up in the following ways:
    Using the Telstra 24x7 App
    Using My Account
    Once you request a top-up, it normally takes up to 30 minutes to activate.
    At the start of the next billing month, your data allowance will go back to your normal monthly allowance. Every time you top-up, you will receive an email confirming the number of top-ups you have left for the calendar year.
    You can request more than one top-up in the same billing month. Unused top-ups expire at the end of the calendar year.

    The information is wrong
    I can't find anything listed about the limit to the data beings 500gigs, I was interested in using my 3 top-ups but when I rung up they claiming the max they could do is 500gigs. Please fix the information you have on this as I was under the impression it was possible due to the way the email I received was worded.

  • Oracle11g R2 Active Data guard using ASM Problem?

    I have configured oracle11g r2 RAC on 2 notes using ASM Grid ( OS unix).
    RAC is up and running.
    Now I am configuring Active data Guard.
    Under grid user instance +ASM and listener is running.
    Under oracle user static listener is running.
    All disk is mounted.
    Oracle RAC and Data Guard directory and structure I have keeped same.
    Now my problem is below:
    $ ./rman target sys/HPinvent123nbl@dcpdb AUXILIARY sys/HPinvent123nbl@drpdb
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 16 16:28:32 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: DCPDB (DBID=316773134)
    connected to auxiliary database: DRPDB (not mounted)
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 16-JAN-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=5644 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdcpdb1' auxiliary format
    '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdrpdb' ;
    executing Memory Script
    Starting backup at 16-JAN-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1897 instance=dcpdb1 device type=DISK
    Finished backup at 16-JAN-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/16/2013 16:28:48
    RMAN-06136: ORACLE error from auxiliary database: ORA-00200: control file could not be created
    ORA-00202: control file: '+data'
    ORA-17502: ksfdcre:4 Failed to create file +data
    ORA-15001: diskgroup "DATA" does not exist or is not mounted
    ORA-15055: unable to connect to ASM instance
    ORA-01031: insufficient privileges
    RMAN>
    Please help.\
    Thanks
    Solaiman

    root@drpdb1 []# id oracle
    uid=108(oracle) gid=700(oinstall) groups=701(dba)
    root@drpdb1 []# id grid
    uid=109(grid) gid=700(oinstall) groups=701(dba),702(asmdba)
    Edited by: 876149 on Jan 16, 2013 3:19 AM

  • Data pump to ASM?

    Is it possible to export to an asm directory?
    I tried this:
    CREATE DIRECTORY "DGT01_EXP" AS '+DGT01/EXP';
    (yes, this directory does exist in ASM)
    But when I tried using this directory for expdp, I got this error.
    $ expdp datapump/&pw schemas=test directory=DGT01_EXP dumpfile=test.dmp
    Export: Release 10.2.0.1.0 - Production on Thursday, 27 December, 2007 14:44:53
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Release 10.2.0.1.0 - Production
    With the Real Application Clusters option
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 475
    ORA-29283: invalid file operation
    Please let me know if anyone has been able to do this.
    Thanks.

    Hi,
    Sorry, misread your first post. You can use data pump to export data to a disk but not to ASM.
    If you are trying to move data from one database to another, you may use NETWORK_LINK parameter with datapump to directly read from the source database and copy it to destination database.
    Regards

  • Oracle11g heterogenous data guard Linux-ASM primary, Windows-Filesystem standby

    Is it possible to setup a standby database on (Windows 64bit) OS filesystem with 32GB datafile limit that syncs with a primary database on (Linux 64bit) ASM that has datafiles that are larger than 32GB.
    There is a Linux-ASM standby in place, this will be an additional standby, to be used as a reporting database using Oracle11g snapshot standby
    I have used datapump to export-import from Linux-ASM to Windows-filesystem by precreating additional 32GB datafiles in the Windows database, the import works, it takes too long to import for a reporting database
    it's not clear to me how to synchronize the new standby without using RMAN full or incremental backup-restores
    Any suggestions or suggested document IDs are welcome!
    Thank you,
    Drew Salisbury

    Hi Drew,
    Standby files have to be the same size/distribution as the primary - that can be differnet os, in ASM etc but they have to be the same number and size.
    There are some ways to speed up import - parallel etc but in a big database there is always a lot of time lost in index building post data load.
    How feasible is it to shrink the datafiles in wondows nack to 32GB......?
    Can you set up ASM on windows?
    You could use streams or something to replicate and keep the copy you created up to date rather than using physical standby?
    Cheers,
    Rich

  • Create Data Guard Using ASM Managed RMAN backup

    we have an oracle database 11.1.0.7 working on Windows server 2003 (64bit). The storage in ASM managed (same 11.1.0.7). Our total database size is 4TB.
    I will have to create a physical standby database (Data Guard) of this instance. Now I am having issues on how to transport my RMAN backup pieces (which is also ASM managed).
    I cannot do an over the network RMAN backup because it will take months to complete.
    We have external 4 hard disks (2 TB each). But my RMAN backup pieces are ASM in format.
    Any ideas on how to easily create a data guard in this set up.

    TheAlchemist wrote:
    can you provide us any clear steps....Hope you asked for Restoring from backups.
    1) Prepare PFILE and put in nomount status.
    2) Restore standby controlfile
    RMAN> restore standby controlfile from '+DG/...'
    3) Mount controlfile
    SQL> alter database mount standby database;
    4) Restore database.
    If you are restoring into another diskgroups, then use as below.
    RUN {
    SET NEWNAME FOR DATAFILE 1 TO '+Dg1/....';
    SET NEWNAME FOR DATAFILE 2 TO "+Dg1/...';
    RESTORE DATABASE
    If same diskgroup you want to use then, just give RMAN> restore database;
    After successful restore
    5) Start MRP
    SQL> alter database recover managed standby database disconnect from session;

  • Bigpond Data Top Up using 24/7

    Tried to Top Up my bigpond data (3 free topups a year)  using 24/7 app but could not do. I approached the Telstra Shop in George St Sydney and they could not do via the app either. They kindly helped me to Top Up online via MyAccount. Just thought I'd flag that there may be issues trying to Top up using the 24/7 app which was communicated as a top up method. Not sure who can address as this may be impacting other Telstra customers.

    Hi Mikael-72, 
    You can follow the steps via this thread to add it via the 24x7 app Top up via 24x7 App
    Let us know how you go

  • Where would any downloaded rental movies be downloaded to on my iPad? Just spent over $40 in data top ups and nearly two days trying to a. Download a purchased movie and b. find the movie on my iPad.

    I bought this iPad (think it is an iPad 2 not actually sure, a about a few months ago. Yesterday I decided to go on iTunes store and purchase a rental movie which cost approx $6 NZD. After about 2 hours I ran out of data and the movie hadn't even downloaded halfway so I purchased more data thinking another Gb would do. Then i got a message from itunes that my ipad didnt have enough storage so i went into settings and dleeted apps and docs (apparently also deleted from icloud too) to make room for the movie. Now after purchasing another 7GB of data at over three times the cost of the rented movie it finally finished downloading and I had enough space on my iPad. But now I can't find the actual movie...I go to iTunes to purchases and view movies , to downloads and searched the title of the movie...I can see an icon of it and it is in a separate place from other purchases but it says downloaded in faded lettering. Where is it? Why have I just wastednearlyb$50 just tying to download and watch one measly movie! It is obviously some secret formula or thing I've missed...it shouldn't be so hard! The day before this I successfully downloaded a song I purchased and can listen to with no probs.  do I need another app to store downloaded movies or something?

    But now I can't find the actual movie...I go to iTunes to purchases and view movies , to downloads and searched the title of the movie...I can see an icon of it and it is in a separate place from other purchases but it says downloaded in faded lettering. Where is it?
    If you can't find the movie you downloaded on your iPad, iPhone or iPod Touch, check inside your Videos App

  • Data top up option does not appear in My Account

    I have reached my monthly data limit and want to take advantage of the free topup for this month but cannot find this option in My Account.

    Generally it does go through pretty quick, but with systems it can take a little time to completely process sometimes

  • RAC, ASM failed to start up on second node , ORA-03113: end-of-file on comm

    i'm installing an RAC with 2 nodes on top of ASM
    when creating ASM Diskgroup , it failed and reported error CRS-0215 failed to start asm on node2
    Oracle 10.2.0.1
    linux CentOs 4.x
    u01/app/oracle/product/10.2.0/db_1/bin/dbca  -progress_only   -configureASM -templateName NO_VALUE -gdbName NO -sid NO      -emConf
    iguration NONE    -diskList /dev/raw/raw2,/dev/raw/raw3  -diskGroupName DATA -datafileJarLocation /u01/app/oracle/product/10.2.0/db_
    1/assistants/dbca/templates  -responseFile NO_VALUE  -nodeinfo node1,node2    -obfuscatedPasswords true   -oratabLocation /u01/app/o
    racle/product/10.2.0/db_1/install/oratab   -asmSysPassword 05dbb0be38ecf8cca822cf3cf99e675448  -redundancy EXTERNA
    [oracle@node2 bin]$ ./crs_stat -t -v
    Name           Type           R/RA   F/FT   Target    State     Host       
    ora....SM1.asm application    0/5    0/0    ONLINE    ONLINE    node1      
    ora....E1.lsnr application    0/5    0/0    ONLINE    ONLINE    node1      
    ora.node1.gsd  application    0/5    0/0    ONLINE    ONLINE    node1      
    ora.node1.ons  application    0/3    0/0    ONLINE    ONLINE    node1      
    ora.node1.vip  application    0/0    0/0    ONLINE    ONLINE    node1      
    ora....SM2.asm application    0/5    0/0    OFFLINE   OFFLINE              
    ora....E2.lsnr application    0/5    0/0    ONLINE    ONLINE    node2      
    ora.node2.gsd  application    0/5    0/0    ONLINE    ONLINE    node2      
    ora.node2.ons  application    0/3    0/0    ONLINE    ONLINE    node2      
    ora.node2.vip  application    0/0    0/0    ONLINE    ONLINE    node2  
    i checked the status , asm is able to start on both nodes if not at the same time ,
    when trying to start the second node , with srvctl or sqlplus , each give the error 03113
    can anyone suggest me of how to bring up both instances ,
    thanks~
    [oracle@node2 bin]$ srvctl stop asm -n node1
    [oracle@node2 bin]$ srvctl start asm -n node1
    [oracle@node2 bin]$ srvctl start asm -n node2
    PRKS-1009 : Failed to start ASM instance "+ASM2" on node "node2", [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "node2", [node2:ora.node2.ASM2.asm:
    node2:ora.node2.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 27 16:14:50 2009
    node2:ora.node2.ASM2.asm:
    node2:ora.node2.ASM2.asm:Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    node2:ora.node2.ASM2.asm:
    node2:ora.node2.ASM2.asm:Enter user-name: Connected to an idle instance.
    node2:ora.node2.ASM2.asm:
    node2:ora.node2.ASM2.asm:SQL> ORA-03113: end-of-file on communication channel
    node2:ora.node2.ASM2.asm:SQL> Disconnected
    node2:ora.node2.ASM2.asm:
    [code/]
    Edited by: zs_hzh on May 27, 2009 1:25 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Is it possible to start ASM on second node with SQL*Plus in NOMOUNT state?

  • To find the no of working days b/w given date

    Hi ABAP Experts,
             Here i have one requirement .
             table is tfacs
              in  this table i want to know the no of working days b/w  the given date. Here i have attached my code .pls go through it and do me needful.
    TABLES : tfacs,vbrk.
    DATA: BEGIN OF ty_tfacs OCCURS 0,
            ident TYPE tfacs-ident,
            jahr TYPE tfacs-jahr,
            mon01 TYPE tfacs-mon01,
            mon02 TYPE tfacs-mon02,
            mon03 TYPE tfacs-mon03,
            mon04 TYPE tfacs-mon04,
            mon05 TYPE tfacs-mon05,
            mon06 TYPE tfacs-mon06,
            mon07 TYPE tfacs-mon07,
            mon08 TYPE tfacs-mon08,
            mon09 TYPE tfacs-mon09,
            mon10 TYPE tfacs-mon10,
            mon11 TYPE tfacs-mon11,
            mon12 TYPE tfacs-mon12,
            basis TYPE tfacs-basis,
            fenum TYPE tfacs-fenum,
            wenum TYPE tfacs-wenum,
            load TYPE  tfacs-load,
            string1(31) TYPE c,
            string2(31) TYPE c,
            string3(31) TYPE c,
            string4(31) TYPE c,
            string5(31) TYPE c,
            string6(31) TYPE c,
            string7(31) TYPE c,
            string8(31) TYPE c,
            string9(31) TYPE c,
            string10(31) TYPE c,
            string11(31) TYPE c,
            string12(31) TYPE c,
            uk(31) TYPE c,
            total1 TYPE i,
            total2 TYPE i,
            total3 TYPE i,
            total4 TYPE i,
            total5 TYPE i,
            total6 TYPE i,
            total7 TYPE i,
            total8 TYPE i,
            total9 TYPE i,
            total10 TYPE i,
            total11 TYPE i,
            total12 TYPE i,
            END OF ty_tfacs.
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_jahr FOR tfacs-jahr MODIF ID b1.
    SELECT-OPTIONS : mon FOR tfacs-mon01  MODIF ID b1.
    SELECT-OPTIONS :  s_month FOR vbrk-erdat MODIF ID b2.
    SELECTION-SCREEN : END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME.
    PARAMETERS  r1 RADIOBUTTON GROUP c DEFAULT 'X' USER-COMMAND flag .
    PARAMETERS  r2 RADIOBUTTON GROUP c .
    SELECTION-SCREEN END OF BLOCK b.
             INITIALIZATION
    INITIALIZATION.
    AT SELECTION-SCREEN OUTPUT.
      IF r1 NE space.
        LOOP AT SCREEN.
          IF screen-group1 EQ 'B2'.
            screen-output = 1.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 EQ 'B1'.
            screen-output = 1.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
              start - of - selection
    start-of-selection.
      IF r1 = 'X'.
        PERFORM get-data.
        PERFORM display-data.
      ENDIF.
    &      form  get-data
           text
      -->  p1        text
      <--  p2        text
    form get-data .
      DATA :  total1  TYPE i.
      SELECT * FROM tfacs INTO TABLE ty_tfacs
                                     WHERE ident EQ 'IN'
                                     AND   jahr IN s_jahr.
      LOOP AT  ty_tfacs WHERE ident = 'IN'.
        IF sy-subrc EQ 0.
          PERFORM get_string USING ty_tfacs-string1
                                   ty_tfacs-mon01
                                   ty_tfacs-total1.
          PERFORM get_string USING ty_tfacs-string2
                                    ty_tfacs-mon02
                                    ty_tfacs-total2.
          PERFORM get_string USING ty_tfacs-string3
                                   ty_tfacs-mon03
                                   ty_tfacs-total3.
          PERFORM get_string USING ty_tfacs-string4
                                         ty_tfacs-mon04
                                         ty_tfacs-total4.
          PERFORM get_string USING ty_tfacs-string5
                                         ty_tfacs-mon05
                                         ty_tfacs-total5.
          PERFORM get_string USING ty_tfacs-string6
                                         ty_tfacs-mon06
                                         ty_tfacs-total6.
          PERFORM get_string USING ty_tfacs-string7
                                         ty_tfacs-mon07
                                         ty_tfacs-total7.
          PERFORM get_string USING ty_tfacs-string8
                                         ty_tfacs-mon08
                                         ty_tfacs-total8.
          PERFORM get_string USING ty_tfacs-string9
                                         ty_tfacs-mon09
                                         ty_tfacs-total9.
          PERFORM get_string USING ty_tfacs-string10
                                         ty_tfacs-mon10
                                         ty_tfacs-total10.
          PERFORM get_string USING ty_tfacs-string11
                                         ty_tfacs-mon11
                                         ty_tfacs-total11.
          PERFORM get_string USING ty_tfacs-string12
                                         ty_tfacs-mon12
                                         ty_tfacs-total12.
        ENDIF.
        ty_tfacs-uk = ty_tfacs-total1 + ty_tfacs-total2
                      + ty_tfacs-total3 + ty_tfacs-total4
                      + ty_tfacs-total5 + ty_tfacs-total6
                      + ty_tfacs-total7 + ty_tfacs-total8
                      + ty_tfacs-total9 + ty_tfacs-total10
                      + ty_tfacs-total11 + ty_tfacs-total12.
        MODIFY  ty_tfacs TRANSPORTING  total1 total2 total3
                                       total4 total5 total6
                                       total7 total8 total9
                                       total10 total11 total12
                                       uk.
      ENDLOOP.
    PERFORM write1-data USING 'COU' 'YEAR' 'MONTH01'
                               'MONTH02' 'MONTH03' 'MONTH04'
                               'MONTH05' 'MONTH06' 'MONTH07'
                               'MONTH08' 'MONTH09' 'MONTH10'
                               'MONTH11' 'MONTH12' 'TOTAL WDAYS' .
    LOOP AT ty_tfacs.
       PERFORM write1-data USING ty_tfacs-ident ty_tfacs-jahr
                                 ty_tfacs-total1 ty_tfacs-total2
                                 ty_tfacs-total3 ty_tfacs-total4
                                 ty_tfacs-total5 ty_tfacs-total6
                                 ty_tfacs-total7 ty_tfacs-total8
                                 ty_tfacs-total9 ty_tfacs-total10
                                 ty_tfacs-total11 ty_tfacs-total12
                                 ty_tfacs-uk.
    ENDLOOP.
    ENDFORM.                    " get-data
    TOP-OF-PAGE.
      FORMAT COLOR 5 ON.
      WRITE :/10 'COUNTRY',
              20 'YEARS',
              35 'MON01',
              45 'MON02',
              55 'MON03',
              65 'MON04',
              75 'MON05',
              85 'MON06',
              95 'MON07',
              105 'MON08',
              115 'MON09',
              125 'MON10',
              135 'MON11',
              145 'MON12',
              170 'total wdays'.
      FORMAT COLOR OFF.
      WRITE :/ SY-ULINE.
    *&      Form  display-data
          text
    -->  p1        text
    <--  p2        text
    FORM display-data .
      LOOP AT ty_tfacs.
        WRITE :/10 ty_tfacs-ident,
                20 ty_tfacs-jahr,
                30 ty_tfacs-total1,
                40 ty_tfacs-total2,
                50 ty_tfacs-total3,
                60 ty_tfacs-total4,
                70 ty_tfacs-total5,
                80 ty_tfacs-total6,
                90 ty_tfacs-total7,
               100 ty_tfacs-total8,
               110 ty_tfacs-total9,
               120 ty_tfacs-total10,
               130 ty_tfacs-total11,
               140 ty_tfacs-total12,
               150 ty_tfacs-uk.
      ENDLOOP.
    ENDFORM.                    " display-data
    *&      form  get_string
          text
         -->p_0250   text
         -->p_0251   text
         -->p_0252   text
    form get_string  using    p_0250   " month
                              p_0251   " string
                              p_0252.  " total
    p_0250 = p_0251.  " move month to string
    TRANSLATE p_0250 USING '0 ' . " translate
    CONDENSE p_0250  NO-GAPS.     " condense
    p_0252 = STRLEN( p_0250 ).    " pass length of string to total
    ENDFORM.                    " get_string
    ***&      Form  write1-data
          text
         -->P_0306   text
         -->P_0307   text
         -->P_0308   text
         -->P_0309   text
         -->P_0310   text
         -->P_0311   text
         -->P_0312   text
         -->P_0313   text
         -->P_0314   text
         -->P_0315   text
         -->P_0316   text
         -->P_0317   text
         -->P_0318   text
         -->P_0319   text
         -->P_0320   text
    *form write1-data  using    p_0306
                              p_0307
                              p_0308
                              p_0309
                              p_0310
                              p_0311
                              p_0312
                              p_0313
                              p_0314
                              p_0315
                              p_0316
                              p_0317
                              p_0318
                              p_0319
                              p_0320.
    *WRITE :/ p_0306,
            p_0307,
            p_0308 left-justified,
            p_0309 left-justified,
            p_0310 left-justified,
            p_0311 left-justified,
            p_0312 left-justified,
            p_0313 left-justified,
            p_0314 left-justified,
            p_0315 left-justified,
            p_0316 left-justified,
            p_0317 left-justified,
            p_0318 left-justified,
            p_0319 left-justified,
            p_0320 left-justified.
    *ENDFORM. " write1-data
    from this report what i am getting is year and its 12 months but my requirement is i will give date using select options and i should get the total no of  working days in b/w this date.

    Use the following code to find no of working days b/w given date. Use the correct factory_calendar_id in the function module. L_DAYS will display the required result:
    PARAMETERS: p_date1 TYPE sydatum,
               p_date2 TYPE sydatum.
    DATA: date1        LIKE scal-date,
         date2        LIKE scal-date,
         correction   LIKE scal-indicator,
         calendar     LIKE scal-fcalid,
         factorydate1  LIKE scal-facdate,
         workday1      LIKE scal-indicator,
         factorydate2  LIKE scal-facdate,
         workday2      LIKE scal-indicator,
         l_days TYPE scal-facdate.
    CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
      EXPORTING
        date                       = p_date1
        correct_option             = '+'
        factory_calendar_id        = 'US'
      IMPORTING
        date                       = date1
        factorydate                = factorydate1
        workingday_indicator       = workday1
      EXCEPTIONS
        correct_option_invalid     = 1
        date_after_range           = 2
        date_before_range          = 3
        date_invalid               = 4
        factory_calendar_not_found = 5.
    IF sy-subrc = 0.
      CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
        EXPORTING
          date                       = p_date2
          correct_option             = '+'
          factory_calendar_id        = 'US'
        IMPORTING
          date                       = date2
          factorydate                = factorydate2
          workingday_indicator       = workday2
        EXCEPTIONS
          correct_option_invalid     = 1
          date_after_range           = 2
          date_before_range          = 3
          date_invalid               = 4
          factory_calendar_not_found = 5.
      IF sy-subrc = 0.
        l_days = factorydate2 - factorydate1.
        WRITE: / l_days.
      ENDIF.
    ENDIF.

  • Bold chars & increase font size in ALV Top of Page - OOPS

    Hi,
    I am using ALV OOPs to display my data.
    I am splitting the container and using top container to display headings in following way:
    data:   top TYPE REF TO cl_dd_document
      CREATE OBJECT top
        EXPORTING
          style = 'ALV_GRID'.
      lv_fontsize = cl_dd_document=>large.
    lv_text = 'HEADING'.
      CONDENSE lv_text.
      CALL METHOD top->add_text
        EXPORTING
          text         = lv_text
          fix_lines    = 'X'
          sap_fontsize = lv_fontsize         "cl_dd_document=>large
        CHANGING
          document     = cv_top.
    But the heaidng is not displayed with high font size and is similar to the text with cl_dd_document=>medium
    How can I increase font size of heading.
    Thanks!

    Hi Vasu,
    Use SAP_STYLE parameter in the method.
    Value will be HEADING or KEY.
    Regards,
    Amitava

  • Multiple ASM Instances on single node

    Hi All,
    After going through some threads it seems to me that multiple ASM instances on a node is not supported and recommended by ORACLE but i coudn't find any ORACLE document or support matrix mentioning this. Can any one give me a pointer to this. Please correct me if i am wrong and Multiple ASM instances are fully supported by ORACLE.
    Thanks,

    Multiple ASM instances on a single node are supported but not recommended due to several issues you could encounter during that kind of configuration.
    Possible interraction between those instances for identification of each disk area usage,each disk area permissions , database instance to asm instance mapping and so on, could result in unwanted behaviour, as ASM is in some way just oracle's representation of LVM.
    Intention is that any kind of distinction/separation of oracle related data under the ASM should be done through the disk groups.
    So it seems it would be better to apply this kind of logic rather than doing suspiciously magical and rare configurations that could bring you similiary strange and unexpected problems.

  • PO History Data

    Hi Folks,
    I have a problem in selecting the PO hitstory data.For a PO there are two bewtp for 0010 and 0020 item.But I am getting only one BEWTP not both.
    Moreover at the time of filtering the internal table w.r.t to BEWTP it is not checking for itfinal-bewtp NE 'E'.
    Kindly let me know where I am going wrong.
    REPORT  ZMM                           .
    *Tables.
    TABLES : ekbe,
             rbkp,
             rseg,
             bkpf,
             bset,
             lfa1,
             makt.
    *Declaration for ALV.
    TYPE-POOLS: slis.
    DATA : ITFIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    DATA : ITREPID TYPE SY-REPID.
    ITREPID = SY-REPID.
    DATA : ITEVENT TYPE SLIS_T_EVENT.
    DATA : ITLISTHEADER TYPE SLIS_T_LISTHEADER.
    DATA : WALISTHEADER LIKE LINE OF ITLISTHEADER.
    DATA : ITLAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA : TOP TYPE SLIS_FORMNAME.
    DATA : ITSORT TYPE SLIS_T_SORTINFO_ALV WITH HEADER LINE.
    DATA : ITSORT1 TYPE SLIS_SORTINFO_ALV.
    DATA : ITPRINTPARAMS TYPE SLIS_PRINT_ALV.
    DATA : ITVARIANT TYPE DISVARIANT.
    DATA : DATE1(15) TYPE C,
           DATE2(15) TYPE C,
           STRING1(65) TYPE C,
           TITLE(65) TYPE C,
           LFBNR LIKE RSEG-LFBNR,
           BEWTP LIKE EKBE-BEWTP.
    *Internal table Declarations.
    TYPES: BEGIN OF ty_itfinal,
              SL_NO   TYPE sy-tabix,     " FOR SERIAL No.
              BELNR   TYPE rbkp-belnr,   " Material Doc. No.
              BUDAT   TYPE rbkp-budat,   " Posting Date in the Document
              LIFNR   TYPE rbkp-lifnr,   " Vendor Code
              XBLNR   TYPE rbkp-xblnr,   " Supplier Document Number
              BLDAT   TYPE rbkp-bldat,   " Document Date
              KURSF   TYPE rbkp-kursf,   "
              BUZEI   TYPE rseg-buzei,   " miro line item
              EBELN   TYPE rseg-ebeln,   " po no
              EBELP   TYPE rseg-ebelp,   " PO line item
              MATNR   TYPE rseg-matnr,   " part no
              BWTAR   TYPE rseg-bwtar,   " valuation type
              MENGE   TYPE rseg-menge,   " quantity
              WRBTR   TYPE rseg-wrbtr,   " value of goods
              SHKZG   TYPE rseg-SHKZG,  " DEBIT/CREDIT
              LFBNR   TYPE rseg-lfbnr,   "
              WRBTR_R TYPE rseg-wrbtr,   " Rate
              WRBTR_V TYPE rseg-wrbtr,   " Value of Goods
              BEWTP   TYPE ekbe-bewtp,   " PO history category
              BUDAT1  TYPE ekbe-budat,   "
              HWSTE_C TYPE bset-hwste,   " ED/CVD(Tax Amount in Local Currency)
              HWSTE_E TYPE bset-hwste,   " E.Cess(Tax Amount in Local Currency)
              HWSTE_S TYPE bset-hwste,   " Snhe.Cess(Tax Amount in Local Currency)
              ACCNO   TYPE bkpf-belnr,   "
              BELNR1  TYPE BKPF-BELNR,
              AWKEY   TYPE BKPF-AWKEY,
              NAME1   TYPE lfa1-name1,   " vendor name
              MAKTX   TYPE makt-maktx,   " Material Description
           END OF TY_ITFINAL.
    DATA: ITFINAL TYPE TY_ITFINAL OCCURS 0 WITH HEADER LINE.
    TYPES : BEGIN OF TY_ITAB1,
              BELNR   LIKE rbkp-belnr,    " Material Doc. No.
              BUDAT   LIKE rbkp-budat,    " Posting Date in the Document
              LIFNR   LIKE rbkp-lifnr,    " Vendor Code
              XBLNR   LIKE rbkp-xblnr,    " Supplier Document Number
              BLDAT   LIKE rbkp-bldat,    " Document Date
              KURSF   LIKE rbkp-kursf,    " Ex.Rate
           END OF TY_ITAB1.
    DATA :ITAB1 TYPE TY_ITAB1 OCCURS 0 WITH HEADER LINE.
    TYPES: BEGIN OF TY_ITAB3,
           BELNR1 TYPE BKPF-BELNR,
           AWKEY  TYPE BKPF-AWKEY,
           ACCNO TYPE BKPF-BELNR,
           HWSTE_X TYPE BSET-HWSTE,
           HWSTE_Y TYPE BSET-HWSTE,
           HWSTE_Z TYPE BSET-HWSTE,
           END OF TY_ITAB3.
    DATA:ITAB3 TYPE TY_ITAB3 OCCURS 0 WITH HEADER LINE.
    TYPES: BEGIN OF TY_ITAB4,
           BELNR1  TYPE BKPF-BELNR,
           AWKEY   TYPE BKPF-AWKEY,
           HWSTE_X TYPE BSET-HWSTE,
           HWSTE_Y TYPE BSET-HWSTE,
           HWSTE_Z TYPE BSET-HWSTE,
           hwste_F TYPE BSET-HWSTE,
           END OF TY_ITAB4.
    DATA:ITAB4 TYPE TY_ITAB4 OCCURS 0 WITH HEADER LINE.
    *Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
    PARAMETERS:     P_BUKRS LIKE RBKP-BUKRS OBLIGATORY.
    PARAMETERS:     P_WERKS LIKE RSEG-WERKS OBLIGATORY.
    SELECT-OPTIONS: S_BUDAT FOR  RBKP-BUDAT OBLIGATORY.
    PARAMETERS    : P_GJAHR LIKE RSEG-GJAHR OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK block1.
    CONCATENATE  S_BUDAT-LOW6(2) '.' S_BUDAT-LOW4(2) '.' S_BUDAT-LOW+0(4) INTO DATE1.
    CONCATENATE  S_BUDAT-HIGH6(2) '.' S_BUDAT-HIGH4(2) '.' S_BUDAT-HIGH+0(4) INTO DATE2.
    PERFORM GETDATA.
    PERFORM ALV.
    *&      Form  GETDATA
          text
    -->  p1        text
    <--  p2        text
    FORM GETDATA.
    *Invoice Header
      SELECT BELNR
             BUDAT
             LIFNR
             XBLNR
             BLDAT
             KURSF
             FROM RBKP
             INTO TABLE ITAB1
             WHERE GJAHR = P_GJAHR.
      IF SY-SUBRC NE 0.
      MESSAGE 'No Data.' TYPE 'S'.
      ELSE.
    *Filtering the internal table w.r.t to BUDAT.
      LOOP AT ITAB1.
          IF ITAB1-BUDAT NOT IN S_BUDAT.
          DELETE itab1.
          ENDIF.
      ENDLOOP.
      ENDIF.
    *Invoice Item.
      LOOP AT ITAB1.
        MOVE-CORRESPONDING ITAB1 TO ITFINAL.
        SELECT BUZEI
               EBELN
               EBELP
               MATNR
               BWTAR
               MENGE
               WRBTR
               SHKZG
               LFBNR
               FROM  RSEG INTO CORRESPONDING FIELDS OF ITFINAL
               WHERE BELNR = ITAB1-BELNR AND
                     GJAHR = P_GJAHR.
        ENDSELECT.
    *Vendor Details.
        SELECT name1
               FROM lfa1 INTO itfinal-name1
               WHERE lifnr = itfinal-lifnr.
        ENDSELECT.
    *Material Description.
        SELECT maktx
               FROM makt INTO itfinal-maktx
               WHERE matnr = itfinal-matnr.
        ENDSELECT.
    APPEND ITFINAL.
    clear itfinal.
    ENDLOOP.
    <b>LOOP AT ITFINAL.
    SELECT BEWTP
           FROM EKBE
           INTO BEWTP                              "CORRESPONDING FIELDS OF ITFINAL
           WHERE EBELN = ITFINAL-EBELN AND
                 EBELP = ITFINAL-EBELP.
    MOVE BEWTP TO ITFINAL-BEWTP.</b>
    ENDSELECT.
    MODIFY ITFINAL.
    ENDLOOP.
    LOOP AT ITFINAL.
    IF ITFINAL-LFBNR IS INITIAL.
    SELECT SINGLE BELNR
                   FROM EKBE INTO (LFBNR)
            WHERE EBELN = ITFINAL-EBELN AND
                  EBELP = ITFINAL-EBELP.
    MOVE LFBNR TO ITFINAL-LFBNR.
    MODIFY ITFINAL.
    ENDIF.
    ENDLOOP.
    <b>LOOP AT ITFINAL.
    IF ITFINAL-SHKZG NE 'S' AND
       ITFINAL-BEWTP NE 'E'.
    DELETE ITFINAL.
    ENDIF.
    ENDLOOP.</b>
    *Tax Amount.
    *Accounting Doc.No.
    SELECT  BELNR
             AWKEY
             FROM bkpf INTO TABLE ITAB3
             WHERE blart = 'RE' AND
             GJAHR = P_GJAHR AND
             BUKRS = P_BUKRS AND
             BUDAT IN S_BUDAT.
    *Excise Duty and Ed.Cess.
    clear itab3.
    LOOP AT ITAB3.
    move-corresponding itab3 to itab4.
    SELECT single HWSTE
           FROM BSET INTO (ITAB4-hwste_x)
           WHERE BELNR = ITab3-BELNR1 AND
                     GJAHR = P_GJAHR AND
                     BUKRS = P_BUKRS and
                     KSCHL = 'JMO1'.
    IF ITAB4-HWSTE_X IS INITIAL.
    SELECT single HWSTE
            FROM BSET INTO (ITab4-HWSTE_X)
             WHERE BELNR = ITab3-BELNR1 AND
             BUKRS = P_BUKRS AND
             GJAHR = P_GJAHR AND
             KSCHL = 'JMO2'.
    ENDIF.
    SELECT SINGLE HWSTE
           FROM BSET INTO (ITAB4-HWSTE_Y)
           WHERE BELNR = ITAB3-BELNR1 AND
           GJAHR = P_GJAHR AND
           BUKRS = P_BUKRS AND
           KSCHL = 'JEC1'.
    IF ITAB4-HWSTE_Y IS INITIAL.
    SELECT SINGLE HWSTE
           FROM BSET INTO (ITAB4-HWSTE_Y)
           WHERE BELNR = ITAB3-BELNR1 AND
           GJAHR = P_GJAHR AND
           BUKRS = P_BUKRS AND
           KSCHL = 'JEC2'.
    ENDIF.
    ITAB4-HWSTE_Z = ( ITAB4-HWSTE_Y / 3 ) * 2.
    ITAB4-HWSTE_F = ITAB4-HWSTE_Y - ITAB4-HWSTE_Z.
    APPEND ITAB4.
    endloop.
    LOOP AT ITAB4.
    ITAB4-AWKEY = ITAB4-AWKEY+0(10).
    MODIFY ITAB4.
    ENDLOOP.
    loop at itfinal.
    read table itab4 with key awkey = itfinal-belnr.
    move itab4-hwste_x to itfinal-hwste_c.
    move itab4-hwste_z to itfinal-hwste_e.
    move itab4-hwste_f to itfinal-hwste_s.
    modify itfinal.
    endloop.
    *Filtering the Internal Table w.r.t P.O History Category.
      LOOP AT itfinal.
       IF itfinal-bewtp EQ 'E'.
         DELETE itfinal.
       ENDIF.
        itfinal-wrbtr_v = itfinal-wrbtr * itfinal-kursf.
        itfinal-wrbtr_r = itfinal-wrbtr_v / itfinal-menge.
        MODIFY itfinal.
      ENDLOOP.
    ENDFORM.                    " GETDATA
    *&      Form  ALV
          text
    -->  p1        text
    <--  p2        text
    FORM alv .
      IF itfinal[] IS INITIAL.
        MESSAGE 'No Values exist for the Selection.' TYPE 'S'.
        STOP.
      ENDIF.
      LOOP AT itfinal.
        itfinal-sl_no = sy-tabix.
        MODIFY itfinal.
      ENDLOOP.
      DEFINE j_fieldcat.
        itfieldcat-fieldname = &1.
        itfieldcat-col_pos = &2.
        itfieldcat-seltext_l = &3.
        itfieldcat-do_sum = &4.
        itfieldcat-outputlen = &5.
        itfieldcat-edit = &6.
        append itfieldcat to itfieldcat.
        clear itfieldcat.
      END-OF-DEFINITION.
      j_fieldcat 'SL_NO' ''   'SL. NO' '' 03 ''.
      j_fieldcat 'LFBNR' ''   'MATERIAL DOC.No.' '' 10 ''.
      j_fieldcat 'BUDAT' ''   'POSTING DATE.' '' 08 ''.
      j_fieldcat 'LIFNR' ''   'VENDOR' '' 10 ''.
      j_fieldcat 'NAME1' ''   'VENDOR NAME.'  '' 35  ''.
      j_fieldcat 'XBLNR' ''   'SUPPLIER DOC.No.' ' ' 10 ''  .
      j_fieldcat 'BLDAT' ''   'ACCOUNTING DOC.DATE' '' 08 ''.
      j_fieldcat 'MATNR' ''   'PART No.' '' 18 ''.
      j_fieldcat 'MAKTX' ''   'DESCRIPTION' '' 40 '' .
      j_fieldcat 'MENGE' ''   'QUANTITY RECEIVED' '' 08 ''.
      j_fieldcat 'KURSF' ''   'ECHANGE RATE' '' 13 ''.
      j_fieldcat 'WRBTR_R' '' 'RATE' '' 13 ''.
      j_fieldcat 'WRBTR_V' '' 'VALUE OF GOODS' '' 13  ''.
      j_fieldcat 'HWSTE_C' '' 'ED/CVD' '' 13 ''.
      j_fieldcat 'HWSTE_E' '' 'EDU.CESS' '' 13 ''.
      j_fieldcat 'HWSTE_S' '' 'S&HE.CESS' '' 13 ''.
      j_fieldcat 'BWTAR' ''   'VALUTAION TYPE' '' 10 ''.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = sy-repid
            is_layout               = itlayout
           i_callback_user_command =  ' '
            i_callback_top_of_page  = 'TOP'
            it_fieldcat             = itfieldcat[]
            i_save                  = 'A'
         is_variant              = ITVARIANT
            it_events               = itevent[]
         is_print                = ITPRINTPARAMS
            it_sort                 = itsort[]
          TABLES
            t_outtab                = itfinal
            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.
    ENDFORM.                    " ALV
    *&      Form  TOP
        Top of page for ALV Report
    FORM top.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
         EXPORTING
            i_list_type           = 0
         IMPORTING
            et_events             = itevent
    EXCEPTIONS
      LIST_TYPE_WRONG       = 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.
      string1 = 'Excise Input Details - IDC/PDC'.
      CONCATENATE string1 p_werks date1 'to' date2 INTO title SEPARATED BY space.
      walistheader-typ = 'H'.
      walistheader-info = title.
      APPEND walistheader TO itlistheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary      = itlistheader
        I_LOGO                   = ''.
        I_END_OF_LIST_GRID       =
       ENDIF.
      CLEAR itlistheader.
    ENDIF.
    ENDFORM.                    "TOP
    K.Kiran.

    try to add
    AND buzei =  ITFINAL-BUZEI...
    A.

Maybe you are looking for

  • BODI - Job Error " blank message,possibly due to insufficient memory

    Ending up with below error while executing a DI job. The job uses a file of size 37 MB as source. As the error looks something related to memory. I have tried splitting up the input file into and executed the job. The job completed successfully witho

  • Problems with applications installed in my E61i

    Hi all, I have encountered a problem that is whenever I off my phone and turn it back on, all third-party applications installed in my memory card don't work anymore except those installed in the phone memory, and I have to re-install everything ever

  • KDE 4 or Gnome 3?

    Hi, On my current Archlinux desktop, I'm using KDE 3.5 (called KDEMod or Trinity). However, the fact that this doesn't come from the official Arch repositories sometimes DOES give problems with pacman upgrades, so for a next PC on which I'll install

  • 7520e: black and white prints have blue cast

    Black & white prints have a blue tinge to them and are not true black and white. Is there a good explanation of what all the various controls do, in the Print dialogue boxes? Thanks.

  • Is it possible to have a scroll bar in a view

    Hi I have a bam dashbaord and it is having 4 different views(Graph Type) .One of the views is a bar chart. This graph shows up a large amount of data and bars are getting squeezed.Is there anyway we can have a scroll bar in the view so that bar chart