Data block or control block
any one please suggest : which is faster and better in 9i forms/reports applications, a data block with form triggers(pre,post,commit_form) for DML ; or a control block with explicit DML for retreiving and posting from/to data base.
can PJC help in boosting performance. How ?
Thanks but a.I find the busy dumble for a while before allowing the user to type the content in a database item (at a w/s in LAN about 900 meters away from AS). Posibly validating the item all the way to the database and back.
b. I found certain form triggers failing e.g. pre/post update resulting erroneous enterprise data.
Similar Messages
-
Sorting the data of control block in oracle form 10g
I have two block....both are the control block..
in first block i select the date and in second block the data of that date is populated.but the data is populated
using cursor in when-button-pressed trigger of that first block button...
in cursor the data is selected and placed in field of detail block using into clause.... each field..
.and one item of detail block is srno which is create in post-query of detail block using
:sysyem.trigger_record.
Now i want after populated the detail block the data is sorted desc one of the field of the detail block...
Can this possible using set_block_property() of block although the block is control block if yes where i should do
this??????
Please explian...????but with the cursor of repopulate ...how the block is in desc by one field..because if i use again the same cursor to poulate than whats this benefits???
if i write a cursor in button when-button-trigger in first block like this code....
go_block('');
cursor emp_cur is
select empno,date,sal
from emp;
begin
for i in cur loop
select i.empno,i.date,i.sal
into :empno,:date,:sal
from emp
end loop
end;
this loop populate the block which is controll block..
syntax error should be ignored ...i wana to explain what i want to do...
this is not the actual query i have another query but the concept is that...
how i can do this... -
Using a control item in the control block
I want to do; using a control item in the control block, I can control the item in the detail block and I can navigate anywhere in the detail block on the condition.
For example, I have a master block ,a detail block,a control block.
before move the focus from the mater block to the detail block, the focus goes to the item in the control block and run a trigger and set properties for the items in the detail block, then navigate to the item in the detail block using go_item(?).
Is it possible? if possible would you give me some example or idea?
thanks a lot.well u can.May be you want to perform add / delete/ update through your buttons in forms
-
Inserting/updating data in control block based on view
Hi!
I`ve created a block based on a view to display data.
I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database.
When trying to change/insert a value in the block, the error message "Error: Can not insert into or update data in a view" pops up. I`ve tried to get rid of this error, without success.
How can I make a data block based on a view insertable and updateable?
My guess is that this have something to do with locking the records(there is no rowid in the view)... but I'm not sure.
Pls advise!!Morten
As well as on-update, on-insert, on-delete triggers you also need an on-lock,
(even though it might just contain null;) otherwise the form will try to lock the view and fail.
Actually your terminology is wrong, the block being based on a table or view is not a control block. A control block is not based on anything and has no default functionality for communicating with the database. If it was a control block, the on- triggers would not fire. -
I have Problem in fetching data from CONTROL BLOCK
Sir,
I am facing problem in fetching data from control block.
Asif.is your control-block a filter-block for the detail-block?
Do you want to see only the detail-data of the user-id you have displayed in the master? -
Control Block - Preventing creation of new record
hi,
i have a control block with two text fields. i do not want new record created for this block when the down key is pressed.
How do i do that ?Re: data disappears when pressing down arrow key
-
SOS Help!! Control Block is hitting me on my nerves....
Hello All!
I have a problem and id any body can solve this then i will be very thankful to her/him.
Actually, i have four tables.One of them(studentfee) has two primary keys.(Rollono & Date)in this table the rollno is both PK & FK which reference the rollno of student table.Now problem is that i have a control block and two txt items on it. One is for Month and is used to add the date in the studentfee table and other fields will be added by mean of another data block.And that is the problem bcs the form generate the error(may be bcs other primary key is not entered).
I think that this problem can be solved by Global variable(assigning the values to Golbal variable in the control block form
and referencing them in the data block form)
but this is not helping,too.Now i know
that i am doing something wrong but couldn't grasp that one.Either i am not generating right code for Global variables OR am starting another session that is why the form is unable to get information from the global variable when i use it in the next form.
Another question is that: Is there any way to build an .exe Or other file of my
project which can be run and be ported to another machine(with all tables and data).
Please, send me the answer to my email or to the oracle site and i will be very thankul to you. Bye..
[email protected]Hi,
In one block you can have items EXPLECITELLY belonging to only one DB table. You mention this table in the property palette of the block.
If your block has items which belong to other DB table one way (but not the only way) to work around is with POST_QUERY trigger using primarykey_foreignkey (or other) relation to insert in the item the appropriate value. If there are many values we use master-detail relationships and second block.
Do not forget before exiting the block to insert, update, delete ,etc. the changed value belonging to different tables using the PRE_INSERT, PRE_UPDATE, ... etc. triggers.
Try to by a book explaining the Forms principles and methods.
Keep in eye that Forms is a complex, very complex software tool. Before using them successful you have to invest time and efforts to study the basic solution methods.
Success!
Joseph Schwertner,
Prof.Dr. In Computer Science -
Missing definitions for block storage control
Hey guys,
I am trying to transfer my material from a temporary storage bin in storage type 001 to a bin i created in storage type 004. When I go into transaction lt04 and try to do the transfer i get the following message.
<i>Missing definitions for block storage control (B1 001 1)
Message no. L3082
Diagnosis
Certain information on block storage control is missing in your system definition.
There is no definition for the sectioning of the storage bins in block storage according to storage bin type, storage unit type and block code.
Procedure
Contact your system administrator about this error. Note down the parameters in the error message and the situation that caused the error.</i>
I have setup the storage bin types and storage unit types. I do not know what the block code is however and I do not really understand what is being asked of me. Any help would be greatly appreciated. Thanks in advanceHi Fernando,
I had the same problem, everything was correct but the system showed the same error. I changed the material data in transaction MM03, View warehouse Management 1, i inserted values the field "Bulk storage indicator" and the field "Allow addition to existing stock". Other change was in the Storage Bin in transaction LS02N, the storage Bin type should be the same as Storage Unit Type defined in SPRO (Define Strategy for Bulk Storage)
Best regards,
Alejandro -
Previous record dont show in control block
Hi
I have 2 blocks, one is control and other is database so this is working well but when i press F8 then it show records and i move to next record then it show data in both blocks but when i try to back (previous record) then it show data in my database data block not in my control block................
Any help
thanks in advance
REgards,Andreas Weiden Reply:
As i understand you want to populate some items in a non-database-block with additional information to the current record in the database-block.
The "right" way:
Do not create a non-database-block for the additional items at all, simply place the additional items in the database-block with property "Database Item"= No. If you want to show only 1 line of data and your database-blcok is tabular, set "No. of records displayed" to "1" for the non-database-items.
Now put the code to populate the items into the POST-QUERY-trigger of your database-block.
The "other" way:
Keep the additional items in the non-database-block where they are, and put your code to populate the items in the WHEN-NEW-RECORD-INSTANCE-trigger of your database-block. -
Hi ,
I'm trying to do a test automation using codedUI. This is a Windows application based on WPF.
I recorded the events and when playback I get a error.
There are two datetime pickers in the same form and when doing a playback one is picking up the date correctly where as the other datetimepicker is throwing the error as below.
Window '' is blocking the control 2015. Please move the window '' or make the control 2015 visible and retry the action. I tried even manually selecting some offset points but still the calendarfield shows empty.
Thanks,
JayashreeHi Jayashree,
Thank you for posting in the MSDN forum.
>> Window '' is blocking the control 2015. Please move the window '' or make the control 2015 visible and retry the action.
Please debug it with steps in this blog:
http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/04/handling-playback-failures-in-coded-ui-test-due-to-stale-ui-controls.aspx
Please make sure that the target control is well truly visible on the screen, and then troubleshoot action you need to take is to check if the search has actually hit the correct target element. You can make use
of the
DrawHighlight method in your test code to validate this.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi XI Professionals,
Can anyone briefly explain about
1 block and control step?
2 what is pmi and ccms what is the use of them?
3 what is the need of JCA?
4 what exactly difference between FTP and NFS?
Thanks in advance,
Regards,
Chandu.Hello Chandu,
1) block and control step?
Ans: You use a block ( ) to combine steps that you want to execute one after the other and which are to access the same local data (see also: Containers). You can also use a block to combine steps that you want to have the same deadline or exception handler, or to define a local correlation.
You can define the mode Parallel For Each(ParForEach) for a block or Dynamic Sequence (ForEach). This means that the block is executed for all elements of a multi-line container element.
You use a control step ( ) to do the following:
Terminate the current process
Trigger an exception
Trigger an alert for Alert Management (see also: Triggering an Alert)
Activities
Terminate the Current Process
Choose Terminate Process.
At runtime, the system terminates the current process instance, including all active steps, and sets the status for the process to logically deleted.
Trigger an Exception
Choose Trigger Exception and specify the triggering exception (see also: Exception Handling). The relevant exception handler must be defined in the same block or a superordinate block.
The system triggers the specified exception at runtime
2 what is pmi and ccms what is the use of them?
Ans:
Use
You have the option of connecting your adapter to the Process Monitoring Infrastructure (PMI). In the SAP environment, technical processes often extend beyond system boundaries (as is the case in Business Process Management, for instance). By connecting to PMI, you have the ability to monitor such processes.
PMI collects data from various different systems by means of PMI agents, which make their data available centrally for evaluation purposes.
Integration
The PMI trace data is initially collected in the memory before being loaded asynchronously to the PMI server. Consequently, the effect on the monitored system and its performance is kept to a minimum.
SAP systems that exchange messages with other systems (for example, tRFC or the Runtime Workbench) are connected to PMI automatically.
PMI is integrated with SAP Solution Manager. SAP Solution Manager joins the business process view with technical tracing that extends beyond system boundaries.
For more information about process monitoring with PMI, see: Process Monitoring with PMI (Process Monitoring Infrastructure)
Interface Overview
Characteristic
Value
Name
AF PMI Access
Purpose
Create PMI Data
Type
Java library
Technical name
Com.sap.aii.af.service.pmi
Certification
Optional
Syntax
See under path: JavaDoc (.index) package com.sap.aii.af.service.pmi
Activities
● Use the PMIAccess class to set PMI events. The Adapter Framework calls the PMIAccess class.
● Adapters can implement the following PMIAccess methods to monitor message processing overall:
PMIAccess Methods
Method Name
Meaning
invokeAdapterInboundAgent
Can be used by the adapter in the sender/inbound direction to report the arrival of a new message as soon as possible.
The method requires a message ID. It does not necessarily have to be an XI message ID if the MessageIDMapper is then used to map the message ID to an XI message ID.
See also: Generating, Persisting, and Mapping a Message ID
invokeCPALookupAgent
Records the address information for a given message ID.
The method must be called for the adapter in the sender/inbound direction if invokeAdapterInboundAgent was called previously.
invokeIDMappingAgent
Must be implemented in the adapter to make PMI aware of the mapping between the external ID and the XI message ID.
You must implement this method if invokeAdapterInboundAgent is called using an external message ID and the MessageIDMapper service is not used.
invokeAdapterOutboundAgent
Can be called in receiver/outbound direction to report the exit of the message.
If you call the method by using an external message ID, the adapter must call either invokeIDMappingAgent or use the MessageIDMapper to make PMI aware of the ID mapping.
● You do not need to include any other PMIAccess methods.
● If the XI message ID is set in one of the methods listed above, it must be a hexadecimal string if you use callPMIAgent() and this is set to TRUE.
The CCMS Monitoring Infrastructure locally monitors a component using data collectors and stores the monitoring data in the main memory of the component. A central monitoring system can request this data over the network and therefore provide you with a central overview of your system landscape.
With the CCMS Monitoring Infrastructure, you can also set alerts to be triggered when certain threshold value conditions are met. You can set an auto-reaction to notify you as a result of the alert.
The CCMS monitoring infrastructure is used as a data platform by:
Transaction RZ22
The CCMS Alert Monitor
The Solution Manager
Various system management partner products
Back to top
Which of my SAP systems should I use as the central CCMS monitoring system?
The central monitoring system should fulfill the following criteria:
It should have as high a release status for SAP Basis as possible. As the agent SAPCCM4X is only available as of a central system release status of SAP Basis 4.6C, monitoring larger system landscapes is only possible as of this release.
It should have as high an availability as possible. You will find central monitoring of limited use if the system is not constantly available, you must fall back on the local administration functions, and the notification from the central system if errors occur is also not functioning.
In large system landscapes, it can be useful to set up a separate, purely SAP Basis system for central monitoring. You could also use this system for other central tasks (such as the Solution Manager, Central User Administration, Transport Domain Controller, and so on). For the central monitoring system, a status of SAP Web Application Server 6.10 or 6.20 is ideal.
3 what is the need of JCA?
Ans:
Use
The adapters that you are developing for the Adapter Framework of SAP Exchange Infrastructure must be implemented as resource adapters of the Java Connector Architecture (JCA) 1.0. Adapters do not have to meet all the requirements that are specified as mandatory in the JCA, since some aspects are not relevant to the Adapter Framework.
On the other hand, some requirements are optional in the JCA, but must be met since they are mandatory in SAP XI.
Prerequisites
The references in the following descriptions refer to the document J2EE Connector Architecture Specification, Final Version 1.0.
You can download this document at java.sun.com/j2ee/connector.
Integration
· Adapters run on the J2EE server of the SAP Web Application Server 6.40, which contains a JCA 1.0 framework. The J2EE server thus meets all the requirements set out in the J2EE Connector Architecture Specification, Version 1.0.
· Adapters for the Adapter Framework are usually able to act as sender and receiver adapters. JCA 1.0 does not provide any mechanisms for the sender/inbound direction of the adapter. These mechanisms are provided by the Adapter Framework interfaces. See: Message Exchange
· JCA 1.0 does not provide any mechanisms for adapter lifecycle management, that is, adapters do not contain any information about UNDEPLOY, RESTART, REDEPLOY, or changing ManagedConnectionFactory properties. These mechanisms are also provided by the Adapter Framework interfaces. See also: Managing the Lifecycle of a JCA Adapter
Features
The following documentation describes the requirements that you must meet in relation to JCA and SAP XI during adapter development:
· Connector Architecture, Roles and Scenarios, Lifecycle
· Connection Management
· Transaction Management
· Security Architecture and Security Contract
· Common Client Interface (CCI)
· Packaging and Deployment of Adapters
4 what exactly difference between FTP and NFS?
Ans: If the file you are picking up is on the an FTP server then u need to use FTP protocol(in this case you will give FTP server name or IP address in sender file communication channel),
but if the file is on NFS server(meaning on XI server itself) then u can use NFS protocol.
All these information is really useful to you..
Thanks,
Satya Kumar..
Reward POints If it is useful... -
Outdated ActiveX control Blocking
Hello all... I am working on blocking the new Outdated Active X Control feature that has come down in the Augst update but will not be in effect until the September updates. I know that I can use group policy or a registry edit to disable that feature, at
least for the time being so we can do more testing on our enviornment. However, I do not see any feature in Internet Options that allows you to turn this on or off. Am I missing that setting? We are still on IE 9 in our enviornment. Thanks in advance!This feature does not warn about or block ActiveX controls in the Local Intranet Zone or Trusted Sites Zone.
ref:
http://blogs.msdn.com/b/ie/archive/2014/08/06/internet-explorer-begins-blocking-out-of-date-activex-controls.aspx
You can also download updated Internet Explorer administrative templates, including these new settings, from the
Administrative Templates for Internet Explorer page.
There is no point in having a user definable setting for blocking out of date ActiveX controls. It would defeat the whole purpose of the security patch...
Use the updated administrative Templates to administer it centrally in your company with GPO
or update/check your installed versions of Java RTE
Rob^_^ -
Adv between base table &control block
wat is the adv of control block give some tips to proceed with CB
Hello,
It is really dependent on your requirement as to why you need a control block or a database block.
Things which are ready made in database block needs to be coded in a control block if you are going to do data manupulation using a control block,but again as I said before it really dependent on your requirement
Regards
Mohan -
Is it possible to update (=change) control block items in a query only form ?
From Form.A we call Form.B with the parameter query_mode = query_only.
This works fine.
But in Form.B we have a non table block (=control block) with an poplist item.
Allthough in query_only mode we like to change (it's not a real update cause it's control block) the poplist.
But because of query_only mode this item is not updateable.
Is there a workaround to make the poplist updateable in query_only mode ?Hi,
It is not possible to change the BOX position using the Layout painter like changing windows position.
You have change in the page Windows text elements only by changing their co ordinates.
Regards,
Anji -
How to clear a record of control block
i have one control block with 2 items and the Max. records displayed property is set to 10.I have populated 5 records and now i want to clear one record, but the clear_record statement does not seem to be working. How to clear a record in a control block. Please help me out in this doubt of mine.
You have probably moved focus to another block. You have to go_block and maybe go_record before using clear_block.
Maybe you are looking for
-
Please help... I've been trying to get rid of a ton of unwanted music on my iPhone 4S. The music I had marked in iTunes to sync to my phone was not the only music showing up. In my attempts to get rid of the unwanted music, I decided to delete all
-
Adding a file into existing zip file
I need a add a file into existing zip file. and write into printwriter. How to do it? Waiting for the reply. Thanks and Regards, Narayanan. G
-
I want to email a pdf file to my mini ipad that includes upc barcodes. Now all I get is a pdf and barcode is in text format. I downloaded a pdf reader and it still comes in a text format. Any ideas. We are using these in the field and would like
-
After restoring my new iPhone5 I can't install my apps onto it from iTunes.
After restoring my new iPhone5 I can't install my apps onto it from iTunes.
-
I am writing a custom converter to convert number to date and is trying to use it with inputRangeSlider component. The tick labels are converted but the range begin and end points are not. Is there a special coding to do it? I am using 11gTP4. Thanks