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.

Similar Messages

  • 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

  • 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

  • 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.

  • I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    See this thread:
    http://answers.acrobatusers.com/Is-add-instructional-text-text-field-disappear-clicked-q19 5078.aspx

  • 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?

  • Fill transaction fields automatically through code

    Hi Gurus,
    Every time we create a material we have to extend it in all plants and in all storage location of every plant.
    The steps that we are using are: We first create the material to a plant and a storage location using transaction
    MM01. Then we use transaction mm17 and we extend the materials in all plants automatically.
    Then we use transaction MMSC to extend material to every storage location. We enter the material code, the plant code and after hitting enter we fill the fields with the storage locations of the plant where we want to extend material to. We have 9 plants and 3 storage location on every plant, so we do this procedure (mmsc) 9 x 3 = 27 times.
    Is there a way to write code to fill automatically the fields in MMSC transcaction from a file so that can automate the procedure? Any Ideas how to start?
    Thank you in advance

    Hi!
    Here's an example of this stuff, 100% working, but of course you have to change the BDC part for your code...
    REFRESH: gt_bdcdata.
          PERFORM bdc_dynpro      USING 'ZMFI_AA_KTGH' '9502'.
          PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTER'.
          PERFORM bdc_field       USING 'ANLZ-KOSTL' gs_change_asset-kostl.
          PERFORM bdc_field       USING 'ANLZ-ADATU' gs_change_asset-bdatu.
          PERFORM bdc_field       USING 'ANLZ-PERNR' gs_change_asset-pernr.
          PERFORM bdc_field       USING 'ANLZ-STADT' gs_change_asset-stadt.
          PERFORM bdc_field       USING 'ANLZ-XSTIL' gs_change_asset-xstil.
          PERFORM bdc_field       USING 'ANLZ-RAUMN' gs_change_asset-raumn.
          PERFORM bdc_dynpro      USING 'ZMFI_AA_KTGH' '9502'.
          PERFORM bdc_field       USING 'BDC_OKCODE' 'DUMMY_OK_CODE'.
          MOVE 'E' TO lv_mode.
          CALL TRANSACTION 'ZMFIAA_MOD' USING gt_bdcdata
                                             MODE lv_mode.
    It is very important to give a 'DUMMY_OK_CODE' where you wanted to stop the processing. It is because the dummy ok code will cause a BDC error and the process will stop there and you'll get back the control.
    Regards
    Tamá

  • 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

  • Automatically fill input fields based on selection from dynamic drop down

    Hi All,
    I tried to search before posting, but i cannot find appropriate thread (maybe wrong keyword).
    My scenario:
    1. In my offline interactive form, I have:
        a.  Material Number --> drop down field with "Allow Custom Text Entry" ticked
        b.  1 execution button to call web service
        c.  Material Group - Input Field (Read Only)
    2. User will enter material number with wild card character (eg: ABC*).
        User will then click the execution button.
        Web Service in result will return all materials that match the entered material number.
        Dynamic binding will do the magic to generate the drop down list.
    3. Beside material number, web service will also return material description and material group.
        Below is the illustration:
         Material        Description       Material Group
         ABC              Material ABC               GRP01
         ABCDE        Material ABCDE          GRP02
    --- so far so good ---
    My requirement:
    Every time user select material from the drop down list, i want to auto-populate field "Material Group" (which value is also returned by web service).
    I know i need to put the script on event change of the drop down field.
    But i don't know how to read internal table returned by web service.
    Hope someone can enlighten me.
    Thanks in Advance !!!

    Solved after reading:
    1. /people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms
    2. Chapter 7 of Live Cycle Designer Scripting Basics
    (http://help.adobe.com/en_US/livecycle/9.0/LiveCycle_Designer_Scripting_Basics.pdf)
    Thanks.

  • Fields in a Maintenace View

    Hello Experts,
    How can we make the fields in a "maintenance view" as mandatory fields? The requirements is I have created a maintenance view with 5 custom fields. And the business analyst wants to make all these fields as the mandatory fields i.e, without filling all the values for the first record, it should not allow them to enter the values for the second record.
    Is it possible?
    PS: I have tried to make all these 5 fields as the key-fields but as some of them are type "numeric", I am getting warning messages while activating.
    Thanks

    Hi Dev,
    u can make any field mandatory by
    parameters : matnr like mara-matnr obligatory.
    or,
    There are two ways to make this field mandatory
    1) Check the SPRO settings with your BASIS Consultant
    (Maintain screen fields for User Settings)
    2) Modify the screen 100 for GUI program SAPLSUU5 use -Code SE51
    or,
    You can do this by using transaction variant ( tcode SHD0).
    when you are creating the transaction variant just check the check box required .
    for some tutorial help pls go through this.
    http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
    kindly reward if found helpful.
    cheers,
    Hema.

  • Filling Activity fields from the Interactive Script WinClient

    Hi Experts,
    I am working with Interactive Scripting (CRMM_TM_SCRIPT) and I already defined my interactive script. I am also creating Activities after I finish with the Script in order to register a case. I am doing this by defining an Action Type CIC-AB which calls an Action Box in the Interaction Center WinClient. In the Action field I define the name of the Activity I want to call from the Action Box of the Interaction Center.
    When the Agent receives a call, he navigates in the Interactive Script in order to clasify the case he is treating. At the end of the Script, the case needs to be register following the clasification made by the Agent, and that’s why we are calling an Activity. The thing is that we don’t want the Agent to fill again the information he just defined in the Script in the Activiy, so we want to fill certain fields of the Activiy I am calling with Information of the Interactive Script I used before, in order to save time to the Agent that Register the Case.
    Can anyome shed some light on this issue?
    Thanks to everyone.

    Alberto
    You can create an activity.i.e., you can create an Order from the Interactive Script if you already created the Script structurethen follow the below steps
    I think it would be helpful
    Procedure: 
    T-Code:  EWFC0
    Path: SPROIMGCustomer Relationship ManagementCustomer Interaction CenterVisible ComponentsAction Box SettingsDefine Configuration Profile for Action Box.
    1. Choose F4 help to select one of the Action Box profiles you have created and you want to adapt and choose change.
    2. Mark the Action box Configuration and create a new Action Box Group by choosing Create transaction group.
    Enter a group ID, description and icon for the new transaction group and choose Continue.
    3. Mark the new transaction group and create a new Action Box transaction by choosing Create transaction.
    4. Enter a transaction ID.
    5. Enter a Transaction Definition section, select Workspace.
    6. In the Transaction Definition section, select Workspace.
    Two additional fields will appear.
    7 Choose F4 in the Workspace field to select the Script.
    8. Choose F4 in the profile field to select the Interactive Scripting profile that you created in the previous steps above.
    9. Enter a Slot Name if desired.
    10. Choose Continue.
    You are automatically taken to the Maintain Data Flow screen .No data flow parameters need to be maintained for the Interactive Scripting workspace.
    11. Choose Back.
    12 Choose Save.
    Note:  Since Only Workspace of this type can be open at once, you will need to close the Automatically Created Interactive Scripting Workspace before launching the Interactive Scripting Action Box call.
    Regards
    Surendra

  • Is it possible to have an adress field with a Custom Object?

    Hello,
    I would like to link a service request to an account and an intermediary such as a travel agency. But the original datamodel only allow one account per Service Request.
    So, I have created a custom object (Intermediary) that should have similar relations with other objects than the Account one. With this object, I will be allowed to link my two accounts to the SR. But I would like to insert an address field in my custom object. Unfortunately, this kinf of custom field type is not available...
    Is there any solution to have one? Or is there another solution I could use to link 2 accounts to a Service Request?
    Thanks in advance,
    Laurent

    We had the same problem. Decided to use one of the new custom objects (CO-05) for this purpose. The drawback of using it this way is the lack of automatic formating of the address lines by country selected like you get with accounts and contacts. On the good side, you can designate fields for use in interfacing with your external business system, i.e. Oracle eBS, JDE, etc.
    We also added a link to this to bring up a modified Customers On Line form from Oracle eBS that gives us a view of the Quotes, Orders, Service Requests, Installed Base, Invoices and Credit Memos by customer party id number contained in eBS. This is what we call a 360 degree view of the customer.
    Neil @ Emerson Process

  • RFX Response Header : Fill Display Fields on Header Level

    Hi Gurus,
    There is a requirement at the client place to add the Display only field for RFx Response Header. Based on this required I have done the following activities.
    1. From 'Define Customer Display Fields on Header Level' in  SPRO i have appended the ZFIELD in the Response header structure.
    2. From 'Configure Control for Fields on Header Level' in SPRO i have made it visible true.
    3. From 'Fill Display Fields on Header Level' SPRO i have Enhanced the /SAPSRM/BD_PDO_FE_FILL_HEADER with implementation. And have given required filter criteria. In the implementation Class it has the return parameter as CS_HEADER_DATA. Where i could fill the my ZFIELD.
    The field is now displaying in the SRM portal. But the problem is that the ZFIELD is not being filled with any value, even though i supplied it.
    Is there any step that is missing to set the value?
    Regards,
    Hobs

    Hi,
    The main technique is to do your calculations in PAI of the screen for additional data B for the line item but as you said it is accessed only when you goto-> item -> additional dataB
    So you can do one more thing...do the calculation in PAI/PBO of the screen first and in userexit_save_document_prepare recalculate again and overwrite the old ones(or calculate for only the ones which are initial in the item) ..so if he goes to additional data B screen you give the user what he wants and if he doesn't userexit_save_document_prepare takes care of it
    user can go to additional dataB only a line item at a time so the chance that he takes all the line items one by one is less(for huge number of line items)..so you just calculate and overwrite the fields in the in the userexit if the field value is empty...or you can recalculate for all the cases and overwrite just in case there may be a problem....
    in the screen of the additional dataB
    Write logic for calculating the field values
    so in the userexit you write like
    if the fields are initial..
    calculate
    else
    *already calculated from the screen because user has viewed it
    endif.
    So you are safe that user can see what he wants and you can reassure that the value will be calculated and stored on the SAVE from user exit
    Please check,revert
    Reward if helpful
    Regards
    Byju

  • 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.

  • Need help to read model node input field attribute present in view - first time developer.

    Hello Experts,
    I am new to CRM Web UI development.
    Presently, I am trying to develop a Guided Activity Page having 2 views.
    First view has the field Business Partner Number, I have added model Node BuilHeader and the attribute BP_NUMBER while creation of the view.
    The Second View consists of 2 fields from the Model Node BuilHeader, namely First Name and Last Name.
    The requirement is to enter the BP Number on the first screen then click on the NEXT button from the Guided Activity buttons, on navigating to the Second View, the Names should auto-populate.
    I have Created both views and the GP page, the GP navigation is also happening. Initially the fields were showing Not Bound text in value, so I commented the line in GET_I and GET methods to enable the field and remove the Not Bound text. I have created a custom controller with BuilHeader
    I have tried doing this but facing the below problems :
    1) When I enter the BP number on the first view and press Enter, the value disappears. How to solve this ?
    2) Does clicking on the NEXT button on the GP Navigation trigger a Server Roundtrip ?
    3) How to read the context node value of BP Number entered on the first view and populate the Name fields on the second view.
    Please help.........

    you can take reference from from below code as in above case we use BuilHeaderAdvancedSearch search object, to get current entity.
    data:    query        TYPE REF TO cl_crm_bol_dquery_service,.
      query ?= me->typed_context->BuilHeaderAdvancedSearch->collection_wrapper->get_current( ).
    Do not remove code from getter setter of fields , it will not clear.
    Check with http://scn.sap.com/thread/3391203 , for basic understanding of UI.
    Regards,
    Harish Kumar

