Is it technically possible to merge columns on the fly?

I want to merge two columns only when null AND display data from a separate column in that newly merged column. Is this technically possible?

Possible :)
Drop me the requirement/template/xml to my id in profile.

Similar Messages

  • Is it possible to produce columns in the job log?

    to display like this:
    Job        col1     col2    col3    col4
    job1       data     data    data    data
    job2       data     data    data    data
    job3       data     data    data    data
    The way I would think to set it up would be to have the coded column headings on one line, then to display the job that fails along with its field data under the correct columns.  The only thing that I can forsee is that if the data inside the field doesnt exactly fall under the column.
    My question is: can this be done?  Also, can I display field data for multiple fields on one line?
    Thanks

    You need to achieve this only with the messages.
    Try with this code:
    REPORT  ZTEST_NP.
    PARAMETERS: P_1 TYPE I DEFAULT 10.
    DATA: BEGIN OF ITAB OCCURS 0,
          FLD1  LIKE SYST-ABCDE,
          END   OF ITAB.
    START-OF-SELECTION.
      DO P_1 TIMES.
        ITAB-FLD1 = SY-ABCDE.
        APPEND ITAB.
      ENDDO.
      DATA: L_TEXT1(50).
      L_TEXT1+0(45) = '---------------------------------------------'.
      MESSAGE S398(00) WITH L_TEXT1.
      CLEAR L_TEXT1.
      L_TEXT1+0(1) = '|'.
      L_TEXT1+1(10) = 'Srl No'.
      L_TEXT1+11(1) = '|'.
      L_TEXT1+13(30) = 'Value of Field 1'.
      L_TEXT1+44(1) = '|'.
      MESSAGE S398(00) WITH L_TEXT1.
      CLEAR L_TEXT1.
      LOOP AT ITAB.
        L_TEXT1+0(1) = '|'.
        L_TEXT1+1(10) = SY-TABIX.
        L_TEXT1+11(1) = '|'.
        L_TEXT1+13(30) = ITAB-FLD1.
        L_TEXT1+44(1) = '|'.
        MESSAGE S398(00) WITH L_TEXT1.
        CLEAR L_TEXT1.
    *    MESSAGE S398(00) WITH SY-tabix 'Field value' ITAB-FLD1.
      ENDLOOP.
      L_TEXT1+0(45) = '---------------------------------------------'.
      MESSAGE S398(00) WITH L_TEXT1.
      CLEAR L_TEXT1.
      WRITE: 'Bye'.
    The joblog was like:
    |Date      |Time    |Message text                                                               |Message class|Message no.|Message type|
    |11/08/2007|10:25:25|Job started                                                                |     00      |    516    |     S      |
    |11/08/2007|10:25:25|Step 001 started (program ZTEST_NP, variant &0000000000006, user ID NPATEL)|     00      |    550    |     S      |
    |11/08/2007|10:25:25|---------------------------------------------                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||Srl No    | Value of Field 1               |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        1 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        2 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        3 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        4 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        5 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        6 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        7 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        8 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||        9 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25||       10 | ABCDEFGHIJKLMNOPQRSTUVWXYZ     |                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25|---------------------------------------------                              |     00      |    398    |     S      |
    |11/08/2007|10:25:25|Job finished                                                               |     00      |    517    |     S      |
    Regards,
    Naimesh Patel

  • Is it possible to merge records from the Adressbook?

    1.) If I have 5 people in the group (Addressbook) "friends01" on machine B (Imac stationary) and then takes machine A (laptop) with me and returns with 10 new people which was added into the group "friends01" while away and want machine B to be updated with a total of 15 friends (10 new). How can I do it most elegantly?
    2.) Is it a way to do this easy with the whole address book database? Lets say I have updated a few new people here and there (not too organized and not put into groups while away on computer A and then returns to my stationary computer B and just want it to import the new people and not overwrite or delete anything?

    Or the Adobe PDF Pack service.

  • Is it possible to disable javascript on the fly?

    After a web page has loaded sometimes I need to disable JavaScript without reloading the page. In the old Opera this was as simple as pressing F12 and disabling the option 'Enable JavaScript'. I've tried a few add-ons (NoScript, JS Switch, Toggle JS and QuickJava) but they all seem to reload the page to disable JS. The only way I've found to do what I want is to install Firebug to break into the code but I find this option very convoluted.
    Is there a simple way to disable JS without reloading the page?

    I wasn't aware that QuickJava is reloading the page as only the javascript.enable pref needs to be toggled.
    What makes you think that the page is reloaded?
    You can also look at the PrefBar extension.
    *PrefBar: https://addons.mozilla.org/firefox/addon/prefbar/

  • Dynamically Merging Columns in a table

    Hello All,
    Is it possible to merge columns in table based on some set of condition.
    The current output is as follows:
    Column 1 Column 2 Column 3 Column 4 Column 5
    Row1            ""               ""              ""                 ""
    SubRow1      ""               ""              ""                 ""
    Value 1       Value 2      Value 3     Value 4         Value 5
    The output which we need is as follows:
    Column 1 Column 2 Column 3 Column 4 Column 5
    Merged Row 1 (merged columns)
    Sub Row 1 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Merged Row 2 (merged columns)
    Sub Row 2 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Merged Row 3 (merged columns)
    Sub Row 3 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Thanks.
    Kiran

    The merge is simple if you do not think about it as in word:))
    The merge can be done using scripting: just concatenate the values of the fields into one variable, fill in the value to the first column, change its width (to the width of the previous 4 cols) and hide te remaining/ blank cols.
    Have fun, Otto

  • Change the column width on the fly

    Dear all,
    I have a problem, i have a matrix report, the row is "the project name" and the column is "the items" using within each project, and the problem is the items are variable from time to time the report run for each project, so its exceeds the paper width.
    And the question is, is there any way to change the width of the column on the fly, i mean dynamiclly change the column width each time the report is called to make all items fit the paper width.
    Thank u

    i don't think that we can change the layout of the column in reports
    The simple solution for that problem is that u have to
    fix the horizontal and vertical layout of the text item
    better is to post this problem at reports forum
    Najeeb

  • Merge columns in an ALV Table

    Hi colleagues,
    is it possible to merge two or more columns in ALV Table (like ColSpan in the Matrix-Layout) to write a text over more than one column?
    I haven't found any solution for it until now.
    Best regards
    Stefan

    Although it may not be exactly what you were looking for, you can create a table ColumnGroup:
    http://help.sap.com/saphelp_nw70/helpdata/EN/f0/5d9041d3c72e7be10000000a1550b0/frameset.htm

  • Is it possible to merge libraries?

    hi
    id like to know if its possible to merge my iPhoto library from my ibook (tiger) to my iPhoto library in my MacMini (panther).
    whats the best way i can have all my pics transferred from ibook to macmini (preferably by album).
    thanks for any info.
    -a

    Hi Artemis,
    Do the two libraries share some of the same images?
    Are you running the same version of iPhoto?
    Do you want to keep keywords, albums, comments intact on the merge?
    Depending on how you answer the questions there is a different route you can follow.
    If you just want albums from the PB to import into the mini and don't care about keywords,etc.:
    Highlight the album in the source column and select all
    hit Share/export
    Export to a newly created folder on the desktop
    Once all albums are exported copy them over to the mini desktop or burn them to a DVD.
    Open iPhoto on the mini
    drag the album folders into an open iPhoto viewing window.
    If you have any images that are the same in both of the libraries, you might get duplicates imported, so you will have to wade through them to delete the dups.
    To merge the libraries:
    Copy the Entire iPhoto Library folder to the mini
    Download and pay for iPhoto Library Manager
    Follow directions in the documentation to merge libraries.
    iPhoto Library Manager
    iPhoto Library Manager documentation
    this page will show you everything you can do with iPhoto Library Manager.
    Are you using the same username on both computers?
    Lori

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information using Update Item action

       I got error  "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I  found out the cause is  Update Item action       
    I need to update item in another List call Customer Report ,the field call "Issues"  with data type  "Choice"   to yes
    then the error arise .   please help..

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • I have 2 App Store accounts, one from MobileMe time and i want to know if it is possible to merge them as i'm having troubles updating some of my software?

    I have 2 App Store accounts, one from MobileMe time and i want to know if it is possible to merge them as i'm having troubles updating some of my software?
    I have to sign in and out between one and the other constantly and i dont know what to do anymore becouse now i can't update software on either, it keeps on poping up "To update this application, sign in to the account you used to purchase it." and im pretty sure im on the right account.

    Sorry. Apple's policy states that accounts cannot be merged > Frequently asked questions about Apple ID
    Contact Apple for assistance > Contacting Apple for support and service

  • Is it possible to add a column to the Item matrix in the ItemLookup form (C

    Hi,
    Is it possible to add a column to the Item matrix in the ItemLookup form (CFL or Find Lookup).
    I need to display a value in the newly added column if the itemgroup in that row matches a certain value , how can I achieve this.
    Thanks

    Hi,
    You may check this: Can we add CFL to the  system/form defined textbox?
    Please close your previous open thread.
    Thanks,
    Gordon

  • Filter Data with Merged and non merged columns in one

    Hi there,
    I have an excel spreadsheet that has got merged and non merged columns. What I want to be able to do is, filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged
    columns.
    With this data I have one merged column which spans 6 rows, and then in the same row I have 6 rows with different points in, and what I want to do is filter my list, but be able to see the merged coloum aswell as the 6 points.
    Any ideas are much appriciated.
    Cheers
    SAN

    You cannot filter across a row - so I have assumed that what you mean is that some cells in columns are merged to serve as the headers, and the data is in the came columns but in the row(s) below the header. If this is incorrect, ignore this post.
    For this example, I have assumed E to J are the column of data and merged cells, column K is free, and the first merged header is in row 1:
    In K1, enter
    =E1
    in K2, enter
    =IF(COUNTA(E2:J2)=1,E2,K1)
    and copy down. Then filter based on column K, and it will show the headers and the data for the selected header value.
    HTH, Bernie

  • Table help: equal distribution of rows adjacent a merged column ?

    Hello,
    I am using StarOffice 8 (however the same principles ar probably true
    in version 7, too).
    I have a star office table (not HTML) that I want to behave more like an
    HTML table.
    For example, if I have a table with 1 row of headers and 5 rows of
    content (and some number of columns which is probably not important).
    I want to have the first column show 5 explicit rows while some of the
    columns to the right are completely merged or row-spanned as one
    cell (underneath that column's header cell, which is not merged, or
    course).
    The issue is this... the first column is distributed such that the cells are
    only as tall as the content within them. I can grow them larger by
    inserting carriage returns however that is surely a lame methodology,
    so I cannot use that as a solution.
    The last cell in the column is very very tall. I want the cells to distribute
    themselves equally in 5 equal heights as opposed to 4 equal heights
    and one super-tall cell in the 5th row. As I mentioned, the column
    adjacent and the right of this column is the same 5 rows merged into
    one large cell.
    i hope this describes my issue adequately...
    Cheers
    D

    Hello,
    I am using StarOffice 8 (however the same principles ar probably true
    in version 7, too).
    I have a star office table (not HTML) that I want to behave more like an
    HTML table.
    For example, if I have a table with 1 row of headers and 5 rows of
    content (and some number of columns which is probably not important).
    I want to have the first column show 5 explicit rows while some of the
    columns to the right are completely merged or row-spanned as one
    cell (underneath that column's header cell, which is not merged, or
    course).
    The issue is this... the first column is distributed such that the cells are
    only as tall as the content within them. I can grow them larger by
    inserting carriage returns however that is surely a lame methodology,
    so I cannot use that as a solution.
    The last cell in the column is very very tall. I want the cells to distribute
    themselves equally in 5 equal heights as opposed to 4 equal heights
    and one super-tall cell in the 5th row. As I mentioned, the column
    adjacent and the right of this column is the same 5 rows merged into
    one large cell.
    i hope this describes my issue adequately...
    Cheers
    D

  • Bug 2679062 - Wrong results possible from multi-column INLIST - though stat

    Hi,
    The following test case is supplied in the metalink in bug no. 2871341, the base bug for this bug is 2679062.
    REPRODUCIBILITY:
    Reproduces constantly with simple test case below:
    TEST CASE:
    DROP TABLE A1
    CREATE TABLE A1 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    REM *********** Create the second table: ***************
    DROP TABLE A2
    CREATE TABLE A2 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    INSERT INTO A1 VALUES ('1','2');
    INSERT INTO A2 VALUES ('3','4');
    COMMIT;
    CREATE INDEX A1_X1 ON A1(X1 );
    CREATE INDEX A1_X2 ON A1(X2);
    CREATE INDEX A2_X1 ON A2(X1);
    CREATE INDEX A2_X2 ON A2(X2);
    CREATE OR REPLACE VIEW A_ALL AS SELECT * FROM A1 UNION ALL SELECT * FROM A2;
    ANALYZE TABLE A1 COMPUTE STATISTICS;
    ANALYZE TABLE A2 COMPUTE STATISTICS;
    SELECT * FROM A_ALL;
    SELECT * FROM A_ALL WHERE (X1='1' AND X2='2') ;
    SELECT * FROM A_ALL WHERE ((X1='1' AND X2='2') OR (X1='3' AND X2='4'));
    The 2nd query returns answer while the second is not !
    The following is published in the 9.2.0.4 fixed bug list:
    " 9204 - 2679062 - Wrong results possible from multi-column INLIST "
    I have installed 9.2.0.4 patch set on a win 2000 machine Oracle and saw that the above case is actually solved but our application which has a very similar case doesn't.
    After investigating I found the following test case that fails, it reproduces only when you have index on all columns (covering index):
    drop table t1_1;
    drop table t1_2;
    create table t1_1(c1 number, c2 number, c3 number);
    create table t1_2(c1 number, c2 number, c3 number);
    create index t1_1_ix on t1_1(c1, c2, c3);
    create index t1_2_ix on t1_2(c1, c2, c3);
    create or replace view t1 as select * from t1_1 union all select * from t1_2;
    insert into t1_1 values(1, 2, 100);
    insert into t1_2 values(1, 2, 200);
    commit;
    analyze table t1_1 compute statistics;
    analyze table t1_2 compute statistics;
    prompt
    prompt #######################################
    prompt try 1 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( (c2=2) and (c3=100)
    prompt
    prompt #######################################
    prompt try 2 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    (c2=2) and (c3=200)
    prompt
    prompt #######################################
    prompt try 3 - try 1 OR try 2 does not work !
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( ( (c2=2) and (c3=100) )
    or
    ( (c2=2) and (c3=200) )
    opened a TAR and wanted to share with you.
    Tal Olier ([email protected]).

    Hi,
    The following test case is supplied in the metalink in bug no. 2871341, the base bug for this bug is 2679062.
    REPRODUCIBILITY:
    Reproduces constantly with simple test case below:
    TEST CASE:
    DROP TABLE A1
    CREATE TABLE A1 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    REM *********** Create the second table: ***************
    DROP TABLE A2
    CREATE TABLE A2 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    INSERT INTO A1 VALUES ('1','2');
    INSERT INTO A2 VALUES ('3','4');
    COMMIT;
    CREATE INDEX A1_X1 ON A1(X1 );
    CREATE INDEX A1_X2 ON A1(X2);
    CREATE INDEX A2_X1 ON A2(X1);
    CREATE INDEX A2_X2 ON A2(X2);
    CREATE OR REPLACE VIEW A_ALL AS SELECT * FROM A1 UNION ALL SELECT * FROM A2;
    ANALYZE TABLE A1 COMPUTE STATISTICS;
    ANALYZE TABLE A2 COMPUTE STATISTICS;
    SELECT * FROM A_ALL;
    SELECT * FROM A_ALL WHERE (X1='1' AND X2='2') ;
    SELECT * FROM A_ALL WHERE ((X1='1' AND X2='2') OR (X1='3' AND X2='4'));
    The 2nd query returns answer while the second is not !
    The following is published in the 9.2.0.4 fixed bug list:
    " 9204 - 2679062 - Wrong results possible from multi-column INLIST "
    I have installed 9.2.0.4 patch set on a win 2000 machine Oracle and saw that the above case is actually solved but our application which has a very similar case doesn't.
    After investigating I found the following test case that fails, it reproduces only when you have index on all columns (covering index):
    drop table t1_1;
    drop table t1_2;
    create table t1_1(c1 number, c2 number, c3 number);
    create table t1_2(c1 number, c2 number, c3 number);
    create index t1_1_ix on t1_1(c1, c2, c3);
    create index t1_2_ix on t1_2(c1, c2, c3);
    create or replace view t1 as select * from t1_1 union all select * from t1_2;
    insert into t1_1 values(1, 2, 100);
    insert into t1_2 values(1, 2, 200);
    commit;
    analyze table t1_1 compute statistics;
    analyze table t1_2 compute statistics;
    prompt
    prompt #######################################
    prompt try 1 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( (c2=2) and (c3=100)
    prompt
    prompt #######################################
    prompt try 2 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    (c2=2) and (c3=200)
    prompt
    prompt #######################################
    prompt try 3 - try 1 OR try 2 does not work !
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( ( (c2=2) and (c3=100) )
    or
    ( (c2=2) and (c3=200) )
    opened a TAR and wanted to share with you.
    Tal Olier ([email protected]).

Maybe you are looking for

  • Relatório de Vendas por filial

    Bom dia, Estou a procura de algum recurso da SAP B1 que me permita gerar um relatório de vendas por filial. Alguém sabe onde encontro? Já fiz uma análise do recuros Análise de Vendas porém ele não traz as informações de filial e como temos vendas fei

  • Function module create inbound delivery with text

    Hello I'm trying to create an inbound delivery with reference to a purchase order and create additional texts. I found FM GN_DELIVERY_CREATE but the texts are not added. I entered data in table IT_GN_TEXTL & IT_GN_TEXTH. What can be the problem? KR

  • SM30 Field level authorization check

    Hi, I have a requirement to add the authorization check in SM30 for the company field in the custom table. Please suggest. Thanks, Gagan Chodhry

  • Net Invoices from Input Vat Account

    Hi Experts, I have an Input Vat account for an specific Company Code that has the netting functionality properly working. This functionality was turned on after a number of invoices had been processed for that account, and the account has a positive

  • Spotlight on Iphone 4 showing deleted emails

    When I use spotlight for various searches, it shows email messages which I have already deleted. Although when you select them it takes you to the folder the message was originally stored in, but the message is not there. The messages are not in any