Default values for standard quote fields?

Hi all,
Is it possible to pass a default value for the quote screen/document, to be more specific, the payment terms field?
Can i use the BBP_DOC_CHANGE_BADI~BBP_QUOT_CHANGE? I have reviewed the signature but i can't find the payment term field...
How can i achieve this?
Best regards,
Gerardo.

Hello Gerardo,
When do you want to set the default value ? If you need it in the initial screen please try BBP_F4_SAVE_DB BADI.
Regards,
Masa

Similar Messages

  • Maintaing a default value for a particular field in the selection screen

    Hi all,
    How to maintain a default value for a particular field in the Selection Screen of a Standard report
    Regards
    Ajay

    >
    ajay babu wrote:
    > Hi all,
    >
    > How to maintain a default value for a particular field in the Selection Screen of a Standard report
    >
    > Regards
    > Ajay
    Create a variant for your standard program and assign this variant to the field 'Start with variant' while creating transaction code for the standard program in the transaction 'SE93'.
    Regards
    Rajesh.

  • Default value for selection screen field

    Hi all,
      I am using LDB PNPCE. I want to give default value for field Personnel area on selection screen.
    How can I do it?
    Thanks
    Rahul

    Hi Rahul,
    In the INITIALIZATION event we can set the default values for selection screen fields.
    INITIALIZATION.
    loop at screen.
    if screen-name = 'S_MATNR-LOW'.
    CLEAR S_MATNR.
    s_matnr-low = '1234'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr.
    CLEAR S_MATNR.
    s_matnr-high = '5678'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr
    clear s_matnr.
    endif.
    endloop.
    Hope it helps.
    Mark if useful
    Regards,
    Saumya

  • Default values for standard WebDynpro application

    Hi all,
    We are using standard WebDynpro applications (as an example Leave Request as part of ESS).
    Are there any functionalities in a standard WebDynpro to set a specific field initially (default value for a dropdown list for example) via the url?
    To be more concrete:
    On a specific portal page I would like to call the Leave Request application with the Leave Type set to the parameter I passed via this url (e.g. http://mywasserver:50000/webdynpro/dispatcher/sap.com/ess~lea/leaveRequest&leavetype=Exceptional%20Leave)
    Any thoughts are welcome.
    Regards,
    Noel

    At the default inplug of your interface view create a parameter that you need to access for e.g LeaveType in this case.
    The variable will recieve the value automatically from the url.
    Set the value in the context variable of the component controller and then access it from the view.
    Hope this link would be helpful
    Re: Can we pass parameters in querystring of the webdynpro application?
    Message was edited by: Noufal Kareem

  • Modify default value for static parameter field programmatically

    Hi,
    I have my Crystal Reports stored in a BO Enterprise system. I have written a java programm that scans the repository, loads the CR reports one by one into a ReportClientDocument, modifies the data source and then stores the updated report back to repository (it overwrites the existing objects).
    I was even able to modify the default values for the parameters, which are used for scheduling of each report.
    But what I am trying to do know is to overwrite the default value used when invoking the report interactively. This should be the value found under the Default Value field, when the Properties window of the parameter is opened in the CR designer.
    This is what I have tried so far:
    Option 1: First I tried to set the default values using com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getDataDefinition().getParameterFieldController().getField(...).getDefaultValues() . The only thing I have managed to do using this approach is to modify the static LOVs that are associated to static parameters. The actual selected value (shown under Default Value in the Properties window for the given parameter field) remained unchanged, when invoking the report in the InfoView or opening it in the CR designer.
    Option 2: I have used com.crystaldecisions.sdk.plugin.desktop.report.IReport.getReportParameters().get(ik).getDefaultValues() to change the default values. I was able to see my changes in the BO repository (using a query on CI_INFOOBJECTS), still the changes did not really have an impact to what is displayed as default value when invoking the report in the InfoView.
    Any help will be appreciated.
    It would be great to know if someone of you has already implemented successfully such a use-case.
    Regards,
    Stratos
    Edited by: Efstratios Karaivazoglou on Dec 9, 2009 8:52 AM
    Edited by: Efstratios Karaivazoglou on Dec 15, 2009 11:33 PM

    Hi,
    For Crystal Design related queries, close this thread and start the thread in the [SAP Crystal Reports Design forums|http://forums.sdn.sap.com/forum.jspa?forumID=300&start=0]
    - Bhushan

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

  • Pass the results from a selection formula to the default values for a parameter field

    Post Author: kevans
    CA Forum: General
    Crystal 10 u2013 SQL 2000
    I want to create a parameter field that will display all of our IT Departments so the end user can select the one they want to run the report against, such as IT-Security, IT-Network, etc. about 40 in all.  BUT I donu2019t want this to be a static list where I type in all 40 depts in the default list, I was hoping I could do something more dynamic such a formula field that says u201C if {group.name startswith u2018ITu2019 then {group.name}u201D and then have the parameter field pull from this source.
    Iu2019m sure this has been answered in a previous post but Iu2019m not finding it.  I see stuff on creating a record selection formula such as u2018if {?group} like u2018IT-Secur*u2019 thenu2026u201D  but this leaves too much room for error if people donu2019t type the name correctly.  Maybe Iu2019m not using the record selection formula correctly?  Sorry if I offend anyone but I just upgraded from 8 to 10 and thought for sure this option would be in 10, perhaps built right into the parameter default value page where you can place in select criteria but NOTHING has changed.

    Post Author: sharonmtowler
    CA Forum: General
    if you are creating the parameters in the rpt file, it will only pull values you enter, or directly from the database
    in the record selection you can do something like this, so if they only enter the first 2 characters it should pick up only the IT etc.
    (if eft(,2)={?parameter} then true else ={?parameter})

  • I need default values for APEX form fields. How do I do this?

    Hello,
    I am trying to set a default value in my form so that there will not get a null value. I have gone to the Column Defaults page and filled out the following fields in From Defaults:
    Default Value: 0
    Required: Yes
    Help Text: Please enter a number.
    When I add a record set or update a record and do not fill in the field, neither does it prompt me to fill it in or has a default value. It is blank.
    Can someone tell me what I am doing wrong?
    Thanks
    leh

    Hi leh,
    Defaults:
    Click on the page item, go to the Default section, enter your value into the Default value area.
    Validations:
    It's not quite as automatic as you are thinking.
    You'll need to add a Validation process for the item.
    First you go to the Page Processing section, then the Validations section, click the creation icon in the Validation section. You will first have the choice to create an item level or page level validation. Either will work. Next you will select the item you want to validate. Then, select Item Not Null. On one of the next pages you will be able to enter the error message. It's all pretty straightforward.
    Tony

  • Default value for a table field?

    Hi,
    I have a table which contains the fields USER_NAME and DATE_CHANGED_AT.
    here's what i want to do:
    When we use se16 to enter data into the table, i want these fields to have default values .
    user_name should contain the currently logged in user.
    date_changed_at should contain todays date.
    The aim is to eventually have these fields contain the person who last changed the row and the date when it was changed.
    It doesnt matter if se16 doesnt contain it and we have a way of defaulting these values thru the table creation process.
    something similar to the mandt field. When we create the table data, MANDT field is pre-populated.
    Any thoughts?
    Regards
    Vandana

    Entering data using SE16 is not a good practice .
    YOu have to use table maintenance generator to maintable the table entries.
    This also provides with options to write your own code to meet requirements like this.
    EVENTS in table maintenance generator
    Regards,
    Ravi

  • Set default value for OAMessageLovInputBean

    I have DFF(standard) enabled on the page. The requirement is to disable / hide one of the flex fields on the page. Since the field is read only, I am trying to default the value in CO using below code
    OAPageLayoutBean page = oapagecontext.getPageLayoutBean();
    OAMessageLovInputBean requestor = (OAMessageLovInputBean)page.findChildRecursive( "AuctionHeadersDFFIntF4" );
    if (requestor != null ) {
    requestor.setText("XX");
    requestor.setReadOnly(true);
    Using the above code, the field had become read only and the values is getting defaulted. But when I try to submit / save the page its asking to enter the value.
    Can somebody help me.
    Thanks,
    Pavani

    Hi,
    You can hide the madetory filed using below steps:
    Set any default Value for the mandatory field using bean.setText();
    Then hide it by using bean.setRendered(flase);
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                           

  • How to set default value in Profit Center field of Tcode F-02.

    Hi!
    Is it possible to set a default value for 'Profit Center' field in t.code F-02? Is there a way wherein the value will be copied in reference to the entered Business Area?
    For example, if during parking/posting of document, user input a value of 300 in the Business Area field, the system will automatically put 300 in the Profit Center field. Is there a way to do this?
    Hoping for your feedback.
    Thanks,
    April

    Hi
    Using the substitution this can be achieved.
    TC:GGB1
    Step-1: Prerequiste select the Company code for which this requirement is needed
    Step-2: In Substitution field, select the the "Profit center" field on selection of the field - system'll asks you -  How would you like to substfield BSEG-PRCTR ? with the 3 options
      i.constant value
      ii.exit
      iii.Field-Field assignment
    Select the 3rd option on selecting 3rd option before going to save that substitution it'll ask you to input which field should input the field BSEG-GSBER:Business area
    Step-3: activate the above substitution in TC:OBBH
    With the above settings whenever any value inputs in Business are field then the same value will be substituted in the Profit center field.
    Note: Make sure in all FSG - business area & profit center having the field status optional
    Can you tell me onething why this requirement has came ? Is business area and profit center are same in number and prupose
    regards
    Ramana
    Edited by: Ramana on Jan 8, 2008 9:33 AM

  • Set default value for product type

    I want to set default value in product type drop  down box
    in component PRD01QR.
    view  SearchHelp.
    I tried with setter and getter , but not working
    they are using query string.

    Hi,
    You can achieve this by redefining the method GET_VH_PRODUCT_TYPE() in IMPL class of searchHelp view. Just copy paste the implementation of this method from super class and now control the internal table as per your requirement like
    comment out the line       APPEND INITIAL LINE TO lt_ddlb. (line no: 47)
    as it will add an empty line at the starting of internal of product type values which you dont want. In you case there should be some default value for product type field, so arrange the inetrnal table values according to you requirement and what ever value you want to default for product type that should be the first value in the drop down without empty line and add an empty line at the end of the internal table.
    No need to call super->GET_VH_PRODUCT_TYPE() in your implementation as you have written all the required code in your implemenation itself.
    Hope this would help you!
    Regards,
    Ajay

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • Default value for Read-Only Picklist Field

    Hi, all--
    I would like to have a default value ("Undetermined") for the "Associated Account" read-only picklist value. I have an account record of this value for this purpose. This is because if there is no value in the field, the record will not be included in a report that includes the field. I do not want to make the field required at this point.
    Field management doesn't appear to allow any default value for read-only picklists. Does anyone know how to get around this, either at the lead record stage or at the lead report stage (without resorting to an analytic, which won't work for what we are doing)?
    Thanks.

    That's a great question. It doesn't appear as though you can select it from the typical method of Admin | Application Customization | Lead | Lead Field Setup | Associated Account.
    Have you tried creating a workflow to populate the field using Before Modified Record Saved?

  • Setting default value for form field assoc with a table column

    On a "Create Record" situation I was trying to set the default values of some form fields using a page level "Process". These form fields have Source Type = Database Column. It wasn't working, I could only set non-db assoc form field values no matter when the "Process" was set to exec. From some other posts it seems that this is by design, ie. not being able to programatically set the initial values of form fields that are sourced to db columns. I was hoping to have just one "Process" that would exec to set these initial values in one place rather than scattered about for each field that needed a default value. These particular default values come from ref tables and may be different for each user.
    So, it looks like I have to use a "Default Value" plsql chunk for each field on the form itself or else set their value on the calling form's Redirect in the "Set these Items" area.
    Is this correct?

    You could define a database function which accepts the name of the item and the user ID of the user running the application. Based on the item name and the user ID have the function return the appropriate initial value. Invoke this function in a "Default Value" PL/SQL block.
    Does that help in centralizing your initial values? You could have one function per page or one function per application. I would do one function per application.

Maybe you are looking for

  • Where can i find the Output workspace in the Bridge?

    I am in the process of doing my class assignment and need to use the Output workspace in the Bridge.  The Output button is not displayed. I am using Adobe CC.  Please I need your assistance. Thanks, Paulette

  • Inserting new rows in a JSP multi-row page

    Hi all. I´ve been implementing a JSP multi-row editable page according to the paper: http://www.oracle.com/technology/products/jdev/tips/mills/JSP_Multi_Row_Edits.html I noted that the code provided in the example just considers handling updates fro

  • QoS - Why DSCP AF-41 for Video

    Guys, I wanted to ask the forum one question why DSCP AF-41 marking is used for Video. I know Cisco designed and recommedded it in that way, but is there any other technical reason behind it? Cheers, Sugata

  • OWB Expert - Insert Operator in a mapping - To Share

    Hi All, Designed an expert to insert one of the following operators (aggregator, set_operation, deduplicator, expression, joiner, splitter, sorter, filter) anywhere in a mapping, if logically possible. Expert retains all the connections on insertion

  • I need to edit birthdate of child id

    Created a child ID for family sharing but captured birthdate incorrectly, now trying to edit but can't figure out how.