Maybe you are looking for

  • Commit after 2000 records in update statement but am not using loop

    Hi My oracle version is oracle 9i I need to commit after every 2000 records.Currently am using the below statement without using the loop.how to do this? do i need to use rownum? BEGIN UPDATE (SELECT A.SKU,M.TO_SKU,A.TO_STORE FROM RT_TEMP_IN_CARTON A

  • Calendar not linking to iCloud

    My documents from my iPad show up in iCloud, but my calendar does not. Why? I am used to Google and android where this process is seamless. Please help!

  • Error in cancel excise invoice

    Hi, When i try to canccel the excise document in J1IH, i get the error as Message: 4F235,Reference of xxxxx/YYYY exists in open ARE document. but, no ARE exists for this document. Please let me know how to cancel this document. Thanks & regards, Pras

  • HT201412 stop apps from uploading in middle of process

    Live and Learn. My daugther, hit multiple apps to download at the same time. There are 8 trying to upload right now. I want to stop the process. How can I do it? I tapped and held on one and they all shook but I could not do anything with them. Any s

  • Determine where badi is called from : webshop, GUI or webUI

    Hi Experts, I am working on BADI com_partner_badi. I want to determine where this badi is being called from, ie, either from webshop, GUI or webUI in the ABAP debugger. Which parameter of the badi should i check , which will provide me with the calli