How to display LOV on web in ENTER-QUERY mode with form or block query only.
Hello all
How can I display lov automatic on the web in from enter-query
mode in form or block query only mode.
thankx
If I understand correctly your explanation, your called form
fails to activate the LOV in enter-query mode when it is deployed
and test on the browser.
So lets proceeed like this, to make it work in all environments,
let us programetically activate the LOV.
HOW?
In the called form, write in the WHEN-NEW-ITEM-INSTANCE TRIGGER
at block level (if have more than one LOV)
IF :SYSTEM.MODE = 'ENTER-QUERY' THEN
IF get_item_property(:system.cursor_item,lov_name) IN ('YOUR
LOV1', 'LOV2' etc) THEN
IF SHOW_LOV(get_item_property(:system.cursor_item,lov_name))
THEN
NULL;
END IF;
END IF;
END IF;
The above code maybe tweak to suite your need and condition.
This way, we explicitly make the LOV appear in ENTER-QUERY mode
whenever the user clicks on an item with an attached LOV.
Hope this helps.
Mohammed R.Qurashi
Similar Messages
-
How to Display a complete Web Site ?
hi , I need to know how to display a complete web site using Directly from DMM or DMP ?
anyhow i dont want any dynamic updates, but i need to display the whole page with flash and picture contents ..
Please guide me
thanksThis particular problem has been reported at https://bugzilla.mozilla.org/show_bug.cgi?id=622472 I have just voted for that bug.
Since my last report one month ago above, I have found the "Report Broken Website" appears under the Help menu item, is clickable when a webpage is displayed, but just endlessly displays a "Sending Report to server" dialog. It has never worked for me since several weeks ago. The moving blue bar under "Sending Report" just keeps moving but nothing happens.
Mozilla Firefox 3.6.13 , the latest version according to Check Updates. Windows Vista Home Premium.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)
Expected behaviour: I guess the Report menu item should be grayed out or invisible until the reporting mechanism works.
There are a few other related problems with reporting broken websites here:
https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=Firefox&content=Report+a+broken+Website -
Enter recovery mode with broken home button
how 2 enter recovery mode with a broken home button on ipod touch and its disabled with out original computer
Use this program
RecBoot: Easy Way to Put iPhone into Recovery Mode -
Hi All,
How to display selected Month like jan,feb,march in single page with different webparts.
I created 3 webparts and selected(jan,feb,march) but when page refreshes all webparts are displaying current month(December).
Here i attached the screen shot, where December should be shown as (January and February)
Kindly check and guide me in right track.
Thanks
Prabhat.
Madhu PrabhatHi,
To develop a custom web part, you can take a look at the links below with steps in detail for a start:
Creating Web Parts for SharePoint
http://msdn.microsoft.com/en-us/library/ee231579.aspx
Sharepoint 2013 Create a Visual Web Part
http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
Another three links for your reference:
http://www.learningsharepoint.com/2012/12/24/how-to-create-a-custom-webpart-in-sharepoint-2013/?goback=%2Egde_3911588_member_198759022#%21
http://www.youtube.com/watch?v=9iK8IPUB87w
http://sptechbytes.blogspot.com/2013/10/sharepoint-2013-creating-visual-webpart_26.html
Here are some samples of custom calendar web part for your reference:
http://www.codeproject.com/Articles/108676/SharePoint-Custom-Calendar
http://gunnarpeipman.com/2009/01/creating-sharepoint-global-calendar/
https://blog.metrostarsystems.com/2013/10/21/creating-a-custom-sharepoint-calendar-rollup/
You can also do more customization by adding your own logic in it.
Best regards
Patrick Liang
TechNet Community Support -
How to display pdf in Web Dynpro Page
Hi Experts,
I need to display the pdf file in web dynpro page. I am using Web dynpro 7.1(CE), in that no ui element like Iframe. With Iframe we can display the pdf file in web Dynpro page in 7.0.
But My problem is how display pdf with out using Iframe.
Please any one tell how to display with any other UI elements.
Regards,
Sunil.Hi sunil..
chk this link..
<u><b>Pdf</b></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
<u><b>Adobe</b></u>
/people/achim.hauck/blog/2005/02/04/my-struggles-with-the-adobe-document-services-in-was640
<u><b>Configuration</b></u>
http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
<u><b>Adobe Document services</b></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2
<u><b>Configuring Guided procedure of Interactive Forms</b></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc
<u><b>Forum Discussions abt Adobe Document Services</b></u>
Re: Configuring the Destination URL for the Adobe Document Services
Hop will this helpful for u..
Regards,
GS -
How to open LOV for subject under subject details in Qualification form
Dear Experts,
I want to open LOV for the subjects field in the Qualification form in HRMS. Please can you guide me to the field name and and the process for it. Please also guide me how can i make it an open field if i decide to that?
waiting for your expert opininon
Edited by: MNS on Jan 3, 2012 3:49 AM
Edited by: MNS on Jan 3, 2012 3:51 AMI don't think you can do that easily, apart from maybe a custom version of the form with a custom view of the underlying data.
The problem you have is that the data is presented on the screen via a view; within the view definition, part of the join condition for retrieving the subject meaning will rely on the presence of a matching code in hr_lookups for the code that represents the subject. So, even if you took off the lookup logic from the field (assuming it's even possible to do that), there is a high probability that the 'free format' data won't be retrieved in any query.
Clive -
MUSE CC WON'T DISPLAY BEBAS NEUE WEB FONT IN DESIGN MODE
For some reason I can't seem to view the Bebas Neue web font in design mode any more, yet when I switch to preview or even go ahead and publish my site it works just fine.
It wasn't bothering me too much at first but it really confuses things after a while as I have to guess the sizes and spacing because the font that appears instead of Bebas Neue is Times New Roman (or similar).
All the other web fonts are working just fine. I've tried to reset the web fonts and apply them again but had no luck, and I even closed and restarted Muse CC several times but again, nothing!Please refer to the following thread for a solution - http://forums.adobe.com/message/6259161.
Thanks,
Vinayak -
Enter Query Mode with Block Based on Stored Procedure
How can I get the ENTER QUERY mode to work when the data block is based on a stored procedure?
Thank you for your review.
Because the package is long, I stripped most of it out, but left the basics. After I stripped out the code, I ran the new code under a new user. Under the new user I built I new form, tested it, and I still cannot use the ENTER QUERY mode to retrieve the correct record. Query always returns the first record. I have included table structure and 3 test records.
CREATE TABLE FR_Charge
( FR_Charge_ID NUMBER(8),
FR_Charge_Code VARCHAR2(8) CONSTRAINT FR_Charge_Code_nn NOT NULL,
FR_Charge_Code_DESC VARCHAR2(35),
FR_Charge_Code_CMT VARCHAR2(50),
CONSTRAINT FR_Charge_pk PRIMARY KEY (FR_Charge_ID)
CREATE SEQUENCE FR_Charge_SEQ;
INSERT INTO FR_Charge
VALUES(FR_Charge_SEQ.NEXTVAL,'0.0WS','E-Mail Notification', NULL);
INSERT INTO FR_Charge
VALUES(FR_Charge_SEQ.NEXTVAL,'0.1', 'Shipping', NULL);
INSERT INTO FR_Charge
VALUES(FR_Charge_SEQ.NEXTVAL,'0.12', 'Shipping Charges', NULL);
--Package follows
CREATE OR REPLACE PACKAGE DataCard_Pkg
AUTHID CURRENT_USER
AS
-- The following records defines the data structure needed by the FR_Card.
TYPE FR_Charge_Record IS RECORD
( FR_Charge_ID FR_Charge.FR_Charge_ID%TYPE,
FR_Charge_Code FR_Charge.FR_Charge_Code%TYPE,
FR_Charge_Code_DESC FR_Charge.FR_Charge_Code_DESC%TYPE,
FR_Charge_Code_CMT FR_Charge.FR_Charge_Code_CMT%TYPE
-- REF CURSOR definition used by the query procedure.
TYPE FR_Charge_REFCUR IS REF CURSOR RETURN FR_Charge_Record;
-- INDEX OF TABLES used for the DML Operation procedures.
TYPE FR_Charge_Table IS TABLE OF FR_Charge_Record
INDEX BY BINARY_INTEGER;
--Define Procedure Specifications
PROCEDURE FR_Charge_Query (DMLResultSet IN OUT FR_Charge_REFCUR);
PROCEDURE FR_Charge_Lock (DMLResultSet IN OUT FR_Charge_Table);
PROCEDURE FR_Charge_Insert (DMLResultSet IN OUT FR_Charge_Table);
PROCEDURE FR_Charge_Update (DMLResultSet IN OUT FR_Charge_Table);
PROCEDURE FR_Charge_Delete (DMLResultSet IN OUT FR_Charge_Table);
END DataCard_Pkg;
CREATE OR REPLACE PACKAGE BODY DataCard_Pkg
AS
PROCEDURE FR_Charge_Query (DMLResultSet IN OUT FR_Charge_REFCUR)
IS
BEGIN
OPEN DMLResultSet FOR
SELECT FR_CHARGE.FR_Charge_ID,
FR_CHARGE.FR_Charge_Code,
FR_CHARGE.FR_Charge_Code_DESC,
FR_CHARGE.FR_Charge_Code_CMT
FROM FR_Charge;
END FR_Charge_Query;
PROCEDURE FR_Charge_Lock (DMLResultSet IN OUT FR_Charge_Table)
AS
x_index NUMBER := 1;
x_count NUMBER := DMLResultSet.COUNT;
x_dummy_var VARCHAR2(1);
BEGIN
FOR x_index IN 1..x_count LOOP
SELECT 'X'
INTO x_dummy_var
FROM FR_Charge
WHERE FR_Charge_ID = DMLResultSet(x_index).FR_Charge_ID
FOR UPDATE NOWAIT;
END LOOP;
END FR_Charge_Lock;
PROCEDURE FR_Charge_Insert (DMLResultSet IN OUT FR_Charge_Table)
AS
x_index NUMBER := 1;
x_count NUMBER := DMLResultSet.COUNT;
BEGIN
FOR x_index IN 1..x_count LOOP
INSERT INTO FR_Charge
( FR_Charge_ID,
FR_Charge_Code,
FR_Charge_Code_DESC,
FR_Charge_Code_CMT
VALUES
( FR_Charge_SEQ.NEXTVAL,
UPPER(DMLResultSet(x_index).FR_Charge_Code),
DMLResultSet(x_index).FR_Charge_Code_DESC,
DMLResultSet(x_index).FR_Charge_Code_CMT
END LOOP;
END FR_Charge_Insert;
PROCEDURE FR_Charge_Update (DMLResultSet IN OUT FR_Charge_Table)
AS
x_index NUMBER := 1;
x_count NUMBER := DMLResultSet.Count;
BEGIN
FOR x_index IN 1..x_count LOOP
UPDATE FR_Charge
SET FR_Charge_Code = UPPER(DMLResultSet(x_index).FR_Charge_Code),
FR_Charge_Code_DESC = DMLResultSet(x_index).FR_Charge_Code_DESC,
FR_Charge_Code_CMT = DMLResultSet(x_index).FR_Charge_Code_CMT
WHERE FR_Charge_ID = DMLResultSet(x_index).FR_Charge_ID;
END LOOP;
END FR_Charge_Update;
PROCEDURE FR_Charge_Delete (DMLResultSet IN OUT FR_Charge_Table)
AS
x_index NUMBER := 1;
x_count NUMBER := DMLResultSet.Count;
BEGIN
FOR x_index IN 1..x_count LOOP
DELETE FROM FR_Charge
WHERE FR_Charge_ID = DMLResultSet(x_index).FR_Charge_ID;
END LOOP;
END FR_Charge_Delete;
END DataCard_Pkg; -
How to Connect SQL Server enterprises Manager Version 8.0 with Form 6i
Dear experts
I want to know that How can I connect SQL server Enterprise Manager Version 8.0 with Forms/reprots 6i.
currently I have oracle 9i database at server windows 2003 and I also connected with client (my PC) I work on server.
I also have SQL server in that server 2003 machine and this SQL Server also work with other clients that have VB program.
I want to know that can I connect with this SQL server with Form 6i?You can't. The closest thing would be to create links in an oracle database to the SQL Server database using Heteregeneous Services and connect forms to the that.
This forum is for the SQLDeveloper tool. You will get more complete answers in the "Database General", or "Heterogeneous Services" forums -
How to display Lov as Multi select dropdown
Hi
I am using 11.1.1.6 version.
I have created a LOV for one attribute, I want to display it as multiselect dropdown.
Could you please help me how to achieve this ?
Best Regards,
Jagadeesh Badri@KT there is no such a thing. All the options are related to single selection.
@JagadeeshBadri as Vinay said, you need to create something by yourself. You can use selectManyChoice component to iterate over the view you want. Then write a selectionListener or something like that that will copy the selected items to your variable. What is your use case anyway?
Regards -
How to display smartform in web.
Hi,
I am displaying the report in web . now i included the smartform ti it.
I want to display the smartform in web.
Plz give me the solution .
Regards,
Rani.1. Create a smart form in the R/3 side
2. Now create a function module with the corresponding export parameter:
3. Make sure that the function module is marked remote enabled.
4. In NWDS create an Adaptive RFC model which points to the FM created in R/3 under the webdynpro application
5. Now create an application and view inside it to display the PDF and Insert a frame inside the view
6. Create a value node and an attribute say url of type string inside that node and bind it to the source
7. In the doInit() method place the following code
> ZTest_Pdf_1_Input input = new ZTest_Pdf_Input();
> wdContext.nodeZTest_Pdf_Input().bind(input);
> try {
> wdContext.currentZTest_Pdf_InputElement().modelObject().execute();
> }
> catch (Exception e) {
> e.printStackTrace();
> }
> wdContext.currentInternalElement().setUrl(convert(wdContext.currentOutputElement().getBin_File()));
Inside that view create a method to convert the string to url so that it can be passed as a string to the setUrl method of the currentContextElement() , say convet(byte[] doc_content) which return a string.
Inside that methos write the following code,
> String url = "";
> WDWebResourceType webResType = WDWebResourceType.PDF;
> IWDWebResource webResource = WDWebResource.getWebResource(doc_content, webResType);
> try {
> url = webResource.getURL();
> }
> catch (Exception e) {
> e.printStackTrace();
> }
> return url;
Hope It will be helpful
Regards,
Sam Charles J. -
How many display options for Web Apps are there?
I know this is going to sound stupid,
But are there only 2 ways to show web apps?
Basically - I want to get links to auto populate on one web app, pulling just links to another web page (this web page is one of the fields in another web app), but automatically updated when the category of the "linked to" web app has another product linked to it.
I know what that reads like!
The only thing is - these are separate web apps.
The alternate/backup view of the first web app looks like this:
Currently - the user has to manually add the links like this:
Which is not ideal - I just want them to dynamically populate on the fly.
Is this possible?
Cheers, DaveFunny you say that - as the most obvious things appear in your brain immediately after posting a question... Will see how that works...
-
How to display local HTML5 web page in flash builder mobile application?
We have one single html5 web page that includes script tag to include a set of resources(java script).
Currently we have tried using web view, htmlloader and IFrame, but none of the approaches worked as the page is included in the assets folder itself of the application, and we need to run it on the mobile device(not the browser).If all you are doing is loading an HTML5 web page I would look at using PhoneGap instead:
http://phonegap.com/
PhoneGap was bought by Adobe. -
How to display more than 255 chars in background job with ALV Grid ????
Hi All,
I am using ALV grid with OO.
I have used call screen for ALV grid display. I have to display more than 255 characters in width. While running it, I can see the list perfectly.
But in background mode, the list is truncated after 255 chars.
Can anybody help how to send complete list(width more than 255 chars) to spool.
Thanks and Regards,
NehaHi SAP fan,
<b>YES you can run the ALV report in background mode.
To run the report in background do F9 instead of F8, then give immediate and save.
Now goto Sm35 goto job overview and view the job listed
Choose the job and press the spool button. It will show the list created on the next page. When u clcik the list u can see the ALV output.
To see this the job should be in the finished status.
How to define Periodic Jobs
1.Execute transaction SM36
2.Define Job name, Job class, Target server
3.Click on 'START CONDITION' button
4.Click on 'Date/Time' button
5.Enter Scheduled start DATE & TIME. Check mark 'Periodic Job' field. Click on 'Period values' button and select 'Hourly' or 'Dialy' or 'Weekly' or 'Monthly' or Other period and SAVE. Go back to main screen.
6.Click on 'STEPS' button and enter Program name and Variant under box 'ABAP Program'. Click on 'Print Specification' button and enter Printer name under 'Output device' and SAVE
7.Click on SAVE button until you get message on bottom of the screen that describes 'Job XYZ saved with status: Scheduled'.
8.Click on 'Job overview' button or execute SM37 transaction.
9.Select the appropriate 'Job name', 'User name', 'Job Status' & Schedule date under 'Job start condition' and click on 'Execute' button or press F8.
10.You will now see all your scheduled JOBS.
<b>Case: 2</b>
You can Run in Background but make sure it is alv list, not alv Grid FM. if you are uisng alv list not problem , but if you are using alv grid then you can code like this..
if sy-batch = ' '.
call 'REUSE_ALV_GRID_DISPLAY'.
else.
call 'REUSE_ALV_LIST_DISPLAY'.
endif.
if you are using OO alv then write this code..
CALL METHOD cl_gui_alv_grid=>offline
RECEIVING e_offline = off.
IF off IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container.
ENDIF.
<b>Case: 3</b>
if you are using OO ALV.
Just before creating the custom container check for the following condition.
Batch or Web Reporting
IF cl_gui_alv_grid=>offline( ) IS INITIAL.
CREATE OBJECT o_custcontainer
EXPORTING
container_name = lc_custcontrol
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6
ENDIF.
You can see the output in Spool in transaction SP01.</b>
Good Luck and thanks
AK -
How can I use a web app to provide me with results from a matrix?
I have a need to set up a search type box based off a matrix. This is a matrix which shows a list of zip codes down the left column, and a list of products across the top, and the corresponding field from a zip code and a product is the freight rate.
e.g.
Product 1 Product 2 Product 3 Product 4
1234 $10 $12 $14 $16
4567 $11 $11 $13 $17
5678 $55 $54 $27 $35
so the freight rate to 4567 for product 3 is $13.
Then what i want to have is a drop down list for a customer to select the product, then a field to enter their zip code, and the search result will be the cross referenced freight rate.
Is this possible? If so, can someone guide me as to how this would be done?Throw this open to the community to chip in, but off the top of my head.... thinking of something along lines of:
Create 3 web apps,
Product (Fields Product Name & ProductID)
Zipcode (Fields Area Desc & Zipcode)
Freight Rates (Fields FreightRateID (made up of ProductID_ZipCode), Freight Rate)
Create a web app search form for Web App Freight Rates with:
Product select, with options drawn from web app 1 using ProductID for value.
Zipcode select, with options drawn from web app 2 using Zipcode for value.
Hidden FreightRateID field.
Once a visitor has selected their product and zipcode, using javascript concatenate the selected ProductID with selected Zipcode.
This will produce a FreightRateID (e.g. PROD1_4567), which can be loaded into the hidden FreightRateID field.
When submitted, it will perform a web app search for a Freight Rate that matches the chosen product and zipcode, ie. FreightRateID.
To make entry of the freight rates easier, maybe add 2 datasource fields to the Freight Rate web app for Product and Zipcode.
Then create a front end web app add/edit (via a secure zone) to allow entry to be done by:
Select product, select zipcode then enter freight rate. (FreightRateID can be created and populated in same way as search above)
Maybe you are looking for
-
Material Description in Condition record for pricing
Hi All, I want to have material description (not as key field but just for information) in the condtion record for pricing in VK11. What shud i do for it. Please suggest. Thanks
-
so, I named my new Nano7 and the serial number appears on my itunes account. But when I have it plugged in it will not download the podcasts I loaded from itunes. The podcasts automatically load on my older ipod nano when I plug it in. How can I get
-
How to add support for new JDBC Drivers in WebLogic Server?
Hi! I am using WebLogic Server 10. As we know,WebLogic Server contains some jdbc drivers itself,but if we want to use another drivers besides them,what can we do?(I am using Oracle 11g,but WebLogic Server 10 doesn't contain JDBC support for it.) Just
-
Yesterday I downloaded the newest version of iTunes. I now cannot 'click
Yesterday I downloaded the newest version of iTunes and now I cannot 'click & drag' songs from iTunes to GarageBand. I could do this the day before, but not with the new version of iTunes. Any ideas?
-
Number of repeated characters in string array
Hi, I m trying to get number of repeated characters in string array. I couldnt figure out where am i doing mistake. thank you, For example: count({"alpha, beta,"}, 'a') a is repeated 3 l is repeated 1 etc. public class Test public static int count(St