Three different output tables

Hi Experts,
what has to be done if you have three different output tables which you would like
display by the ALV.  How can you change between those three  tables .
If possible I wold like to use the same alv reference.
data ref_alv TYPE REF TO cl_gui_alv_grid.
If this is not possible
please tell me the other way ?
Regards
sas

hi,
maybe it helps to understand me better!
<outtab2>
<outtab3>
might be also dislayed as like as  <outtab>
PROCESS BEFORE OUTPUT.
  MODULE alvgrid_out.
PROCESS AFTER INPUT.
  MODULE user_command_0600.
MODULE alvgrid_out OUTPUT.
  PERFORM init.
ENDMODULE.                 " ALVGRID_OUT  OUTPUT
FORM init.
  IF NOT r_nsize IS INITIAL AND NOT r_normes IS INITIAL AND gv_flag IS INITIAL.
    PERFORM alv_size.
    gv_flag = 'X'.
  ENDIF.
  IF NOT r_slim IS INITIAL AND NOT r_slimes IS INITIAL AND gv_flag IS INITIAL.
    PERFORM alv_slimsize.
    gv_flag = 'X'.
  ENDIF.
  IF NOT r_stocky IS INITIAL AND NOT r_stomes IS INITIAL AND gv_flag IS INITIAL.
    PERFORM alv_stockysize.
    gv_flag = 'X'.
  ENDIF.
  IF NOT r_nsize IS INITIAL AND NOT r_normes IS INITIAL AND gv_paiflag EQ 'NO'.
    PERFORM alv_size.
  ENDIF.
  IF NOT r_slim IS INITIAL AND NOT r_slimes IS INITIAL AND    gv_paiflag EQ 'SL'.
    PERFORM alv_slimsize.
  ENDIF.
  IF NOT r_stocky IS INITIAL AND NOT r_stomes IS INITIAL AND   gv_paiflag EQ 'ST'.
    PERFORM alv_stockysize.
  ENDIF.
ENDFORM.                    "init
MODULE user_command_0600 INPUT.
  IF NOT r_nsize IS INITIAL AND NOT r_normes IS INITIAL AND sy-ucomm EQ 'NO'.
    gv_paiflag = 'NO'.
  ENDIF.
  IF NOT r_slim IS INITIAL AND NOT r_slimes IS INITIAL AND sy-ucomm EQ 'SL'.
    gv_paiflag = 'SL'.
  ENDIF.
  IF NOT r_stocky IS INITIAL AND NOT r_stomes IS INITIAL AND sy-ucomm EQ 'ST'.
    gv_paiflag = 'ST'.
  ENDIF.
  FREE: ref_alv, ref_container.
