Adding fields into DSO in the Key Fields

Hello Experts,
I am using a Cube which loads data from DSO. Now, for some requirement I have to add one field into DSO in the key  fields Part. But DSO already has 16 fields which I cannot remove.
So how can I add one more field into DSO in this case?
The cube I am using is 0FIGL_C10 and the DSO is 0FIGL_O10.
Regards,
Nirav Shah

You can create an Infoobject - acts as a custom key to concatenate multiple fields into one and make it a keyfield.
15 fields + custom key ( concatenate 2 fields ) = 16 Keyfields
Procedure  - > Example
16th Key - > RVERS-Version-CHAR-3-0VERSION
17th Key - > RMVCT-TransactnType- CHAR-3-0MOVE_TYPE
1. Create one infoobject - ZKEY - Length = 6 ( add lenghts of the two objects)
2. Make ZKEY as a keyfield for the DSO.
3. Make 16th Key and 17th Key datafields.
Create a routine for ZKEY in the transformation or transfer rules to concatenate values coming from source into one.
TRFN Routine
Concatenate SOURCE_FIELDS-RVERS SOURCE_FIELDS-RMVCT into RESULT.
Or
Transfer Rules Routine
Concatenate COMM_STRUCTURE-RVERS COMM_STRUCTURE-RMVCT into RESULT.
This way nodata will be lost/overwritten due to less number of keyfields in the DSO.
We have as many as 21 Keyfields for GL Totals DSO.

