How to populate default values for BP (FPP1 is  tcode in ECC 6.0)

Hello ,
I am creating BP in ECC 6.0 using Fpp1 tcode.  How to populate default values when i hit create BP person.   any badi  triggers when we are creating BP in ECC.
guide me.

Hi Premanand,
To default fields, you need to do the following steps :
1. Create a Z module e.g. : Z_DEFAULT_FIELDS_DIALOG.
2. Enter suppose you want to default fiels Name, title, country, write code as follows  :
DATA : ls_busdefault LIKE busdefault.     
  ls_busdefault-title = '0002'.
  ls_busdefault-mc_name1 = 'TEST'.
  ls_busdefault-mc_name2 = 'Default'.
  ls_busdefault-country = 'IN'.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
      i_busdefault = ls_busdefalut.
3. Now got to transaction BUS7, select event ISDAT, click on Event--> function modules.
4. Register your Z module Z_DEFAULT_FIELDS_DIALOG in this list, Save.
This should solve your problem. Please note : You can only default those fields contained in structure BUSDEFAULT.
Cheers,
Rishu.

Similar Messages

  • How to populate default values for SelectManyCheckBox?

    I have this <af:selectManyCheckbox> , which I want to set default value, or later other taskflow will change it's value:
    <af:selectManyCheckbox id="smc4"
    layout="vertical"
    valueChangeListener="#{backingBeanScope.productGroupSelectionBackingBean.lendingSelectionDeselectionListener}"
    autoSubmit="true"
    valuePassThru="true"
    value="#{pageFlowScope.productGroupSelectionHelper.newLendingProduct}">
    <f:selectItems id="si4" value="#{bindings.id.items}"/>
    </af:selectManyCheckbox>
    the selectItems is binding to a list of VO, in which only IDs and label names are saved,both are of type String.
    the newLendingProduct is of type List<SelectItem>.
    During the debugging I found that instead of returning List<SelectItem>, the af:selectManyCheckbox is returning Arrays$ArrayList<object> to me. What is Arrays$ArrayList<object>? After looking into it's value, I found it has an attribute "a", which is an array of String, storing the IDs that are selected.
    I also tried list of string and array of string for newLendingProduct, both can get the return value from page, but cannot set the screen.
    I think I shouldn't use List<SelectItem> to store value of af:selectManyCheckbox, but what should I use?

    U can bind ur value property of af:selectManyCheckbox to ArrayList<String> object
    Step 1.Add property in ur backing bean ArrayList<String> selectedValue = new ArrayList<String>();
    Step 2.Create get and set method for selectedValue
    Step 3. bind this selectedValue to value property ( value="#{backingBeanScope.beanName.selectedValue}" )
    Thanks
    Dinil Mithra V S

  • How to set default values for boolean columns

    I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
    I've tried to set default value at column level:
    <Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
    Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
    <Default>TRUE</Default>
    </Field>
    and at content type level:
    <FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
    But in any case, when i create a new item with this content type, default value is applied.
    Can anyone tell how to set default values for boolean columns?
    Thanks in advance,
    Regards,
    Sergio

    In the field definition you can set
    <Default>1</Default>
    or
    <Default>0</Default>
    How to set the default value Null?

  • How to Set default value for taxonomywebtagging control with terms and nested terms

    Hi,
    I have created taxonomy control in custom aspx page and I am able to select terms but I am trying to setup default value to that control.
    Can anybody let me know how to set the default value for TaxonomyWebTagging control in custom.aspx page with nested terms?
    Any help would be greatly apprecited.
    Control code in aspx page:
    <td>
    <asp:Label runat="server" ID="lblLanguages">Field A: </asp:Label><asp:Label runat="server" ID="rfvlblLanguages" CssClass="errorMsg" ForeColor="Red">*</asp:Label>
    </td>
    <td>
    <Taxonomy:TaxonomyWebTaggingControl ID="term" Width="385px" runat="server" /></td>Mapping metedata code:TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    //Set the Business Unit Field
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GROUPName"];
    TermSet termSet = group.TermSets["TERMSETNAME"];
    Term term = termSet.Terms["TermA"];
    Guid termGuid = term.Id;
    term.SspId.Add(termStore.Id);
    term.TermSetId.Add(termSet.Id);
    term.AllowFillIn = true;
    term.AnchorId = countryGuid;
    term.IsMulti = true;
    Thank you.
    AA.

    Hi,
    According to your description, you want to set default value for TaxonomyWebTaggingControl.
    I have a test in my environment. It could be achieved by setting the Text Property of TaxonomyWebTaggingControl.
    Here is the code snippet:
    TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GroupA"];
    TermSet termSet = group.TermSets["A"];
    Term term = termSet.Terms["A1"];
    TaxonomyWebTaggingControl1.SspId.Add(termStore.Id);
    TaxonomyWebTaggingControl1.SSPList = termStore.Id.ToString();
    TaxonomyWebTaggingControl1.TermSetId.Add(termSet.Id);
    TaxonomyWebTaggingControl1.TermSetList = termSet.Id.ToString();
    TaxonomyWebTaggingControl1.AllowFillIn = true;
    TaxonomyWebTaggingControl1.IsAddTerms = true;
    TaxonomyWebTaggingControl1.IsMulti = false;
    TaxonomyWebTaggingControl1.Text = string.Format("{0}|{1}", term.Name, term.Id.ToString());
    Here is a detailed article for your reference:
    http://blog.bugrapostaci.com/2010/09/23/taxonomywebtaggingcontrol-sharepoint/
    Feel free to Reply the test result.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • How to set default value for vc2_255_arr in plsql parameter directive?

    Hi,
    I would like to set a default values for a plsql parameter which is of vc2_255_arr type. How to do that?
    Below is the example from PL/SQL Server Page.
    +" To set a default value, so that the parameter becomes optional, include a default="expression" attribute in the directive. The values for this attribute are substituted directly into a PL/SQL statement, so any strings must be single-quoted, and you can use special values such as null, as in the following example:+
    +<%@ plsql parameter="p_last_name" default="null" %> "+
    My plsql parameter is p_arr which is of "TYPE vc2_255_arr IS TABLE OF VARCHAR2(255) INDEX BY BINARY_INTEGER"
    *<%@ plsql parameter="p_arr" type="PMP_LIB.VC2_255_ARR" %>*
    Thanks in advance!
    kwong

    My plsql parameter is p_arr which is of "TYPE vc2_255_arr IS TABLE OF VARCHAR2(255) INDEX BY BINARY_INTEGER"You need to declare it in a package specification and initialize in the package body:
    SQL> create or replace package pmp_lib
    as
       type vc2_255_arr is table of varchar2 (255)
                              index by binary_integer;
       vc2_255_arr_default   vc2_255_arr;
    end pmp_lib;
    Package created.
    SQL> create or replace package body pmp_lib
    as
    begin
       vc2_255_arr_default (1) := 'abc';
       vc2_255_arr_default (2) := 'def';
    end pmp_lib;
    Package body created.
    SQL> declare
       arr   pmp_lib.vc2_255_arr := pmp_lib.vc2_255_arr_default;
    begin
       for i in 1 .. arr.count
       loop
          dbms_output.put_line (arr (i));
       end loop;
    end;
    abc
    def
    PL/SQL procedure successfully completed.so in your case it would probably be sth like (assuming pmp_lib is a package):
    <%@ plsql parameter="p_arr" type="PMP_LIB.VC2_255_ARR" default = "PMP_LIB.vc2_255_arr_default" %>

  • How to set default value for html:file in struts

    hi
                   i am working on an application using struts situation is i am using the
    <html:file property="" /> to allow the user to upload file. but i need that a default file should be set so that even if the user donot click browse ie                the user wish to upload that default file the default file get uploaded on page submition.     Is it possible to set any default value for html:file ...if yes plz provide any suggestion or links how to achieve this.     thanks in advance

    www.google.com?q=STRUTS+DOCUMENTATION

  • How to make default values for date range?

    Dear Colleagues,
    My customer is asking for a default value for a date range prompt.
    The FromDate should contain the 1st of current month, the ToDate should contain current date.
    Does anyone have any idea how I can meet this demand?
    Regards Silje

    Hi Federico,
    Thank you for the answer, we are back to the challenge after summer vacations!
    I have created a variable in the universe: SELECT current date  as TODAY FROM SYSIBM.SYSDUMMY1. I Called it TODAY.
    Then I created a prompt in the query based on Date. In Prompt Properties I tagged for "Set Default Values" and I typed in TODAY.
    When I try to run the query I get the error message:  The date for the query filter based on 'Date' is invalid (WIS10704).
    What is wrong? What do I have to do differently?
    My goal is to have a default for Date that gives me today..
    Regards Silje

  • How  to set default value for Zfeild using statusprofile

    hi experts,
    I need to set a default value for a zfeild using status profile.Although we can default the values,using getter and setter methods,but in my requirement,the feild will be defaulted when the page is locked,also in display mode,which will require me to write code to unlock then set the value and then write a commit,as there wont be any user action performed.
    I have created a zstatus profile and have set the required status to inital,but no luck
    please suggest if this canbe achived through status profile.
    Regards
    Anu.

    Hi,
    You can check in the getter if the Page is locked and then display the value to want to display. Note that this will be just Displaying the default value for the Zfield and it will not set the default value into  the Zfield in DB, because when the document is locked ( means locked for editing - mostly when system status is completed ) , setters are not called and so you can display the value but cant set it. This is fine if the value you want to display in Z field is just for user's informations and its not required to save this default value.
    The best approach would be to set the value in the Zfield before the page is locking. For example, If you wat to set the zfield value when status is set to "Completed" , then you can configure an action that is 1) triggered during saving of the document with 2) start condition "When status is completed"  ( both 1 and 2 you can mention in action defination ), then Implement this action badi in which you can set the Zfield to default value.
    This will ensure that default value is always set whenever the page is getting locked for editing ( i assumed that page lock means status completed ).
    Thanks & Regards
    Suchita

  • ADF 11g - Query Component - How to set default values for search criteria

    I have defined a VO with named query (with 2 search criteria). I created a page and drop a query with table. It works just fine until this point. My requirement is to set a default values for the two search criteria. For example, I have release and category criteria where they are set to use a drop down. I would like to default the values for the drop down when the page is shown up the first time and query the result right away. Is there a way declaratively or I have to create a custom query?
    Thanks.

    I figured this out. Thanks.

  • How to set default values for inputs?

    I have several inputs which are always initialized with 0 when I start the VI. I'd like save own default values for them. I've already tried just setting the numbers and saving the VI but it did not work.

            If you want to make any data in any controls, Arrays you can right click on it select >Data operations>Make current values default or you can select EDIT in tool bar, click on Make current values Default.
    First, enter the data you want in the control or array and then follow the things Geeta said.
    Post if any other help required.
    Message Edited by mathan on 12-05-2008 12:07 AM

  • CRMD_ORDER: how to set default values for Requester and Change Manager

    Hello Folks,
    how do I set default values in TA crmd_order?
    I drew my organizational hierarchy using TAs bp and ppoma_crm.
    When a new Change Request (e. g. SDHF) is created, I want the four roles (Requester, Change Manager, IT Operator and Developer) to be set automatically, not manually.
    Both Requester (= Key User) and Change Manager are derivable. I did not find anything in SPRO neither in the OSS neither here.
    Points will be rewarded as a matter of course!
    Thanx in advance!

    Hi Dirk,
    look for Define Access Sequence & Define Partner Determination Procedure in SPRO and read the IMG Activity Documentation. You can find it in the Service Desk config, but it works for the other transaction types too.
    Basically, you create Access Sequences where you tell the Partner Determination Procedure where to look for the values for the Partner Function fields.
    The Access Sequence can use lots of sources for the information, including your org structure.
    regards,
    Jason

  • How to make default value for controlling area for MDG-F 7.0

    how do we default certain pre-defined values for few fields? e.g. controlling area or company code for MDG finance?
    Thank you in advance.
    SP

    Hello Sahil
    Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
    For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
    Follow same process for PC.
    GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
    Kiran

  • How to make default value for region based on city?

    Dear Experts,
    When city is selected in TRIP or PR05, how to make the default value of city based on region?
    The standard search help givenfot citydoesnt contain any enhancement point?
    Pls suggest how to resolve this!!!
    Thanks In Advance
    Rgrds,
    Sravan

    Hello Sahil
    Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
    For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
    Follow same process for PC.
    GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
    Kiran

  • How to show default values for properties managed by UUP

    Is there a way to load default values of properties from an external source while
    associating a user with property sets managed by UUP ?
    We are trying to write a Custom User Profile using UUP so that some of the User
    Profile attributes can be stored using an existing Oracle database schema. But
    the values for some of these properties(Profile property set attributes) has to
    come from another table which already exist. So the idea is that when a new user
    is being associated with the Custom property set using Portal Admin Tool, the
    available values for an individual property has to be pulled from from a database
    table. Like when selecting a user's home city he can select the name of all cities
    already existing in a database table.
    I couldn't find a way to do this using the EntityPropertyManager. Anyone has
    any idea how to do this?
    Thomas.

    Hi Thomas,
    Yes, the UUP framework is flexible enough for you to easily load default
    values of properties from some external source. You can do this if you
    deploy your own UserProfileManager that uses a custom PropertySetManager.
    When UserProfileManager.getProperty() is called, it looks for the property
    for that user and then for the user's implicit and explicit successors
    (implicit = persisted for that property set, explicit = given as an argument
    in the method call)...if it doesn't find the property (gets null) then it
    does this:
    PropertySet set = getPropertySetManager().getPropertySet(
    getPropertySetType(), propertySet );
    if ( set != null )
    PropertyDefinition def =
    set.getPropertyDefinition( propertyName );
    if ( def != null )
    result = def.getDefaultValue();
    Check out the javadoc for the classes I have mentioned and check out the
    ejb-jar.xml depoyment descriptor for the UserProfileManager in usermgmt.jar:
    <!-- property set manager -->
    <ejb-ref>
    <ejb-ref-name>ejb/PropertySetManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.property.PropertySetManagerHome</home>
    <remote>com.bea.p13n.property.PropertySetManager</remote>
    </ejb-ref>
    There are two options for deploying a UUP: 1) use the default
    UserProfileManager deployment with your custom EntityPropertyManager
    deployment, or 2) use your custom deployment of the UserProfileManager with
    your custom EPM deployment.
    In almost all cases, option 1) is done. However, in your case, you need to
    modify the behavior of the UserProfileManager so you must redeploy a
    custom-configured version. This means you will have to register a new
    ProfileType for your users with the DD for the UserManager EJB (because your
    special users don't use the default UserProfileManager) like this:
    <ejb-ref>
    <ejb-ref-name>ejb/ProfileType/WLCS_Customer</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.commerce.ebusiness.customer.CustomerProfileManagerHome</home>
    <remote>com.bea.commerce.ebusiness.customer.CustomerProfileManager</remote>
    </ejb-ref>
    If you didn't need to retrieve the default values from your own data source,
    here is how you could get the default values using the default deployment of
    the UserProfileManager:
    * use the EBCC to create a property set (a.k.a "user profile") that matches
    your UUP property set name. Create the properties in this pset and the
    default values. When the UserProfileManager.getProperty() call fails to
    find the property value in your UUP (gets null) it will use the default
    PropertySetManager to get metadata about that property from the Portal
    schema (which you just set up using the EBCC) and it will return the default
    value that you set in the EBCC.
    I recommend you study the 2 options for deploying a UUP, especially the
    option for deploying a custom version of the UserProfileManager by checking
    out the sample UUP on dev2dev.bea.com and by looking at the Portal 4.0 docs.
    I don't know if the 7.0 docs have as much detail about this. Also, when you
    sit down to implement your custom PropertySetManager you may have to contact
    support for some of the details. For instance, how to instantiate a
    PropertySet.
    Ture Hoefner
    BEA Systems, Inc.
    www.bea.com
    "Thomas KJ" <[email protected]> wrote in message
    news:[email protected]...
    >
    Is there a way to load default values of properties from an externalsource while
    associating a user with property sets managed by UUP ?
    We are trying to write a Custom User Profile using UUP so that some of theUser
    Profile attributes can be stored using an existing Oracle database schema.But
    the values for some of these properties(Profile property set attributes)has to
    come from another table which already exist. So the idea is that when anew user
    is being associated with the Custom property set using Portal Admin Tool,the
    available values for an individual property has to be pulled from from adatabase
    table. Like when selecting a user's home city he can select the name ofall cities
    already existing in a database table.
    I couldn't find a way to do this using the EntityPropertyManager. Anyonehas
    any idea how to do this?
    Thomas.

  • How to maintain default values for custom table fields --  Urgent

    Hi all,
    I've a requirement wherein i need to create a Z table (with maintainence view) in which i'll have date and time as two of its field which should have current date and current time as default value. Can somebody suggest as how am i to maintain the date and time fields defaulting to current date and current time.
    Incase if someone is unable to intrepret what i'm trying to say, please query me, i'll elaborate it further.
    Please give in your quick inputs which is highly valuable to me and also will be highly appreciated.
    Thanks in advance,
    Vaishnavi Varadarajan

    We have a following custom table which contains the fields “Date on which record was created” and “Name of the person who created the object”. We would like to have these to be filled up with SY-DATUM and SY-UNAME respectively.
    Using the events, we can achieve this.
    Please refer the following link:
    http://abapliveinfo.blogspot.com/2007/12/events-in-table-maintenance-in-sap.html
    Also,
    Write a form routine in table maintanance generator.
    1. SE11 > utilities > table maintenance generator
    2. environment > modification > event
    define the event and form routine to make use of the tigger. in the form routine define an object for the class and call the relevant method.
    Or u can do it as:
    Table maintenance generator is basically used to do table operations like (insert, delete, modify...).
    if you create table maintenance for your table it will build a module pool program, by using you do the above operations.
    below is the procedure to create table maintenance generator.
    1) Create one function group.
    2) after activating your Ztable, choose 'Utilities'----> 'Table maintenance genrator'.
    3) then give the authorization group and function group created abobe in the next screen.
    4) Then choose the "create" button in your application tool bar, which will creates the module pool program.
    5) then create one Tcode by chosing "Transaction with parameters( parameter transaction)".
    6) in transaction field give "SM30", select the check box "Skip initial screen".
    7) in the below of that screen you can find the "Default values" frame.
    8) there under the "name of screen field" select the "View name' and 'update".
    9) in value column against to "view name" give you table name, and against to "Update" put 'X' in capital letters.
    save it then you can straight away use this newly created Tcode to maintain your table.
    Note:- 1) make the modification while saving the data into your table using this newly generated program to carry out your validation (even though it looks like standard program; no need to enter the access key).
    2) if you do any changes to your table and press the activate button automatically the table maintenace generator will be goes off, you need to create this again.
    cheers,

