Implementing Sub-Types/Designer6.0

Hi all
I'm would like to use the ER Designer Module to generate my new
database tables. There I have an Entity with several
Sub-Entities. The given options to implement them in the database
design transformer are not what I'm looking for:
Isn't there a way to force the transformer to generate the
sub-entities as separate tables (somewhat similar to the
ARC-Implementation) but give them the same primary key as in the
Super-Entity??
I'm used to this look and feel of sub-entities or is this not
state of the art anymore? Or do I get any problems with this
implementatione approach? Thanks for any help ;) Kuno
null

Boa tarde,
Desculpe pela Caixa Alta,
sim como type ANY ele permite, mais posteriormente a isso o editor dava erro quando eu queria atribuir um valor a uma destas sub-tabelas, por exemplo :  surgiram alguns erros, e então acabei desistindo e usando WA com append normalmente, lembro me que usando CASTING ele so permite se tiver um TYPE Generico como N, I, C, Etc. e não ANY.
De qualquer forma obrigado!

Similar Messages

  • Error in ESS Mandatory field for Address(0006)  Sub type 1

    Hi Experts ,
           I configured certain fields as mandatory fields in the tables  V_T588MFPROPC &  V_T588MFPROPS for Address(0006) sub type 1. It is working fine in my development system and quality system . The same configuration is moved to production , it showing the error "fill all required fields" . Aprat from th V_T588MFPROPC &  V_T588MFPROPS any other table to configure for mandatory filed.
    with regards
    Renjith

    Hi Renjith ,
    Kindly check the below,
    1. check the badi implementation of HRXSS_PER_BEGDA
    2. Check whether the note 1044777 is implemented in system
         1044777 -   Inconsistency in date handling of ESS PersInfo
    3. Also this may be because of back end data also, try to create a new set of data with all the required fields and try to   edit     the same in portal because most of this issue may occur because of data.
    Regards,
    Meera

  • Business Rules on super-sub types

    We are currently in the process of modeling business rules. We have some super-subtype entities in our datamodel. We also have business rules on the super-type as wella as the sub-types.
    What name for these BR's should we use, more specific which entity short-name: the entity-short-name of the type (super or sub) the rule applies to OR the entity-short-name of the (technical) to be implemented table?
    How will Headstart deal with these names when transforming the BR's to technical BR's and how will the CAPI-creation utility deal with this?
    Geert

    The business rules transformer should correctly handle the super/sub type rules. It assumes that your super/sub
    type entities are mapped to a single table with a discriminator column. You can name the rules using the correct
    super/sub entity name and the transformer will determine the table each is mapped to (all the same table). The
    transformer will add a condition to the Trigger When clause for subtype rules so that they are only triggered on rows
    where the subtype is of the correct type.
    Regards,
    Lauri

  • Sequence creation for Super Type and Sub Type (Parent-Child)

    Data Model is structured with Super Type-Sub Type Concept.When data is being inserted in the Super Type table, I will be using a sequence Supertype.NEXTVAL as Primary Key.Now the same sequence will be the Primary Key for Sub Type table also. Can I use Supertype.CURRVAL during insertion in Sub Type table?
    If Yes, I have lot of records being created in Super Type table within a second. So before data is being inserted in Subtype table there may be chance of a row being inserted in Super Type table and if I use Supertype.CURRVAL it may lead to wrong data.
    How can I make sure that Supertype Primary Key is being inserted as Primary key in sub type table?

    What happens when you try it? Something like:
    session1> select t_seq.nextval from dual;
       NEXTVAL
         40061
    session2> select t_seq.nextval from user_objects;
       NEXTVAL
         40062
         40063
         40064
         <snip>
         40270
         40271
         40272
    211 rows selected.
    session1> select t_seq.currval from dual;
       CURRVAL
         40061john

  • How to Add Values in INVOICE SUB-TYPE field at the Invoice Header Forms

    Hello,
    Does any body knows how could I add/modify values in the INVOICE SUB-TYPE field at the Invoice Header Forms?. This values are related to the Globalization, in this case for the Chilean Localizations.
    Thanks,
    Alejandro R.

    It gives any error or just does nothing?
    Have you tried making another simple form with just one block and one or two items?
    You can do this type of testing in these conditions.
    Which version of forms are you using?

  • Handling pop up of sub type HR_MAINTAIN_MASTERDATA function module

    Hi All,
    I am using HR_MAINTAIN_MASTERDATA for creating employee it's working fine but i am not able to handle pop up for sub type.
    For example sub type for Address it gives me pop up with values 1 Permamant address 2 Office address etc.
    Anybody know how to handle such pop up in function module. How to provide values to sub type.
    Thanks in advance.

    Hi,
    <li>Instead of using HR_MAINTAIN_MASTERDATA function module, you can use HR_INFOTYPE_OPERATION, because HR_MAINTAIN_MASTERDATA is used inside HR_INFOTYPE_OPERATION.
    <li>Check the sample program .
    REPORT  ztest_notepad .
    DATA:p0006  TYPE STANDARD TABLE OF p0006 WITH HEADER LINE.
    DATA:return LIKE  bapireturn1.
    p0006-pernr = '00001234'.
    p0006-subty = '2'.
    p0006-endda = '99991231'.
    p0006-begda = sy-datum.
    p0006-anssa = '2'.
    p0006-name2 = 'xyz'.
    p0006-stras = 'Street 64'.
    p0006-ort01 = 'US'.
    p0006-pstlz = '560634'.
    APPEND p0006.
    CLEAR  p0006.
    LOOP AT p0006.
      CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
        EXPORTING
          number = p0006-pernr.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty         = '0006'
          number        = p0006-pernr
          subtype       = p0006-subty
          validityend   = p0006-endda
          validitybegin = p0006-begda
          record        = p0006
          operation     = 'INS'
          tclas         = 'A'
        IMPORTING
          return        = return.
      IF  return IS INITIAL.
        WRITE 'Successfully records created'.
      ENDIF.
      CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
        EXPORTING
          number = p0006-pernr.
    ENDLOOP.
    Thanks
    Venkat.O

  • Handling pop up of sub type HR_MAINTAIN_MASTERDATA

    Hi All,
    I am using HR_MAINTAIN_MASTERDATA for creating employee it's working fine but i am not able to handle pop up for sub type.
    For example sub type for Address it gives me pop up with values 1 Permamant address 2 Office address.
    Anybody know how to handle such pop up in function module. How to provide values to sub type.
    Thanks in advance.

    HI R P,
    The field SUBTY is there as an export parameter for function module you mentioned.
    Please pass the value for that field when you call the FM in your program.
    Hope this helps
    Ajay

  • How to create the sub type field in hr abap infotype

    hi ,
        how to create the sub type field in hr abap infotype.
    regards,
    venkat.

    Try like this also
    creating of infotype please follow these steps ...
    Step 1: Create Infotypes
    i. Goto Transaction PM01 – To create Infotypes:
    ii. Enter the Infotype Number and say create all.
    iii. The following message would display:
    i. PSnnnn Does not exist. How do you want to proceed?
    iv. Click
    v. A maintain Structure screen appears.
    Fill in the short text description and the PS structure of the Infotype.
    Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
    vi. Once the PS Structure is created, save and activate the structure.
    vii. In the initial screen of PM01, now click on .
    Create a new entry for the infotype.
    Fill in the values as mentioned below and save.
    Infotype Characteristics:
    Infotype Name of the infotype_ Short Text: __Short Description________
    *General Attributes :
    Time constraint = 1
    Check Subtype Obligatory
    Display and Selection:
    Select w/ start = 3 “Valid record for entered data
    Select w/ end = 5 “Records with valid dates within the period entered
    Select w/o date = 6 “Read all records
    Screen header = 02 “Header ID
    Create w/o end = 1 “Default value is 31.12.9999
    Technical Data:
    Single screen = 2000
    List screen = 3000; List Entry Checked.
    viii. In the initial screen of PM01, now click on .
    Choose the infotype entry in the list.
    Fill in the values as mentioned below and save.
    Technical Attributes:
    In tab section,
    The following attribute values are given:
    Applicant DB Tab = PAnnnn “Infotype Name
    Subtype field = SUBTY
    Subtype table = T591A
    Subty.text tab. = T591S
    Time cnstr.tab. = T591A
    Prim. /Sec. = I Infotype
    Period/key date = I Interval
    and .
    ix. Infotype Screen Modification:
    Edit Screen 2000 from PM01 for the Infotype.
    ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
    Click . Flow Logic will be displayed. There string coding of your own logic.
    Regards
    Pavan

  • How to define a Sub Type in IT0717

    Hi Experts,
    Currently working on Benefit point account.
    could some one tell me how to define a Sub Type for IT717.
    how do i configure.
    Appreciate your response.
    Regards
    Raj

    Hi,
    I have created the subtype in the table you specified.
    But unable to see the created subtypes for IT552 in PA30.
    Appreciate your further inputs.
    Regards
    Rajesh.N.S

  • Has anyone ever implemented SCD Type-4 using SSIS??

    Hello Experts!!
    I have been trying to implement SCD TYPE-4 using SSIS and really got stuck and searched on-line for help. for my surprise, there isn't anything up on this topic.
    I know the theory behind SCD Type-4 is to maintain history in seperate tables in a rapid changing dimensions.
    please help if any of you ever implemented scd type-4 using SSIS.

    Hi,
    The stock Slowly Changing Dimension Transformation of SSIS only supports SCD Type 1 and Type 2. For SCD Type 4, it maintains two tables: one to keep the current data, and the other one to keep the historical data. As a workaround, you can also implement
    SCD Type 1 via SCD Transformation, and implement Change Data Capture at the same time. SSIS also provides CDC Control Task and related Data Flow components.
    References:
    http://www.bidn.com/blogs/TomLannen/bidn-blog/2606/slowly-changing-dimension-type-1-changes-using-ssis-scd-component 
    http://www.mattmasson.com/2011/12/cdc-in-ssis-for-sql-server-2012-2/ 
    Regards,
    Mike Yin
    TechNet Community Support

  • Add a foriegn key constraint to to a sub type on an object table

    Hi,
    I'm trying to set up a new table of an object type in our DB at work and on it I want to create a foreign key constraint on one of the attributes of one of the sub types
    The table is called documents and is a table of document_ot
    Definition:
    create or replace
    TYPE document_ot AS OBJECT (
    -- ATTRIBUTES
    created_date DATE,
    created_by VARCHAR2( 32 ),
    doc_id NUMBER,
    -- CONSTRUCTORS
    ) NOT INSTANTIABLE NOT FINAL;
    This type is extended by the type funding_certificates_ot
    create or replace
    TYPE funding_certificate_ot UNDER document_ot (
    -- ATTRIBUTES
    fc_prefix VARCHAR2( 2 ),
    fc_sequence NUMBER,
    fc_suffix VARCHAR2( 1 ),
    fc_pr_id NUMBER,
    -- CONSTRUCTORS
    -- METHODS
    ) NOT FINAL;
    I want to add a constraint to the to documents table that says that the funding_certificate_ot column fc_pr_id references pr_id in the table payruns.
    I've managed to create an index on the fc_pr_id column using:
    CREATE INDEX fc_pr_idx
    ON documents d (treat (value(d) as funding_certificate_ot).fc_pr_id);
    The code I thought I'd use for the foreign key constraint would be:
    ALTER TABLE documents d
    ADD CONSTRAINT doc_pr_fk FOREIGN KEY
    treat (value(d) as funding_certificate_ot).fc_pr_id
    REFERENCES payruns
    (pr_id)
    ENABLE;
    But that doesn't work - would someone be able to give me the correct syntax please?
    Many thanks

    Hi,
    I'm trying to set up a new table of an object type in our DB at work and on it I want to create a foreign key constraint on one of the attributes of one of the sub types
    The table is called documents and is a table of document_ot
    Definition:
    create or replace
    TYPE document_ot AS OBJECT (
    -- ATTRIBUTES
    created_date DATE,
    created_by VARCHAR2( 32 ),
    doc_id NUMBER,
    -- CONSTRUCTORS
    ) NOT INSTANTIABLE NOT FINAL;
    This type is extended by the type funding_certificates_ot
    create or replace
    TYPE funding_certificate_ot UNDER document_ot (
    -- ATTRIBUTES
    fc_prefix VARCHAR2( 2 ),
    fc_sequence NUMBER,
    fc_suffix VARCHAR2( 1 ),
    fc_pr_id NUMBER,
    -- CONSTRUCTORS
    -- METHODS
    ) NOT FINAL;
    I want to add a constraint to the to documents table that says that the funding_certificate_ot column fc_pr_id references pr_id in the table payruns.
    I've managed to create an index on the fc_pr_id column using:
    CREATE INDEX fc_pr_idx
    ON documents d (treat (value(d) as funding_certificate_ot).fc_pr_id);
    The code I thought I'd use for the foreign key constraint would be:
    ALTER TABLE documents d
    ADD CONSTRAINT doc_pr_fk FOREIGN KEY
    treat (value(d) as funding_certificate_ot).fc_pr_id
    REFERENCES payruns
    (pr_id)
    ENABLE;
    But that doesn't work - would someone be able to give me the correct syntax please?
    Many thanks

  • Validating sub type field

    Hi Experts,
                     Iam new to HR Abap programming environment. My requirement is :   In 15 infotype, there is a LTA sub type ( leave travel allowance ). whenever user enters that LTA amount, it must be validated with  Exemption Amount ( which exists in  Infotype 582 in subtype LTA ). also, LTA amount should not exceed more than exemption amount.
    Please give me some suggestions of how to approach in this regard.
    Your suggestions are appreciated.
    thanking you in advance
    regards
    Murali Krishna T

    Hi ,
    We can achieve this by using Dynamic actions. When you save the data , this dynamic action will be triggered. In that you can configured a form .In that form you can write a code to validate LTA amount.
    Dynamic actions can be configured in the table T588Z.GO to maintenance view of T588Z and in that maintain entry for Info type 0015  and give a form name and Program name in which that form is written. Then write a  program and write a form in that. Program type can be subroutine pool. In that form you write a code for your requirement. You can find more document on dynamic actions in SDN.
    Hope this information will help you.
    Thanks and Regards,
    Narendra.Somarouthu

  • Creation of sub-types

    Hi Guy's,
    Please explain me how to create the Sub-types in ABAP-HR.
    Thanks,
    Sai.

    Hello Sai.
    Transaction SWO1 which is nothing but Business Object Builder.
    Enter the "Object/Interface Type" and then click on "Subtype".
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Implementation of type-ahead functionality in Endeca JSP Ref application

    Hi all,
    I am trying to implement the type-ahead functionality in Endeca jsp reference application which Oracle is shipping with it's products. The type-ahead functionality is not present by default. Can anyone help me to implement the same thing or provide sample code/strategy to achieve the desired results ?
    Basically typeahead functionality is present in Endeca Information's quick start's search box (EID) but not it JSP reference application .
    Waiting for the replies...
    Regards,
    Hoque

    Type-ahead functionality can mean different things and be implemented in different ways. It is usually based on what behavior your user-space would benefit from.
    In the commerce space, one popular use-case is to return Category matches based on what a user has started typing. Within Endeca, this boils down to doing a dimension search and having the Category dimension enabled for dimension search. If a user starts typing "cam", the type-ahead would then recommend:
    Category: Cameras
    You can match on multiple dimensions though, so long as they are enabled for dimension search. For example, if a user starts typing "ca", the type-ahead could return:
    Category: Cameras
    Brand: Canon
    Furthermore, this behavior can be extended by enabling Compound Dimension Search. Compound Dimension Search is enabled via a flag on the dgidx process and on your ENEQuery. It provides the following behavior. If a user searches for "canon cam", it would suggest:
    Category: Cameras + Brand: Canon
    Clicking on the type-ahead would return the intersection of Category = Cameras and Brand = Canon, eliminating a click if the user is after Canon brand Cameras.
    With regards to implementation, it basically boils down to an AJAX call to a service/URL that responds with dimension search results. Then populate an empty &lt;div&gt; with links.
    Other scenarios involve returning Product/Record matches instead of Dimension matches.
    Edited by: gose on Sep 11, 2012 8:31 AM

  • How to implement SCD type 2 in OWB 11g

    Hi all,
    I would like to know that how to implement SCD type 2 in OWB 11g.
    Actually I have tried to implement it but the target table which contains the effective_date and expiration_date are null after running the mapping.
    I have set the effective date and expiration date settings in the SCD tab of dimension object.
    Kindly help me the same if anyone knows.
    Kind regards,
    shikha

    You were able to get OWB11g to move data?
    Are you running on a 64-bit windows server? I could not get it to do a basic data move on this type of server install.

Maybe you are looking for