Add time field in database table
Hi Gurus,
I am trying to add a time field in database table. I know i can add it by using append structure.
but my problem is when records r creating in database table, the time field also populate with respective system time automatically. i think i need to use events but i have no idea how to use.
is there any other method available?
is there any system field for time stamp as date + time?
Regards
Giri
Rob,
its not updating by table maintainance generator.
I want to add Time field in table ESTDH.
when a new record updated while report version generated the time field also populate with system field.
is it possible?
can anybody help me?
Regards
Giri
Similar Messages
-
How to add a value table to a field in database table?
Dear Experts,
Normally a value table can be added in the domain.
And the field of the database table will have the value table, to which this domain is assigned.
My question is.. Is it possible to assign a value table to any field ina database table, directly?(i.e. <b>without assigning to that domain</b>)
If yes.. please let me know the <b>step-by-step</b> procedure clearly.
Thanks to U in advance.Hi sr,
1. what is the purpose of your value table ?
-- so that the user can select values
from some master table , for that field !!!!
2. This is done by
CHECK TABLE (foreign key concept)
(and not value table)
3. When we create a check table for a field,
then
some DEFAULT table is PROPOSED
. that DEFAULT table is nothing
but PICKED up from the domain of that field,
and shown from the value of VALUE TABLE.
(we can change it however)
4. so for your purpose,
just create a CHECK TABLE.
regards,
amit m. -
Hi Experts,
How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
I have no idea how to start with, please give some advice.
Thanks!
IceDear Ice,
Use Append structure, see given link:
https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
Regards,
Abbas. -
Delete L.H.S spaces from field in database table but not for Report
Dear Experts
I m facing a problem...actaually i have replaced 999 by blank in a field of database table record.
Like : 999 abcde
999999 hjklmn
9999 klplmj
99999 hjsfhh
I have replaced 9 by blank. and using CONDENSE statement i have avoid the left hand side spaces of 9 in the database table.
Means the data is updated in database table following below using Condense.
Like: abcde
hjklmn
klplmj
hjsfhh
Now, the problem is that these spaces is showing in the Report. The left hand side spaces is not deleting from the Report. But these spaces is not showing in the databse table.
Plz tell me wat is the reason and wat is the solution to avoid these space from the Report.
Note: That field is Character Field. KNA1-STRAS
Thanks and Regards,
SwapnikaHello
Try to use
SHIFT c LEFT DELETING LEADING SPACE.
instead of
CONDENSE... -
How to add Time field in the Date Calender in OAF screen
Hi All,
is there a way to add time field in the date calender, so that the user can set the time and select the date, then return the date/time to the specified field?
or is there any slandered calender that has this functionality?
Regards,
Mahdi ChararaHi Mahdi ,
If you are working on standard page then you can create a new item by personalization and set the DataType as : DATETIME it will display
date as well as time .
For custom page - you can create a new item as desired in anywhere in page and set the DataType as : DATETIME it will show both time
and date .
Is this what you looking for ?
--Keerthi -
At run time,ALV table is displaying all fields of database table
Hi all
I done one application using ALv I am displaying the ALV Table.my problem is at run time it was fetching and displaying all the fields in the data base table but i need only the fields which are defined in node.
Please help me.
Thanks and Regards
Tulasi PalnatiHi,
May be you have specified the database table as the Dicitonary structure property of the node.
Check the same and if its there clear the Dictionary structure property of the node.
Hope this solves your isse!
Regards,
Srilatha -
I have a mpp screen for a cd library management system (we are practicing on it).
We have a main screen where a user should enter the enteries and while clicking a add button it should be inserted in a table, Here the problem rises the table name are ztransaction and zstatus.The fields in mpp are cdid,customerid,transaction id,date of issue and duedate.Now after entering all the values on clicking add button it should be inserted to database table ztransaction and the field cdid alone should be inserted both in ztransaction and zstatus.
Thank youHi Raghuram R G,
Check for Primary key and foreign key in the Database table??? Because of this it was not inserting...check and confirm??
Regds,
Vijay SR -
Adding fields to database table and copying data from other fields
Hi All,
I am having a database table where in I am having a column 'FIELD1'.
My requirement is that I want to add two more fields in the table 'FIELD2' and 'FIELD3'.
I then want to copy all the data in field1 to field2 and field3. then I want to delete the original field1.
for Ex.
lets say FIELD1 = 100.
now I want to add FIELD2 and FIELD3 in the table and make FIELD2 = 100 AND FIELD3 = 100. The FIELD1 will be deleted from table.
Please suggest the methods to do so.
It is urgent.Hi Gaurav,
do this way ...
data : begin of it_ztab occurs 0 with header line,
fld1 like ztab-fld1,
fld2 like ztab-fld2,
fld3 like ztab-fld3,
end of it_ztab.
data : wa_ztab like it_ztab.
it_ztab-fld1 = '100'.
append it_ztab.
clear it_ztab.
loop at it_ztab.
wa_ztab-fld2 = it_ztab-fld1.
wa_ztab-fld3 = it_ztab-fld1.
wa_ztab-fld1 = ' '.
* Make sure that the structure of internal table/ workarea and database table shoud be same
modify ztab from wa_ztab.
endloop. -
Dear Gurus,
If some standard SAP field is added in a standard database table as a part of upgrade. Is there a way we can find out when that field is added to the database table.
Regards,
Subhajithi Subhajit,
use the table DBTABLOG,CDHDR,CDPOS ...it will contain the change made by the responsible person and time...
hope it helps..... -
What is the Function MOdule that returns the fields in database table order
Hello Folks
I have a dynamic internal table with fields ( which are not in order). I want to display them in the order of which they are present in the database table? Is there any function module that returns the fields in database order?
FAQ. Please search before posting your question.
Edited by: Suhas Saha on Oct 10, 2011 10:19 PMHi,
You can use this BAPI.
<b>BAPI_SALESORDER_GETLIST</b>
Reward if useful.
Regards,
Vimal -
How to add a field in a table control of the subscreen 6103 of tcode f-03
hi abap gurus....i m new to abap and this is my first post ..i m hoping for a reply soon as it is urgent....
my requirement is to add a field PAYR-CHECF to a table control of the subscreen 6103 of tcode f-03Hi,
Please see documentation of enhancement MM06E005 (transaction SMOD).
Userexit EXIT_SAPMM06E_016 is a component of enhancement MM06E005.
With that enhancement, you can
- Maintain/supply your own customer fields
- Update your own customer-specific tables
You cannot:
- Change standard fields
- Change data that depends on the document header in the items
- Change data that depends on an item in the document header
Please have a look at Business Add-In (BAdI) ME_PROCESS_PO_CUST.
Regards,
Edit -
How to add new fields to a table control in a standard transaction JHA3X
Hi All,
We have a requirement where we have to add two new fields to a table control
in a standard transaction JHA3X .
We don't want any changes into our standard code and also we don't have any USER EXIT for that
screen.
Please provide with some solutions for the same .
Thanks in advance .You will need add this to the /var/clientlibs/libs/cq/security/widgets.js and add the field under the 'CQ.security.UserProperties'. For example, if you wanted to add a field to show the 'Middle Name' under the 'First Name' field, you can try adding the following:
"items":[{
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Login"),
"anchor":"100%",
"disabled":true,
"allowBlank":false,
"name":"rep:userId"
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("First Name"),
"anchor":"100%",
"name":"givenName"
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Middle Name"),
"anchor":"100%",
"name":"middleName",
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Last Name"),
"anchor":"100%",
"name":"familyName",
"allowBlank":false
Hope this helps.
-Ron -
Dear all experts,
I am able to populate all fields data from database table, using dynamic table creation.
eg,
SELECT * FROM (w_tabname) INTO TABLE <t_itab>.
where w_tabname is the table name given by the user, and t_itab is field symbol.
but some requirement is like that i need to pick up only few fields, <b>which user will give at the runtime.</b>
<b>I can</b> take those fields from file into any internal table,
but the problem is that instead of <b>select *</b>, i need to put selected the fields given by user.
i have tried with field symbol, it is not working (as per my knowledge.)
do i need to create any structures dynamically ?
Can anybody please help in this regards ?
Your help will be surely rewarded with points.
Waiting for reply..
Regards
VinayHi Vinay ,
Adding to the below code , you can use some more fields in the select stmt as below:-
REPORT ychatest.
PARAMETERS : p_field1 LIKE dd03l-fieldname,
P_field2 LIKE dd03l-fieldname,
p_table LIKE dd03l-tabname.
FIELD-SYMBOLS : <fs> TYPE STANDARD TABLE.
SELECT (p_field1) (p_field2) ( FROM (p_table) INTO TABLE <fs>.
Now p_field1 & p_field2 belong to the same table since you have give the user to enter only one table name.
This should work fine.
please try & let me know .
Thanks & Regards,
Daniel -
Add new field in detail table control MIGO
Hi Gurus,
We are able add the new(custom) field in MSEG table and it is able to view at line item lebel in transaction MIGO.
However the user requirement is he need the field shoud be in detail table control.
Could you please help me out. Thanks in advance.
Thanks & Regards
Tirumula Rao Chinnihi
Please go through these links
How to Add Field to MIGO : Urgent
MIGO How to add new screen field
Adding custom fields in the MIGO screen
Thanks.. -
WWV-01821 when trying to add column to a database table
I have a database table with 5 columns, all NUMBER. When I try to add a column via the Portal Navigator, I get the error:
Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
I can add the column via SQLPlus with alter table. Any ideas?
TIANo help there. The WWV-01821 error is not even in the documentation.
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="60%" ALIGN="CENTER">
<TR>
<TD><FONT CLASS="OraErrorHeader">Error:</FONT></TD>
<TD ALIGN="LEFT"><FONT CLASS="OraErrorText">Exception from wwv_generate_component.build_procedure<NOBR> (WWV-01821)</NOBR><BR><!-- wwv_builder.finish --></FONT></TD>
</TR>
</TABLE>
Edited by: Angrydot on Mar 30, 2009 11:30 AM
Maybe you are looking for
-
Zoom to fit doesn't work with Jpegs (works with pdfs)
Note: we are not talking about zoom to fit for pdf, etc but ONLY about zoom to fit for jpegs and similar graphics files. The problem: starting with Snow Leopard if you have a small picture in actual size but expand the window then click zoom to fit t
-
Problem in Axis2 version service
Hi We have done a full installation of BOBJ Entreprise Premium XI 3.1 SP 2 on a Microsoft 2003 Server. The installation is done with all default settings (ports) and MySQL is also installed. We have installed Tomcat as Web Server (5.5.20) and also de
-
Hi, In a report I have opportunity close dates as prompts. When using the calendar picklist in responding to the date range prompts it displays the date with the full timestamp such as 12/31/2009 12:00:00 AM. Some users don't want to see the full tim
-
How to add new tag in MT103 file format
Hi All, We want to add new Tag 72, in MT103 file format. Shall i have to enhance with event module? or through DMEE tree Regards, MS
-
Calling default XML editor for system in Java
I'm looking for a way to call the system's default editor for xml files from a Java application. In other words, if I'm running on a Windows system, I might want to start Notepad, or if I'm on a Mac, maybe I want to start TextWrangler or oXygen, etc.