Mapping a field to a custom data cartridge function

Hi,
I'm looking for a way to get toplink to map a field in a class to a custom data cartridge function.
I'm using Toplink 11g tp3. Is this kind of mapping possible?.
Thanks in advance for any help.
- Sunil

The easiest way to do this would probably be to define a view in the database that performs the function, and map your class to the view instead of the table.
Another option would be to map the class to the normal field and do a ReportQuery that applies the function when desired.

Similar Messages

  • 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

  • How do I add new fields to the 'Customer Data' tab under the BP

    I had previously found a screen in the SAP GUI to add fields so that they would show up on the 'Custmer Data' tab under the Business Partner screen. I thought it had been somewhere in se80 but I cannot find it again. Does anyone know where this is? Thank you!

    Hi Mark,
    You can do this using transaction EEWB. This is the Easy Enhancement Workbench.
    within this, you can use the wizard which will guide you through a step by step process to add the fields you need. Basically, there are 2 ways to add new fields  :
    1. Add new fields - this adds fields to table BUT000, but places the fields on a new tab called 'Customer Data'
    2. Add new attributes table - creates a new table and links it to BUT000 using the partner number.
    Hope this helps you.
    Cheers,
    Rishu.

  • How to populate values of KATR fields in additonal customer  Data in XD02

    i have a requirement to populate valutes in KATR(attribute) fileds in addtional cutomer data screen of XD02
    I have to group few attributes into and then if we give data in one attribute, the other attributes must give the possible value.
    please provide any code and user exit available to handle this.

    in the user exit i was able to write the logic to poupulate the KATR fields but they are not stored in KNA1 field, need suggestions for this.......

  • Customer data in PR

    The user exit EXIT_SAPLMEREQ_001 and EXIT_SAPLMEREQ_003 are not triggered until we click the customer data tab.
    If we save the PR without click the customer data tab, the field in the customer data tab will not be got and saved, how can I avoid this situation?

    HI,
    Check for exit which will be called just before 'SAVE' & in that exit writet logic to check  whether Cusomar data is filled or nor & POP UP a message saying 'Fill Customar Dtaa Forst & then Save'.

  • How to Test SSRS Custom Data Extension in TSql

    Hi There,
    I have created a custom data extenstion for SSRS 2008 Reporting Service.
    I can test the CDE in the Report DataSet -> DataSet Properties -> Query Designer -> Run Query.
    In the Command Text I pass parameters to the invoked VB code which is of type "BaanstedeCds" then name of my custom data extension.
    I can even Attach the Visual Studio VB Code Project that is invoked by the Query Designer an debug the code.
    The custom data extension works perfectly in SSRS.
    However I have not found a way yet to run BaanstedeCds (with a parametertext) from within SSMS 2008 by using an T-SQL statement!!! Is there a way to use the SSRS Custom Data Extension in Sql Server Management Studio using the dataset type I used in
    SSRS 2008?
    Because I am leaving the path of using Custom Assemblies in SSMS, for deploying an testing that way is undoable for me.
    I is to complicated and in order to properly debug these routines the entire solution of multiple projects is deployed each time even the slightest change has been made to the VB code. Also if I want to deploy from Test to Production it is very hard. I have
    to detach the databases etc, ect.  Note my previous question about this subject that remained unanswered!!!
    Using the Custom Data Extension the problems are a lot less. However I how do I use a routine in the CDS in T-SQL, like I could invoke a routine in the Custom Code Assemblies?
     I "hate" CLR routines. I have extreme trouble managing these CLR's as I explained in my post and other posts in the past.
    You just cannot build a maagable system that way.
    I had to convert all the CLR's (I had a lot of them) to Custom Data Extension Functions, as they do not have all the drawbacks  of CLR's.
    And using the CDE with all the converted CLR's in it works much better for me in the Report Manager.
    However in order to test de CDE I must invoke the CDE in a Windows Form something like this:
    Private Sub cmdGetData_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGetData.Click
    Dim CommandText As String = ""
    ' Get Parameters for CDE GetData
    CommandText = txtAdoCds.Text
    Dim Rdr As New BstCds.BaanstedeCdsReader(CommandText)
    ' Invoke GetData Function of CDE Rdr
    ' Input: CommandText: txtAdoCds.Text = TextBox on TestForm
    ' Output: DataTable: RdrDataTable
    Call Rdr.GetData(CommandText)
    If Not Rdr.RdrRetVal Then
    GoTo End_Method
    End If
    ' Show DataTable: RdrDataTable (in Excel)
    If Not BstOff.ToonTabel(DataTabel:=Rdr.RdrDataTable) Then
    Exit Sub
    End If
    End_Method:
    End Sub
    '=========================================================================
    ' File: BaanstedeCdsReader.vb
    ' Summary: Provides a means of reading one or more forward-only streams
    ' of result sets obtained by executing a command at a data source,
    ' and is implemented by Baanstede Data Processing Extensions
    ' that access BaanstedeIw3-routines.
    '=========================================================================
    Public Class BaanstedeCdsReader
    Implements IDataReader
    #Region "Public Variables"
    Public RdrRetVal As Boolean = False
    Public RdrSqlSel As String = ""
    Public RdrDataTable As DataTable = New DataTable
    #End Region
    #Region "Constructors"
    #End Region
    #Region "IDataReader Members"
    #End Region
    ' GetData '
    #Region "GetData Method"
    '==================================================================================================
    'We are executing the command using the connection string that connects to the Active Directory.
    'Hard coding of the connection string is because it is the same for all the ADs.
    'Once we read the data using a DataReader, we place the same in a DataTable so that can be used for
    'Other processings.
    ' Public Sub GetData(ByVal _CommandText As String)
    ' Output in Public RdrDataTable As DataTable
    '==================================================================================================
    Public Sub GetData(ByVal _CommandText As String)
    ' Ophalen Data in DataTabel '
    RdrRetVal = False
    ' Fills RdrDataTable Using _COmmandText
    RdrRetVal = True
    End Sub
    But can I invoke Report Manager Source Type BaanstdeCds's .BaanstedeCdsReader.GetData(CommandText) in TSQL any other way then using CLR ?
    Regards Jos
    It works, but it does not work (The program runs, but does not produce the desired result)

    Hi Josje,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Customer Data from R/3 to CRM - how to deactivate some fields?

    Hi,
    is there a possibility to exclude some customer master data field changes (e.g. kna1-katr8) from being transfered to CRM?
    Change pointers - that could be deaktivated in BD52 - don't influence the data distribution?
    Regards stefan

    You can influence the mapping of fields in the standard BADI's for downloading the customer_main BDoc, but there is no way to deactivate the mapping in standard - why should anyone? Performancewise this is no real gain, and one can still deactivate the display of fields in CRM if the data should not get displayed.
    Regards, Kai

  • Custom Field in Asset Master Data

    Dear Experts,
    I want to ask about a problem I'm having when adding a new field in Asset Master Data ( AS01 & AS02 ).
    I'm adding new field on the Time-dependent Tab. I already create the exit & the new custom field, and with the help of the functional registered the new field.
    I'm using a new installed SAP GUI 7.3 .
    The problem is that the new field doesn't appear when I access the tcode unless I click on the new field location.
    The problem seem doesn't appear in SAP GUI 7.1 & 7.2.
    Is there any setting that need to be done or this is the problem with the SAP GUI 7.3
    Thank you.

    Hi Karim
    You can go through the steps below to customize the field u2018Planned. retirement onu2019
    1, AS02 -> Menu: Environment -> screen layout -> Master data -> select layout and double click on Logic field group -> Select Logic field group 2 u2018Posting informationu2019 and double click on field group rules -> Change field group 13 to u2018Suppressed entry fieldu2019.
    Alternatively
    2, Use AO21 to customize the field as above.
    Note: field u2018Planned. retirement onu2019 in asset master is connected to the function u2018Simulate up to planned retirement dateu2019 in asset reports. After field u2018Planned. retirement onu2019 of asset master data is deactivated, the function u2018Simulate up to planned retirement dateu2019 in asset report will be disabled.
    Hope itu2019s helpful
    George

  • Custom Date Field not showing up in Pages Inspector

    I created a custom date field in Address Book and now want to merge info from Address Book into a Pages template I created (including this new custom date field). When I go to the Inspector to add the custom date field to the template, it is not listed as a field - only Anniversary and Birthday are listed as "other" fields.
    How do I get the custom date field to show up in the inspector?
    Chris

    Question asked and responded several times.
    The Help is unaware of the true program behaviour.
    In version 3, custom AddressBook fields are not usable in Pages.
    _Go to "Provide Pages Feedback" in the "Pages" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'09
    Yvan KOENIG (from FRANCE samedi 8 novembre 2008 18:13:21)

  • Different calendar styles: seeded vs. custom date fields

    All,
    In several reports we prompt users to select an opportunity close date (seeded date field) that is within a given period of interest using a prompt on the close date field. The calendar style provides two buttons to select the starting and ending points. Then the user must select the refresh link to narrow the date range and then pick the first and second dates. This requires five clicks. Users find this cumbersome.
    In contrast, we have a couple of reports that use a custom date field and users are prompted to select a beginning and end date. For this custom date field the calendar style provides a calendar button that allows you to directly select the first and second date without having to filter the range of possible dates. This is obviously only two clicks and is preferred by users.
    Does anyone know how to get the "nice" date picker to apply to seeded date fields as in the first case?
    Thanks,
    Dan

    Of interest relating to file upload component to users : "Saving Uploaded Files Uploaded by the File Upload Component " Check the blog:
    http://blogs.sun.com/roller/page/divas

  • Need Report based on "CUSTOM DATA field @ Shop Order Maintenance"

    Need the REPORT based on CUSTOM DATA field.
    Requirement - I am having the CUSTOM data at Shop Order Maintenance that is called as XXX, I need some report in SAP ME which can display the SFC related to particular Shop order based on XXX Number.

    Hi!
    As far as I remember there is no such base report. So, you may try to create it using SDK or request it as custom enhancement from SAP.
    If you want to create it using SDK, you can find the required data for report in CUSTOM_FIELDS table.
    Regards,
    Alex.

  • Displaying Customer Date-Fields in SRM 4.0

    Hallo,
    I want to display a customer date-field (data type DATS) in the basic data of a SC. The Problem is that the field is only displayed, but you can't enter any data. When i change the data type to CHAR you can enter Data in the field.
    Can anyone help me, please?
    Best regards

    Hi,
    please try to add the authorization object S_DEVELOP (Role: SAP_EC_BBP_ADMINISTRATOR) to the user, and test again.
    Regards
    Laszlo

  • Add customer field on operation user data. Tr IA05 - IA06

    Hello,
    I would add customer field on operation user data on transactions IA05 - IA06. All user fields aren't available because used.
    Is there an enhancement for this on screen "operation user data" ? or can we active a custom screen ?
    Thanks all.
    Best regards

    Hi,
       Welcome To SDN!!
    Check the following user exits .
    CPAU0001
    CPDO0001
    XCZD0004 .
    Regards
    Kiran Sure

  • E-Recruiting Custom Data Fields & Flexibilization

    Hi,
    Our development team has added custom data fields for work experience (IT5103) via include CI_P5103.  We are unable to adjust the appearance of the fields via Flexibilization.
    Steps we followed:
    1. Developers added fields (Z_FIELD1 & Z_FIELD2) to CI_P5103
    2. Created contexts EXTRNL & INTRNL
    3. Configured Flexibilization for Z_FIELD1 & Z_FIELD2 in EXTRNL for SAP/HRRCF_PROFILE/WORKEXPERIENCE_DETAIL.BSP to Hidden (Item Considered for Calculating Layout)
    4. Configured Flexibilization for Z_FIELD1 & Z_FIELD2 in INTRNL for SAP/HRRCF_PROFILE/WORKEXPERIENCE_DETAIL.BSP to Display Only
    5. Ran RCF_GENERATE_URLS for both EXTRNL & INTRNL
    6. Both fields show on External Candidate Start Page (EXTRNL) and Internal Candidate Start Page (INTRNL) and are not affected by the Flexibilization config
    Any suggestions would be greatly appreciated.
    Thanks in advance.
    Jason
    E-Recruiting 6.0 SP11
    BSPs

    Deepak, thanks for the input.
    I understand your feedback, but I don't see anything in that documentation that excludes custom fields from the modification of display.
    Define Additional Fields says:
    You can define additional fields for various infotypes in a Customer Include. The additional fields are displayed automatically on the relevant page.
    Modify Fields in Interfaces says:
    In this IMG activity you can switch fields on and off on certain application user interfaces and flag fields as mandatory fields. You assign these field definitions to a context in which the changes to the user interfaces are visible.
    Screen flexibilization is possible for the following pages:
    Candidate Profile
    Namespace/Application/Page Page Name...
    SAP/HRRCF_PROFILE/WORKEXPERIENCE_DETAIL.BSP Work Experience
    It seems logical we should be able to alter the display for a custom field that if the field is defined in the approriate include.
    I guess this could be another case of logic and SAP not following the same path.
    Jason

  • IW38 Traffic Light for Custom Date field

    Hi Experts,
    I am trying use the Reference Field for Monitor.  It has got 1. Priority, 2. Order/Start/End, 3. Scheduled Start/End.
    We have created a custom date field as Original start/Finish dates. I want to create traffic light based on this date.
    Can you please help me where and how to do this configuration. I have already searched the forum. But no help found.
    Thanks,
    Panneer

    Panneer,
    You can use Enhancement Spot ES_EAM_LIST_ENHANCEMENTS for this purpose (see SE18)
    PeteA

Maybe you are looking for

  • Webdynpro for ABAP vs WD for Java

    How different is WD for ABAP from WD for Java? I have a good knowledge of WD for Java and I know ABAP. But how good and efficient is WD for ABAP? Would it be better to use WD for ABAP or WD for Java for SAP based portal development? Thanks in advance

  • Can I connect the nano 7 to ih15

    Is there an adapter available to connect the nano 7 generation to the IHome 15?

  • Question about SCC1 - Client Copy by Transport Request in ABAP

    I have a problem about SCC1, I created program for copying Request No. to another client by using SCC1. But SCC1 can use only one user and another can not use it at the same time. So I want to know how can I check status or something that SCC1 is use

  • Installed ScanSnap and now receive a request to change my harddrive each time I open a pdf.

    I recently installed a ScanSnap and it changed my Adobe Acrobat 8 Professional to the point where each time I open this program or even a pdf file, I receive a User Account Control warning message asking whether the "Adobe Acrobat application program

  • How to make the jtable celles intouchable !!

    HI! i am using jtable in my application and i am aiming at some specefities: - i don't wana to allow the uset to drag and drop any cells or to change the order of one cell by another . - i don't want him to edit a text in any cell of the jtable actua