Similar Messages

  • Logic to populate the key field of a DSO

    Hi SDN community,
    I have a very unique requirement and need ur help on this.
    I have a created a generic Datasource with two fields <b>Material Number</b> and <b>Minimum Quantity</b>. This is loaded into MINDSO01.
    The MINDSO01 in BW side will have two Key Fields:<b>Material Number and Load Date</b>. (Load Date is not a filed coming from the Datasource it is nothing but the date when the load is happened.)
    The reason to have Load Date as the key is, each time the DSO is loaded the records have to be unique.
    <b>Now my question is how do I populate the Load Date filed of the DSO which is the KEY field for the DSO???
    If I load on 9/25/2007 then the load date should be 9/25/2007.</b>
    <b>MAT01    9/25/2007</b>  5
    <b>MAT02    9/25/2007 </b> 8
    <b>MAT03    9/25/2007</b>  13
    bolded fileds are the keys of the DSO.
    Any suggestion are really appreciated and will award points for sure.
    Please do help me out with this issue.<b></b>

    Hi Snigdha,
    You can write a routine for the infoObject Load date is equal to sy-datum. So that it will take the value of the date as the day when the date is loaded and populates.
    If you are using 3.x, then write start / End routines in update rules or else if you using BI7, write routines in Transformations.
    Let me know details.
    Reg
    Pra

  • What are the key fields used to group double orders in t-code SDD1?

    What are the key fields used to group double orders in t-code SDD1?
    Cheers,
    VT

    Hi,
    You can group the duplicate sales documents with the help of the following fields,
    Sold-To-Party,Document type,date and sales area details.
    Regards,
    Gopal.

  • How can we get the value of the key field in a custom data model using governance API?

    Dear Team,
    How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
    Any kind of help would be sincerely appreciated.
    Thanks & Regards,
    Tushar.

    Hi Michael,
    Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
    For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
    This is a workaround for now.
    So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
    Can we do that using governance API and its' methods?
    In the Governance API doc you provided below has referring to below external model as part of gevernance API.
    The active or inactive data (before or during the derivation or the check) can be read
    with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
    the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
    parameter should b
    e set to ‘X’.
    Thanks
    Praveen

  • Old key field FROMNUMBER is now non-key field

    Hi All,
    I am getting one issue with NRIV table.When I tried to activate this table from se11 it is giving error as
      Program start============================================================
      Mass activation
      =========================================================================
      Process..................: presap_4
      User.....................: ABAP1
      Date, time...............: 19.02.2007, 12:50:33
      Platform.................: CUSTOMER-PRE(620)/ORACLE/WindowsNT/presap
      Tool.....................: SE11_OLD/RADMASG0
      Log......................: T, ABAP120070219125033
      Program parameters:
      Input medium..............: Direct object entry
      Activation method.........: Activ
      Chk. mode.................: O
      Version to be activated...: M
      Versions to Be Deleted....: Delete only active versions
      Lock against paral. exec..: Shared
      Parallel mode.............: Switched off
      =========================================================================
      Start phase 001 **********************************************************
            Activation of objects
    Activate objects at level 1
        Old key field FROMNUMBER is now non-key field
      Structure change at field level (convert table NRIV)
            Activation of objects
      End phase  001 ***********************************************************
               Activation of objects
    Activate objects at level 1
           Old key field FROMNUMBER is now non-key field
         Structure change at field level (convert table NRIV)
               Activation of objects
         End phase  001 ***********************************************************
         Start phase 002 **********************************************************
               Final log
         Following objects not activated/deleted or activated/deleted w. warning:
         Table NRIV could not be activated
         (E- Structure change at field level (convert table NRIV) )
           Final log
    End phase  002 ***********************************************************
    Start phase 003 **********************************************************
           Statistics on activated and deleted objects
    Number of objects to be activated............:  1
    Objects not activated........................:  1
    Activated objects with errors in dependencies:  0
    Objects activated with warning...............:  0
    Successfully activated objects...............:  0"
    Can any one help in this.It is bit urgent.
    Thanks,
    Krishna

    Hi Brend,
    Thanks for the reply.
    But could you tell me how to convert this table and what to convert.
    Posibble could you give this with step by step, we are struck with number range issues with this problem and needed with critical.
    Thanks for the help in advance.
    Krishna

  • LSMW - The source field is longer than the target field in MEK2

    Hi,
    I tried to create a simple LSMW script to end date condition records using MEK2 transaction.
    I provide Condition type, Plant, Material, Start Date and default Valid from and Valid to dates.
    When the program is generated, it defines just 1 character for Start date and when I try to map the date field from source, it gives following error message.
    Attention: The source field is longer than the target field.
    Message no. /SAPDMC/LSMW_OBJ_040013.
    Not sure why it is happening. I am on 46C.
    Please let me know if anybody come across such situation. I have checked all aspects, tried recreating in different systems but ended up with the same problem.
    You help in this regard will be highly appreciated.
    Regards
    Kasi

    It is a standard error, and I have not found any OSS note to fix it. In order to solve it, you can use this workaround:
    - Export the recording into a txt file
    - Edit the file, and modify the information correspondent to domain, data element and lengths (internal and external) fields, and save it
    - Import the recording
    For example, I had problems in a recording with the field SEL_DATE of the transaction VB02. Then, I changed these values:
    Values before changes:
    /SAPDMC/LSGBDC                ZTEST          ZVB02_ZA01     0018                                        0000 SEL_DATE                                                                                DATE_ON                       Valid on                                                    CHAR1                         CHAR1                          SEL_DATE                                                    0000000000                              000001000001000001CHARC
    Values after changes:
    /SAPDMC/LSGBDC                ZTEST          ZVB02_ZA01     0018                                        0000 SEL_DATE                                                                                DATE_ON                       Valid on                                                    DATUM                         DATAM                          SEL_DATE                                                    0000000000                              000010000010000010CHARC
    (values 01 has been replaced by values 10)
    The values changed correspond to fields:
    /SAPDMC/LSGBDC-PARDOMAIN
    /SAPDMC/LSGBDC-PARDATAELEMENT
    /SAPDMC/LSGBDC-LENG
    /SAPDMC/LSGBDC-INTLEN
    /SAPDMC/LSGBDC-OUTPUTLEN
    The information that you have changed should be updated in table /SAPDMC/LSGBDC, where all the information of the recordings is stored. Check this information has been updated after recording import.
    I hope this solution be useful for anyone...
    Regards.

  • New Z-table to auto-populate description based on the key field entered

    Hi Gurus,
    I have to created a z-table, there are several fields however I am interested in only two
    1) VSTEL and 2) PADEST for shipping point and the printer name. Also there are two other fields I have added to the table that are the descriptions for VSTEL and PADEST. Now the requirement is that when the user enteres a value in table maintenance ( sm30)
    for say VSTEL, then its description should auto populate or propose the right values. Same should happen for the PADEST and its description field.
    Thanks.

    Goto the Table maintenance generator of the Table.
    On this screen.
    Environment -
    > Modification -
    > Events
    Create New entry in the table with T = 05 and Z <any name>
    Save it.
    An editor button appears next to the from name.
    Click on it and create an include.
    Write your code in this include...
    select vstel
           padest
           from table XXXX into table I_XXXX
           where vstel = (Z_VSTEL)User enterd VSTEL in module pool.
    If sy-subrc = 0.
          loop at I_XX into wa_xxx.      
              if wa_xxx-vstel = Z_vstel.
                z_padest(Desc field in Tab maint) = wa_XXX-PADEST.  
              endif.
          endloop.
    endif.
    The same logic can be used to get the desc for VSTEL and PDEST.
    You can change this in many ways based on performance.
    The above code is just to give an idea...
    Regards,
    Kittu

  • Which are the Key fields in the iTunes Music Database

    I assume that the iTunes Music folder is really a database for all the music. I further assume that this database has a Key Field (1 or more) which are necessary for it to function.
    Which fields are these and what are their names??
    I am still hunting for the songs that are missing in iTunes but are in the library.

    Ignore the question. I found the missing files. Had nothing to do with "key fields". Thanks

  • Updating the key field in a table

    I am trying to assign new values to the primary key column in a table. As it is necessary to hold a permanent record of the relationship between the new and old values, I am extracting the old values into another table and assigning the new values from a sequence with an insert trigger on this table.
    Within the same mapping, I cannot seem to take the new values from this table and update the original table. Ideally, I would like to update key flexfield colum with the new primary key values using the old primary values as the in the where clause' of the update statement (as opposed to delete and reinsert the rows into) the originating table - as I only pull across the key flexfield column into the number allocation table, this is necessary to preserve the other data.
    Can anyone let me know how this can be achieved?...I cannot find the concept of new and old in OWB table updates.
    I have tried using the (unsuitable) load type of 'DELETE/INSERT' on this table, but this results in the contents of the table being deleted when I run the mapping.

    If it's necessary to change the primary key then your database design is likely wrong. I don't understand why it would be necessary to update a PK unless you use PK with a certain meaning which is a design failure.
    Regards,
    Jörg

  • How can I merge 3 or more individual text fields into an editable summary text field?

    I am stuck and do not know where to begin. I am self taught in using Adobe LiveCycle and have found many answers here in the forums and via trial and error.
    I cannot find or create the correct java script or form calc to feed multiple text fields into one text field.  My supervisor is asking me to do this for two sections of a form I created using Adobe LiveCycle Designer ES 8.2.
    1)       Merge all 3 user entered text fields to an user editable summary text field at the end of the form.
    2)       Merge all 24 user entered text fields to an user editable summary text field at the end of the form.
    Since they are all individual text fields in response to various questions, I cannot use the global binding function. I do not want the summary text field to override the individual text fields.
    Here is the java scripting I placed on Show: calculate* Language: javascript Run: at client
    1) PDStrengthWeaknessComments.rawValue + "_" + OCStrengthWeaknessComments.rawValue + "_" + CEBAStrengthWeaknessComments.rawValue;
    Needless to say, these instructions are not working on my form. Would someone with a lot of experience or an IT degree kindly help me?

    I just tried adding the front end as you suggested and confirmed that the Object > Value is set to "calculated - user can override" for the summary text field.
    OverallAnalysisAppFeedback.rawValue = PDStrengthWeaknessComments.rawValue + "_" + OCStrengthWeaknessComments.rawValue + "_"  + CEBAStrengthWeaknessComments.rawValue;
    I was still unsuccessful.
    I opened the debugger and received the following information. I do not understand what AdobeLiveCycle is asking me to define.
    PDStrengthWeaknessComments is not defined
    1:XFA:GARP2011NewRecompeteSRW[0]:Page20-OverallAnalysisAppFeedback[0]:AllOverallAnalysis[0 ]:calculate
    PDStrengthWeaknessComments is not defined
    1:XFA:GARP2011NewRecompeteSRW[0]:Page20-OverallAnalysisAppFeedback[0]:AllOverallAnalysis[0 ]:calculate
    Budget1Comments is not defined
    1:XFA:GARP2011NewRecompeteSRW[0]:Page21-OverallAnalysisAppFeedback-Budget[0]:AlBudgetQs[0] :calculate
    Budget1Comments is not defined
    1:XFA:GARP2011NewRecompeteSRW[0]:Page21-OverallAnalysisAppFeedback-Budget[0]:AlBudgetQs[0] :calculate
    Do you have any additional tips or suggestions?

  • Field Status Groups Vs  Posting keys Field Status Groups

    Hi, Seniors,
    In my job posting Keys field status group fields I never used as required field  some cases just I used only Special G/L transaction Indicators except this I kept all the fields as Optional.  My doubt is How this fields can be used as independent priority If there is no important why dont we use only field status group fields like G001, G002, .....  why should we depend on Posting keys field status group Fields.
    Thanks in Advance
    Sarath babu

    Hi Sarath,
    If you do any chages in the FSG it will applicable to all G/L accounts which are using the same FSG. But if change posting keys FSG then it will applicable only to that particular posting key it wont effect rest of the G/L's. But you should takecare of the below things.
    I. A field which is suppressed at the posting key level shouldn’t be required in the
       field status group specified in the General Ledger Account.
    II. A field which is suppressed in the field status group under General Ledger
       Account shouldn’t be specify as required in the posting key level. 
    III. Posting keys are defined by Account type wise.
    Rams.N
    If this is helpful assign me points

  • Add new field into result of the transaction MD4C

    i want more information into the result of MD4C
    example:
    delivery date of the purchase order and confirmation date of the purchase order and field USR06 of PRPS table and other field like
    moving average price VERPR of the table MBEW and other information from SAP table related to purchase order or WBS elements or Order
    thanks a lot for reply
    best regards
    Patrice

    User exits and BAdI's for MD4C
    Enhancement/ Business Add-in            Description
    Enhancement
    CO610001               User exits: Assembly processing
    M61X0001               User exits PP-MRP materials planning
    M61X0002               User Exits PP-MRP Material Requirements Planning Evaluations
    Business Add-in
    MD_MRP_RUN_PARALLEL         Add-Ins for parallel planning run of requirements planning
    MD_PIR_FLEX_CONS            BAdI for flexible planned ind. req. consumption/reduction
    MD_PLANNING_RESULT          BADI for Issuing Planning Result
    MD_PLANNING_SCENARIO          BAdI for Maintenance of Add. Parameters in Planning Scenario
    MD_PLDORD_BOMEX_CIF         BAdI: Deactivation of BOM Forced Explosion in CIF
    MD_PLDORD_CHANGE            BAdI for Changing Planned Orders
    MD_PLDORD_POST              BAdI: Update of Planned Orders
    MD_PLDORD_SCHEDULING          BAdI: Schedule Planned Orders
    MD_PLDORD_TIME_STAMP          BADI for publishing time stamp problems
    MD_PURREQ_CHANGE            BADI for changing purchase requisitions
    MD_PURREQ_POST              BADI for updating purchase requisitions
    MD_PURREQ_REL_STRAT         BAdI for Deactivating Release Strategy for MRP Purch. Reqs
    MD_STOCK_TRANSFER           BADI: Change the Requirement Date During Stock Transfer
    MD_SUBCONT_LOGIC            BADI: Determine Subcontracting Logic
    MD_ADD_COL_EZPS             BAdI: Extra Columns for Evaluation PP-MRP Reqmnts Planning
    MD_ADD_COL_OVERVIEW         BAdI: Display of Additional Columns in the Material Overview
    MD_ADD_ELEMENTS             BAdI for Adding Additional Requirements/Receipts
    MD_ALTERN_EXPLOSION         BAdI for Alternative Explosion of Planned Orders (IPPE)
    MD_CHANGE_CALENDAR          BAdI: Change Calendar for Range of Coverage Calculation
    MD_CHANGE_MRP_DATA          BAdI: Change Data when Importing MDPSX
    MD_DISPLAY_ELEMENT          BAdI for Changing Display of MRP Elements
    MD_EXT_SUP                  BAdI for Determining the Issuing Storage Location
    MD_INTERACT_PLANNING          BAdI for Deactivating Changeability of MRP Elements
    MD_LAST_LOT_EXACT           BAdI for Calculating Last Lot Exactly in Individual Segment
    MD_MODIFY_PRODVERS          BAdI for Modifying Production Version
    MD_MODIFY_SOURCE            BAdI for Modifying Source Determination in MRP
    MD_MRP_LIST          BADI for further processing of MRP list
    MD_MRP_PARAMETERS           BAdI: Change Planning Parameters

  • How can we hide the key fields of ztables in sm30 display?

    experts.. pls help me....

    Hi,
    Use events in table maintenance generator '05' and write the code.
    Go to se11-table name-utilities-table maintenance generator-extras-events in table maintenance generator . In the source code
    Put form hide.
    <code>.
    endform.
    Or.
    In SE80
    Goto Function Group
    Then click on Screen
    Then click on Element List Tab
    Below u can see list of ur fields strting with ZTT-......
    And against that u can have to uncheck the checkbox in INPUT column ......
    So that the input for the field will be disabled..... when u go in edit mode......
    Regards,
    Jagadish

  • How to make SAP Query additional field as one of the selection field ?

    Hi experts,
    I'm working on a AdHoc query. I added some Additional fields to the infoset. I put Abap code to populate this additional fields as output fields but I want to make these fields as selection fields also.
    How can I accomplish this ?
    I'd appreciate any answer or suggestion.
    Thanks in advance.

    See Extended / Quick Search capability with attributes in the following SAP notes.
    [482338 - Using Extended Search in ISA B2B, ver. 30|https://service.sap.com/sap/support/notes/482338]
    [792556 - Quick search using several attributes|https://service.sap.com/sap/support/notes/792556]
    [888528 - ISA R/3 4.0: Extended catalog search not consistent|https://service.sap.com/sap/support/notes/888258]

  • How to skip the mandatory field validation for clearing the screen fields

    Hi Friends,
      I have created a module pool screen, and made some fields mandatory. after entering some fields, if i try to clear the fields, am unable to clear. Its throwing the error "Enter all required fields"., since some mandatory fields are there. But i could able to navigate through other screen. Both the "CLEAR" and "NEXT" command are given in the at-exit command only. Next is working but clear is not working.
    Please  provide me the solution.
    Thanks
    Karthikeyan.L

    Hi,
    To avoid automatic input checks you have to assing function type - E to appropriate screen field, which is not to be checked.
    These function codes don't trigger PAI processing, instead they go directly to
    MODULE mod AT EXIT-COMMAND.
    ..placed in PAI of the screen. In this way you can ommit automatic checks performed by system on mandatory fields. Please ensure you have assing E type to next and clear functions in GUI status.
    Regards
    Marcin

Maybe you are looking for

  • Error six when I try to open Photoshop Elements

    I own Elements 8, and it didn't successfully transfer from my former computer to my newest MacBook Pro. I.e., it told me to reinstall. That's not easy to do, since my new Pro doesn't have a disk drive, so I transferred the Elements file on a USB hard

  • How do i authorize my brothers mac so that i can put music from my laptop on his mac?

    How do i authorize my brothers mac so that i can put music from my laptop on to his iTunes? There seems to be no option on the store too

  • Is it possible to create a multiclip from different formats?

    Hello, I have footage from 3 cameras: 2 HDV (1440x1080) from Sony Z7 and 1 HD (1920x1080) from Sony EX-3. I could not find a way to create a multiclip in FCP 7; I get the message: The video frame sizes don't match. Is there a way to do after all? May

  • Microphone not working. (Mac)

    As of two days ago my microphone on Skype has not been working.  I did everything that skype.com told me to do but it still won't work.  I am starting to get annoyed because my microphone works on everything else but not here and the help they sugges

  • Multiple inputs in NI usb 6008

    I have to measure phase difference between two analog input signals. I did this by using two Ni daq assisstants but at a time I could only read one and an error comes. Kindly help me with examples if any of you have them.