Using a customizable field on a custom view

Hello everyone,
I am creating custom view. The main table has a field that can either contain a customer or a vendor based on a field.
The field identifier is Inbound is vendor and outbound is customer. They are using the same field to store the customer or vendor. Is there a way in a view, based on the field identifier, to have a "generic" NAME1 field that contains the customer name or the vendor name?
Thanks for your help and I can clarify if I made it confusing.

Hi,
You need write an exit for this.
Regards
Prasenjit

Similar Messages

  • How i hide a field of a custom view in OAF 11

    Hi, im a new developer of OAF11.
    What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO.
    What I did was modify the XML of the page to add the field and then extended the original AM.
    I added the extended view into the custom AM to prevent that fail with the field that i insert.
    I must clarify that I modify the path of AM default for the path of the custom AM in the XML, then i upload the XML with the command import, and i see it the field in the page.
    I tried to hide another field that i created by customizing the page, but I couldnt do. That´s why i insert directly the field in the XML original.
    I Try to customize the driver involved with the page, but nothing happened.
    First try it on the controller Father and after the son.
    The page is in the POS module (iSupplier), and is POSVIEWPOG (PO Details).
    The code that attempts to hide the field is:
    OAApplicationModule am = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObject oaviewobject1 =(OAViewObject)am.findViewObject("PosViewHeadersVO");
    if (oaviewobject1 != null)
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String vCustomType = (String)row.getAttribute("TypeName");
    if (vCustomType.equals("Blanket Agreement"))
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    else
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    Can anyone help me?
    If im grong other solution that i think is:
    How I can put a field on a page with code and how to hide the field with conditions?, consider that the field is from the VO extended.
    Thanks!!!

    Hi Yichao,
    Chk these links
    https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
    thanks and regards
    srikanth.p

  • Fill a field in a customizing view automatically

    Hello all,
    I have a view cluster with me which contains two views.
    The first view is the main view and in my example, it has the resource number.
    The second view also has the resource number but as an output only field.
    The user is able to navigate to the second view only by selecting an entry in the first view.
    What I want is that when I attempt to create a new entry in the second view, the resource number field, which is an output only field gets populated automatically. How can I achieve this?
    Thanks,
    Mithun
    P.S. The foreign key relationships are maintained.

    Hi Mithun,
                      For this Functionality you need to set the maintenance flag of the Resource Number field to 'S' and generate the table maintenace to it.Now go to the view cluster and mark the second view's Dependencey as 'S' (Dependent Entry)  and the first views dependcy should be 'R' (Header Entry) . Now generate the field dependency or you can manually set it .
      Now when the user selects the first views resource number and then cliks on the second view , the resource number appears on the top of the screen which is automatically filled and in the read only format.
    Hope this input solves your problem.. 
    Cheers,
    Ravi.

  • Adding Flex-field to Custom View in the Worklist

    Hi,
    I am using OAS10133. I have mapped a SIMPLE_TYPE payload attribute to a flex field label in the worklist. I created a custom view. I want to display this playload attribute as a column in custom view and want to make it searcheable. But when I create the custom view, then at the time of selecting the columns, I do not find the name of this label listed in the dropdown.
    I have also made an entry in WorkFlowLabels.properties file.
    Can anyone please let me know if I need to follow any other step to display the flex field label as a column in custom view?
    Thanks in advance.
    -sam

    Hi Pete,
    There are two exits that were used.
    A user exit IMRC0001 (MeasPoint/MeasDoc: Exit before update (after COMMIT WORK) /  FM: EXIT_SAPLIMR0_001) for the transaction IK11 to enter the value for the custom field. When the measuring document is saved a pop up appears wherein the value for the custom field can be entered.
    A menu exit IMRC0003 (MeasDoc: Menu exit for customer-specific function / FM: EXIT_SAPLIMR0_003) for the transaction IK12 in order to change the custom field.

  • Fields in custom view is only populated when Edit button is clicked

    I have enhanced the component BT111H_OPPT. I added three custom views to it. I have enhanced CRMD_CUSTOMER_H with the required fields using EEWB. The context node BTCUSTOMERH is created  as a dependent node on BTADMINH. Below is the code for creating the context node.
    model = owner->create_model(
          class_name     = 'ZL_ZOPP_EXT_COMMERCIALOV_CN01'
          model_id       = 'BTCustomerH' ).                     "#EC NOTEXT
      BTCustomerH ?= model.
      CLEAR model.
    initial setting for depandant model node
      coll_wrapper =
        BTADMINH->get_collection_wrapper( ).
      TRY.
          entity ?= coll_wrapper->get_current( ).
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF entity IS BOUND.
        BTCustomerH->on_new_focus(
                     focus_bo = entity ).
      ENDIF.
    My problem is when I open a opportunity these custom view fields are all blank (intial). If I click edit button on any of the views the values get populated. If I got out of the opportunity and come back again after clicking the edit button I get my custom views populated.
    A similar entry in SDN is there but is not clear. Can anybody advice?
    Custom field only populated on edit

    Hi Arun,
        Thank you for replying. I solved the problem. In my case I have bounded the context for BTCUSTOMERH with the component controller. And compoent controller does not hold values when its loaded. I removed the binding and it worked.
    Edited by: subhashis das on Mar 5, 2010 1:31 PM
    Edited by: subhashis das on Mar 5, 2010 2:10 PM

  • 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

  • Protected Flex field and Custom Views

    Hi,
    I have created some project variables in oracle bpm 11.1.1.6.0 project.After deployment, these variables are coming as Protected flex field but for some reason these are not visible when I define custom views.
    I also tried creating Protected flex field on BPm workspace, mapped these variables to human task payload, yet again when creating custom view i cannot see them.
    This problem is only happening with protected flex field and not public flex field.
    Please let me know how to add protected flex fields in custom view.
    Regards...

    why do you think it's an apps question?

  • Navigate to custom views in PDF using C#

    Dear Team,
    I have a PDF file with many custom views . Its having a page only . But its having lots of view.  its customized pdf file. It has tool bar  to select the views.
    now i want to control the views drop down in tool bar using c# .
    Is it  possible with acrobat x Reader pdf viewer control  ? or do i need to buy the tool for this?
    its very urgent ...
    Thanks to get back to me regarding this ... as soon as possible...

    http://Thanks for your information. can you give some sample codes to me ?
    Please find in above for my requirements. Thanks to help me .
    Thanks !

  • Custom View Missing when using NSToolBar

    Hi all
    I have a window with a custom view on it ( PreferencePanelWindowController.h .m .xib ). And I have two views ( PreferenceGeneral.h .m .xib and PreferenceLogging.h .m .xib ) which can be loaded into the custom view.
    Now the General view loads when the window is opened however if I add an NSToolBar to the window then the General view won't load when opening the window.
    This is the case both when I create the NSToolBar programmatically or if I simply use interface builder to pop the Toolbar on.
    Why would this be and how would I get round this.
    Incidentially I have tried reloading the view in awakefronib and windowdidload.
    Cheers
    Steve

    Adding on from the above
    I have
    - (void)awakeFromNib
        [self buildToolBar];
        [self changePreferencesViewController : kPreferencesGeneralTag];
    - (void) buildToolBar
        _toolbarItemList = [[NSMutableArray alloc]init];
        _toolbarItems = [[NSMutableDictionary alloc] init];
        // Create Tool Bar Buttons
        [self createToobarButton : _general          : @"General"        : @"General"        : @"NSPreferencesGeneral"       : @""];
        [self createToobarButton : _registration     : @"Logging"   : @"Logging"   : @"NSPreferencesLogging"       : @""];
        _toolbar = [[NSToolbar alloc] initWithIdentifier:@"preferencePanes"];
        [_toolbar setDelegate:self];
        [_toolbar setAllowsUserCustomization:NO];
        [_toolbar setAutosavesConfiguration:NO];
           [self.window setToolbar:_toolbar];
    Ok if in awakefromnib I remove [self buildToolBar]; then the view loads but obviously there is now no toolbar.
    Futher more you can leave that in and remove [self.window setToolbar:_toolbar]; in the buildToolBar method which obviously stops the toolbar drawing but the view loads.
    So why would drawing the toolbar stop the custom view loading even though the view method is run after the toolbar method.
    Thanks
    Steve

  • Adobe DPS Android custom viewer using Angular

    Hi
    I have recently developed a custom viewer app for the ipad using the excellent articles and code examples that Derek Lu provided.
    This app used backbone as the MVP framework and communicated with Adobe DPS to retrieve folios and information using the provided API.
    I have now been tasked with developing a similar version for the Android device and have been able to get hold of example code for the Android device from.
    https://www.dpsapps.com/dpsapps/store_configurator/
    However this code uses Angular as the MVP framework instead of Backbone - whilst i appreciate there are going to be device specific differences between the IPad and Android which will impact on what can / cannot be done on Android, i wondered if there was any particular reason why the code example for the Android viewer uses Angular over Backbone?
    I was hoping to be able to leverage the Backbone code written for the IPad version  but when i try to put this on the Android device i seem to recall it either not allowing me (when using the webbuilder) or that nothing seemed to work / appear on the device, whilst the Angular version (freshly downloaded and unchanged - but configured to bring down my folios with the relevant guid) from the dps app store configuration link (provided above) does work.
    Additionally i seem to be unable to test the Android Angular version on my desktop in the same way i was the backbone version.
    Has anyone else encountered similar problems?
    Thanks
    Dave

    Having spent quite a bit of time scratching my head and googling i ended up finding the answer to this myself - so i thought i best post it to help others out.
    What i could not comprehend was why a functioning backbone example on the ipad could not be directly copied across to work on the android device - what transpired was that the backbone example was using an older version of the AdobeLibraryAPI  - taken from Derek Lu articles (from a few years ago) whilst the Angular version was using the most up to date version of the AdobeLibraryAPI. I found this mentioned and explained on another forum post:
    https://forums.adobe.com/thread/1622729
    so i went to Adobe DPS - Library and Store SDK 2.32 : Class Index : JsDoc Reference and got the latest version of the API, swopped it out and hey presto the backbone version now works on the android.

  • How to use Key Flex Fields in Custom Form

    Dear Members,
    I have developed a custom form.
    In my form there is a search criteria for location.
    When ever user wants to query based on the location ,I want to display Asset Location Key Flexfield so that user can choose the respective segements and search the assets.
    Can any one please tell me what is the procedure to be followed to display Key Flex Fields in the custom forms?
    Your inputs will be of great help to me.
    Thanks in advance.
    Best Regards,
    Arun Reddy.

    Hi,
    Please see the note:730068.1 - How To Invoke a DFF from a custom form
    Thanks,
    Ajikumar G

  • Custom View in Designers Rollup Header from Lookup Field

    Hi!
    I have a task list that is rolling up a couple of different ways. I'm having some issues getting it to be just right.
    1) Rollup display. The rollup is working great except:  My task list is using a lookup field on an list of initiatives. The look up grabs 3 other fields from the initiatives list (LOEs, Objectives, and Organization along with initiative name). 
    I'm rolling up by LOE > Objectives > Initiatives and then the tasks listed under the initiatives. When the initiative line displays it carries with it the code for going back to the initiative list. I am attempting to apply a different format to it but
    I'd really like the URL there to open up the initiative but can't figure out how to get it display. When it displays now it has [<xsl-value-of node-walk="1236" select="$fieldvalue"><a onclick="OpenPopUpPage('URL', RefreshPage);
    return false;" href="URL">Initiative Name</a>]. It is displayed as text. Is there a way to format it so it is a URL? The options I have chosen do not work.</xsl-value-of>
    <xsl-value-of node-walk="1236" select="$fieldvalue"></xsl-value-of>

    I read that Lookup/ Combo box field cannot be added in a self registration form. Is it true?
    (Source:
    Link: Adding combobox in self registration from
    Link: OIM: problem with combobox in self registration form

  • Use opportunity fields in a custom report

    Hi!
    I have a problem. I am trying to use an opportunity field (actual close date) in a report but when I insert it all the records become duplicated.
    I am using ACT 2008 and CR 2008.
    Could anybody help me?

    I'm not sure what an "opportunity field" is, but generally, when you are getting duplicate records it is because a JOIN is finding more than one record in one of the tables for each key from the other.  What tables are you linking together, and how are they linked?
    HTH,
    Carl

  • Custom view

    Hello, colleagues
    (OrgChart 3.0 SP2)
    I have a need to customize View elements. My need can't be afford by Administration Console.
    First of all I need to connect my own data element with custom View.
    Then I need to customize data, displayed in View: images (assistance, etc), fields (for example, dont display any fields except Position ID). I think that could be reached by editing standart templates, but where can I find them?
    it's not obviously which file should be edited.
    Alex.

    Alex,
    If you want to change this view you can in 2 ways ...
    1) Change the template and re-generate the view (probably not worthwhile)
    2) Change the XSL generated from the template
    I would do it the 2nd way!
    OU_Standard_2L, by standard, was used to generate this XSL:
      ...\Templates_Generated\ou_standard1b414f049f14434.xsl  (Live solution)
      ...\Templates_Generated\ou_standardba9fa6f0e3c246b.xsl  (Staged solution)
    Copy from the applicaiton into folder
    ...\<build>\.delta\Root\Templates_Generated
    (create folder if necessary)
    Amend the XSL and publish to test.
    Note: you can edit this file directly in published "Templates_Generated" folder which can be useful to test (as you don't have to restart the application to see the affect of your change) but be sure to put it in the .delta when you have got it working as you want so you don't lose it when you publish next time!
    Stephen

  • Error while adding a attribute to the the Custom view through a wizard

    Hi ,
    I have created a new custom view with value node through wizard  succesfully.
    Now I want to add a new attribute to that node.I am trying to do that by a wizard.
    But i am getting the follwing error " Error during analysis of Source Code" although i have
    commented or removed my all custom code from that view.
    I tried adding the new aattributes in the metthods "IF_BSP_MODEL~INIT " and
    "GET_TABLE_LINE_SAMPLE " manually but that also does not worked.
    Plz help me with this asap.
    Regards,
    Sharad

    Hi Sharad,
                          I hope all your classes are active. In case you want to add a new attribute there are two steps.
    1.Right click on context node and create attribute, it opens a wizard and continue. This will add the field in the context node and generate the getter-setter methods.
    2. In the above two method whcih you mentioned add the new field in the structure of value node. And then create your own getter-setter methods. and activate it. After this you will be able to see the attribute added in the context node.
    By using any of the two approaches you will be able to see teh new field in the configuration.
    Hope this helps.
    Regards,
    Ruby.

Maybe you are looking for