To retrieve the data of time infotypes is there any fm
hi,
I need one function module to retrieve the data of all time infotypes.
thanks & regards,
Sekhar.
Hi Chandra,
I couldn't remeber any function module which would retrieve the Time data, But you can use the macro
RP-READ-ALL-TIME-ITY to fetch the data from time infotypes.
Regards
Sonu Gupta
Similar Messages
-
I've been working on a newsletter and have the final version. But I wanted to check something in a verssion I did last week. If I choose the day in Time Machine, is there any way I can view that document without "restoring" it to replace the final version?
You can drag and drop a file from TM to the desktop.
Let's say your newsletter is on the desktop. First thing to do is to add something to the file name, say Newsletter_1.
Next open TM as if it is just another external drive by double clicking the icon. (This is not the same as "Enter Time Machine" which you do when you want to restore.) The file hierachy in TM follows the same logic as on your hard drive. Navigate to the date you want, find the file you want, and drag and drop it where you want it to be. Because you changed the name of the most recent version you can both files in the same space.
I do this often.
But remember if you make a back up now you will end up with both versions in TM. -
primarily using the ipad air as an art portfolio but photos i upload in order get rearranged. other than changing the date they were shot, is there any solution to this? can they be reorganized in iphoto on the ipad?
You are welcome.
Sorting and organizing photos on IOS devices is one of the things that really need to be improved. It looks like the developers simply did not expect the users to want to keep large photo libraries on an IOS device, where the ordering would matter. I'd send feedback to the developer team, so that they see, what the users want and need:
You can use this form: Apple - iPhoto - Feedback -
How do you know the date and time synchronization in the windows version?
Where can I see the date and time synchronization?
There's a toolbar button sitting in the Customize Palette. Move that button to a toolbar or into the Open Menu box; when you hover the cursor over that button a tooltip will appear with the day-of-week and the time of the last Sync event.
-
Is it possible to retrieve the data from maintainance view?
Hi experts,
Am facing one problem.
Is it possible to retrieve the data from Maintainance View ,If yes how?
IF it is not possible then Y?
While am trying to retrieve data from maintainance view it's showing message like
"it is not a database view or table".
Can u pls give me ans.
Thanks&Regards,
Arun.Hi Arun,
It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
How to retrieve the data from SAP-BAPI by using VB Code
Hi ,
I am new to BAPI.
V have created an application in Visual Basic with the following fields
EmpNo , EmpName, Addr1, Addr2, City and Phone (Only for Test)
We have written the code for SAVING the data into SAP. Already we have
constructed a table with the respective fields in SAP.
For that we ourself created our own BAPI Structure / Function Group /
Function Module/ Business Object - RELEASED related elements.
1)Established the connection successfully.
2)Stored the data into SAP Successfully and v r in need of
3)HOW TO RETRIEVE THE DATA FROM SAP (USING GETLIST.....GETDETAIL....)
Following is the code :
'BAPI Structure : ZBAPIEMP
'Function Group : ZBAPIEMP
'Function Module : ZBAPI_EMP_CREATEFROMDATA
'Business Object : ZBAPIEMP
'Function Module : ZBAPI_EMP_GETLIST
Dim bapictrl As Object
Dim oconnection As Object
Dim boEmp As Object
Dim oZEmp_Header As Object
Dim oImpStruct As Object
Dim oExpStruct As Object
Dim oreturn As Object
Dim x As String
Private Sub Form_Load()
Set bapictrl = CreateObject("SAP.BAPI.1")
Set oconnection = bapictrl.Connection
oconnection.logon
Set boEmp = bapictrl.GetSAPObject("ZBAPIEMP")
Set oZEmp_Header = bapictrl.DimAs(boEmp, "CreateFromData", "EmployeeHeader")
Set oImpStruct = bapictrl.DimAs(boEmp, "GetList", "EmployeeDispStruct")
End Sub
Private Sub cmdSave_Click()
oZEmp_Header.Value("EMPNO") = txtEmpNo.Text
oZEmp_Header.Value("EMPNAME") = txtEmpName.Text
oZEmp_Header.Value("ADDR1") = txtAddr1.Text
oZEmp_Header.Value("ADDR2") = txtAddr2.Text
oZEmp_Header.Value("CITY") = txtCity.Text
oZEmp_Header.Value("PHONE") = txtPhone.Text
boEmp.CreateFromData EmployeeHeader:=oZEmp_Header, Return:=oreturn
x = oreturn.Value("Message")
If x = "" Then
MsgBox "Transaction Completed!..."
Else
MsgBox x
End If
End Sub
Private Sub cmdView_Click()
End Sub
COULD ANYBODY GUIDE ME, HOW TO RETRIEVE THE DATA FROM BAPI, FOR THE WRITTEN CODE.I didn't seen any other answers but here's how it's been done previously in our organization for a custom BAPI. In this example, we give material and language to return the part description. It's not specific to your project but may give you ideas..
-Tim
Option Compare Database
Dim SAPLOGIN As Boolean
Dim FunctionCtrl As Object
Dim SapConnection As Object
Sub SAPLOGOUT()
On Error GoTo LogoutFehler
SapConnection.logoff
SAPLOGIN = False
Exit Sub
LogoutFehler:
If Err.Number = 91 Then
Exit Sub
Else
MsgBox Err.Description, vbCritical, "Fehler-Nr." & CStr(Err.Number) & " bei SAP-Logout"
End If
End Sub
Function SAPLOG() As Boolean
'Verbindungsobjekt setzen (Property von FunctionCtrl)
Set FunctionCtrl = CreateObject("SAP.Functions")
Set SapConnection = FunctionCtrl.Connection
'Logon mit Initialwerten
SapConnection.Client = "010"
SapConnection.Language = "EN"
SapConnection.System = "PR1"
SapConnection.SystemNumber = "00"
'SapConnection.Password = ""
SapConnection.GroupName = "PR1"
SapConnection.HostName = "168.9.25.120"
SapConnection.MessageServer = "168.9.25.120"
If SapConnection.Logon(0, False) <> True Then 'Logon mit Dialog
Set SapConnection = Nothing
DoCmd.Hourglass False
MsgBox "No connection to SAP R/3 !"
SAPLOGIN = False
SAPLOG = False
Exit Function
End If
SAPLOG = True
End Function
Function MatDescr(MatNr As String)
Dim func1 As Object
Dim row As Object, X As Integer, ErsteNr As String
Dim DatensatzZähler As Long
Dim RowField(1 To 50, 0 To 1) As String, RowLine As Long
If Not SAPLOGIN Then
If Not SAPLOG() Then
MsgBox "No connection to SAP !", 16
SAPLOGOUT
Exit Function
End If
End If
' Instanziieren des Function-Objektes
Set func1 = FunctionCtrl.Add("Z_BAPI_READ_MAKT")
' Export-Paramter definieren
func1.exports("MATNR") = MatNr
func1.exports("SPRAS") = "EN"
DoEvents
If Not func1.call Then
If func1.exception <> "" Then
MsgBox "Communication Error with RFC " & func1.exception
End If
DoCmd.Hourglass False
SAPLOGOUT
Exit Function
Else
MatDescr = func1.imports("MAKTX")
End If
If MatDescr = "" Then
MatDescr = "PART NO. NOT FOUND"
End If
End Function -
Retrieve the date a file was created in the background
EDITED CONTENT----
Apologies all...I just realized there is a specific forum for this type of question. I will post it there.
Thanks Marilyn for point this out>>>>should have read it first as suggested.
/message/2572763#2572763 [original link is broken]
Hi guru's,
I have a custom application that does some windows directory cleaning based an older than 'X' days setting. I have to do some calculation to determine if the file being processed is older than that number of day and delete it if it is. To determine the file created date I use the method DIRECTORY_LIST_FILES from CL_GUI_FRONTEND_SERVICES. This works great in the foreground but dumps in the background because the handle object reference is not created in the class constructor and subsequently does a call to a "NULL" object.
My question:
Does anyone know of a way to get the date a file was created while running in the background? If not, please read on --- I have another question regarding an alternate approach I am trying.
I have tried the following approach FM EPS_GET_DIRECTORY_LISTING to return an internal table with all files in a directory. Works fine in the background, but the created date is not in the return values. Soooooo I looped at the internal table and called this system function:
CALL 'C_FILE_ATTRIBUTES'
ID 'NAME' FIELD tempfile
ID 'TYPE' FIELD singleFile-
ID 'LEN' FIELD file-len
ID 'OWNER' FIELD file-owner
ID 'MTIME' FIELD file-mtime
ID 'MODE' FIELD file-mode
ID 'ERRNO' FIELD file-errno
ID 'ERRMSG' FIELD file-errmsg.
This returns the MTime, which is the Modified time (in Epoch time format: number of seconds since Midnight 1 January 1970), but no created time. Does anyone know the ID for the created time? I tried CTIME but no value is returned.
Along with this question: any idea if a FM or Method exists to convert Epoch time to a standard time. I could do the calculation myself....but it seems someone would have already done this. No point in re-creating the wheel.
Thanks so much,
Quack
Message was edited by:
Ryan QuackenbossI will be happy to.
Please post something to this thread.
Retrieve the date a file was created in the background
I UNMARKED this question as a post and reposted in the data transfer forum.
That post is still open. Once you post there, I will mark it ANSWERED and award points.
Thanks for the help
Quack -
Query - Cannot Retrieve the Data / Result Set
Hello,
I'm trying to query a cube through the OLAP connection using Java and every time I try to execute a query an exception is thrown stating "Cannot retrieve the data set" or "Cannot retrieve the result set" depending on how I'm doing the query. I've tried to execute the query both through the use of an IBIQuery and IBICommandProcessor object as well as directly through the IBIOlap connection via an MDX statement and both methods produce the same exception. If anyone can shed some light on why exception is being thrown it would be greatly appreciated.please help me ... The question has nothing to do with 'getting' data from excel and certainly not with putting it into MySQL.
The stack trace specifically tells you that your connection string is wrong.
It also tells you which connection string is wrong.
Which you can use to determine specifically which one is wrong. And which you did not provide that info to us. -
Uploading data into Time Infotypes
Dear All,
I have a requirement wherein I need to upload data into time infotypes from an external source(file). The data is required to be uploaded into the relevant infotypes based on the content(attendance, absence etc.)
Can you please suggest a generic way of uploading data into time infotypes.
Thanks in advance,
Sujit.Hi Sujit
You can either create a BDC report to upload the data or use FM HR_INFOTYPE_OPERATION to upload the infotype in your report -
EVDRE encountered error retrieving the data from web Server
Hi,
I know this is the common/generic error message, following is our scenario:
We installed BPC NW 7.5 on our production box and configured F5 load balancing for two .NET servers.
We are getting the error "EVDRE encountered error retrieving the data from web Server"when we run the report EVDRE on APSHELL (original Appset). This is the fresh installation:
The workaround "Clear Local application information". Even this works only sometimes.
Is there anything else we should have configured on using two .NET servers?
Please suggest.
Thankshi Nagesh sorry for the delayed reply..
We changed some of the parameters at F5 switch like sticky time, timeout..
And the MDXPARSER connection to one of out application server was failling, thats why we did not had this issue consistently.
When ever the request goes to that app server fails. It took a lot effort to notice this since we were assuming the F5 switch was only causing the issue.
Thanks -
Cannot retrieve the data from excel sheet
hi all ...
i am trying to retrieve the data from excel sheet and at the same time i am inserting the data into mysql database.
code is as follows
try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn1=DriverManager.getConnection("jdbc:odbc:"+estr,"",""); Class.forName("com.mysql.jdbc.Driver"); conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/"+ t_dsn ,"root","manager"); sql="select * from student_info"; srch2 = conn.prepareStatement(sql); rs1 = srch2.executeQuery(); String query = "select * from ["+einput+"$]"; String query1= "select count(*) from ["+einput+"$]"; st = conn1.createStatement(); rs = st.executeQuery(query); ResultSetMetaData rsmd = rs.getMetaData(); c = rsmd.getColumnCount();//gets the column count rs1 = st.executeQuery(query1); while (rs1.next()) //loop to get no. of rows { r = rs1.getInt(1); } rs = st.executeQuery(query); for(i=1;i<=r;i++){ rs.next(); for(j=1;j==c;j++) { a = rs.getString(j); b= rs.getString(j); d = rs.getString(j); } rs1.next(); PreparedStatement ps2 = conn.prepareStatement("insert into materials_out values(?,?,?)"); ps2.setString(1,a); ps2.setString(2,b); ps2.setString(3,d); ps2.executeUpdate(); } }catch(Exception e){ e.printStackTrace(); }
but it is showing error as :
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name too long
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3073)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:323)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at Outward_register.jButton2ActionPerformed(Outward_register.java:368)
at Outward_register.access$400(Outward_register.java:23)
at Outward_register$5.actionPerformed(Outward_register.java:312)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
please help me ...please help me ... The question has nothing to do with 'getting' data from excel and certainly not with putting it into MySQL.
The stack trace specifically tells you that your connection string is wrong.
It also tells you which connection string is wrong.
Which you can use to determine specifically which one is wrong. And which you did not provide that info to us. -
Retrieval of data from time capsule
My MacBook Pro was declared dead yesterday. I bought a MacBook Air to replace it.
I paid to have data transfer from my time capsule. We are two using it. I got home and found out my data was not on the MacBook Air.
I need to:
(1) delete the data that is not mine
(2) retrieve my data from the time capsule.
Since my MacBook Pro was dying/ corrupted for over a week, I was informed that some of the backup is partial. I need to go back to the last complete backup.
Your help in explaining how to (1) delete and (2) retrieve the data would be greatly appreciated.I'm nohow a expert on TimeCapsule, however Pondini is and this is his site...
http://pondini.org/OSX/Home.html
If for some reason you can't get your data off via that means, there ARE more brutal options available and I've covered them here
https://discussions.apple.com/docs/DOC-3172
https://discussions.apple.com/community/notebooks/macbook_pro?view=documents -
How can I get rid of the dates and time on my Notes
How do I get rid of the dates and times on my Notes that appeared when I updated to 8?
Yes, it's seems like a poor design decision.
By putting the date on the line below the Note title in the Notes Index, the app shows half the number of notes per page AND if you have a large number of notes, it takes twice as long to stroll down.
I doubt the designer actually uses the app.
TSAW -
Need Help: Web Analysis, Unable to retrieve the data & Security Tab missing
Hi
I'm new to Hyperion (our version: 9.2.1) and we're implementing Hyperion Planning. One of the reporting tools is Web Analysis.
I'm trying to create simple grid reporting. but I'm unable to retrieve the data instead the result is "n/a"
and
The File's Properties > Security tab is missing
Does anyone know my issue?
Thanks,Hi Experts,
You told its resolved.how?
I am having the same issue i am unable to retrive the tables.
"Database:MS SQL Server
Driver :weblogic.jdbcx.sqlserver.SQLServerDataSource.
Connection String:jdbc:weblogic:sqlserver://localhost:1433;databaseName=BAM"
Please help if you have resolved this issue.Any helpful links plz forward [email protected]
Thanks -
How do I have photos in iPhoto display on their face the date and time?
How do I have photos in iPhoto display on their face the date and time? Displaying in the camera shows this. When I check edit the info is there. How do I have that displayed on the face of the photo when I view it in iPhoto?
How do I have photos in iPhoto display on their face
the date and time? Displaying in the camera shows
this. When I check edit the info is there. How do I
have that displayed on the face of the photo when I
view it in iPhoto?
Hi! My name is Tom from San Diego, CA. I have the exact same question as you. That is, I would like to be able to print out a photo from iphoto with the date that picture was taken displayed on the face of it. In this way, someone looking at that picture in a photo album years later would know when it was taken. Did you ever find a method to print copies of photos out of iphoto with the date displayed on the print? Thanks for your help!
Maybe you are looking for
-
Bridge CS2: Scripting metadata w/o XMPScript?
Hi, I need to get at strcutured data types (bag and alt) and I can't figure out how to do this in CS2, or if it's even possible. I've looked at the sample code in the scripting guide, but it doesn't seem to be of use. Here's what I've tried so far to
-
Serial no. invalid problem and problem with creating PDF file using adobe acrobat x pro
I tried to download adobe X pro on my new computer and entered the serial No, bu the program said the number is invalid. Actually the number is valid, confirmed by the info listed in my account. please help! also I downloaded the trial version now, b
-
How to adjust tabs in entire document at once
I have a 400 page, 6x9 book spread that was pulled in from a word processor document set for a standard page, and after laying everything out, I discovered that the tabs are set incorrectly. Any suggestions on how to correct the tabs all at once rath
-
Hello everyone, I'm trying to connect to forms builder, but I receive an error stating "Ora-12203 Tns:unable to connect to destination. This is a trial software from oracle as I am studying to become a OCP. I'm not sure what the problem is, Can anyon
-
WRT54G Router Setup Help!!!
Hey guys. I have a WRT54G router. I have AT&T yahoo DSL and a modem that came with it. Whats going on is that I bought a new Dell inspiron laptop computer with a 802.11g wireless card. I bought the router so I can create a wireless network. When I