ENDMODULE.                 " USER_COMMAND_0600  INPUT
FORM alv_size .
  CHECK ref_alv IS INITIAL.
  CREATE OBJECT ref_container
    EXPORTING
      container_name = 'ALV'.
  gv_layout-no_toolbar = 'X'.
  CLEAR: gs_fcat, gs_zpd.
  READ TABLE lt_sgroup INTO ls_sgr INDEX 1.
  gs_fcat-fieldname = 'ORG_SIGN'.
  gs_fcat-coltext = ''.
  gs_fcat-outputlen = 2.
  APPEND gs_fcat TO gt_fcat.
  CLEAR gs_fcat.
  gs_fcat-fieldname = 'DESCRIPTION'.
  gs_fcat-coltext =   ls_sgr-sizegroup_name.
  gs_fcat-outputlen = 30.
  APPEND gs_fcat TO gt_fcat.
  CLEAR gs_fcat.
  SORT r_nsize BY low.
  DELETE ADJACENT DUPLICATES FROM r_nsize.
  LOOP AT r_nsize.
    CONDENSE r_nsize-low NO-GAPS.
    gs_fcat-fieldname =  r_nsize-low.
    gs_fcat-coltext   =  r_nsize-low.
    gs_fcat-outputlen = 5.
    APPEND gs_fcat TO gt_fcat.
  ENDLOOP.
  CLEAR gs_fcat.
  LOOP AT gt_fcat INTO gs_fcat WHERE  fieldname NE refer.
    gs_fcat-edit = 'X'.
    MODIFY gt_fcat FROM gs_fcat TRANSPORTING edit.
  ENDLOOP.
  CLEAR gs_fcat.
  LOOP AT gt_fcat INTO gs_fcat WHERE  fieldname EQ 'DESCRIPTION'.
    gs_fcat-edit = ' '.
    MODIFY gt_fcat FROM gs_fcat TRANSPORTING edit.
  ENDLOOP.
  CLEAR gs_fcat.
  LOOP AT gt_fcat INTO gs_fcat WHERE  fieldname EQ 'ORG_SIGN'.
    gs_fcat-edit = ' '.
    MODIFY gt_fcat FROM gs_fcat TRANSPORTING edit.
  ENDLOOP.
  FIELD-SYMBOLS: <lt_ss> TYPE table,
  <test> TYPE ANY.
  CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
      it_fieldcatalog = gt_fcat
    IMPORTING
      ep_table        = new_table.
  ASSIGN new_table->* TO <outtab>.
  CREATE DATA new_line LIKE LINE OF <outtab>.
  ASSIGN new_line->* TO <l_line> .
  SORT r_normes BY low.
  DELETE ADJACENT DUPLICATES FROM r_normes.
  LOOP AT r_normes.
    ASSIGN COMPONENT 2 OF STRUCTURE <l_line> TO <test>.
    <test> = r_normes-low.
    APPEND <l_line> TO <outtab>.
  ENDLOOP.
  CLEAR gs_cpmpon.
  REFRESH: gt_compon, gv_comp
  PERFORM read_comp
    TABLES gv_comp
     USING
        'zpd'
        <l_line>.
  CREATE OBJECT ref_alv
    EXPORTING
      i_parent      = ref_container
      i_appl_events = 'X'
    EXCEPTIONS
      OTHERS        = 5.
  CALL METHOD ref_alv->register_edit_event
    EXPORTING
      i_event_id = cl_gui_alv_grid=>mc_evt_enter.
  CREATE OBJECT ref_alv_events.
  SET HANDLER ref_alv_events->handle_data_changed FOR ref_alv.
* <outtab2>
* <outtab3>
* might be also dislayed
  CALL METHOD ref_alv->set_table_for_first_display
    EXPORTING
      is_layout            = gv_layout
      it_toolbar_excluding = it_toolbar_excluding  " TYPE UI_FUNCTIONS
    CHANGING
      it_fieldcatalog      = gt_fcat
      it_outtab            = <outtab>
    EXCEPTIONS
      OTHERS               = 4.
  CALL METHOD cl_gui_cfw=>flush.
ENDFORM.                    " ALV_SIZE

