Auto population of data to fields based on other input field.

In overview screen, I have one input field "Business Partner" which contain search help.  As soon as business partner selected from dropdown, the other input fields like Name, Address, City, state should automatically populated without hit of 'ENTER' key.
I verified with method DO_PREPARE_OUTPUT, but it is triggering only by hitting ENTER key. Is there any event or method which will trigger after business partner selected from dropdown? or any other option to achieve to auto populate the fields.
Please find attached screen.
Thanks in advance.

Hi Narayana,
You can use the get p method for setting up the values without pressing the enter.
CASE iv_property.
    WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
      rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
    WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
      rv_value = 'AI_SELECT'.( you can give here the event name)
    WHEN OTHERS.
  ENDCASE.
Define event with the same name above( AI_SELECT),
You can set the value of fields based on the first field value within this event.
Thanks,
Dharmakasi.

Similar Messages

  • Auto populating the Date/Time Field in a Column

    I'm having an issue with the a Date and Time Column type auto populating the current date and time correctly.  I've put the =Now() function in the calculated value box.  I get the correct date and I get a time but the time is wrong,  its
    on Pacific Time and my regional settings on the site are Central Time.  I can't find any way to specify use central time.  is this a bug on microsoft's end or mine?  It was working yesterday and not today.

    check what time zone is your central admin is set to 
    using 
    http://<CentralAdminUrl>/_layouts/regionalsetng.aspxand if its pointing to pst you will get pst result .you will see the options wil time zone selected and also some other like calender etc
    if you want to change reginaol time for your site so to site settings ==> under site adminstration 
    you will see regional settings where you can set the time zone it will look like this :

  • Auto Population of Email Definition fields while sending mails to user

    Hi,
    I have the requirement that after a resource object has been provisioned to an user, a mail should be sent to him for confirmation.
    I am able to successfully send mails to users after the resource object has been provisioned to him by making the configuation settings in the OIM system.
    I have made use of a Resource Object , Resource Form , IT resource of type mail server , Email definition etc.
    The point is while provisioning the resource object I am populating the User Defined Fields. These fields are visible at the xlWebApp console through the resource form. I am populating these fields while requesting the resource through the xlWebAPp UI.
    Now i need to send mails to the user with these fields populated with the values that i m providing while provisioning the resource. Currently my sent mails just consist of plain email definition with a subject line and a body text.
    Please let me know how can i include the values in the populated fields in the body of the mail through settings in OIM.
    Since i m a QA person i cannot go ahead and write code for creating an adpater for this task. Kindly let me know is there any way by which I can do the same through config settings in OIM.
    Thanks in advance.
    Pooja.

    Hello,
    Actually i have a resource object as "Laptop" suppose, so for me the user defined fields are Laptop_type, RAM value, ROM Value and Emp ID.
    These fields are made visible as UDF through Pre-pop adapters and all the other required settings.
    While provisioning the same in the xlWebApp console I am populating them.
    The resource form for me (Form Designer for the resource object) is made visible and i am filling in values while provisioning.
    Now while sending the mails these values should reflected in the mail body for the fields.
    Eg: Subject [hi] Mail body [ The following resource has been provisioned. Laptop_type : Dell, RAM value: 512, ROM value: 40, EMP ID: 123] where these values are filled in the resource form while provisioning the resource object.
    Pleased let me know how can i send such mails through config settings in OIM. Right now my mail simply looks like
    Eg: Subject [hi] Mail Body [The resource has been provisioned to you]
    Thanks again.
    Pooja.

  • Populating the data tab field for the FM IDOC_INPUT_CREDITOR

    HI
    I need to use the function module IDOC_INPUT_CREDITOR .
    When i am populating the idoc data table i need to update the field sdata  for the segment E1LFA1M.
    What is the best way to populate the field .
    Is there a function module which  will get the import structure of the table LFA1into the the sdata field.
    Thanks a lot in advance.
    Anjali

    Check for the user exit of the idoc function module. You can check for - EXIT_SAPLKD02_001 & include -  zxvsvu04.

  • Conditionally Auto-Executing af:query Search Form Based on User Input

    I read post 160 in "Not Yet Documented ADF Sample Applications"
    I have a question. How can I create a view Criteria in view ListOfValidDnames with a parameter that is the filter Loc choosed in ListOfValidLocs.
    Let me explain. The user digits or chooses 1700 in field Loc using ListOfValidLocs. I want to filter ListOfValidDnames with 1700.
    Thanks

    See this demo:
    http://blogs.oracle.com/shay/2011/01/dependent_lovs_in_an_afquery_c.html

  • Auto-populating folders and .lvclass files

    This post really contains two different questions/issues. The first question is about using auto-populating folders with .lvclass files. The second is a more specific question about why I think I need to use auto-populating folders for some .lvclass files in a project.
    I understand that .lvclass files should not be put into auto-populating. Even though I know that is a rule, I don't really understand why. I think the reasoning is that the auto-populating folder ends up making a copy of the .lvclass file, and this could cause dependency issues since I now have two copies of the .lvclass file in memory, is that correct?
    I have run into a situation where it seems that need to put some classes into an auto-populating folder so they can be distributed with my EXE by an installer.  My EXE will load those classes into the program via a factory at runtime. Besides putting those .lvclass files into an auto-populating folder, I can’t find any other way to distribute the .lvclass files with my exe. Am I stuck with putting these classes into an auto-populating folder or is there another way to have my installer include them for distribution?

    tst wrote:
    What I will say, though, is that it seems you have a bad misunderstanding of auto-populating folders. First, there is no "should". You may or may not use auto-pop. for anything you want. I usually prefer not to. Others like to use them for everything.
    The second thing is that auto-pop. only affects what goes in the project tree. It doesn't create copies on disk or in memory. It's simply an organizational tool for the project. One place where it can be useful for people who don't usually use it is indeed when you want to automatically include files in a build, but I don't think that really applies with plugins, since presumably you want to build each plugin separately.
    From what I've been told by multiple sources is that you can use autopop folders with .lvclass files, but it is not best practice. In other words, you can do it, but should not. It was three years ago I took NI's LVOOP course where I was first told that this was not a good pracetice and that it has something to do with dynamically dispatching objects, but I can't remmeber the exact reason(s).
    I turned to both this forum and called NI apps engineers to find out why it is not a best practice to use autopop folders with .lvclass files. After some research the apps engineer over at NI that was helping me concluded that including .lvclass files in an autopopulating folder is not best practice because (according to him) doing so somehow creates two copies of the files in memory. I'm still not totaly sure if that true or not, but unless something changed, there are good reasons why one shouldn't mix autopop folders and .lvclass files. I'd just like to understand what those reasons are. 

  • Auto-populating fields based on another field (must access dif record type)

    This is a long one. I basically want to know if it's possible to have several fields auto-populated based on the data in another. It gets a little tricky here, because the information I want to auto-populate will have to be searched for in another record type. An example will hopefully make my request clear:
    I have 10's of thousands of records of the "Product" record type that each have a product number. Well, let's say I have several fields to enter into an "Opportunity" record type, based on the information for this product number in the "Products" record type. I want to know if I can enter the product number on the "Opportunity" record, and have OnDemand go look up this product number in the "Product" record type, pull information from that record, and auto-populate that additional information in certain fields back on the "Opportunity" record that I am entering information for.
    I know a workflow can do this on simple things where you have a few different part numbers and can create a workflow for each, but I literally have 40k part numbers, and I can't very well create that many workflows. If there was a way to dynamically script the workflow to use the part number in the field on the "Opportunity" record and go fetch the data to auto-populate, that would be nice.
    I also can't use a cascading picklist because, again, there are around 40k products records and picklists have a limit to how many choices you can have.
    My think tank has run empty, and I am out of ideas. I was wondering if there is any other way to get this done, or if it's even possible?
    Thanks,
    B
    Edited by: user10885599 on Feb 5, 2009 11:54 AM

    As I read this, I am wondering if you would be able to use the new JoinFieldValue() function to update the fields. The problem is that the Opportunity record does not have a direct link to products. The Revenue table does however, so you should be able to do this from Revenue, if that is how you are using the application.
    The process would be to create a workflow that watches for new Revenue records, and updates the new fields in the Revenue object using the JoinFieldValue function to pull the data.

  • Option for IPTC "Date Created" field to be auto-populated?

    Hi,
    The date of capture is held within the "Date Time Original" field in the EXIF data; but the IPTC "Date Created" field is blank.
    Currently i have to fill this in manually  if i want it populated (which i have to do for a certain customer, for hundreds of differently dated images)  but i would really like a "replicate" button by which i can auto-populate this field; or someother easy workaround that i might be missing here?!?
    thanks,

    Hmm, both LR 3.6 and LR 4.0 normally set IPTC:DateCreated to be the same as EXIF:DateTimeOriginal, both on export and when you do Metadata > Save To File. 
    Perhaps you could post a culprit image here (use the camera icon) to see what might be going on with you.

  • Formatting a date field auto populated with Javascript

    I have a date field, which I auto-populate to be the current days date with the following code:
    var date=new Date();
    var month=date.getMonth()+1;
    this.rawValue=month+"/"+date.getDate()+"/"+(date.getYear()-100);
    This works fine, but it comes out as 7/20/12 instead of 07/20/2012 like my pattern defines.
    Whether or not I write my code to be the correct format, I always get an "Invalid format" error. How can I fix this?

    The solutions is to format the date in YYYY-MM-DD when setting the raw value.
    var date=new Date();
    var month=date.getMonth()+1;
    var day=date.getDate();
    if(month<10){ month="0"+month; }
    if(day<10) {day="0"+day; }
    this.rawValue=date.getFullYear()+"-"+month+"-"+day;

  • How to auto populating the field in MS crm

    How to auto populating the field in MS crm

    Hi,
    To populate URL of account based on account name please refer this link.
    If you are asking about the address auto populate/complete refer this link
    To Retrieve from other entity and populate the fields, for example on entering the account name in opportunity form the fields from account form like Sector, Region can be retrieved and can be auto populated in opportunity form using Odata as follows.
    Call the function getAccountDetails in onchange event of Companyname. Do not forget to add Jquery and Json in libraries.
    function getAccountDetails() {
        var companyName = Xrm.Page.getAttribute("customerid").getValue();
        if ((companyName != null)) {
            var companyNameValue = companyName[0].name;
            var companyNameID = companyName[0].id;
            var serverUrl = Xrm.Page.context.getServerUrl();
            //The XRM OData end-point
            var ODATA_ENDPOINT = "/XRMServices/2011/OrganizationData.svc";
            var odataSetName = "AccountSet";
            var odataSelect = serverUrl + ODATA_ENDPOINT + "/" + odataSetName + "(guid'" + companyNameID + "')";
            //alert(odataSelect);
            $.ajax({
                type: "GET",
                contentType: "application/json; charset=utf-8",
                datatype: "json",
                url: odataSelect,
                beforeSend: function (XMLHttpRequest) { XMLHttpRequest.setRequestHeader("Accept", "application/json"); },
                success: function (data, textStatus, XmlHttpRequest) {
                    var result_account = data.d;
                    var name;
                    var Id;
                    var entityType;
                    //replace the fields with the fields on your entity
                    Xrm.Page.getAttribute("new_sector").setValue(result_account.new_Sector.Value);
                    Xrm.Page.getAttribute("new_region").setValue(result_account.new_Region.Value);                     
                error: function (XmlHttpRequest, textStatus, errorThrown) { alert('OData Select Failed: ' + odataSelect); }
    Also as another option if you donot wat the java script then you can go for a workflow to poplate, please refer this link:  https://www.powerobjects.com/blog/2013/11/25/retrieving-data-from-a-related-entity-crm-2013/
    Regards, Rekha.J

  • Auto-populated ID field?

    Can I create an auto-populated ID field? Trying to create a unique record ID for an incident report form.
    Thanks

    Depends how many responses you anticipate, I therefore realise not ideal, a workaround I have used is;
    Import responses into Excel.
    The Date / Time field, whilst displayed as Date and Time, is in fact encoded.
    By re formatting that column in Excel to, for instance, 'Number' (with no decimal places), you get a code for the day.
    If you format, with decimal places, you get the time code as well. The more decimal places you allow, the more unique (is that English?), the code.
    Just a thought

  • Auto Populating Text Fields Default Values

    I am using Acrobat X Pro.  I have a multiple page form and would like the "Legal Address" field entry/value after typed to auto-populate, or be the default value, of my "Mailing Address" field further down the form.  I can accomplish this if the fields are the same name, ***HOWEVER*** I just want it to pre-populate it and if the "Mailing Address" differs from "Legal Address" be able to type over that (Mailing Address) on the form entry without also changing the Legal Address.  If the fields are named the same, both will always be the same / updated together.
    Any help - or examples!

    Hi Michael,
    Thanks that was helpful and worked although I now appear to have another problem.
    When I enter data into current title (eg Manager, Finance) data in proposed title field (eg Manager Finance) is auto populated as expected - correct
    When I change the data that was auto populated in the proposed title field (eg Manager, FInance) to the new title (eg Director, Finance) is keeps the new tltle - correct
    When I select something from another field eg cost code, the data I manually keyed into the proposed title reverts back to what was entered into the current title (eg Manager FInance)
    Is there a way of committing the data that is entered automatically or manually so it remains in the field?
    Regards,
    Michael

  • CJ20N Project Activity Level Actual Dates Auto-Populating

    Greetings All,
    I have a question with regards to t-code CJ20N.  Looking at the Activity level of a project, under the dates tab is a field for actual start (AFVGD-ISDD) and actual finish dates (AFVGD-IEDD).  They are auto populating and we are not sure why.  We do not want these fields to be auto populated.  They are messing up resource allocation via CMP3 for us. 
    I have been looking around and have not been able to find any information on this.  Any help is appreitated. 
    Thanks all!

    Hi,
    Goto tcode OPST...and there is a check box propose date....
    I think if you can uncheck this....w'ld solve ur problem.
    Regards
    Abhinay

  • PP - No data in Field J_3ARESM (reserved qty) of 2lis_02_pabdsi(AFS based)

    Hi,
    I have loaded data for the AFS based datasource 2LIS_AF_PABDSI of PP. But there is no data in the field -
    J_3ARESM(reserved quantity) - only showing 0,000. Used RSA3 transaction to extract data.
    I checked it after filling up the setup tables. Data is present for all other fields.
    Using MB25 transaction, when I give a particular production order - it has reservation data.
    But, no data is present for Reservation Quantity in 2LIS_AF_PABDSI.
    Thanks & Regards
    Shine Sasimohanan
    +91-9632674245

    Hi
    I think this standard datasource is not fit for this filed. J_3ARESM(reserved quantity) filed populate through J_3ABDSI this table try it once with z datsource mapping through
    J_3ARESM- ZJ_3ARESM(AFS Fixed reserved quantity)
    Hope its help.
    By,
    Praveen Yagnamurthy,
    SAP BI Consultant,
    Blue Marlin Systems-INDIA.
    http://bluemarlinsys.com/bi

  • How do you auto populate a date in a different text field after someone digitally signs the PDF form?

    I am trying to auto populate a date in a text box on the upper right hand corner of my document after someone digitally signs it. Is this possible? How do you do this?

    Go to the Properties of the Digital Signature field and under the Signed tab enter this JS code, under the last option:
    this.getField("SignDate").value = util.printd("mm/dd/yyyy", new Date());
    this.getField("SignDate").defaultValue =this.getField("SignDate").valueAsString;
    Of course, you can adjust the field name and the date format used in the script above.

Maybe you are looking for