Fix a data value in a field (to be by default)

Dear all,
Does anyone knows how can I fix a data value in a field, i.e, to be by default when I first execute a transaction?
Another thing, in version ECC 6.0, can I export a excel document directly without using the option "save as"? My user just want to visualize the xls document, and not saving the file to some directory. Is this possible in 6.0?
Thanks for your help.
Regards,
CCT

Hi,
For default values, you can default only certain field. For example for Company Code you can maintain the parameter BUK value in your user master in SU3 transaction. (You can find the parameter name in the technical discription (F1> Technical Data) of that field.)
For excccel, if the output is in ALV format, then in ALV toolbar, there is a button "Speadsheet" available. You can use that.
However the data updation in excel is not actually updated in database table (Except for certain planning tools given in SAP.)
Regards,
SDNer

Similar Messages

  • How to set default date value to a field on screen

    How to set default date value to a field on screen and allow users to modify it ....

    Hello,
    In the PAI module, you need to save the changes to the database using the command MODIFY.
    Follow an example:
    Create or change a message in database table T100. If there is no message with the number 100 in the MYMSGCLASS message class in English, it will be created. Otherwise only the text is changed.
    DATA message_wa TYPE t100.
    message_wa-sprsl = 'EN'.
    message_wa-arbgb = 'MYMSGCLASS'.
    message_wa-msgnr =  '100'.
    message_wa-text =  'Some new message ...'.
    MODIFY t100 FROM message_wa.
    Regards.

  • Add and/or subract data values in form fields

    I'm trying to have a date value in one field calculated from another. For example Issue date field plus 90 days = Contract Due data field. Is there a way, maybe javascript to do this in a ADD form?
    Thanks for any help,
    Tony

    Hi Tony,
    instead of trying that with javascript, I´d rather create a Custom Trigger
    (type: AFTER) which updates your table´s "contract_due" column by applying MySQL´s DATE_ADD function to ADDT´s transaction value
    ($tNG->getColumnValue("column_name")), like this:
    "UPDATE tablename SET contract_due = DATE_ADD(".$tNG->getColumnValue("issue_date").",INTERVAL 90 DAY) WHERE primary_key_column = ".$tNG->getPrimaryKeyValue()."";
    That should work, although I´m not sure if you would first have to convert the value of $tNG->getColumnValue("issue_date") back to a valid MySQL date format
    (YYYY-MM-DD), in case the field "issue_date" displays the date in a different format, like e.g. DD.MM.YYYY
    However I think that a javascript based approach should be avoided whenever possible, because even if that works, the user might modify the "contract_due" field value before submitting the data.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How to Insert more than one record at a time- with fixed set of values in one field

    Can someone guide as to how to insert multiple records at a time using ASP VBScript in Dreamweaver CS4 or ADDT.
    If someone can guide then the exact problem is given below.
    I have a MS access database with one table. The table has three fields. The first field is an autonumber field for ID number.
    The second field contains string values- One out of 7 predefined values. One set of records consists of 7 records containing all the seven types of predefined values in fields no 1.
    The third field is a numeric field and can contain integers.
    I want that the user can enter data for the table using an ASP form in such a way that he enters one set of records at a time in one single screen. This way he will not have to remember that he has /has not entered all the seven set of values for the field no 1.
    I am not creating fields with the 7 types of field1value as their names as it will increase the number of fields drastically.
    Please help for dreamweaver ASP VBScript.

    I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
    However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
    Please help.
    Also advise if there are any free dreamweaver server side validation extensions available.

  • Transfer Rule Routine: Assign Date Value into Blank Field

    Can anyone help me with regards to writing some ABAP code in a transfer rule so that I can assign "99991231" value into a date characteristics if it is blank?
    Many thanks for advance.

    I would like to check if the value of EXPIRYDATE is blank in data source. If its value is blank, assign '99991231' to it. Otherwise, it will get the value of EXPIRYDATE in transfer rule. I have rewritten the routine as follows. But there is no effects on the result.
    if TRAN_STRUCTURE-EXPIRYDATE IS INITIAL.
      RESULT = '99991231'.
    else.
      RESULT = TRAN_STRUCTURE-EXPIRYDATE.
    endif.
    Many thanks in advance.

  • Not allows to assign default value to input field using values in datastore

    Hi Masters,
    Consider that I have one input field in a form. I should assign default value to it. I should assign to it, the value which i have stored in a datastore. When i run the application, if i give default value as 123 ,then it is working fine i.e., it is showing 123 in the textfield in form , but if i give the default value as STORE@ProductId, then it is not displaying that value in the form.
    Please help me out.
    Thanks & Regards,
    Kaushik Sreeram

    Hi,
    i faced this problem and here's what i concluded:
    There's no way you can set default value for input field dynamicly, since the default value of input control is caculated only once (i think on initializing of the iView). The input control and the data store are initialized at the same time, STORE@productID is empty that time...
    If you don't need to recieve value through the input field you're trying to initialize, but just to display the value from the store - I suggest you try using another control - Expression Box. It's value is calculated continiously, just like the Label's, and you can refere to it later.
    Regards,
    Yulia

  • Howset value to organization field in the selfregister user reqapprovalform

    hi,
    my use case is when ever end user performs self registration request goes to manager, manager will provide organization value manually to the approval form, But i want to set default value to that field, how to set default value to oranization field in the self register request approval form.
    Edited by: 853559 on Dec 2, 2012 8:59 PM

    hi,
    i am using following code to pre- populate organization.
    public class OrganizationPrepopulateAdapter
    implements PrePopulationAdapter
    public OrganizationPrepopulateAdapter()
    public String prepopulateOrganization(RequestData requestData)
    throws RequestServiceException
    String Organization = "Xellerate Users";
    return Organization;
    public Serializable prepopulate(RequestData x0)
    throws RequestServiceException
    return prepopulateOrganization(x0);
    but it is not prepopulating is any thing wrong.
    Edited by: 853559 on Dec 3, 2012 12:46 PM

  • Losing Text Typed Into Properties/Data/value Field

    If you type within the Properties/Data/value field of a Component Label then click on the "..." for that field, you'll lose the text you just typed. I don't know how pervasive this is throughout other fields.

    I'm suggesting that this should be fixed so that data isn't lost when clicking the "...". Take a look at the Properties/Appearance/style field. If you edit that field and then click on the "...", the data is at least copied into the new dialog. This editing behavior should be consistent throughout the Properties panel, if not the entire application.

  • Can we change the data type of a field based on the value of the field

    HI Gurus,
    My Requirement is as below -- Could you please guide me
    in the Printable Adobe form -- for ex - as usual for dates fields in the Object Pallette the object type is a date/time field  and for quantity/currency fields corresponding fields are taken
    now in case the either the date, quantity or currency is initial in place of displaying 0.00 or empty date we need to display N/A (Not Applicable)
    for this I would like to change the data type of the field
    to put it simply --
    we need to change the data type of date field from DATE&TIME to Char type to hold N/A or  Quantity field to Char field to hold N/A
    how can we realize this in SAP adobe forms
    Thanks in Advace
    Ramchander Rao.K

    Hello Ramchander,
         You cannot change the data type of the field at run time in Adobe forms because the type of field you choose at the time of design level is associated with the data type itself.
    If you want to achieve your requirement, then your main idea should be to set the data type as CHARACTER itself while designing the field in the adobe form itself. CHAR field will comfortably hold the value of Calculation/amount field, Currency field, Amount, Date, Time HHMMSS, Unit Accuracy, Currency key, Floating point number, Numeric text, Client, Language and many other data types.
    After designing the field as TEXT field in Adobe form you have two options.
    Option 1:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms.
    Suppose the name of the field is TEXTFIELD1, then write the Javascript code on this field in Initialize event as below.
    if ( this.rawvalue == null )
         this.rawvalue = "N/A";
    If the field is not blank, then it will show the date. Else it will show "N/A".
    Option 2:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms. Do the formatting part in ABAP itself. It will increase the performance. Avoid Javascript as much as possible.
    Suppose you have a DATE variable l_dats of type DATS. Then take another variable l_date of type CHAR. Then write the below ABAP code.
    MOVE l_dats TO l_date.
    IF l_date IS INITIAL.
         l_date = 'N/A'.
    ENDIF.
    Bind the l_date to the TEXT field in the form.
    Even in this case, if the field is not blank, then it will show the date. Else it will show "N/A".
    But I will suggest you to use Option 2 of keeping the AMOUNT, QUANTITY, DATE, TIME fields etc as CHAR or TEXT fields in Adobe form and do the required formatting in ABAP itself.

  • When I try to use the Submit Form button on the Interactive PDF I created (IN Design CS6) I get this message. "There is no value in form field 'Program.' Please put in it before proceeding. What can I do to fix this and make the Submit button work?

    When I try to use the Submit Form button on the Interactive PDF I created (In Design CS6), I get this message:
    There is no value in form field "Program." Please put in it before proceeding.
    How can I fix this and make the Submit Form button work?

    Are you running modified software on your phone?  This error seems to be common if the firmware has been modified and you're trying to restore the phone again. 

  • Fix for data that isn't returned in responseXML field

    I have a problem where I have a very simple JSP that returns
    me back a list of URLs that are modified to use the correct path
    for where my application is running. This JSP doesn't return as a
    text/xml MIME type, so XMLHttpRequest is returning the data in the
    responseText field, no the responseXML field. Spry doesn't handle
    it, but the fix is simple.
    In
    Spry.Data.XMLDataSet.LoadManager.CachedRequest.prototype.loadDataCallback,
    I add this code:
    if (!xmlDoc && req.xhRequest.responseText)
    xmlDoc =
    Spry.Utils.stringToXMLDoc(req.xhRequest.responseText);
    right above:
    this.doc = xmlDoc;
    this.state =
    Spry.Data.XMLDataSet.LoadManager.CachedRequest.LOAD_SUCCESSFUL;
    This will check to see if the data could be in the
    responseText field, and setup things appropriately.
    I did figure out how to change my JSP so it returns, but the
    above still could possibly useful, so I post it here.
    -d

    Thanks for posting the workaround doug!
    I was actually thinking of modifying the XMLDataSet so that
    callers could get a hook when cases like this came up so they could
    either flag an error if it was unexpected, or if they knew that
    this non text/xml mime-type was really an XML format, go ahead and
    parse the doc like you did in your case.
    Another thing I was thinking of doing was splitting out some
    of the XMLDataSet code into a class that it could derive from so
    folks that wanted support for other HTTP based protocols had a
    starting point which had most of the functionality they needed.
    --== Kin ==--

  • How to limit inserting data according to no of values for a field

    Hi,
    I have a task at hand. I have a table in a database.
    When inserting a new record from webpage form in a field into
    my database,
    each value may repeat two or three times maximum for a
    specific field..
    I want a system to check if this value (e.g. : 414 from below
    example)
    exists twice and not more, then I do not want it to allow
    recording third
    time of same value. Or, for the example value of 450, I do
    not want the
    system to allow recording of fourth value as 450.
    In brief, the system will check number of records containing
    a value and its
    limit, accordingly, it will allow an additional record or it
    will not allow.
    Please help !
    I sense that it is easy. But, I could not figure out the
    logic yet
    Any solution would make my day.
    Thank you
    Hakan
    For example,
    Id Title Code
    1 John 450
    2 Abraham 414
    3 Marry 418
    4 Jennifer 414
    5 Mike 450
    6 Susan 412
    7 Jeff 450
    8 Tony 424

    Thanks for the reply Sowmya.
    I would like to know 2 things.
    1. Is it ok to change the data type of the field 'USERF2_NUM '  which is in the table ESLL. from quan to char.
    2.  The table ESLL  already has entries. if we change the data type from QUAN to CHAR what is the  effect on the existing entries of the table .
    Kindly reply me back.
    Thanks & Regards,
    Rajesh Kumar

  • Using Field/Column Date Value In Case Statement

    I have code that the first part works (the part that evaluates null). However, it appears the second part doesn't work. The error I get is:
    Data Value out of range
    Can you use the a table column value in a Case statement? What I'm trying to do is: where all mbr06..values are 12/31/9999, then null; if mbr06.. values are equal to or less than today's date, then put the value in mbr02.mbr02_cancel_proc_date..
    Note, the table MBR02 does have dates that go back as far as 11/17/1858..could that be an issue?
    Thanks for any assistance..
                cast((case
                when mbr06.mbr06_exp_date = to_date('31-dec-9999') then null
                when mbr06.mbr06_exp_date <= sysdate then mbr02.mbr02_cancel_proc_date

    The error is due to the CAST, not to the CASE.
    Cause: Value from cast operand is larger than cast target size.Post at least the whole cast ...
    Max
    http://oracleitalia.wordpress.com

  • Assigning a default value to a field

    Hello Everyone,
           Could you please tell me how to assign a default value to a field in a transparent table, so that while creating an entry even if we don't enter the value, a default value will be assigned.
    Thanks,
    Anbu.

    Like this
    DATA: BEGIN OF itab OCCURS 0,
            field1 TYPE c VALUE 'X'
            field2 TYPE c,
          END OF itab.
    append itab.
    append itab.
    You will have by default X set in both rows for field1.
    Regards
    Marcin
    PS: Ooops I just noticed you meant transparent table but I wrote about internal one. As long as you maintain that table using maintenance view you can use event 05 - When Creating a New Entry and set fixed value for a field there. So whenever you create new entry it will receive that value.
    Edited by: Marcin Pciak on Jun 23, 2010 8:57 AM

  • 'D' Value in UPDMOD field getting lost in Transformation,Delete not working

    Hello all,
    We are using this datasource 0PU_IS_PS_32 for Funds management, the datasource has UPDMOD field in it, which is basically the 0RECORDMODE. So when they delete the document on R/3 side we can pick up the delete.
    Now this is what is happening in the delta infopackage, I get the delat records in the delta infopackage and I see a "D" in the UPDMOD field, but that value of D is getting lost when i load the data from PSA to the DSO through transofrmation by using DTP.
    After the request is loaded in DSO, before activating the request I check in New Data table and the field does not have a value of "D" anymore so when I activate the request the system does not know that those records are "D" delete records and so the records are not getting deleted from DSO.
    Has anyone faced this before, how can I fix it. The transformation is just one to one mapping no routines or formulas of any kind.
    Thanks for your help in advance.

    Hi,
    It is mandatory that u map upmode to 0recordmode. In the rule group there will be 2 groups. One will be ur normal mapping and other should be used to map 0recordmode
    Regards,
    Raghavendra.

Maybe you are looking for

  • How to use Auto layout in book module

    Hi, I got a MBP mid-2010 15" running OS X Lion. I´m trying to get the auto layout to work with presets. I might be doing something wrong here though: 1. "Edit Auto layout preset" 2. Choose for instance "Wedding" layout 3. Save preset If I then click

  • HOW TO USE GROUP BY IN AZURE

    hi, I want to use aggregate functions (group and sum ) in azure mobile service? e.g my table is Expense and attribute id, name, amount, categories. I want to group by categories and sum by amount attribute.  thanks

  • Ipod freeze, dont charge, etc

    hello, mi ipod doesnt charge, the screen is freeze with not light, when i plus into a stereo the ipod plays her music but the light is still not on. When the screen is freeze, nothing of the buttons can not. The only button that is normal and appear

  • Within Pro 9, how do I remove/delete default security settings?

    All, As a learning excercise, I recently password protected a document so that PRINT was disabled. However everytime I render a PDF, this security policy is applied by default requiring me to go the Security tab under Properties and select "No Securi

  • Stopping Analytic Intergration Services service does not stop all processes

    Hello Experts Starting the 'Analytic Integration Services' service starts 2 instances of olapisvr.exe. However, stopping the 'Analytic Integration Services' service only stops one instance of olapisvr.exe. This was detected upon starting the AIS Serv