Similar Messages

  • How to join THREE different tables into internal table using one select statement .

    How to join THREE different tables into internal table using one select statement .
    Hi experts,
    I would like to request your guidance in solving the problem of joining the data from three different database tables into one internal table
    Scenario:
    Database tables:
    SPFLI
    SFLIGHT
    SBOOK.
    Table Fields:
    SPFLI - CARRID CONNID COUNTRYFR CITYFRM COUNTRYTO CITYTO
    SFLIGHT - CARRID CONNID FLDATE SEATSMAX SEATSOCC SEATSMAX_C
    SEATSOCC_C SEATSMAX_F SEATSOCC_F
    SBOOK - CARRID CONNID CLASS
    MY INTERNAL TABLE IS IT_XX.
    Your help much appreciated.
    Thanks in advance.
    Pawan.

    Hi Pawan,
    please check below codes. hope it can help you.
    TYPES: BEGIN OF ty_xx,
            carrid     TYPE spfli-carrid   ,
            connid     TYPE spfli-connid   ,
            countryfr  TYPE spfli-countryfr,
            cityfrom   TYPE spfli-cityfrom  ,
            countryto  TYPE spfli-countryto,
            cityto     TYPE spfli-cityto   ,
            fldate     TYPE sflight-fldate ,
            seatsmax   TYPE sflight-seatsmax ,
            seatsocc   TYPE sflight-seatsocc ,
            seatsmax_b TYPE sflight-seatsmax_b,
            seatsocc_b TYPE sflight-seatsocc_b,
            seatsmax_f TYPE sflight-seatsmax_f,
            seatsocc_f TYPE sflight-seatsocc_f,
            class      TYPE sbook-class,
          END OF ty_xx,
          t_xx TYPE STANDARD TABLE OF ty_xx.
    DATA: it_xx TYPE t_xx.
    SELECT spfli~carrid
           spfli~connid
           spfli~countryfr
           spfli~cityfrom
           spfli~countryto
           spfli~cityto
           sflight~fldate
           sflight~seatsmax
           sflight~seatsocc
           sflight~seatsmax_b
           sflight~seatsocc_b
           sflight~seatsmax_f
           sflight~seatsocc_f
           sbook~class
      INTO TABLE it_xx
      FROM spfli INNER JOIN sflight
      ON spfli~carrid = sflight~carrid
      AND spfli~connid = sflight~connid
      INNER JOIN sbook
      ON spfli~carrid = sbook~carrid
      AND spfli~connid = sbook~connid.
    Thanks,
    Yawa

  • How to populate an internal table from three different tables

    My requirement is to populate an itab by retrieving data from three diff db tables,
    ekko,ekpo and Ekbe.
    below is the code for data retrieval .
    SELECT EBELN INTO TABLE IT_EKKO FROM EKKO WHERE EBELN IN S_EBELN.
      IF NOT IT_EKKO[] IS INITIAL.
        SELECT  EBELP TXZ01 NETWR BUKRS INTO CORRESPONDING FIELDS OF TABLE IT_EKPO FROM EKPO FOR ALL ENTRIES IN IT_EKKO
          WHERE EBELN EQ IT_EKKO-EBELN.
    IF NOT IT_EKPO[] IS INITIAL.
          SELECT  EMATN WAERS WERKS GJAHR BEWTP INTO CORRESPONDING FIELDS OF TABLE IT_EKBE FROM EKBE FOR ALL ENTRIES IN IT_EKPO
            WHERE EBELN EQ IT_EKPO-EBELN
             AND  EBELP EQ IT_EKPO-EBELP
             AND  BEWTP EQ 'E' OR BEWTP EQ 'Q'.
            ENDIF.
            ENDIF.
    please tell me how to populate data from it_ekko,it_ekpo and it_ekbe into an internal table ITAB.

    Hi Mayana,
    You take one final structure & final internal table, & within that structure take all the fields which is required to be displayed as a final output.
    for data fetching from different table, you take three different structures & three internal table for that, because into corresponding fields of table is not good for performance wise. Use into table syntax.
    follow the below example:(similarly)
    sort it_klah by key fields.
    LOOP AT IT_KSSK INTO WA_KSSK.
        READ TABLE IT_KLAH INTO WA_KLAH WITH KEY CLINT = WA_KSSK-CLINT
                                                 KLART = WA_KSSK-KLART.
        IF SY-SUBRC EQ 0.
          MOVE:  WA_KLAH-OBJEK to WA_final-OBJEK.
    Read another table........(2nd one)
    IF SY-SUBRC EQ 0.
          MOVE:  ....................................
          APPEND WA_final TO IT_final.
        ENDIF.
    clear wa_final.
      ENDLOOP.
    finally display it_final records.
    Hope this can solve your problems.
    Regards,
    Tutun

  • How to load data into 3 different target tables usin BODS ?

    Hello Friends,
    I have 5 different source tables with same field definitions, Now I want to load all the records into three/four different target tables (Flat file, SQL Server, XML, and Oracle ) Could anyone please tell me how to do this task ?
    Thanks in Advance,
    Bheem.

    Hello Bheem,
    You can create separated dataflow for each target as suggested by Bala, this is a good choice when evaluating you scenario.
    If you put all targets in the same dataflow you may experience problems if one of them is down (as you have different servers as targets).
    BODS will send the data simultaneously to all targets and when one fails, the load will be break and you may have the tables not sinc anyways (if you plan to use a single dataflow to avoid this situation, it won't do it).
    So the best option is to create separated dataflow and put inside another one so you can run a singe dataflow that will call each one of the target and if onw fails the other will complete accordingly.
    Then if you put them inside a error trapping, you may even make your dataflow to retry the load prior abend the job.
    Think about cascading your dataflows and let the leaf level simple as it can be so it will be easier to schedule and debug your process.
    Pay attention to datatypes and other conversions you might need when working with more than one source/target.
    Regards,

  • I have three different data base regions

    Help is Greatly appreciated.
    I have three different databases - development, QA and Production.
    my requirement --I have to insert 20 new records  into "scott.PERMANENT" table 
    2)In the Developemnt,QA both regions in the "scott.PERMANENT" table , 3 records are already presnet in the above new 20 records. 3)In the Production database , i dont have any data and have to insert all of the records.
    So inorder to insert the data i have to use the same script in all the regions meaning i have to iclude all the 20 new records in the insert script ,but based on the region name it should check and insert those records .
    could anyone please kindly give me an idea how to check the region name and insert.
    Your help is kindly appreciated.

    Hi,
    975482 wrote:
    Help is Greatly appreciated.
    I have three different databases - development, QA and Production.
    my requirement --I have to insert 20 new records  into "scott.PERMANENT" table  Don't create your own tables in Oracle-supplied schemas, such as SCOTT. Why not create your own schema?
    2)In the Developemnt,QA both regions in the "scott.PERMANENT" table , 3 records are already presnet in the above new 20 records. 3)In the Production database , i dont have any data and have to insert all of the records.
    So inorder to insert the data i have to use the same script in all the regions meaning i have to iclude all the 20 new records in the insert script ,but based on the region name it should check and insert those records .Use MERGE instead of INSERT. If you're using Oracle 10 or higher, then you don't even need a WHEN MATCHED clause; if you only have a WHEN NOT MATCHED clause, it will simply ignore the rows that you said to add but already exist.
    If the columns have unique constraints, you can also INSERT all the data, and use an error logging clause
    I hope this answers your question.
    If not, post a complete test script that people can run to re-create the problem and test their ideas.
    For example:
    -- In all 3 databases, the permanent table looks like this:
    CREATE TABLE permanent ...
    -- In Production, where it has no rows, I could populate it like this:
    INSERT INTO permanent ...
    -- This is how I want the table to look in all 3 databases when everything is finished.
    -- But in Development and QA, the table does have some rows already, like this:
    TRUNCATE TABLE  permanent;
    INSERT INTO permanent ...
    -- What statement(s) would get the table to the finished state regardless of how it starts?Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • How to handle 3 different fact tables and measures within a DAX query?

    I am writing a DAX query in DAX studio in Excel against a tabular model that has 4 different Fact tables, but they share the same dimensions. (There's some long story I can't get into here, but unfortunately this is the structure) I want to
    include measures from the 4 fact tables, summarize by the dimensions in a single query output that can be used for a pivot table.  So far I have something like this:
     EVALUATE
    FILTER
        SUMMARIZE
            FactTable1,
            DimensionTable1[Value],        DimensionTable2[Value],
            DimensionTable3[Value],
            Dimensiontable4[Value],
            'dimDateTime'[Month PST],
            DimDateTIme[FiscalYear PST],
            "Measure Score",
            FactTable1[Measure 1],
            "Measure Score 2",
            FactTable1[Measure 2],
        ,Company[CompanyName]="Company ABC" 
    What I want to do is summarize the 3 fact tables by the same dimensions, but I am not sure how to do that within a DAX query.  I am getting an error if I try to include another table statement in the original SUMMARIZE function, even though the FACTS
    do share the same dimension.  Is there an easy way to do this?

    You can use ADDCOLUMNS to add the data from other tables, but you need to use within the SUMMARIZE the fact table that determines the cardinality of the output. If you are not sure (e.g. you project cost and revenues from two fact tables by month and there
    could me months with cost and no revenues, but also months with revenues and no costs), then you should use CROSSJOIN and then FILTER.
    You query might be written as (please note CALCULATETABLE instead of FILTER to improve performance):
    EVALUATE
    CALCULATETABLE (
        ADDCOLUMNS (
            SUMMARIZE (
                FactTable1,
                DimensionTable1[Value],
                DimensionTable2[Value],
                DimensionTable3[Value],
                Dimensiontable4[Value],
                'dimDateTime'[Month PST],
                DimDateTIme[FiscalYear PST]
            "Measure Score", FactTable1[Measure 1],
            "Measure Score 2", FactTable1[Measure 2]
        Company[CompanyName] = "Company ABC"
    Marco Russo http://www.sqlbi.com http://www.powerpivotworkshop.com http://sqlblog.com/blogs/marco_russo

  • How to print three different Barcodes in the same line

    I am trying to print Barcodes for three different fields in a single line, it is taking the combined one & printing only one barcode for  all those three fields.
       When I tested it by printing them in diff lines, it is working fine. But the requirement is to  print all fields in the same line

    Hi
    Look at this , may be useful
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Column width in output table cannot be changed

    Hi All,
    I have a visual composer model with an input form used to display variables to call a BW query. The query result is displayed in an output table.
    Multiple fields are displayed in the output table.
    On the layout tab of the visual composer model, I have changed the column width of the different output fields.
    After initial execution, the column widths of the different columns correspond to the settings in the layout tab. When I submit the query, example after entering the selection variables in the input screen and pressing submit, all columns widths change to 1 width. All columns now have the same width.
    We installed the latest VC version and hotpackages but this does not help.
    How can I change the column width of an output table?
    Best Regards,
    Filip

    Hi All,
    this column problem I know really good and there is a solution:
    Click on the Output-Port of your Query and then click on Configure. You will see on the right side the property "Dynamic Port". Uncheck that and you will see that the column width is like in the layout tab.
    This is only in Queries. In Function Modules you dont have to do this.
    Best Regards,
    Murat Yurtoglu

  • Smartform Different output formats in same language

    Hello
    I have a Bulgarian smartform which is translated via SE63 into English.We have a customizing table and according to some fields from there,the customer wants to have the english smartform to have slightly different outputs, no big differences,but for ex some bigger/smaller characters or some fields that should not be displayed.
    How can i do this,because the only way to control this is via se63 that has no such option?
    Thank you

    Look at SE63 translation screen, some constants texts are represented like <F1>пример</ > where <F1> is the character format, so translate it to <F2>example</ > and the text will be printed with another character format.
    But it may be easier to check the language code in the Smartforms itself, especially for text that are not to be printed, (if you don't wont to translate text to initial value) or for full variable text (text item without any constant) that don't appear in the translation screen.
    Regards,
    Raymond

  • Join multiple output tables of BAPI into new table

    Hi,
    In my model (VC 7.0), I have a BAPI which outputs two different tables. Tables have many multiple records. Each table has several fields and a common field also. I want to combine these tables into one table form. I used the following methods and result are :
    1. I tried to connect output tables to one table form but no success. Because table form allows only one table input.
    2. I put a combine operator for output tables. No success. Although they're common field and multiple records but table form shows only one record? Where are the other record ?
    3. I put a union operator  for output tables. No success. Because union operator output only the common field. But I need the other fields from output tables in my table form.
    Will you please suggest what are the options available with me for joing output of both tables. I think combine operator should solve.
    Regards,
    Yi&#287;it

    Hi,
    use this link to get your answer:
    Join two Table output to new table
    Otherwise you can try with this:
    1. Drag signal out from the first table. Select all the fields which you want to be pass in the final table.Make the first table as multiple selection one.
    2. Create one button in toolbar for the first table and give some proper name in action property.
    3. mentioned the same action name in the link between the signal out and the first table.
    4. follow the same steps for the second table also.
    5. then from compose choose two signal ins and drag them on the story board. Then give the same name as you have given the signal outs name.
    6. Mention all the fields as you have mentioned in the siganl outs.
    7. Add a combine operator with both the signal ins and combine a table with the outport of the combine operator.
    Save and deploy. I hope it will help you.
    Here, you have to select the rows which you want to visualize in the final output table.
    Regards,
    Nutan
    regards,
    Nutan

  • With three different objects in one Section with in one report is it possible?

    Hi my dear friends,  Good morning
    I'm using BO 4.1 sp 6
    I needed some help from you could you please .........
    here is that table contains ....
    Date         Batch NO   Customer account No   amount of check     amount  
    01/01/04    5678           123456                         $300                    $ 500
    This report contains three different structures based up on user selection Section
    system Name , Batch NO, Company code Used in Section
    query filters and column are same for all above three structures in query filters all are optional prompts
    currently i've created three tabs for three structures but due to optional prompts based upon selection data is fetching for all three tabs ...
    is it possible to restrict ?
    can i merge these three tabs into one tab ?
    query filters are          user selection for System name in Section
    class name                     class name :suspense
    class type                       Date :
    system name :           User selection for Company Code in Section
    Date :                              Class Name : Suspense , Class Type : Rejected , System name : Mars , Date :
    Company code :          User selection for Batch No In Section
                                     Class Name : Suspense , Class Type : Rejected , System name : Mars , Date :   
    End user front end application is Java
    Thanks
    Ravi Kumar

    hi friends,
    Hi hesters thanks for your help it is helpful but my requirement is not met with that.
    i've got answer
    create condition @ universe level
    with
    'System Name'= @Prompt("Subtotal By','A',{'system Name','Batch No','Company Code'},mono,Persistent,)
    need to create for what are the objects we are using in section
    and create userresponse @ report level
    if(Userresponse("Subtotal By") then [System Name] ......
    you will get it...........

  • Why is DPM 2012 R2 splitting this Co-located Protection Group Set across three different tapes?

    I have 10 protection groups that ran Saturday night.  I have put information about them in the following table:
    I extracted the data in the table using Get-DPMProtectionGroup CmdLet and the job information from the Monitoring page of the DPM admin console.  As you can see from the tape barcode, DPM wrote the first four PGs to one tape, then started a second
    tape, and finally failed when starting a third because it had run out of free tapes.
    All of the protection groups are assigned to the same "Co-Located Protection Group Set" in the "Tape Optimization Setup" dialog box.
    Prior to the jobs running, I painstakingly ensured that each of the Protection Group's "Select Long-Term Goals" and "Select Library and Tape Details" screens are identical as follows:
    Prior to running the jobs I had already disabled autoclean on the tape library.
    I have checked to see if the tape drive is reporting IO error 0x8007045D using the method described in this blog post:
    http://blogs.technet.com/b/dpm/archive/2012/05/14/things-you-can-do-to-help-data-protection-manager-utilize-your-tapes-full-capacity.aspx
    There seems to be no mention of 0x8007045D or -2147023779 in any of the MSDPM*.Errlog files.
    These are LTO6 tapes with a capacity of 2.5 TB each.  The total data for all the jobs put together is less than 300GB.
    Why is DPM 2012 R2 splitting these protection groups across three different tapes? 
    What else should I check for that might cause DPM to start a new tape?

    Hi Mike,
    Thanks for taking a look at the logs.  I just wanted to point out that there were actually two changes made just before collocation succeeded:
    Write Period and Expiry Tolerance were increase
    Full Verbose logging was enabled
    This technet article states that Full Verbose logging affects performance.  If the problem with collocation is caused by a race condition then it is
    possible that enabling logging actually caused collocation to succeed. At this point there doesn’t seem to be any evidence pointing to which of the two changes resulted in collocation succeeding.
    I propose I run the following tests to differentiate the two:
    Test #1 - Collocation Confirmation
    Repeat last weekend's test to confirm that successful collocation wasn't an anomaly.  Configuration:
    full verbose logging: Enabled
    Expiry Tolerance: 1 year
    Write Period: 1 year
    Test #2 - Logging Only
    Test to see whether enabling Full Verbose logging enabled collocation to succeed.  Configuration:
    full verbose logging: Enabled
    Expiry Tolerance: 7 days
    Write Period: 6 day
    Thanks for your help,
    Alex

  • Need data form three different itabs

    Dear All!
    There are three various internal tables
    lets say itab1,itab2,itab3 which are containing data.
    Only these information where the user
    selects through select-options fields are relevant for the
    report which have to be created.
    My Problem is now. How can I obtain these affected
    information simultionously from three different itabs and also
    considering the restrictions in respect of users entered values
    via select-options fileds. Do u have an idea how to solve
    such a complex situation.
    Thanks is advance.
    Regards
    Erdem Sas

    Hi,
    Check the below code.
    tables p0001.
    select-options: s_pernr for p0001-pernr.
    data: begin of itab1 occurs 0,
           pernr like p0001-pernr,
          end of itab1.
    data: begin of itab2 occurs 0,
           pernr like p0001-pernr,
           ename like p0001-ename,
          end of itab2.
    data: begin of itab3 occurs 0,
           pernr like p0001-pernr,
           gbdat like p0002-gbdat,
          end of itab3.
    data: begin of it_final occurs 0,
           pernr like p0001-pernr,
           ename like p0001-ename,
           gbdat like p0002-gbdat,
          end of it_final.
    select distinct pernr
           from pa0000 up to 5 rows
           into table itab1  where stat2 ='3' .
    if sy-subrc = 0.
    sort itab1 by pernr.
    select distinct pernr ename from pa0001 into table itab2
    for all entries in itab1 where pernr = itab1-pernr.
    if sy-subrc = 0.
      sort itab2 by pernr.
    endif.
    select distinct pernr gbdat from pa0002 into table itab3
    for all entries in itab1 where pernr = itab1-pernr.
    if sy-subrc = 0.
      sort itab3 by pernr.
    endif.
    endif.
    loop at itab1 where pernr in s_pernr.
      it_final-pernr = itab1-pernr.
    read table itab2 with key pernr = itab1-pernr.
    if sy-subrc = 0.
      it_final-ename = itab2-ename.
    endif.
    read table itab3 with key pernr = itab1-pernr.
    if sy-subrc = 0.
      it_final-gbdat = itab3-gbdat.
    endif.
    append  it_final.
    clear it_final.
    endloop.
    loop at it_final.
    write:/5  it_final-pernr,
            15 it_final-ename,
            55 it_final-gbdat.
    endloop.
    Edited by: Velangini Showry Maria Kumar Bandanadham on Apr 24, 2008 2:59 PM

  • Difficulty wiring three different arrays to one spreadsheet file

    I am having trouble outputting three different arrays from a case structure and sending them to an Excel file. I have read through several similar Excel threads and not seen anything really similar to my situation. I can't even get my arrays correctly wired to the "write to file" icon. Any suggestions would be great. I also attached my vi for reference.
    Thanks 
    Attachments:
    Read voltage, give current 5-29.vi ‏38 KB

    I cleaned it up a bit and fixed a few problems. It may not do everything that you want but I take no credit for the way the cose is written.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Read voltage, give current 5-29.vi ‏24 KB

  • Performance Management in three Different Languages

    Hello Gurus,
           My client wants to implement Performance appraisals in three different languages, English, German and Japanies. As for as I know we can set blank in JCO  language setting so employees in German and Japan can use their own languages. What else I need to be aware of? Please advice.
    Regards
    Francis.

    these language should be available ! What you can do is login as the german user and verify if they get in german or not
    Note that languages are picked from users portal settings or browser, read the note
    First of all, please  distinguish between template name and document
    name.What you see in T:cd PHAP_ADMIN is appraisal document name, once it
    will be created it will be defaulted by the template name of the
    current logon language (see BADI 'HRHAP00_DOC_DEF_DN') This means that
    in general you'll see the template name as the document name. But
    changes/translating template names won't have any effect to the shown
    document name.
    Documents are user/appraise specific and therefore each document could
    have its own document name which can be changed e.g. via PHAP_ADMIN,
    but it could not translated automatically, this is our standard design
    which has been confirmed with our development team.
    For a more automatic way for getting the translated template names as
    documents names you may use the SAVE-BAdI 'HRHAP00_DOC_SAVE'. Within
    this BAdI you could read the different translations of your template and
    write them all except of the logon-language into the HRHAP_T (table with
    names of the document) if mode='N' (New/Create document). So next time
    you login in a different language the system will find the corresponding
    document (template) name in the right language.

Maybe you are looking for

  • Cleaning internal cd drive

    I have a 2008 iMac.  I'm trying to import some CDs to ITunes, but the cd drive is making an awful noise and it makes iTunes stop responding.  The actual CDs are completely fine.  How do I clean the internal cd drive?  Can I use a CD cleaner that I wo

  • Can destination ASCP server be a fesh install?

    We have 32-bit Linux OLTP 11.5.10 and would like to use HP-UX PA_RISC 64-bit destination server. Can this server be a fresh install of 11.5.10 with the latest ASCP rollup, or does it have to be a clone (export/import) of the OLTP system? Thanks.

  • Lenovo G570 microphone

    Hello! My new G570 has a one week  , and when I test the microphone makes a lot of noise, people do not realize what I say because it has immense noise. Thanks.

  • Save report to MHTML format using Gui script

    hello all, how can i save a report in .MHTML format using Gui Script.  I am not able to record the "Save as" dialog box option with guiscripts.  i am on ECC 6 thansk in adv. Kris

  • Access PortletPreferences from jsp

    Try to obtain renderRequest object to have access to PortletPreferences <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> <portlet:defineObjects/> Got error message with the tag DefineObjectsTag. Please help!!! Error opening /pageflow/m