Maybe you are looking for

  • Purchased apps are not in App Store anymore. Message states "You have not yet purchased any apps."

    I just did a software update today and also changed my Apple ID password at the same time. Now when I log in to the App Store, all of the apps that I previously purchased are gone. They were there when I first went in to the store and as soon as I vi

  • How to delete child table records while creation reconciliation event

    Hi, I developed custom scheduler task to create reconciliation events with child form information: if (!reconOperations.ignoreEventAttributeData(objectName, attrs, "Roles", childs)) { long eventId = reconOperations.createReconciliationEvent(objectNam

  • WHERE IS FLASH? I AM EMBARRASSED

    I am embarrassed as an iPhone owner that we still have no Flash support. This is ridiculous. I am sure there are some robot answers as to why this has not happened yet. Can anyone provide me with a REAL answer. This is ridiculous.

  • Can't Open Documents From Finder

    Sorry- the topic title is a little deceiving. I wasn't quite sure where this issue would go because really it's an issue I'm having with Word. Word doesn't seem to want to open ANY documents. Every time I try, it stops responding and I have to Force

  • OS update for blackerry Q5 -10.2.1.537

    After updating into the latest OS, it consumes the battery easily. The battery will not last up to 1 day even i didnt use it for gaming, short usage of wifi only(less than an hour).