Add Walkman widget to the lockscreen (list) Xperia Z1 compact ??
How?
The list has many other suggestions, but I can't quite figure out how to include the widget.
Thanks!
Solved!
Go to Solution.
Touch the home screen and options should appear at the bottom - Look for Widgets then slide along until you see the walkman widget then touch it to add to your home screen then when done touch your home button - If you want to move the widget then touch and hold it then slide it to where you want
For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. Richard P. Feynman
Similar Messages
-
How to add a Field to the Result List in Activity
Hello Experts !
We are on CRM 7.0. I want to add a field to the Result List of Activity (Component: BT126S_APPT / View: ApptSR). This field is the address of the "Employee Responsible".
So, how can I add a field to the Result List? AET is not a relevant tool for us because we don't want to create an attribute it already exist in the BOL. We just have to enhance the result list with BOL existing attributes.
Also, after I add the field, I will need to populate my field with Data via some method.
Thanks in Advance to all !
Mariano.-
SAP.Hi Mariano,
The component was missing some technical data. Implement sap notes 1226612, 1363752, and then follow the manual procedure shown below.
u2022 Execute transaction SE11.
u2022 Choose the Radio button "Data Type" and enter value
"CRMST_QUERY_R_ACT_BTIL" in the Data Type field.
u2022 Click on "Change" button.
u2022 Position the cursor before the Includes added to this structure. Click
On the "+" button to add a new attribute.
u2022 Enter the following details in the newly added blank row.
Component: PERSON_RESP_LIST
Component Type: CRMT_PERSON_RESP_LIST.
u2022 Save the changes and activate the structure.
u2022 Add the "Employee Responsible" field to the View configuration.
u2022 Open the BSP application BT126S_APPT.
u2022 Double-click on the view BT126S_APPT/ApptSR in the left side panel.
u2022 Choose tab "Configuration" in right side panel.
u2022 Choose the right configuration by using the "Choose Configuration" button.
u2022 Click on the Edit button.
u2022 Add the "Employee Responsible" attribute from the "Available fields" list to "Displayed fields" list.
u2022 Save the changes
Regards
Krishna -
UDS 4.0 once again: Could not add "DB11.DBB6" to the response list.
Hi,
once again we have heavy trouble with UDS 4.0 connecting to a SINUMERIK OPC server.
Unfortunately the OPC server does not support browsing. GroupList and TagList returns nothing.
The facts:
- MII 12 on Windows Server 2003
- UDS 4.0 SP1 on same server.
- OPC connectivity has been tested with Matrikon Explorer. Tag has been added manually (remember, browsing not possible).
- Creating UDS instance works. UDS can see remote OPC server and is able to create an instance from it.
- Data server has been created in MII 12 to connect to UDS.
- Connection status to UDS is ok. Can also be seen as Debug file shows query details.
- TagQuery has been created with adding the tag manually (browsing not possible).
When we try to test the query we always get the error message
Could not add "DB11.DBB6" to the response list.
and
No Tag selected
The strange thing ist that, if we use a non existing tag like "test123" then the same error occurrs instead of "No valid tags requested".
Here you can find the debug file of UDS:
[05/14/2008-10:56:18.889] focketest [P:4000, T:2212, Host, INFO] 0x11201 Host is exiting. [Host.cpp @ 338, CHostModule::RunMessageLoop]
[05/14/2008-10:56:19.030] focketest [P:4000, T:2556, UDS, INFO] 0x2028 Disconnected from the server. [Connection.cpp @ 2224, CLHOpcDaConnection::Unload]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11400 Command Line: "C:\Programme\SAP\xMII\UDS\xMIIUDSHost.exe" test. [Host.cpp @ 433, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11405 Host Build Configuration: Release. [Host.cpp @ 436, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11406 Host Build Date: Dec 11 2007. [Host.cpp @ 437, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11407 Host Description: xMII UDS Host. [Host.cpp @ 438, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11408 Host File: xMIIUDSHost.exe. [Host.cpp @ 439, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11409 Host Version: 4.0.3.10. [Host.cpp @ 440, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: OPC-DA. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Include Quality = No. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Acquisition Mode = Synchronous. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Read From Device = true. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Read Delay = 100. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Force flat namespace = false. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Automatically Reconnect = true. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: OPC Group Number = 1234. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: OPC Group Name = LHDS_OPCGROUP. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Acceptable Data Quality = Good. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Startup Delay = 1000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Use Legacy Tag Format = false. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Legacy Delimiter = .. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Activate Items = Both. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Group Update Rate = 0. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: OPC Server = 192.168.0.1; OPC.SINUMERIK.Machineswitch; OPC DA2. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: Cache. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Mode = Cache with Dynamic Metadata. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Mask = . [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: Host. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Pool Size = 5. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Runtime Mode = Service. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Threading Model = MTA. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Stack Size = 0. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Collect Requests = false. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Shutdown Timeout = 10. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Use IOCP = true. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service Startup = Manual. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service Dependencies = Eventlog. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Trusted Requesters = . [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Maximum Concurrent Connections = 100. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Connection Wait Time = 5000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Max Reconnect Sleep Time = 1000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Auto-reconnect Attempts = 5. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Monitor Cycle = 15. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Port = 9000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service User = .\auduser. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service Password = *****. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Log Level = Debug. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: Logging. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11403 Operating System Version: Windows XP Professional (Build 2600) with Service Pack 2, Version (2.0), Components: Single User Terminal Services. [Host.cpp @ 501, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11411 Processor 0 Info - Speed: 1596 MHz, Name: Genuine Intel(R) CPU 2140 @ 1.60GHz, Identifier: x86 Family 6 Model 15 Stepping 2, Vendor: GenuineIntel. [Host.cpp @ 548, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11411 Processor 1 Info - Speed: 1596 MHz, Name: Genuine Intel(R) CPU 2140 @ 1.60GHz, Identifier: x86 Family 6 Model 15 Stepping 2, Vendor: GenuineIntel. [Host.cpp @ 548, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11412 Memory Used 71% - Physical Used 294 of 1021 MB, Paged File 2896 of 3988 MB, Virtual Used 1996 of 2047 MB. [Host.cpp @ 557, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, DEBUG] 0x14000 Creating the provider thread. [DataServerThread.cpp @ 44, DataServerThread::Spawn]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, DEBUG] 0x14002 Spawning the thread. [DataServerThread.cpp @ 53, DataServerThread::Spawn]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, DEBUG] 0x14003 Waiting for thread callback. [DataServerThread.cpp @ 57, DataServerThread::Spawn]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1492, Host, DEBUG] 0x14100 Provider thread has been created, and attempting to enter the xMIIOpcDaUDS.DataServer.1. [DataServerThread.cpp @ 82, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.372] focketest [P:2532, T:1492, Host, DEBUG] 0x14101 Initializing COM environment. [DataServerThread.cpp @ 91, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.372] focketest [P:2532, T:1492, Host, DEBUG] 0x14102 Creating the provider. [DataServerThread.cpp @ 98, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, Host, DEBUG] 0x14103 Creating the local configuration context object. [DataServerThread.cpp @ 105, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, Host, DEBUG] 0x14104 Initializing the provider. [DataServerThread.cpp @ 109, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2000 Got the self pointer. [Connection.cpp @ 246, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2001 Got the DCOM settings: machine = 192.168.0.1, progid = OPC.SINUMERIK.Machineswitch. [Connection.cpp @ 252, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2002 Got the OPC settings: group = 1234, client = LHDS_OPCGROUP, mode = SYNCHRONOUS. [Connection.cpp @ 258, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2003 Got the sleep time. {extra params}: {1000} [Connection.cpp @ 270, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2016 Checking the state of the connection. [Connection.cpp @ 2032, CLHOpcDaConnection::Load]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2017 Attempting to connect to the server. [Connection.cpp @ 2036, CLHOpcDaConnection::Load]
[05/14/2008-10:56:40.450] focketest [P:2532, T:1492, UDS, DEBUG] 0x2018 Got the servers class id. [Connection.cpp @ 2048, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201a Advising on the servers events. [Connection.cpp @ 2087, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201b Adding the group. [Connection.cpp @ 2096, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201c Loading group data. [Connection.cpp @ 2114, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201e Adding all connection items. [Connection.cpp @ 2143, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, INFO] 0x201f Connected to the SINUMERIK OPC-Server DataAccess-V2.4.2.98 (C) Siemens AG (1998-2003) server. [Connection.cpp @ 2154, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.950] focketest [P:2532, T:2696, UDS, INFO] 0x0 Initializing Browser. [tagUtil/lhds2BrowseThread.h @ 127, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.950] focketest [P:2532, T:2696, UDS, INFO] 0x0 Reading Groups. [tagUtil/lhds2BrowseThread.h @ 147, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.950] focketest [P:2532, T:2696, UDS, INFO] 0x0 Reading Items. [tagUtil/lhds2BrowseThread.h @ 172, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.965] focketest [P:2532, T:2696, UDS, INFO] 0x0 Shutting Browser Down. [tagUtil/lhds2BrowseThread.h @ 279, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.965] focketest [P:2532, T:2696, UDS, INFO] 0x0 Browsing Finnished. [tagUtil/lhds2BrowseThread.h @ 303, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.997] focketest [P:2532, T:1492, UDS, DEBUG] 0x1003 Adding the modes. [DataServer.cpp @ 80, CLHOpcDaDataServer::FinalInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3000 Initializing the Current mode. [basemode.h @ 59, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3001 Reading from the device? TRUE. [basemode.h @ 67, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4001 Accessing using: SYNCHRONOUS. [basemode.h @ 75, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4002 Delay time: 100. [basemode.h @ 82, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3004 Minimum required quality: BOTH. [basemode.h @ 122, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3000 Initializing the Current mode. [basemode.h @ 59, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3001 Reading from the device? TRUE. [basemode.h @ 67, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4001 Accessing using: SYNCHRONOUS. [basemode.h @ 75, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4002 Delay time: 100. [basemode.h @ 82, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3004 Minimum required quality: BOTH. [basemode.h @ 122, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, INFO] 0x1004 Finnished initializing. [DataServer.cpp @ 86, CLHOpcDaDataServer::FinalInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, Host, DEBUG] 0x14105 Attaching the providers to the Accept Thread classes cookie. [DataServerThread.cpp @ 113, DataServerThread::SpawnServer]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, Host, DEBUG] 0x14106 Setting the initialization event. [DataServerThread.cpp @ 120, DataServerThread::SpawnServer]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, Host, DEBUG] 0x14107 Entering the local message pump. [DataServerThread.cpp @ 126, DataServerThread::SpawnServer]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1236, Host, DEBUG] 0x14004 Finished initializing the provider thread. [DataServerThread.cpp @ 68, DataServerThread::Spawn]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1236, Host, DEBUG] 0x12101 Created a link to the WSA subsystem. [ConnectionManager.cpp @ 23, ConnectionManager::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:0252, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:3476, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:2700, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:2628, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13100 Starting up the accept thread socket. [AcceptThread.cpp @ 146, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13101 Creating accept socket. [AcceptThread.cpp @ 162, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13102 Binding accept socket. [AcceptThread.cpp @ 169, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13103 Listening to accept socket. [AcceptThread.cpp @ 176, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13105 Spawning accept socket thread. [AcceptThread.cpp @ 182, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x12102 Finnished initializing the connection manager. [ConnectionManager.cpp @ 42, ConnectionManager::Initialize]
[05/14/2008-10:56:42.122] focketest [P:2532, T:0172, Host, DEBUG] 0x13300 Accept thread created. [AcceptThread.cpp @ 192, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11104 Finnished PreMessageLoop operations. [Host.cpp @ 308, CHostModule::PreMessageLoop]
[05/14/2008-10:56:42.122] focketest [P:2532, T:0172, Host, DEBUG] 0x13301 Waiting for requests. [AcceptThread.cpp @ 208, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140a UDS Progid: xMIIOpcDaUDS.DataServer.1. [Host.cpp @ 592, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140b UDS Build Configuration: Release. [Host.cpp @ 593, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140c UDS Build Date: Dec 11 2007. [Host.cpp @ 594, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140d UDS Description: xMII OPC-DA UDS. [Host.cpp @ 595, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140e UDS File: xMIIOpcDaUDS.dll. [Host.cpp @ 596, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140f UDS Version: 4.0.3.10. [Host.cpp @ 597, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xMIIUDSHost.exe: Path = C:\Programme\SAP\xMII\UDS\xMIIUDSHost.exe. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ntdll.dll: Path = C:\WINDOWS\system32\ntdll.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module kernel32.dll: Path = C:\WINDOWS\system32\kernel32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module WS2_32.dll: Path = C:\WINDOWS\system32\WS2_32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msvcrt.dll: Path = C:\WINDOWS\system32\msvcrt.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module WS2HELP.dll: Path = C:\WINDOWS\system32\WS2HELP.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ADVAPI32.dll: Path = C:\WINDOWS\system32\ADVAPI32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module RPCRT4.dll: Path = C:\WINDOWS\system32\RPCRT4.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module Secur32.dll: Path = C:\WINDOWS\system32\Secur32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module USER32.dll: Path = C:\WINDOWS\system32\USER32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module GDI32.dll: Path = C:\WINDOWS\system32\GDI32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ole32.dll: Path = C:\WINDOWS\system32\ole32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module OLEAUT32.dll: Path = C:\WINDOWS\system32\OLEAUT32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ATL80.DLL: Path = C:\WINDOWS\WinSxS\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_cbb27474\ATL80.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module MSVCR80.dll: Path = C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCR80.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module IMM32.DLL: Path = C:\WINDOWS\system32\IMM32.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xpsp2res.dll: Path = C:\WINDOWS\system32\xpsp2res.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module CLBCATQ.DLL: Path = C:\WINDOWS\system32\CLBCATQ.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module COMRes.dll: Path = C:\WINDOWS\system32\COMRes.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module VERSION.dll: Path = C:\WINDOWS\system32\VERSION.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msi.dll: Path = C:\WINDOWS\system32\msi.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module SXS.DLL: Path = C:\WINDOWS\system32\SXS.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xMIIUDSFramework.dll: Path = C:\Programme\SAP\xMII\UDS\xMIIUDSFramework.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module COMCTL32.dll: Path = C:\WINDOWS\system32\COMCTL32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module SHELL32.dll: Path = C:\WINDOWS\system32\SHELL32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module SHLWAPI.dll: Path = C:\WINDOWS\system32\SHLWAPI.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module USERENV.dll: Path = C:\WINDOWS\system32\USERENV.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module comctl32.dll: Path = C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msxml4.dll: Path = c:\WINDOWS\system32\msxml4.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module WININET.dll: Path = C:\WINDOWS\system32\WININET.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module Normaliz.dll: Path = C:\WINDOWS\system32\Normaliz.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module iertutil.dll: Path = C:\WINDOWS\system32\iertutil.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module urlmon.dll: Path = C:\WINDOWS\system32\urlmon.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module MSOXMLMF.DLL: Path = C:\Programme\Gemeinsame Dateien\Microsoft Shared\OFFICE11\MSOXMLMF.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xMIIOpcDaUDS.dll: Path = C:\Programme\SAP\xMII\UDS\xMIIOpcDaUDS.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module NETAPI32.dll: Path = C:\WINDOWS\system32\NETAPI32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module opccomn_ps.dll: Path = C:\WINDOWS\system32\opccomn_ps.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module mswsock.dll: Path = C:\WINDOWS\system32\mswsock.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msv1_0.dll: Path = C:\WINDOWS\system32\msv1_0.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module iphlpapi.dll: Path = C:\WINDOWS\system32\iphlpapi.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module avsda.dll: Path = C:\WINDOWS\system32\avsda.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module hnetcfg.dll: Path = C:\WINDOWS\system32\hnetcfg.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module wshtcpip.dll: Path = C:\WINDOWS\System32\wshtcpip.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module opcproxy.dll: Path = C:\WINDOWS\system32\opcproxy.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module rsaenh.dll: Path = C:\WINDOWS\system32\rsaenh.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msxml3.dll: Path = C:\WINDOWS\system32\msxml3.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, INFO] 0x11200 Host is starting. [Host.cpp @ 329, CHostModule::RunMessageLoop]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13302 Accepted a good socket. [AcceptThread.cpp @ 216, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13303 Creating IOCP request data. [AcceptThread.cpp @ 227, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13304 Sending IOCP the request data. [AcceptThread.cpp @ 231, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13306 IOCP handle accepted. [AcceptThread.cpp @ 240, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13301 Waiting for requests. [AcceptThread.cpp @ 208, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Host, DEBUG] 0x15003 IOCP completed and performing a read operation. [ThreadPool.cpp @ 427, ThreadPool::ThreadProc]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x17004 Attempting to execute the IOCP logic. [LHDSChannelHandler.cpp @ 470, CLHDSChannelHandler::ExecuteIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x17005 Attempting to executing the query. [LHDSChannelHandler.cpp @ 552, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x17008 Decoding the input. [LHDSChannelHandler.cpp @ 559, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x12002 Decoded the context. Original query was: STYLESHEET http://bermii:50000/XMII/Stylesheets/IllumRowsetHTML.xsl QueryTemplate DemoMaschine/testquery Content-Type text/html TotalizerFactor 1.0 NumberFormat 0.00 UseGroupMask false ReaderRoles XMII Users IsCachable false WriterRoles XMII Developers,XMII Administrators DurationUnits M Mode Current IntervalCount 1 RowCount 60 AllowFuture true Version 12.0.3 Build(106) Trace false DocType TagQuery Debug false Resolution 0 SaveDate 05/14/2008 10:48:58 PathID 111 CacheDuration 0 Server OPCserver Duration 60 DateFormat MM/dd/yyyy HH:mm:ss ExcludeRemotes true CacheDurationUnits M AllowBuffering false ID -1 StartDate 1210751815 EndDate 1210755415 TagName.1 DB11.DBB6 !. [LHDSContext.cpp @ 190, CLHDSContext::DecodeContext]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17006 Executing the query. [LHDSChannelHandler.cpp @ 598, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2016 Checking the state of the connection. [Connection.cpp @ 2032, CLHOpcDaConnection::Load]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2005 Connecting. [Connection.cpp @ 326, CLHOpcDaConnection::FinalConnect]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2016 Checking the state of the connection. [Connection.cpp @ 2032, CLHOpcDaConnection::Load]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2006 Connected. [Connection.cpp @ 329, CLHOpcDaConnection::FinalConnect]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a002 Setting a new message. [LHDSResponse.cpp @ 378, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a004 Header was not sent. [LHDSResponse.cpp @ 382, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a000 Setting a non-fatal message. [LHDSResponse.cpp @ 390, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a00e Preparing the response. [LHDSResponse.cpp @ 350, CLHDSResponse::Prepare]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a007 Attempting to send the header. [LHDSResponse.cpp @ 317, CLHDSResponse::SendHeader]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a006 Sending the header. [LHDSResponse.cpp @ 320, CLHDSResponse::SendHeader]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17001 Attempting to send the data. [LHDSChannelHandler.cpp @ 221, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17002 Sending: {0-0-0-1-0-0-1-25-230-110-141-88-0-0-1-25-230-165-123-216}. [LHDSChannelHandler.cpp @ 242, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17000 Finnished sending. [LHDSChannelHandler.cpp @ 283, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a002 Setting a new message. [LHDSResponse.cpp @ 378, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a003 Header was sent as non-fatal. [LHDSResponse.cpp @ 406, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a002 Setting a new message. [LHDSResponse.cpp @ 378, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a003 Header was sent as non-fatal. [LHDSResponse.cpp @ 406, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a010 Locking the response. [LHDSResponse.cpp @ 473, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a017 Attempting to insert a node. [LHDSResponse.cpp @ 215, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01a Node already exists. [LHDSResponse.cpp @ 218, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a023 Finalizing all response nodes. [LHDSResponse.cpp @ 114, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01c Sending node, This is not the last node. [LHDSResponse.cpp @ 120, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01e Sending non-fatal message. [LHDSResponse.cpp @ 124, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17001 Attempting to send the data. [LHDSChannelHandler.cpp @ 221, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17002 Sending: {0-0-0}. [LHDSChannelHandler.cpp @ 242, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17000 Finnished sending. [LHDSChannelHandler.cpp @ 283, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01f Sending messages. [LHDSResponse.cpp @ 173, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01d Sending non-fatal message contents. [LHDSResponse.cpp @ 177, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17001 Attempting to send the data. [LHDSChannelHandler.cpp @ 221, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17002 Sending: {0-2-0-47-67-111-117-108-100-32-110-111-116-32-97-100-100-32-34-68-66-49-49-46-68-66-66-54-34-32-116-111-32-116-104-101-32-114-101-115-112-111-110-115-101-32-108-105-115-116-46-0-17-78-111-32-116-97-103-115-32-115-101-108-101-99-116-101-100-46}. [LHDSChannelHandler.cpp @ 242, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17000 Finnished sending. [LHDSChannelHandler.cpp @ 283, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a023 Finalizing all response nodes. [LHDSResponse.cpp @ 114, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a010 Locking the response. [LHDSResponse.cpp @ 473, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a017 Attempting to insert a node. [LHDSResponse.cpp @ 215, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01a Node already exists. [LHDSResponse.cpp @ 218, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01c Sending node, This is not the last node. [LHDSResponse.cpp @ 120, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a023 Finalizing all response nodes. [LHDSResponse.cpp @ 114, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a010 Locking the response. [LHDSResponse.cpp @ 473, CLHDSResponse::Lock]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a017 Attempting to insert a node. [LHDSResponse.cpp @ 215, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01a Node already exists. [LHDSResponse.cpp @ 218, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01c Sending node, This is not the last node. [LHDSResponse.cpp @ 120, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x17007 Done the execution cycle. [LHDSChannelHandler.cpp @ 604, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1700c Finnished executing: 1. [LHDSChannelHandler.cpp @ 606, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x17003 Finnished execution the IOCP logic. [LHDSChannelHandler.cpp @ 538, CLHDSChannelHandler::ExecuteIOCP]
[05/14/2008-10:57:08.104] focketest [P:2532, T:1236, Host, INFO] 0x11201 Host is exiting. [Host.cpp @ 338, CHostModule::RunMessageLoop]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, Host, DEBUG] 0x14108 Shutting down provider the provider thread. [DataServerThread.cpp @ 137, DataServerThread::SpawnServer]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, Host, DEBUG] 0x14109 Destroying the local configuration context. [DataServerThread.cpp @ 143, DataServerThread::SpawnServer]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2020 Checking status before disconnecting. [Connection.cpp @ 2164, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2021 Attempting to disconnect from the server. [Connection.cpp @ 2171, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2023 Removing the Async event interface. [Connection.cpp @ 2189, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2024 Removed the group interface. [Connection.cpp @ 2195, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2025 Unadvising on the servers events. [Connection.cpp @ 2207, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2027 Server removed. [Connection.cpp @ 2221, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, INFO] 0x2028 Disconnected from the server. [Connection.cpp @ 2224, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2004 Shutting down the connection. [Connection.cpp @ 316, CLHOpcDaConnection::FinalShutdown]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, Host, DEBUG] 0x1410a Setting the shutdown event. [DataServerThread.cpp @ 160, DataServerThread::SpawnServer]
The Debug file is from a Windows XP Professional system. But the same thing happens with the UDS installed
on Windows Server 2003 (x64).
The following config variations have been tried:
- synchronous / asynchronous
- Cache mode "None"
- Threading model STA / MTA
Any suggestions?
Regards,
MatthiasHi Mathais,
I assume you have installed the OPC enum services in the same machine where xMII UDS is running.
Also make sure that the browsing mode is set to true in the OPC Server.
We had the same issue...and were receiving the same error...but once we changed teh Browing mode at teh OPC server to true, tag quesries started working....
Hope it helps...
Pramod -
How to add a button on the ALV LIST pop up
Hi ,
Can any one help me to add a button on the ALV list which is a pop up using ABAP Objects.
Thanks in advance.
Regards,
Kavya.HI ,
I want to add a push button on the ALV list out put which is comming as a pop up and I want this using classes and methods.
I have got a method IF_SREL_BROWSER_COMMANDS~ADD_BUTTONS from class cl_gos_attachment_list but still I am unable to get any additional button on the output ALV popup.
Please help.
Regards,
Kavya. -
How do I add a site to the exception list using Mac book Air OS Lion 10.7.4
Any advice please?
I am using Safari to access some sites, but the pop-up blocker is preventing some sites from loading and I get a message : Add this site to the exception list
Any advice on how to do this because I don't want to turn off my pop-up blocker. -
I wnat to add new fieldtext in the alv list output plz tell me
hi,
i whant add new fieldtext in the list output, plz tell me where can i modify it.
CORRECTIONS
DATE CORRECTION NOTE AUTHOR DESCRIPTION
09.03.2001 L9CK045451 0388404 XSC Wrong list output for multiple Os
05.06.2001 AL0K023393 0410219 Lud Wrong keydate for search with
Pchbegda and pchendda.
22.04.2004 S6BK024775 730486 PS Too many selection parameters in
header
19.06.2006 S6BK035494 956731 JF No sorting by qualification
REPORT RHPK_FIND_PERS_WITH_EXPIRED_QU MESSAGE-ID PQ.
DATA AUFRUF(8).
TABLES : OBJEC, GDSET.
DATA LIST.
DATA MARKFIELD(1) TYPE C.
ALV_POOL
TYPE-POOLS SLIS.
INCLUDES
INCLUDE .
INCLUDE RHPEINI0.
TABLES
DATA: orgeh_BUFFER like hrobject OCCURS 1 WITH HEADER LINE.
DATA: OBJECTS LIKE HRSOBID OCCURS 1 WITH HEADER LINE.
DATA: h_OBJEC LIKE objec OCCURS 0 WITH HEADER LINE.
DATA: pers_objects LIKE HRSOBID OCCURS 1 WITH HEADER LINE.
DATA: QUALI_TAB LIKE QUALI_PROF OCCURS 1 WITH HEADER LINE.
DATA: PERSONS LIKE PERSQ_PROF OCCURS 1 WITH HEADER LINE.
DATA: H_PERSONS LIKE HRPE_PROFL OCCURS 1 WITH HEADER LINE.
DATA: LIST_OUTPUT LIKE PERSQ_PROF OCCURS 1 WITH HEADER LINE.
DATA: BOOK_EVENT_TAB LIKE PERSQ_PROF OCCURS 1 WITH HEADER LINE.
DATA: PLAN_EVENT_TAB LIKE PERSQ_PROF OCCURS 1 WITH HEADER LINE.
DATA H_SUITED LIKE DYNP_PCRIT-SUITED.
DATA: O_COLOR LIKE STREEATTR-COLOR.
DATA: O_INTENSIV LIKE STREEATTR-INTENSIV.
DATA SHOW_KEY.
DATA EVENT.
DATA: HTEXT LIKE P1000-STEXT.
DATA: EVENT_TAB LIKE PERSQ_PROF OCCURS 1 WITH HEADER LINE.
DATA: COLLECTED_EVENTS LIKE PERSQ_PROF OCCURS 1 WITH HEADER LINE.
DATA: SUBTY_TAB LIKE HRPE_OTYPE_SUBTY OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF HIDE_STRU,
PERSTYPE LIKE HROTYPE-OTYPE,
PERSOBID LIKE HRSOBID-SOBID,
PERSTXT LIKE PERSQ_PROF-STEXT,
SCALE_ID LIKE HRPE_PROFQ-SCALE_ID,
TRAININGTYPE LIKE HRP1000-OTYPE,
TRAININGID LIKE HRP1000-OBJID,
TRAININGSTXT LIKE HRP1000-STEXT,
QUALID LIKE QUALI_PROF-QUALID,
QUALTEXT LIKE QUALI_PROF-QUALSTXT,
END OF HIDE_STRU.
DATA: BEGIN OF EXTAB OCCURS 10,
FCODE LIKE RSMPE-FUNC,
END OF EXTAB.
DATA: CURRENT_QUALID LIKE QUALI_PROF-QUALID.
DATA: CURRENT_TRAININGSID LIKE HRP1000-OBJID.
DATA: CURRENT_TRAININGTYPE LIKE HRP1000-OTYPE.
DATA: SUBRC LIKE SY-SUBRC.
VARIABLES
DATA: OBJID LIKE P1000-OBJID.
DATA: H_LINE_COUNT TYPE I.
DATA: H_TABIX1 LIKE SY-TABIX.
ALV-Variables
DATA: alv_events_line TYPE slis_alv_event. "header line
DATA ALV_EVENTS TYPE SLIS_T_EVENT.
DATA GT_ALV_LIST_TOP_OF_LIST TYPE SLIS_T_LISTHEADER.
DATA: gt_events TYPE SLIS_T_EVENT.
DATA G_REPID LIKE SY-REPID.
DATA G_VARIANT LIKE DISVARIANT.
DATA ALV_USERCOMMAND TYPE SLIS_FORMNAME VALUE 'USER_COMMAND'.
DATA G_USERCOMMAND_FOR_RANKINGLIST TYPE SLIS_FORMNAME VALUE
'USER_COMMAND_FOR_RANKINGLIST'.
DATA ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: ALV_OUTPUT LIKE HRPDV_EXPIRED_Q OCCURS 0 WITH HEADER LINE.
DATA: Help_OUTPUT LIKE HRPDV_EXPIRED_Q OCCURS 0 WITH HEADER LINE.
begin of Dynpro 5020 - POPUP: WEITER
DATA: OK_CODE_5020 LIKE SY-UCOMM.
DATA: NO_ORG. "if no org selected
DATA: H_TABIX LIKE SY-TABIX.
begin of Dynpro 20nn - Header
TABLES: DYNP_RHPP.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-005.
PARAMETERS:
H_EVENTS LIKE DYNP_RHPP-GEN_TRAIN, "with training sugg
H_QUAL LIKE DYNP_RHPP-EXPIRED_QUAL. "with Qual
SELECTION-SCREEN END OF BLOCK B3.
INITIALIZATION
INITIALIZATION.
PERFORM READ_T77S0_PARAMETERS_FOR_PE.
get user parameters/Planvariante und Beginndatum setzen:
PCHOTYPE = $ORGEH.
CALL FUNCTION 'RHP0_USER_PARAMETERS_GET'
EXPORTING
FILL_IF_INITIAL = 'X'
IMPORTING
PLVAR = PCHPLVAR
BEGDA = PCHBEGDA
endda = Pchendda "Correction 0410219
WITH_KEY = SHOW_KEY
SUBSTITUTE =
ESSENTIAL = only_essential
ORG_UNIT = PCHOBJID-LOW
EXCEPTIONS
OTHERS = 0.
PCHBEGDA = LOW_DATE. "Correction note: 0410219 / AL0K023393
get menu text for key on/off
PERFORM USER_MENU_TEXT_KEY(SAPLRHP0) USING G_MENU_TEXT_KEY.
start-of-selection
START-OF-SELECTION.
terminate the selection if objid isn't given
READ TABLE PCHOBJID INDEX 1 TRANSPORTING NO FIELDS.
IF SY-SUBRC <> 0
AND PCHOBJID IS INITIAL.
PCHOBJID-SIGN = 'I'.
PCHOBJID-OPTION = 'EQ'.
PCHOBJID-LOW = '00000001'.
APPEND PCHOBJID.
NO_ORG = TRUE.
ELSE.
NO_ORG = FALSE.
ENDIF.
GET OBJEC.
terminate the selection if objid isn't given
IF NO_ORG = TRUE.
EXIT.
ENDIF.
OBJECTS-PLVAR = PCHPLVAR.
OBJECTS-OTYPE = PCHOTYPE.
OBJECTS-SOBID = OBJEC-REALO.
APPEND OBJECTS.
Für das lesen der Organisationseinheit
h_OBJEC-PLVAR = OBJEC-PLVAR.
h_OBJEC-OTYPE = OBJEC-OTYPE.
h_OBJEC-OBJID = OBJEC-objid.
append h_objec.
Read table h_objec index 1 transporting no fields.
if sy-subrc = 0.
Fill Buffer
orgeh_BUFFER = h_OBJEC.
orgeh_BUFFER[] = h_OBJEC[].
CALL FUNCTION 'RH_TEXT_BUFFER_FILL'
TABLES
OBJECTS = orgeh_BUFFER.
Loop at h_OBJEC.
H_TABIX = SY-TABIX.
Read text of organisation
CALL FUNCTION 'RH_READ_OBJECT'
EXPORTING
PLVAR = h_OBJEC-plvar
OTYPE = h_OBJEC-otype
OBJID = h_OBJEC-OBJID
IMPORTING
OBEG = h_objec-begda
OEND = h_objec-endda
SHORT = short
STEXT = h_OBJEC-stext
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
modify h_OBJEC index H_TABIX.
ENDIF.
endloop.
endif.
end-of-selection
END-OF-SELECTION.
read objects of the organizational unit
OBJID = OBJECTS-SOBID.
CALL FUNCTION 'RHPH_PICK_UP_PERSONS'
EXPORTING
BEGDA = PCHBEGDA "Correction 0410219
ENDDA = PCHENDDA "Correction 0410219
STATUS = '1'
WITH_STEXT = 'X'
TABLES
OBJECTS = OBJECTS
PERSONS = H_PERSONS
EXCEPTIONS
UNDEFINED = 1
OTHERS = 2.
IF SY-SUBRC = 0.
prepare objects !
objects-otype = h_persons-ttype.
objects-sobid = h_persons-tobid.
append objects.
ELSE.
EXIT.
ENDIF.
CLEAR OBJECTS. REFRESH OBJECTS.
prepare sel_objects !
pers_objects-PLVAR = PCHPLVAR.
LOOP AT H_PERSONS.
pers_objects-OTYPE = H_PERSONS-TTYPE.
pers_objects-SOBID = H_PERSONS-TOBID.
APPEND pers_objects.
ENDLOOP.
sort objects and delete adjacent duplicates
SORT Pers_OBJECTS BY PLVAR OTYPE SOBID.
DELETE ADJACENT DUPLICATES FROM Pers_OBJECTS COMPARING PLVAR OTYPE
SOBID.
CALL FUNCTION 'RHPK_FIND_PERS_WITH_EXPIRED_Q'
EXPORTING
PLVAR = PCHPLVAR
CHECK_BEGDA = PCHBEGDA
CHECK_ENDDA = PCHENDDA
SUBTY = $ownsb "'B032'
only_essential =
target_otype =
target_ap_iea =
TABLES
IMP_PER_TAB = pers_objects
QUALI_TAB = QUALI_TAB
PERSONS = LIST_OUTPUT
altq_tab =
EXCEPTIONS
NO_QUALIFICATION = 1
NO_PERSON_FOUND = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
100% case
READ TABLE pers_objects INDEX 1 TRANSPORTING NO FIELDS.
IF SY-SUBRC = 0.
sort pers_objects by otype sobid.
check the selected persons: if org.unit was selected !
Loop at pers_objects.
H_TABIX = SY-TABIX.
READ TABLE LIST_OUTPUT WITH KEY OTYPE = pers_objects-OTYPE
SOBID = pers_objects-SOBID
BINARY SEARCH.
IF SY-SUBRC <> 0.
person doesn't belong to the selected org.unit
DELETE LIST_OUTPUT INDEX H_TABIX.
ENDIF.
ENDLOOP.
ENDIF. "org.unit check needed ?
end-of-selection.
sort h_objec by otype objid.
sort list_output by otype sobid.
sort h_persons by ttype tobid.
ALV-Liste aufbauen
loop at h_objec.
loop at h_persons where otype = h_objec-otype "XSC
and sobid = h_objec-objid. "XSC
Read table list_output with key
otype = h_persons-ttype
sobid = h_persons-tobid
binary search.
if sy-subrc = 0.
h_tabix1 = sy-tabix.
while sy-subrc = 0.
clear alv_output. "XSC
ALV_OUTPUT-otype = h_objec-otype.
ALV_OUTPUT-sobid = h_objec-objid.
ALV_OUTPUT-stext = h_objec-stext.
ALV_OUTPUT-Ptype = LIST_OUTPUT-otype.
ALV_OUTPUT-pobid = LIST_OUTPUT-sobid.
ALV_OUTPUT-pshort = LIST_OUTPUT-short.
ALV_OUTPUT-ptext = LIST_OUTPUT-stext.
ALV_OUTPUT-qualid = LIST_OUTPUT-qualid.
ALV_OUTPUT-qualstxt = LIST_OUTPUT-qualstxt.
ALV_OUTPUT-expbegda = LIST_OUTPUT-vbegda.
ALV_OUTPUT-expendda = LIST_OUTPUT-vendda.
PERFORM FIND_TRAINING TABLES QUALI_TAB EVENT_TAB COLLECTED_EVENTS
USING $PLVAR $GDATE H_EVENTS H_QUAL.
IF NOT EVENT_TAB[] IS INITIAL.
READ TABLE COLLECTED_EVENTS WITH KEY
QUALID = LIST_OUTPUT-QUALID.
IF SY-SUBRC = 0.
ALV_OUTPUT-ICON_S_EVENTS = ICON_BOOKEVENT.
endif.
ENDIF.
Append ALV_OUTPUT.
h_tabix1 = h_tabix1 + 1.
READ TABLE list_output INDEX h_tabix1
COMPARING otype sobid.
endwhile.
endif.
endloop.
endloop.
check if indicator for qualification view is set
IF h_qual = 'X'. "note 956731
SORT alv_output by qualid OTYPE SOBID ptype pobid "note 956731
expbegda expendda. "note 956731
ELSE. "note 956731
SORT alv_output by OTYPE SOBID ptype pobid qualid expbegda expendda.
ENDIF. "note 956731
DELETE ADJACENT DUPLICATES FROM ALV_OUTPUT COMPARING OTYPE SOBID ptype
pobid qualid expbegda expendda.
stext_AQ und icon-Feld noch nicht gefüllt
perform PREPARE_TOP_OF_LIST.
perform Build_FIELDCAT using GT_FIELDCAT[] H_EVENTS.
perform ALV_LAYOUT USING alv_layout.
G_REPID = SY-REPID.
G_VARIANT-REPORT = G_REPID.
PERFORM EVENTTAB_BUILD USING GT_EVENTS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = 'X'
I_CALLBACK_PROGRAM = G_REPID
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = ALV_USERCOMMAND
I_STRUCTURE_NAME = 'HRPDV_EXPIRED_Q'
IS_LAYOUT = ALV_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT = G_VARIANT
IT_EVENTS = GT_EVENTS
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = ALV_OUTPUT
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2 .
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form FIND_TRAINING
text
-->P_QUALI_TAB text
-->P_EVENT_TAB text
-->P_$PLVAR text
-->P_GDATE text
-->P_H_EVENT text
-->P_H_QUAL text
FORM FIND_TRAINING TABLES P_QUALI_TAB STRUCTURE QUALI_TAB
P_EVENT_TAB STRUCTURE EVENT_TAB
P_COLLECTED_EVENTS STRUCTURE COLLECTED_EVENTS
USING VALUE(P_$PLVAR) LIKE P1000-PLVAR
VALUE(P_GDATE) LIKE P1000-GDATE
VALUE(P_H_EVENT) TYPE ANY
VALUE(P_H_QUAL) TYPE ANY.
IF NOT P_H_EVENT IS INITIAL.
READ TABLE EVENT_TAB INDEX 1 TRANSPORTING NO FIELDS.
IF SY-SUBRC <> 0.
CLEAR P_EVENT_TAB. REFRESH EVENT_TAB.
CLEAR P_COLLECTED_EVENTS. REFRESH P_COLLECTED_EVENTS.
IF EVENT = FALSE.
EVENT = TRUE.
ELSE.
EVENT = FALSE.
ENDIF.
CALL FUNCTION 'RHPH_FIND_TRAINING_FOR_QUAL'
EXPORTING
PLVAR = PCHPLVAR
GDATE = SY-DATUM
GET_NAME = 'X'
TABLES
QUALI_TAB = QUALI_TAB
TO_Q_TAB = EVENT_TAB
EXCEPTIONS
NO_QUALIFICATION = 1
NO_OBJECT_FOUND = 2
TECHNICAL_ERROR = 3
OTHERS = 4.
IF SY-SUBRC = 0.
the found qualifications are picked up into table event_tab
ENDIF.
IF SY-SUBRC = 1.
MESSAGE S015. "Zu den Eingaben wurden keine Daten gefunden
ENDIF.
IF SY-SUBRC > 2.
EXIT.
ENDIF.
collect events when there are double.
Veranstaltungen kollektieren, Können mehrfach auftauchen, da
verschiedenen Qualifikationen von gleichen Veranstaltungen vermittelt
LOOP AT P_EVENT_TAB INTO P_COLLECTED_EVENTS.
APPEND P_COLLECTED_EVENTS.
ENDLOOP.
SORT P_COLLECTED_EVENTS BY QUALID STEXT.
ENDIF.
ENDIF.
ENDFORM. " FIND_TRAINING
*& Form PREPARE_TOP_OF_LIST
text
--> p1 text
<-- p2 text
FORM PREPARE_TOP_OF_LIST.
DATA ALV_TOP_OF_LIST TYPE SLIS_LISTHEADER. "typ, key, info
DATA STEXT LIKE HRPDV_SUCCESSOR_VIEW-TTEXT.
DATA P_SUBRC LIKE SY-SUBRC.
DATA P_STEXT LIKE T777O-OTEXT.
DATA l_tabix like sy-tabix value 0.
DATA: h_counter TYPE i. "note 730486
ALV_TOP_OF_LIST-TYP = 'H'.
ALV_TOP_OF_LIST-INFO = TEXT-REQ.
APPEND ALV_TOP_OF_LIST TO GT_ALV_LIST_TOP_OF_LIST.
Organisationseinheit
ALV_TOP_OF_LIST-typ = 'S'.
Read text for organisationunit
PERFORM READ_TEXT_OTYPE_T777O(SAPLRHP0) USING SY-LANGU $ORGEH
P_STEXT P_SUBRC.
ALV_TOP_OF_LIST-key = P_STEXT.
fill buffer for read organisation-text
CALL FUNCTION 'RH_TEXT_BUFFER_FILL'
EXPORTING
CHECK_STRU_AUTH = 'X'
WITH_EXTINT = ' '
TABLES
OBJECTS = OBJECTS.
loop at objects for multipleselection
clear h_counter. "note 730486
LOOP AT OBJECTS.
$OBJID = OBJECTS-SOBID.
CALL FUNCTION 'RH_READ_OBJECT'
EXPORTING
PLVAR = OBJECTS-PLVAR
OTYPE = OBJECTS-OTYPE
OBJID = $OBJID
IMPORTING
SHORT = short
STEXT = STEXT
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF h_counter >= 15. "note 730486
MOVE '( ... )' TO ALV_TOP_OF_LIST-INFO. "note 730486
APPEND ALV_TOP_OF_LIST TO gt_alv_list_top_of_list.
"note 730486
EXIT. "note 730486
ENDIF. "note 730486
CONCATENATE $ORGEH OBJECTS-SOBID STEXT INTO
ALV_TOP_OF_LIST-INFO SEPARATED BY SPACE.
APPEND ALV_TOP_OF_LIST TO GT_ALV_LIST_TOP_OF_LIST.
CLEAR ALV_TOP_OF_LIST.
ALV_TOP_OF_LIST-typ = 'S'.
l_tabix = l_tabix + 1.
ADD 1 TO h_counter. "note 730486
ENDLOOP.
CLEAR ALV_TOP_OF_LIST.
ALV_TOP_OF_LIST-TYP = 'S'.
ALV_TOP_OF_LIST-key = TEXT-003.
WRITE PCHBEGDA TO ALV_TOP_OF_LIST-INFO.
APPEND ALV_TOP_OF_LIST TO GT_ALV_LIST_TOP_OF_LIST.
clear ALV_TOP_OF_LIST-INFO.
ALV_TOP_OF_LIST-key = TEXT-004.
WRITE PCHENDDA TO ALV_TOP_OF_LIST-INFO.
Append ALV_TOP_OF_LIST TO GT_ALV_LIST_TOP_OF_LIST.
ENDFORM. " PREPARE_TOP_OF_LIST
*& Form BUILD_FIELDCAT
text
-->P_GT_FIELDCAT[] text
FORM BUILD_FIELDCAT USING P_GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV
P_H_EVENTS.
DATA: WA_FIELDCAT LIKE LINE OF P_GT_FIELDCAT.
DATA: P_REPNAME LIKE SY-REPID,
L_TABIX LIKE SY-TABIX. "local variable for sy-tabix.
P_REPNAME = SY-REPID.
Erstellen des Feldkataloges
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = P_REPNAME
I_INTERNAL_TABNAME =
I_STRUCTURE_NAME = 'HRPDV_EXPIRED_Q'
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME = PRONAME
CHANGING
CT_FIELDCAT = P_GT_FIELDCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 0
PROGRAM_ERROR = 0
OTHERS = 0.
LOOP AT P_GT_FIELDCAT INTO WA_FIELDCAT.
l_tabix = sy-tabix.
CASE WA_FIELDCAT-FIELDNAME.
when 'OTYPE'.
WA_FIELDCAT-DDICTXT = 'L'.
when 'SOBID'.
WA_FIELDCAT-DDICTXT = 'L'.
WHEN 'STEXT'.
WA_FIELDCAT-DDICTXT = 'L'.
when 'PTYPE'.
WA_FIELDCAT-DDICTXT = 'L'.
when 'POBID'.
WA_FIELDCAT-DDICTXT = 'L'.
when 'PSHORT'.
WA_FIELDCAT-DDICTXT = 'L'.
WHEN 'PTEXT'.
WA_FIELDCAT-DDICTXT = 'L'.
WHEN 'QUALID'.
WA_FIELDCAT-DDICTXT = 'L'.
WHEN 'QUALSTXT'.
WA_FIELDCAT-DDICTXT = 'L'.
WHEN 'EXPBEGDA'.
WA_FIELDCAT-DDICTXT = 'L'.
WHEN 'EXPENDDA'.
WA_FIELDCAT-DDICTXT = 'L'.
WHEN 'ICON_S_EVENTS'.
IF P_H_EVENTS IS INITIAL.
WA_FIELDCAT-NO_OUT = 'X'.
else.
WA_FIELDCAT-DDICTXT = 'X'.
endif.
ENDCASE.
MODIFY P_GT_FIELDCAT FROM WA_FIELDCAT INDEX l_tabix.
ENDLOOP.
ENDFORM. " BUILD_FIELDCAT
*& Form ALV_LAYOUT
text
-->P_L_ALV_LAYOUT text
FORM ALV_LAYOUT USING P_ALV_LAYOUT TYPE slis_layout_alv.
build layout
P_LAYOUT-BOX_FIELDNAME = 'MARK_X'. "fieldname for checkbox
P_ALV_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
P_ALV_LAYOUT-BOX_TABNAME = ALV_OUTPUT. "tabname for checkbox
p_ALV_layout-info_fieldname = 'ALV_COLOR'.
ENDFORM. " ALV_LAYOUT
FORM eventtab_build USING
FORM EVENTTAB_BUILD USING RT_EVENTS TYPE SLIS_T_EVENT.
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
MOVE 'TOP_OF_PAGE' TO LS_EVENT-NAME.
MOVE 'TOP_OF_PAGE' TO LS_EVENT-FORM.
APPEND LS_EVENT TO RT_EVENTS.
ENDFORM. "EVENTTAB_BUILD
*FORM TOP_OF_PAGE
FORM TOP_OF_PAGE. "#EC CALLED
NEW-PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = GT_ALV_LIST_TOP_OF_LIST[].
ENDFORM. "TOP_OF_PAGE
FORM USER_COMMAND *
USER_COMMAND for the list of successor view *
--> r_ucomm *
--> rs_selfield *
FORM USER_COMMAND USING ALV_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD. "#EC CALLED
DATA: SELECTED_LINE LIKE HRPDV_expired_q.
DATA: SOBID_QUA LIKE P1000-OBJID.
DATA: LT_PERS_TAB LIKE HRSOBID OCCURS 0 WITH HEADER LINE.
CASE ALV_UCOMM.
WHEN '&IC1'. "per Doppelklick auswählen
READ TABLE ALV_OUTPUT INDEX
RS_SELFIELD-TABINDEX INTO SELECTED_LINE.
CASE RS_SELFIELD-FIELDNAME.
WHEN 'POTYPE' or 'POBID' or 'PTEXT' or 'OTYPE' or 'SOBID' or
'STEXT' or 'QUALID' or 'QUALSTXT' or 'EXPBEGDA' or 'EXPENDDA'.
READ TABLE ALV_OUTPUT INDEX RS_SELFIELD-TABINDEX INTO
Help_output.
IF SY-SUBRC <> 0.
MESSAGE S027. "Bitte gültige Zeile auswählen
EXIT.
Endif.
IF ALV_OUTPUT-SOBID IS INITIAL.
MESSAGE S015. "Zu den Eingaben wurden keine Daten gefunden
ELSE.
converte the variable because of the different types
SOBID_QUA = SELECTED_LINE-SOBID_QUA.
CALL FUNCTION 'RHPP_SHOW_PROFILE'
EXPORTING
PLVAR = pchplvar
OTYPE = SELECTED_LINE-PTYPE "XSC
OBJID = SELECTED_LINE-POBID "XSC
BEGDA = PCHBEGDA
ENDDA = PCHENDDA
MAINTAIN = ' '
EXCEPTIONS
NO_AUTHORITY = 1
NOT_FOUND = 2
OTHERS = 3.
CASE SY-SUBRC.
WHEN 0.
All right.
WHEN 1.
MESSAGE S015.
Zu Ihren Eingaben konnten keine Daten gefunden werden!
WHEN 2.
MESSAGE E000.
Dazu haben sie keine berechtigung!
WHEN OTHERS.
MESSAGE E008.
Es ist ein unvorhergesehener Fehler aufgetreten.
ENDCASE. "sy-subrc.
CLEAR ALV_OUTPUT.
ENDIF. "IF ALV_OUTPUT-SOBID IS INITIAL.
CLEAR ALV_OUTPUT-SOBID.
when 'ICON_S_EVENTS'.
IF SELECTED_LINE-ICON_S_EVENTS IS INITIAL.
MESSAGE S027. "Bitte gültige Zeile auswählen
EXIT.
ENDIF.
CLEAR LT_PERS_TAB.
REFRESH LT_PERS_TAB.
LT_PERS_TAB-PLVAR = pchPLVAR.
LT_PERS_TAB-OTYPE = SELECTED_LINE-PTYPE. "XSC
LT_PERS_TAB-SOBID = SELECTED_LINE-POBID. "XSC
APPEND LT_PERS_TAB.
SOBID_QUA = SELECTED_LINE-QUALID.
CALL FUNCTION 'RHPP_SHOW_SUGGEST_EVENTS'
EXPORTING
P_PLVAR = pchPLVAR
P_SOBID_QUA = SOBID_QUA
P_PROFCY_REQ = SELECTED_LINE-RATING_REQ
P_GDATE = sy-datum
TABLES
EVENT_TAB =
PERS_TAB = LT_PERS_TAB.
endcase.
CLEAR SELECTED_LINE.
ENDCASE. "case sy-ucomm
CLEAR SY-UCOMM.
ENDFORM. "USER_COMMANDPls be more specific in your question. If you want to include an extra field in your alv output, then read the field catalog table you created through "Reuse_alv_fieldcatalog_merge" and then add an extra entry in it giving the details of the field you want to add.. and then call the "resuse_alv_grid_display",
Hope this helps. To be able to help you in a better way, kindly revert with any specific issue.
Reward if helpful,
Karan -
Add additional field in the output list
Tcode(VL10G) .ie.out put list will not showing one new field.I want to add one more field to output list. field(VIKP-SDABW) In the SHP_VL10_ITEM and write the logic in the exit LV50R_VIEWG05----
>USEREXIT_PREPARE_LAYOUT_FILL.Plase explain me step-by-step.It is very uggent?Please help me.
Thanks & Regards,
sairamHi Sairam,
Go through this info.
/3 provides three "customization spots" that allow you to enhance FI/CO features without modifying the standard code. Although often collectively referred to as "user exits," two of the three have different names. SAP Enhancements are used to expand the standard functionality within SAP. Enhancements use function modules and are called from the standard SAP code. Each module in the system has a set of delivered enhancements that help companies expand the standard functionality where they need it. Enhancements were new in release 3.0.
The Open FI Interfaces or Business Transaction Events are also used to expand the standard functionality within SAP. These events are defined in the IMG. Business Transaction Events were new in release 4.0. They are not available for all modules and are not called on all integrated transactions into FI as of release 4.5B. This will change with each release and should be retested.The older User Exits in FI/CO are "Z" programs that are defined in table T80D for client-dependent user exits, and in table T80I for client-independent user exits. These are also used to expand the standard functionality within the FI/CO modules. These User Exits have been available since the early releases of SAP. All of these FI/CO User Exits are listed in this document in the Configuring User Exits (Older). The list is included because these User Exits are not a part of the Enhancements or Business Transaction Events and do not have an Info System for searching.
Benefits Standard SAP functionality can be enhanced without modification to the standard code.
Upgrades do not erase the functionality and it does not have to be re-transported or re-entered into the system. The enhancements should be thoroughly tested when upgrading to ensure the system will still work as implemented.
Configuring SAP Enhancements
Basic Steps in Configuring an Enhancement
Find the appropriate Enhancement.
Enter the ABAP code in the "Z" program within the function module.
Create a project.
Add the Enhancement to the project.
Activate the project.
Example Business Scenario for Enhancements
Company A has a requirement to validate all customer master records created with a U.S. address. The U.S. entity reports on the industry field on the customer master. This is only a U.S. requirement and should not be required for the other countries, so the field status would not work. To accomplish this requirement, Company A will need to set up an Enhancement for the customer master transaction. The necessary steps are detailed below with screenprints. This example was configured in a 4.6C system.
Detailed Steps
1. Tools ABAP Workbench Utilities Enhancements Definition Utilities List Enhancements
2. Do not execute this without any parameters! There are too many Enhancements and it will probably time out. Youre searching for a customer master exit. Enter mast in the short text (see Figure 1). Youll start there. Searching for an exit can be tricky, so make sure you try several things before giving up.
3. Execute the search.
Figure 1. Start Your Search for a Master Exit Here
4. Look through the list until you find the Enhancement for User exits: Customer Master Data.
5. Double-click on the enhancement SAPMF02D. This will take you to the details of the Enhancement and list the function modules included in the Enhancement.
6. To continue, double-click on the function module EXIT_SAPMF02D_001
7. This will take you to the source code for the function module. Click on the Import tab to review the tables/fields that are available for the Enhancement (see Figure 2).
Figure 2. The Tables That Are Available for the Enhancement
8. To view the tables/fields that can be changed in the function module, click on the Export and Changing tabs. For this function module, these tabs are empty because you can only validate data. You cannot change any fields in this enhancement.
9. Return to the Source Code tab.
10. Scroll down until you see the Include statement in the program. The "Z" program listed after the Include is where your code will be written (see Figure 3).
Figure 3. Your Program Will Begin After the Include Statement
11. Double-click on the Include. You will be prompted to create the include. Click on Yes to create.
12. At this point you will be prompted to enter a development class and to create a transport request. If you do not know which development class to use, please contact your technical team.
13. Enter the following ABAP code into the program (Figure 4):
User exit to ensure that all US customers have a group key
entered on the customer master.
if i_kna1-land1 = 'US' and
i_kna1-brsch = ' '.
message e001(F2).
endif.
Figure 4. The ABAP Code You Need to Enter
14. Note that the table name matches the table name in the import tab tables.
15. In this example you are using the standard message class F2 with message number 001. Normally, you will create your own message within your own message class. All customer message classes must begin with a "Z" and are created in transaction SE91.
16. Save the program.
17. The next step is to create the project. Go to transaction code CMOD or follow menu path: Tools ABAP Workbench Utilities Enhancements Project Management.
18. Enter the project name; begin the name with a "Z."
19. Click on the Create button.
Figure 5. Click on Create After You Type in the Project Name
20. Enter in a description for the project.
21. Click on the Enhancement Assignments button.
22. You will be prompted to save the enhancement. Click on Yes.
23. At this point you will be asked for a development class and to create a transport for the project. You may use the same one created when adding the ABAP code to the function module.
24. Enter the name of the enhancement SAPMF02D (see Figure 6).
Figure 6. Enter the Name of the Enhancement Here
25. Save the project.
26. Back out of the enhancement assignment.
27. Activate the project by hitting the Activate button.
The SAP Enhancement is ready to be tested! Try creating a customer with U.S. as the country and a blank group key. Be sure to test one with a group key to make sure the message is not displayed in error as well.
Configuring Business Transaction Events
Basic Steps in Configuring an Event
Make sure the application is active for Business Transaction Events.
Copy the sample interface function module into a "Z" function module.
Enter the ABAP code into the source code section of the new "Z" function module. You may choose to create a "Z" program to enter the code into and then insert the "Z" program into your function module source code.
Activate the function module.
Assign the function module to the event, country and application.
Example Business Scenario for Business Transaction Events
Company A would like to copy the group key field from the vendor master into the allocation field on all the line items within a vendor invoice and payments, including the vendor lines. This requirement assumes only one vendor is posted to in a document.
To accomplish this requirement, Company A will use the Business Transaction Event 1130, Post Document: SAP Internal Field Substitution.
1. IMG Menu Path: Financial Accounting Financial Accounting Global Settings Use Business Transaction Events Environment Infosystem (Processes).
2. Find the correct Business Event. You are updating a field, so you select the Processes Info System instead of the Publish and Subscribe Info System.
3. Execute the search with the defaults.
4. Find the correct interface for updating a document: Post Document: SAP- Internal Field Substitution (see Figure 7).
Figure 7. Find the Correct Interface for the Business Event
5. Put your cursor on the event and click on the Sample Function Module button.
6. You are now in transaction SE37 Function Builder. This is the function module (sample_process_00001130) you will need to copy into a "Z" name function module for your coding (see Figure 8).
Figure 8. This Is the Function Module You Need to Copy Your "Z" Name Function Module
7. Click on the Copy button.
8. Enter the "Z" function module name in the To Function Module field (see Figure 9).
9. Enter a Function Group. If you need to create a "Z" function group, go to transaction code SE37 and follow menu path: Go to Function Groups Create Group. A function group is a logical grouping of function modules, and the ABAP code is generated for function groups. You will be prompted for a development class and transport when creating the function group.
Figure 9. Enter Your "Z" Function Module Name Here
10. In Function Builder (transaction SE37), enter the new "Z" function module. Click on the Change button.
11. The system will default into the source code screen where you may enter your ABAP code.
12. Notice the tables available for the code. Additional tables may be declared if necessary.
13. Enter the following source code (see Figure 10):
tables: lfa1.
data: z_groupkey like lfa1-konzs.
z_groupkey = ' '.
loop at t_bseg.
check for vendor lines. If one is found, read the vendor master and
retrieve the group key field.
if t_bseg-koart eq 'K'.
select single konzs from lfa1 into z_groupkey
where lifnr = t_bseg-lifnr.
endif.
Move the group key field into all line items allocation field.
loop at t_bsegsub.
t_bsegsub-zuonr = z_groupkey.
modify t_bsegsub index sy-tabix.
endloop. "t_bsegsub
endloop. "t_bseg
Figure 10. The Screen Where You Enter Your Source Code
14. Save the function module.
15. Back out to the main Function Builder screen by clicking on the green arrow button.
16. Activate the function module by clicking on the Activate button (see Figure 11).
Figure 11. Activate the Function Module from This Screen
17. Assign the function module to the event in the IMG: Financial Accounting Financial Accounting Global Settings Business Transaction Events Settings Process Function Modules of an SAP Appl.
18. Hit enter past the warning messages that this is SAP data.
19. Click on the New Entries button.
20. Enter the process for your interface. In your example it is 00001130.
21. Enter the country the interface is valid for. If it is valid for all countries, leave this field blank.
22. Enter the application the interface should be called for. If it should be called for all applications, leave this field blank. Please note that not all integrated transactions are programmed to go through these interfaces! You will need to test to find out!
23. Enter the new "Z" function module (see Figure 12).
Figure 12. Enter Your New "Z" Function Module Here
24. Save the settings. At this point you will be prompted for a CTS number for the configuration change.
25. The Business Transaction Event is complete! You are ready for testing.
Configuring User Exits (Older)
Basic Steps in Configuring an User Exit
Create a "Z" program for the User Exits and enter the necessary ABAP code.
Enter the new program name into table T80D.
Configure the application to call the User Exit.
List of User Exits
Variable Field Movements
Substitutions in FI, CO, PCA
Validations in FI, CO, PCA
Rollups in SPL
Fixed Field Movements in SPL
Cost Center Summarization on Detail Screen
Sets Formula Variables
Example Business Scenario for User Exits
Company A would like to add a "Z" field in the Special Purpose Ledger to capture a Business Unit field for reporting. They have used all the standard SAP fields such as Business Area and Profit Center. The field will only be used for reporting and is only needed in the Special Purpose Ledger. You created a special ledger table (ZZSPL1) with field Z_BUNIT and need to populate this field based on a combination of G/L account, fund and functional area.
To accomplish this requirement, Company A will use the Variable Field Movement User Exit. To make maintenance easier, table ZZBUSUNIT was created with the G/L account, fund and functional area fields as key fields, and the business unit field as a non-key field. You generated the table maintenance so the table could be updated using transaction SM30. SAP users update the business unit determination rules in table ZZBUSUNIT by entering the G/L account, fund and functional area, and then the business unit that combination should be posting to. The User Exit will read table ZZBUSUNIT using the G/L account, fund and functional area from the posting transaction and determine the business unit. The steps for using the user exit are detailed below. This example was created on a 4.6C system.
1. Copy the delivered template User Exit program RGIVU000_TEMPLATE into a "Z" program. Follow menu path Tools ABAP Workbench Development ABAP Editor (transaction code SE38). In early releases, the delivered program was RGIVU000.
2. You will be prompted for a development class and a transport. Please check with the technical team for the correct development class.
3. At the initial ABAP Editor screen, enter your new "Z" program name, select the Source Code button and click on Change (see Figure 13).
Figure 13. To Enter Your New Code, Select Source Code and Click on the Change Button
4. Enter the following code in the User Exit (Figure 14):
FORM E01_MVC USING FROM_FIELD TO_FIELD.
to_field = 'CORP'. "Set a default business unit.
read table zzbusunit to determine the business unit field.
select single z_bunit from zzbusunit into to_field
where hkont = accit_glx-hkont and
geber = accit_glx-geber and
fkber = accit_glx-fkber.
ENDFORM.
Figure 14. Enter Your New Code at This Screen.
5. Activate the program by clicking on the Activate button.
6. Change the configuration in the User Exit table to point to your new "Z" program.
7. Follow the IMG menu path: Financial Accounting Special Purpose Ledger Basic Settings User Exits Maintain Client Specific User Exits.
8. The entry to maintain is application area GIMV: Variable Field Movement. Enter your "Z" program (see Figure 15).
Figure 15. Enter Your "Z" Program in the Application Area GIMV: Variable Field Movement
9. Save the changes.
10. The final configuration step is to assign the User Exit in the variable field movement for your special ledger table. In the IMG: Financial Accounting ? Special Purpose Ledger ? Basic Settings ? Master Data ? Maintain Field Movements. Field movements control how the fields in a special ledger table are populated. They can be populated straight from other fields in a posting or through User Exits.
Figure 16. After You Assign the Business Unit Field and the G/L Account, the Exit Field Should Contain U01.
11. Assign the business unit field as a receiver and the G/L account as the sender. The Exit field should contain U01 (see Figure 16).
12. The User Exit number U01 calls User Exit E01_MVC form in the "Z" program.
13. Save the field movement.
14. You are ready to test your User Exit!
Rewords some points.
Rgds,
P.Naganjana Reddy -
How to add an item in the combobox list at runtime
i want to add an item to the list of items in the combobox. How can I do this? I tried to use the methods getselecteditem() and getitem() from the actionlistener but no success.
so after i add an item, the next time when i run that frame, that item should be displayed in the list of items in the combobox. Can anybody help me with this?Thanks Encephalophathic.
Let me explain you the whole design -
I have a frame having textfields and comboboxes. Now in the combobox, i have added some fields during design time and some i want the user to add at runtime. After the user clicks the Save button, i want the new string if entered in the combobox by the user at runtime to be added in the list of items of the combobox. So the next time when that frame is run, the item added by the user at runtime previously should be there in the list of items displayed in the combobox.
What I am trying to do in this code at the combobox is if the user enters a new string in the combobox, then if he presses enter key, the value entered in the list of the combobox should be entered in the list of items of the combobox. Actually i m just trying to get the item typed in by the user, so just testing with enter key, but really i want it on the button click. I tried to add the code for adding an item to the combobox in the actionperformed, but i m not able to add it so confused what to do. Please help me with this.
Here's the whole code for that -
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JComboBox;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;
import javax.swing.JDialog.*;
import javax.swing.JComboBox;
public class EnterFD implements ActionListener{
private JFrame frame;
private JPanel mainpanel,menupanel,userinputpanel,buttonpanel;
private JMenuBar menubar;
private JMenu menu,submenu;
private JMenuItem menuitem;
private JCheckBoxMenuItem cbmenuitem;
private JLabel fdnumber;
private JLabel bankname;
private JLabel beneficiaryname;
private JLabel entereddate;
private JLabel maturitydate;
private JLabel rateofinterest;
private JLabel amount;
private JLabel maturityamount;
private JTextField fdnumbertxtfield;
private JComboBox banknamecombobox;
private JTextField beneficiarynametxtfield;
private JComboBox entereddatecombobox;
private JComboBox maturitydatecombobox;
private JTextField rateofinteresttxtfield;
private JTextField amounttxtfield;
private JTextField maturityamounttxtfield;
private JButton savebutton;
private JButton clearbutton;
public EnterFD() {
initComponents();}
private final void initComponents(){
fdnumber = new JLabel("FD Number:");
bankname = new JLabel("Bank Name:");
beneficiaryname = new JLabel("Beneficiary Name:");
entereddate = new JLabel("Entered Date:");
maturitydate = new JLabel("Maturity Date:");
rateofinterest = new JLabel("Rate Of Interest:");
amount = new JLabel("Amount:");
maturityamount = new JLabel("Maturity Amount:");
fdnumbertxtfield = new JTextField();
banknamecombobox = new JComboBox();
banknamecombobox.addItem("State Bank Of India");
banknamecombobox.addItem("Bank Of Baroda");
banknamecombobox.addItem("IDBI Bank");
banknamecombobox.addItem("ICICI Bank");
banknamecombobox.addItem("Punjab National Bank");
banknamecombobox.setEditable(true);
banknamecombobox.setSelectedIndex(-1);
banknamecombobox.addKeyListener(new java.awt.event.KeyAdapter() {
@Override
public void keyTyped(java.awt.event.KeyEvent evt) {
banknamecomboboxKeyTyped(evt);
banknamecombobox.addKeyListener(new java.awt.event.KeyAdapter() {
@Override
public void keyReleased(java.awt.event.KeyEvent evt) {
banknamecomboboxKeyReleased(evt);
beneficiarynametxtfield = new JTextField();
entereddatecombobox = new JComboBox();
maturitydatecombobox = new JComboBox();
rateofinteresttxtfield = new JTextField();
amounttxtfield = new JTextField();
maturityamounttxtfield = new JTextField();
menubar = new JMenuBar();
menu = new JMenu("File");
menubar.add(menu);
menuitem = new JMenuItem("New");
menu.add(menuitem);
menuitem.addActionListener(this);
menuitem = new JMenuItem("Save");
menu.add(menuitem);
menuitem.addActionListener(this);
menuitem = new JMenuItem("Close");
menu.add(menuitem);
menuitem.addActionListener(this);
menuitem = new JMenuItem("Exit");
menu.add(menuitem);
menuitem.addActionListener(this);
menu = new JMenu("Edit");
menubar.add(menu);
menuitem = new JMenuItem("View FD");
menu.add(menuitem);
menuitem.addActionListener(this);
mainpanel = new JPanel(new BorderLayout());
menupanel = new JPanel(new BorderLayout());
menupanel.add(menubar);
userinputpanel = new JPanel(new GridLayout(8,2,5,20));
userinputpanel.setBorder(BorderFactory.createEmptyBorder(50,50,80,80));
userinputpanel.add(fdnumber);
userinputpanel.add(fdnumbertxtfield);
fdnumbertxtfield.setColumns(50);
userinputpanel.add(bankname);
userinputpanel.add(banknamecombobox);
userinputpanel.add(beneficiaryname);
userinputpanel.add(beneficiarynametxtfield);
beneficiarynametxtfield.setColumns(50);
userinputpanel.add(rateofinterest);
userinputpanel.add(rateofinteresttxtfield);
rateofinteresttxtfield.setColumns(50);
userinputpanel.add(amount);
userinputpanel.add(amounttxtfield);
amounttxtfield.setColumns(50);
userinputpanel.add(maturityamount);
userinputpanel.add(maturityamounttxtfield);
maturityamounttxtfield.setColumns(50);
savebutton = new JButton("Save");
clearbutton = new JButton("Clear");
JPanel buttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
buttonpanel.add(savebutton);
buttonpanel.add(clearbutton);
savebutton.addActionListener(this);
clearbutton.addActionListener(this);
mainpanel.add(menupanel,BorderLayout.NORTH);
mainpanel.add(userinputpanel,BorderLayout.CENTER);
mainpanel.add(buttonpanel,BorderLayout.SOUTH);
frame = new JFrame("Enter FD");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(3000,3000);
frame.setContentPane(mainpanel);
frame.pack();
frame.setVisible(true); } -
When I attempt to add a widget from the Apple web site, none can be opened
Seems every widget I click on gets downloaded, but Safari can't open because of unknown author (even though from Apple widget page). Others go nowhere. So far, I have been unable to add any widgets to my dashboard (other than the ones I carried over from a previous computer and OS. Am I doing something wrong, or are the widgets presented all "unknown". I'm looking for a news source (headlines, etc). Thanks.
Hi, Michael.
Thank you for visiting Apple Support Communities.
Check to make sure that under General in Safari preferences that “Open ‘safe’ files after downloading” is enabled. Test installing a widget after making the change.
If the Widget Installer doesn’t open automatically when you use Safari to download a widget, choose Safari > Preferences, click General, then select “Open ‘safe’ files after downloading.”
OS X Mavericks: Get quick info with Dashboard
http://support.apple.com/kb/PH14052
Also, check the settings in Gatekeeper to make sure it is set to Mac App Store and identified developers.
OS X: About Gatekeeper
http://support.apple.com/kb/ht5290
Cheers,
Jason H. -
How do I add a server to the spotlight list?
I have a lot of data on a server. Looking for files would be easy with spotlight, but I didn't find a way to add the server to the list of places, spotlight is searching at. Does anyone know a solution for that?
Are you talking about AFP file sharing? I can't speak to OS 9 (it has been so long since I've used it), but with OS X, once you have made your connection via ⌘k (Go>Connect to server) or ⇧⌘K (Go>Network) and have logged in to the remote computer, you can drag its network disk icon (that is mounted/displayed on your desktop) onto your dock. Then in the future, all you gotta do is click on the icon on the dock. Bypasses manual entry of selecting which mount point to choose (if more than one present) and (if not storing passwords in your keychain) username/password entry. Or you can make an alias of it (⌘L) and accomplish the same thing. BTW, at least in OS X, if you enter the computer's LAN name (that which is displayed in its sys prefs sharing computer name field) in response to the ⌘k, that works; you don't need to remember by LAN IPA. Of course, you have to have enabled sys prefs > sharing > file sharing, added the appropriate folders to share, with whom what users you are willing to share what folder, and the folder sharing permissions.
-
How to add check box in the ALV list
dear Experts,
i have a requirement.
i want show the check boxes in my ALV list.
can u please give the solution.
thanksTYPE-POOLS: slis.
*---internal tables
DATA: BEGIN OF it_flight OCCURS 0,
SEL, " add a single character field in the final output table
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
seatsmax LIKE sflight-seatsmax,
seatsocc LIKE sflight-seatsocc,
END OF it_flight,
*--internal tables for alv
it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fcat LIKE LINE OF it_fieldcat,
layout TYPE slis_layout_alv,
it_sort type slis_t_sortinfo_alv,
wa_sort like line of it_sort.
DATA: BEGIN OF it_flight_sel OCCURS 0,
SEL,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
seatsmax LIKE sflight-seatsmax,
seatsocc LIKE sflight-seatsocc,
END OF it_flight_sel.
data: wa_flight like it_flight.
In the layout set give the name of the field
whose checkbox will be created ( SEL as it has 1 char only )
layout-box_fieldname = 'SEL'.
*---start-of-selection .
START-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'IT_FLIGHT'
i_inclname = sy-repid
CHANGING
ct_fieldcat = it_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2.
*----get data
SELECT carrid
connid
fldate
seatsmax
seatsocc
FROM sflight
INTO CORRESPONDING FIELDS OF TABLE it_flight
UP TO 20 ROWS.
wa_fcat-do_sum = 'X'.
MODIFY it_fieldcat FROM wa_fcat TRANSPORTING do_sum
WHERE fieldname = 'SEATSOCC' .
wa_sort-fieldname = 'CARRID'.
wa_sort-group = 'UL'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
clear wa_sort.
wa_sort-fieldname = 'CONNID'.
wa_sort-subtot = 'X'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
clear wa_sort.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
is_layout = layout
it_fieldcat = it_fieldcat
it_sort = it_sort
TABLES
t_outtab = it_flight
EXCEPTIONS
program_error = 1.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
WHEN '&IC1'. "'&DATA_SAVE'. "user presses SAVE
loop at it_flight into wa_flight.
if wa_flight-Sel EQ 'X'.
collecting records in table it_flight_sel to process further
append wa_flight to it_flight_sel.
clear wa_flight.
TYPE-POOLS: slis.
*---internal tables
DATA: BEGIN OF it_flight OCCURS 0,
SEL, " add a single character field in the final output table
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
seatsmax LIKE sflight-seatsmax,
seatsocc LIKE sflight-seatsocc,
END OF it_flight,
*--internal tables for alv
it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fcat LIKE LINE OF it_fieldcat,
layout TYPE slis_layout_alv,
it_sort type slis_t_sortinfo_alv,
wa_sort like line of it_sort.
DATA: BEGIN OF it_flight_sel OCCURS 0,
SEL,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
seatsmax LIKE sflight-seatsmax,
seatsocc LIKE sflight-seatsocc,
END OF it_flight_sel.
data: wa_flight like it_flight.
In the layout set give the name of the field
whose checkbox will be created ( SEL as it has 1 char only )
layout-box_fieldname = 'SEL'.
*---start-of-selection .
START-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'IT_FLIGHT'
i_inclname = sy-repid
CHANGING
ct_fieldcat = it_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2.
*----get data
SELECT carrid
connid
fldate
seatsmax
seatsocc
FROM sflight
INTO CORRESPONDING FIELDS OF TABLE it_flight
UP TO 20 ROWS.
wa_fcat-do_sum = 'X'.
MODIFY it_fieldcat FROM wa_fcat TRANSPORTING do_sum
WHERE fieldname = 'SEATSOCC' .
wa_sort-fieldname = 'CARRID'.
wa_sort-group = 'UL'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
clear wa_sort.
wa_sort-fieldname = 'CONNID'.
wa_sort-subtot = 'X'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
clear wa_sort.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
is_layout = layout
it_fieldcat = it_fieldcat
it_sort = it_sort
TABLES
t_outtab = it_flight
EXCEPTIONS
program_error = 1.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
WHEN '&IC1'. "'&DATA_SAVE'. "user presses SAVE
loop at it_flight into wa_flight.
if wa_flight-Sel EQ 'X'.
collecting records in table it_flight_sel to process further
append wa_flight to it_flight_sel.
clear wa_flight.
Please follow the code. -
How do you add Blind Copy to the options listed in the mail address book?
My I-Mac is the 20 inch Intel model running OS 10.4.7 and mail is 2.1.1.
When trying to forward mail I can chose Bcc by going to "View" and selecting Bcc, but then when I go to the address book to select the names that I want to Bcc there are only two options listed in the address book and they are "To and Cc". The only way that I have been able to set the addresses into the forwarding message is to drag each address from the address book and place it into the Bcc field on the forwarded note. There must be some way to enable the address book to list Bcc. Does anyone know how? Thanks
Bill
I-Mac Model 5,1 Mac OS X (10.4.7) 1 Gig ram/Intel core 2 Duo
I-Mac Model 5,1 Mac OS X (10.4.7) I-Mac Intel 2 DuoHi Austin,
Thanks for the response, but you kind of misunderstand my question. I actually want something much simpler than this:
When the Mail.app Data Detection recognises a telephone number or address, via a drop-down menu, I have the option to create a new contact or add the data to an existing contact. If I want to create a new AddressBook contact I am presented with a pop-up. This pop-up gives me the choice to enter a persons name, or by ticking the box, designate the entry as a company. I can edit the person's or company's name - this is often necessary as Data Detection, though generally quite good, doesn't always pick the correct data; for instance when the data is in the body of a forwarded e-mail. But what I can't seem to do is edit the entry to include a Contact Name and a Company Name. I may have to hand enter this information, I can accept that, but what I want to avoid is having to move away from Mail, open AddressBook and complete the contact creation therein.
What I simply require is the option to enter at least the standard AddressBook 'new contact' template fields from within Mail. So I need to know: Is there is a way of configuring the pop-up fields beyond the Mail.app defaults?
I hope this makes sense..
Thanks again.. -
MR51 : add custom field in the alv list
Dear.
I need to add a custom field in the alv layout of MR51.
Do you know any exit in order to obtain this ?
Thanks.Hi,
try this
I think there is no exits for same
copy program of MR51 and make z one and add filed what filed you want to add
Regards
kailas Ugale -
How can I add more widgets to the noticication center?
Hi,
So I was wondering if there were widgets that I could install into the noticication center on the iPod touch. Or do I have to do that by jailbreaking, which I don't want to do.
I have the newest iPod Touch.
Thank you.They apparently do have an API , so you should contact Microsoft for them go implement.
https://developer.apple.com/library/mac/documentation/userexperience/Conceptual/ AppleHIGuidelines/TechnologyGuidelines/TechnologyGuidelines.html#//apple_ref/doc /uid/TP30000355-SW11
See Sharing Services. -
Why can I not add a server to the DNS list in Network Preferences?
I've run namebench to find faster DNS servers, but I can't add any DNS addresses to the DNS panel in Network Preferences. Running Yosemite on a iMac. I'm connected wifi to my Extreme. Thanks
Are the System Preferences unlocked? You need admin access to edit these settings, click the lock if it is closed to block the preferences with the admin username & password.
Is the DNS entry grey? That means it is provided by the router in a 'DHCP option'. You should still be able to specify others, click the 'Advanced' button, select the DNS tab & click + to add an entry.
Maybe you are looking for
-
Data not validating in the cube
We have upgrade the quality box to BI 7.0 recently as part of the testing we found that data is not consistent.The quality box is a copy of the production box and thereafter the quality box was upgraded to BI 7.0. The no of requsts in that specific c
-
HDMI audio is not working on my Satellite P50-A-14G
Hello, my pc is a SATELLITE P50-A-14G, and I'm writing this because when I conect the HDMI to my pc, the audio doesn't work. I've tried almost everything, but it doesn't seem to recognize the HDMI as sound player. Image is good, but sounds keep playi
-
Is there any function module which will gives all details related to service po? Required total qty from service tab,tax code from invoice tab,base amount & total value from condition tab. waiting for your valuable input . Regards, Rachel
-
Test Connection in SLD fails.
Hello, When I test connection for SLD in content administrator (web dynpro), I get Connection to SLD could not be opened successfully. And when I open a web dynpro that uses RFC I get an exception. com.sap.tc.webdynpro.services.exceptions.WDRuntimeEx
-
How to make JOB CONTROL setting for delta extraction in Production system .
Hello All, We are in the process to transport our development to PD server in BI . We have transported the data sources to ECC production and now we are filling the setup table for " SD BILLING BW " . After filling Setup table data in full mode throu