Add columns in the existing Customer table in a Subject Area

Hi All,
Well I need to add two columns from Sales table(new table i created which has customer Id) and join it to the Customer Table which has the Customer Id and several columns. The Customer table was already in the RPD which has all the customer information. Now that i have this new requirement to add few columns from the Sales table to the Customer table in one Subject Area.
What i have done so far is that I imported the sales table into the rpd, made a join in PHYSICAL LAYER on the customer ID of the Sales table to the Customer id of the Customer table and simply dragged the sales table to the Customer LTS in the BMM layer(NO MORE JOINS IN BMM)and dragged and dropped the same into the Presentation layer. The customer table is linked to one fact table in that subject area. So i thought that dragging the sales table columns in the customer table LTS will work because customer is linked to one fact in that subject area.
Now, In the Answers when I dragged columns from customer & sales table I see only one record that is the first customer_id record from my Sales table but i know there are many common customer_ids between those two tables but its only picking the first customer id from the sales table.
Any help will be appreciated..
Normally if we need to add some columns to the existing tables in one subject area what is the best approach??

Hi Balajee,
SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
for more information check with these links
ADDING NEW FIELDS IN me21n
ADDING NEW FIELDS IN me21n - (Screen exit / enhancment)
hope this will useful to you.
Regards!

Similar Messages

  • Add column in the dynamic internal table

    Hi Experts,
    I have a dynamic internal table. I need add new column in the internal table and I don´t Know.
    My code:
    DATA:  it_generic TYPE REF TO Data,
    wa_generic TYPE REF TO data.
    FIELD-SYMBOLS: <table> TYPE ANY TABLE,
    <wa>    TYPE ANY,
    <field> TYPE ANY.
    CREATE DATA it_generic  TYPE STANDARD TABLE OF (wa_datoscarga-ZTBLCAR).
    CREATE DATA wa_generic  TYPE (wa_datoscarga-ZTBLCAR).
    ASSIGN it_generic->* TO <table>.
    CHECK <table> IS ASSIGNED.
    ASSIGN wa_generic->* TO <wa>.
    CHECK <wa> IS ASSIGNED.
    SELECT *
    INTO  CORRESPONDING FIELDS OF TABLE <table>
    FROM (wa_datoscarga-ZTBLCAR)
    WHERE  bukrs   EQ p_bukrs      AND
    z_petic EQ z_peticion   AND
    ZIDFASE eq 'E'.
    After this I need add one column selection at the first position of the columns.
    Thanks

    Hi,
    Please refer to the below link for the code snippet on how to create a dynamic internal table -
    [Create a dynamic internal table.|http://www.divulgesap.com/blog.php?p=MjE=]
    Cheers,
    Ravi

  • How to add columns in the Group Custom Columns

    Hi,
    In a group, if you select Edit Group link, and select the Columns tab, and then select the "Modify" button, then select a target type from the drop down, you can pick listed columns and move it to the Selected Columns list. I am interested in adding a column in the drop down list, how do I do that? If the target type is a plug-in that I created, then what properties I should set in the metadata xml file?
    Thanks for the help.

    As far as I am aware, there are no properties in your plugin's target type metadata XML file that relate to what columns show up in the Groups UI in the EM console. I suggest pursuing this as a bug against the Groups UI.

  • Need to add 2 new columns to the existing table control of C223 transaction

    Hi ABAP Gurus,
    I have to do a screen enhancement for transaction C223.
    Below is the requirement:
    need to add 2 new columns to the existing table control of C223 transaction.
    there is no customer exits, screen exit or user exit present for this transaction C223, i have found one enhancement spot for this transaction.
    i dont have any idea how to do this in standard transaction C223, the table control in C223 saves the data to MKAL table and the table control uses the structure MKAL_EXPAND in the screen program.
    i have created an append structure for  the 2 fields to the standard table MKAL.
    Can anyone please suggest me how this can be done in standard screen C223, will the enhancement spot can be used to do this....
    please sugest...
    Thanks & Regards

    Hi Santosh,
    Thanks for the reply. I have looked into this Enhancement Spot CPFX_SCREEN_SET , inside this there is only one method INPUT_DISABLED having below parameters
    IM_MKAL     Importing     Type     MKAL                                                                                Production Version
    EX_MSGID     Exporting     Type     SY-MSGID                                                                                Messages, Message
    EX_MSGTY     Exporting     Type     SY-MSGTY                                                                                Messages, Message
    EX_MSGNO     Exporting     Type     SY-MSGNO                                                                                Messages, Message
    EX_MSGV1     Exporting     Type     SY-MSGV1                                                                                Messages, Message
    EX_MSGV2     Exporting     Type     SY-MSGV2                                                                                Messages, Message
    EX_MSGV3     Exporting     Type     SY-MSGV3                                                                                Messages, Message
    EX_MSGV4     Exporting     Type     SY-MSGV4                                                                                Messages, Message
    EX_INPUT_DISABLE     Exporting     Type     CHAR1                                                                                Display Only if X Was Set
    the BADI definition present here is a SAP internal so we cant implement the BADI , but we can created a enhancement spot implementation for this. as per my understanding on this the enhancement spot is only for making the table control fields display / change .  i dont think this can be used to add two new coloumns to C223 table control.
    I am not sure thats why seeking your help/valuable sugestion on this.
    Please provide your sugestion on this , so that i can come to conclusion on this issue.
    Thanks & Regards
    Siddhartha Mishra

  • How to add a column at the end of table in already designed document..?

    Hi,
    I am writing a javascript for adding a column at the end of table in Indesign document. using our plug-in we have created the Indesign document.
    Each table i want to add one extra column at the end. Is it possible..? please help me if anyone has idea regarding this.
    Thanks,
    Vimala L

    Hi Vimala,
    Please try the below JS code, This code will add the new column in every table last column after.
    var myTable = app.activeDocument.stories.everyItem().tables.everyItem().getElements();
    for(i=0; i<myTable.length; i++){
       myTable[i].columns.add(LocationOptions.after, myTable[i].columns[-1]);
    thx,
    csm_phil

  • Nsert/Update and Add Column at the same Table and at the "same" Time

    Hello,
    I want Insert/Update and Add Column at the same Table and at the "same" Time but in different sessions.
    Example:
    At first the "insert/update" statement:
    Insert into TestTable (Testid,Value) values (1,5105);
    After that the "add" statement:
    Alter table TestTable add TestColumn number;
    - sadly now I get the message: ORA-00054: resource busy and acquire with NOWAIT specified
    "insert/update" statement:
    Insert into TestTable (Testid,Value) values (2,1135);
    After that the execute commit.
    I don't know when the first session set the commit statement so I want that the DB the "Alter Table..." statement execute if it's possible.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.
    Thanks for ideas

    Well I want to walk in the rain without and umbrella and still stay dry, but it ain't gonna happen.
    You can't run a DDL statement against a table with transactions pending. Session 2 has to wait until session commits or rollbacks (or until the session is killed). That's just the way it is.
    This makes sense if you think about it. The data dictionary has to be consistent across all sessions. If session 2 was allowed to change the table structure whilst session 1 has a pending transaction then the database is in an inconsistent state. This is easier to see if you consider the reverse situation - the ALTER TABLE statement run by session 2 does a DROP COLUMN TESTID rather than adding a column: now what should happen to session 1's INSERT statement? You have retrospectively invalidated a statement that was perfectly legal when it was executed.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.Fnord.
    Cheers, APC

  • Add field value to the existing internal table.

    how to add a field value to the existing internal table.
    DATA: BEGIN OF ITAB occurs 0,
                 EBELN TYPE EKPO-EBELN,
                 EBELP TYPE EKPO-EBELP,
                 AEDAT TYPE EKPO-AEDAT,
                 amount(10) type c,
               END OF ITAB.
    select * from ekpo
           into corresponding fields of table itab.
    itab-amount = '2400'.
    loop at itab where ebeln eq 70 .
           write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,itab-amount.
             endloop.
    here output is not showing the amount field value.
    please tell me how to solve this problem urgent
    thanks in advance.

    Hi Sekhar,
        First let me know wheather you are assigning some value to the amount field externally to all records? if this is wright means check the below code.
    DATA: BEGIN OF ITAB occurs 0,
    EBELN TYPE EKPO-EBELN,
    EBELP TYPE EKPO-EBELP,
    AEDAT TYPE EKPO-AEDAT,
    END OF ITAB.
    select * from ekpo
    into corresponding fields of table itab.
    v_amount = '2400'.
    loop at itab where ebeln eq 70 .
    write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,v_amount.
    endloop.
    or if you want to modify perticular records in itab  then use below code.
    DATA: BEGIN OF ITAB occurs 0,
    EBELN TYPE EKPO-EBELN,
    EBELP TYPE EKPO-EBELP,
    AEDAT TYPE EKPO-AEDAT,
    amount(10) type c,
    END OF ITAB.
    select * from ekpo
    into corresponding fields of table itab.
    loop at itab.
    itab-amount = '2400'.
    modify itab index sy-tabix (or perticular line number).
    endloop.
    loop at itab where ebeln eq 70 .
    write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,itab-amount.
    endloop.
    Thanks,
    Suma.

  • SRM - Add column to Response and awards table

    Hello,
    I have a requirement to add a column in the compare responses table (please see print attached), i've found the WDA program, that is the /SAPSRM/WDC_AODC_BEV_CMP, View: V_BID_COMP_ITEM, but the part of the table that is in the print attached is created dinnamicly so i have not found where do i go to add a column there.
    Has any of you guys done that?
    Thanks a lot!
    Joe

    Hello Madhu,
    Thanks so far for the responses, but now my questions are in a more technical way. I've found where the column is created but now i have 2 other problems.
    1 - The place that the columns are created is the method: /SAPSRM/IF_CLL_DOTM_BEV_C_I~VIEW_GENERATE. I've created a enhancement at the end of the code. There is a DO for every bid line to create the grouped columns. My question is, i'm able to place a column only on the last grouped columns, because is the last one instanciaded on the standad do end do code. Is it possible to re-instance a grouped columns to add a column there? Ex:
    Add the column group to the table
    lr_table->add_grouped_column(
    the_grouped_column = lr_group_col ).
    ENDDO.
    My code is here after the enddo. The lr_group_col will be used to create a instance for every grouped column, and i my code when i use the lr_group_col only get reference to the last one created get it?
    2 - In the code, it creates the columns, with the fields referencing a context, Ex: BID_COMP_ITEM.PRICE_1. It's created dinamycly, and i'm not able to read/change theses values because is not like reading context for regular context node on WDA. Do you know how can i do it? Like importing thoses values to change and bind it again...
    Thanks for the responses so far, i'm almost here
    Joe

  • Check the Existance of  Table

    Hi,
    How to check the Existance of table, My require ment i have two tables lets say A And B, If table B does not exist then delete records in table A.
    Can any one tel me how to write a query.
    Thanks in Advance

    hi,
    whether your requirement is to check the existence of table B in the entire database or only in your schema.
    because:
    the user_tables contains the tables owned by the owner of the schema,
    and all_tables caontains the tables that can be access by you,
    and dba_tables contains all teh tables in your database.
    so based on your req query any one of the table and check as suggested earlier by others.
    and the 'tab' table also shows if there is any synonym with the table name as 'B'.
    so if you are going for 'tab' table then also specify the column "TABTYPE = 'TABLE' ".

  • Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Thanks Kelly,
    The answers would be the following:
    1200 cells per custom section (NEW COUNT), and up to 30 custom sections per spec.
    Assuming all will be populated, and this would apply to all final material specs in the system which could be ~25% of all material specs.
    The cells will be numeric, free text, drop downs, and some calculated numeric.
    Are we reaching the limits for UI performance?
    Thanks

  • How to Organize the columns in the dynamic internal table?

    Hello Folks!
    How to Organize the columns in the dynamic internal table? i tried passing the parameter COL_POS to the fieldcatalog, Which is not working.

    Organize in What order ? What is your way to output ?
    If you use ALV, you need to create fresh FIELD CATALOG for your dynamic table and then assign the column position.
    Regards,
    Diwakar

  • [HTML DB] How to use the existing database table?

    [HTML DB] How to use the existing database table?
    I installed Oracle 10g database in Computer A(Windows 2000), and I already create all the tables with data and the data size is about 300MB.
    In Computer B(Windows 2000), I installed HTML DB 1.6.
    How can I use /get the existing database table (in computer A) for HTML DB?
    Could anyone help me on this? I am newbie and I need some detail instructions. or Where can I find the examples.....
    Thanks

    Well I guess if you wish to retain that architecture, i.e. HTMLDB on one machine and your data on another, you will have to establish database links to access the data. Oracle documentation will describe how to achieve that.

  • Alternate fact table without disturbing the existing fact table in EIS

    I have a question in EIS, how to load or work with alternate fact table, without disturbing the existing fact table, pls provide me with some procedure and steps
    thank u in advance
    sunil

    Yes you can have multiple models and metaoutlines load one cube. I've done it before. The trick is you ahve one "master" metaoutline that you put all the measures in (even if they are manually added. You use that to build the cube. Then you can have multiple metaoutlines build different measures within the cube. The idea is you have to have them update different intersections or the last one in will be what you get. I have a client that gets sales info from one source, shipment info from a different relational source . in all I have 10 differnt models and metaoutlines that build one cube. you just lump the load statements into one CBS file. It works great (or as great as EIS works). The biggest issue is timing to make sure all the sources are available when the load is going to be doe. Of course you could build different parts at different times.

  • Fact table have tow column reference the same dim table

    In my analytic domain, my fact table have tow column reference the same dim table, but in physical diagram, between two table ,can only have one join, so i create a copy of the dim table, then finish the join in physical. This method can resolve this question, but not so good, Anyone have perfect solution?

    user4497169 wrote:
    Thanks,
    yours method is very very good, I don't know this method before. Where do you get this imfomation?The sample sales RPD has (good) modelling references you can refer to, otherwise think about how you'd write the SQL Statement yourself, you'd need to use an alias to access the same table on seperate joins.

  • Which transaction do i find the existing custom idoc?

    Hi,
           Can you please tell me the transaction where i can find the existing custom idoc?

    Dear Subhash,
    To see the existing IDOC in any SAP system
    Use Trasaction code WE05 and select the criteria by date.
    You can see the list of IDOCS existing in the system.
    Best of Luck
    Praveen

Maybe you are looking for

  • How do I get my plugins to work?

    I have just upgraded (?)  to Elements 13 but I cannot get my plugins to work...... If I use the "Additional Plugins"  option you can only have 1 plugin at a time working.   I use the Nik collection and also DXO Viewpoint 2 if they are not going to wo

  • I cannot get my IMAC running 10.7.5 to connect to my Nexus 7 tablet via USB cable

    I have talked to Google about this problem and they seem pretty clueless.  On my third call they claim there is an Apple driver that I lack to allow the Android File Transfer software to work.  Any help with this would be greatly appreciated.

  • Keep variable values in an operation mapping

    Hi experts, I have a synchronous interface and I need to recover information from the request message mapping to be used in the response message mapping both in the same operation mapping (I have a PI 7.1). Perhaps using OM parameters? Regards Gonzal

  • Urgent: Linked object not available

    We imported one role from one EP7 (DEV) into another EP7 (QAS). At target QAS PCD, we see the role has a path: pcd:portal_content/com.sap.portal.migrated/SAPComponentSystems/roles/DEVCLIENT10/ROLE1. 1) We changed above path to: pcd:portal_content/com

  • How to ignore data for a chart

    I want to create a formula that I can reference from a chart.  I want the chart to display all contact.building values when the contact.company is "ABC."  Otherwise, ignore all other data.  If {Contact.Comp} = "ABC" then {Contact.Building} else ignor