How to create label & text items in a page dynamicly(TOP URGENT)
Dear all;
did any1 tried before to create a PLSQL which can create labels or text items?!! i have a page which i want to create labels according to the count of rows in the Database table?
Regards;
I would first try creating an 'On Load - Before Header' PL/SQL Computation to count the rows, and store the result in a hidden page/application item, e.g. P120_ROW_COUNT.
Then in the label of the item, put &P120_ROW_COUNT. as the Label Text.
I haven't tested it - but it should work.
Similar Messages
-
How to create a text item dynamically
Greetings to All Expert,
Could anyone please tell me how i create a text item with code.The scenario is like this....
Suppose there is a text item corresponding to department_id=10 and i dont know how many employees r there in this department.Now if the query returns 10 employee then how do i display these 10 employees name.....it may be 20 employees also...i dont know the actual number before executing the query..
Regards,
Wel
Edited by: 787312 on Aug 15, 2010 1:03 AM
Edited by: 787312 on Aug 15, 2010 4:19 AMHi,
You can create two blocks for this. One is an unbound block which consist of a text box with a command button. Other block is a bound block from your table(multiple rows block). In hierarchical, unbound block should above above bound block, which makes the focus control goes first to the text box. When the user type the dept code and click on the button it goes to bound block and execute the query.
you can write code in the command block as below
set_block_property('<boundblockname>',default_where,'deptno = '||:ti_DEPTNO);
go_block('<boundblockname>');
execute_query;Best Regards
MP -
How I add a LIBRARY ITEM to a page layout, top/bottom ?
how I add a LIBRARY ITEM to a page layout, top/bottom ? in
dwmr mx 2004 and cs4 ?Have you looked at the DW help file - it will explain all
about library items :-)
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
CSS Tutorials for Dreamweaver |
http://www.adobe.com/devnet/dreamweaver/css.html
Book: Ultimate CSS Reference (aff link) |
http://www.sitepoint.com/launch/005dfd4/3/133
http://twitter.com/nadiap
"lse987" <[email protected]> wrote in
message news:gpsvtt$t5q$[email protected]..
> how I add a LIBRARY ITEM to a page layout, top/bottom ?
in dwmr mx 2004 and cs4 ? -
How to change a text item to have a link that opens a different page?
Hi,
How to change a text item to have a link that opens a different page?
Thanks,
GuyHi Denes,
I understood what the code will do. But it did not work.
...a href="f?p=&APP_ID.:2:&SESSION.">LINK</a...
By default, P5_TASK_NAME displays Task Name which is passed from Page 3.
So I changed your code as follows so that P5_TASK_NAME value may be displayed with a link.
...a href="f?p=&APP_ID.:3:&SESSION.">:P5_TASK_NAME</a...
But P5_TASK_NAME value appears without any link and does not open page 3.
Then I created a new text item (display only) in the same HTML region in page 5 and entered the following code in the default box:
...a href="f?p=&APP_ID.:3:&SESSION.">LINK</a...
When I ran the application, it displayed the whole code as text.
How can I display P5_TASK_NAME value with a link to open page 3?
Would appreciate your help.
... to be replaced with < or >
Could you please let me know how to display link code correctly?
Thanks,
Guy
Edited by: GUY3 on Mar 11, 2009 4:20 PM -
How can I find text-item description and content in database?
I make "Actual news" region with text and simple image items.
With "Custom Search" autoquery I make news portlet with 10 latest news.
But I will make with PDK-Java discussion portlet, in which users can read and write about last published (last created text item display name and content) news.
My questions:
- How can I find text-item description and content in database?
- How I can sort text-items to find latest created in my region?
I have Portal R2
Thanks in advance.
CheslavI am sorry. The following are the related tables.
WWV_TEXT
WWV_TEXT_BLOCKS
WWV_TEXT_BLOCK_USAGES
WWV_USER_TEXT_BLOCKS
WWV_USER_TEXT_BLOCKS$
WWV_USER_TEXT_BLOCK_USAGES
WWV_USER_TEXT_BLOCK_USAGES$
May be you want to browse WWV_TEXT which is the core table. -
What is meaning of Labels, what is their purpose, how we create labels
what is meaning of Labels, what is their purpose, how we create labels.
To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..
Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
1. Create a page window and assign it to a page.
2. Choose Edit --> Main windows.
A dialog box appears.
3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.
4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.
5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups. -
How to create a text file or XML file and add content through code into it...
Hi Everyone,
How to create a text file and add content through the code to the text file eform javascript ......orelse can we create a text file in life cycle designer...
Else say how to create a new XML file through the code and how some content like Example "Hello World".You can create a text file as a file attachment (data object) using the doc.createDataObject and doc.setDataObjectContents:
http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.528.html
You can then export the file with the doc.exportDataObject method:
http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.463.html
This won't work with Reader if it hasn't been given the file attachment usage right with LiveCycle Reader Extensions. -
How to create a text box in ascreen painter?
HI friends can anyone tell me how to create a text box in a screen painter?
And attachment BROWSER like what we attach for any documents in over mail.
Example when we click on browser the path of the computer has to be opened and by giving the document name attach and the document will be attached. Please tell me the procedure....
ThksTo get the best answers, I think you probably need to break down your post into several different one with a separate question in each, along with the business problem you are trying to solve... but here's a few pointers for you to research...
Textbox - there's plenty of info in SDN on creating a custom control with a textbox e.g. Re: Text Editor on modulepool Screen and sample code in SAP too.
Attachments - If this is for an email, then GUI_UPLOAD might help and the BCS class is the newer way to send messages... check out Re: Offline Approval: RBBP_NOTIFICATION_OFFAPP Vs RSWUWFMLEC for example... if this is an attachment for an SAP object such as an FI Document or Purchase Order, then the Generic Object Services (GOS) could be what you want e.g. https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3
Jonathan -
How to Create a text frame?
Hai
i'm senthil....
i'm just now started working with Adobe Indesign plugin's..
Can anyone tell me how to create a text frame...
wat r the steps for creating a text frame?
what are the Interface pointers used for creating a text frame...
plzz reply me who knows...
bye.See SDKLayoutHelper::CreateTextFrame.
You can also look at SnpCreateFrame::CreateTextFrame in SnippetRunner.
Regards,
Narayan -
Hi Experts...
Can you please explain me how to create a Text variable...
In my Cube i had 3 different date fields....
and as per my requirment i need to create a rolling report for which will display data for 6 months rolling.
As the date field which i need to use is not mapped to Time Char's (Cal Year,Cal Month...etc)
For that reason i created below customer exit variable and used offset variables to achieve the rolling 6 months report
Code used for Customer Exit VAriable:
WHEN 'ZC_Cmonth1'. " Current Cal Month Car Expiry
IF i_step = 2.
CLEAR l_s_range.
determine date
LV_SYDAT = SY-DATUM.
LV_YEAR_ACT = SY-DATUM+0(4).
LV_MONTH_ACT = SY-DATUM+4(2).
Set begin date of intervall
CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '01' INTO LV_DATE_LOW.
Set end date of intervall
CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '31' INTO LV_DATE_HIGH.
Fill ranges-tab with: include all values between beginning of year
and actual date
CLEAR E_T_RANGE.
CLEAR L_S_RANGE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
L_S_RANGE-LOW = LV_DATE_LOW.
L_S_RANGE-HIGH = LV_DATE_HIGH.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
Now i need to create TEXT VARIABLE that will display the Month Name in the column name
Please update in detail step how to create a Text VariableIn your specific requirement select the which ever the keyfigure you want to analyse, go to edit mode of keyfigure propeties there select the newvariable type and create the Text variable by maintaining the proper offset start and length and also maintain the in whcih format u want see the month name in column headers. Maintain the Text format or key format. it totally depends on u r requirement.
Hope it will help ful for u.
Bye,
Chandu. -
Wondering how to create a text box with variables...
Hi everyone,
I was wondering how to create a text box, that at the beginning of the presentation, the audience fills in regarding what they think constitutes the role they have been chosen for.
I would like that same box to then appear at the end of the presentation, with the text they typed in at the beginning, so they can reflect on what they think now, and what they thought then. I understand this is done using variables, but i'm not 100% sure.
I hope I've worded this okay!This screenshot shows the properties panel, Style tab for the TEB. I relabeled it to My_TEB, used the X button to create a user variable v_choice that will replace the generic Text_Entry_Box_1/
This is the properties panel of a Shape, I went in Edit mode (double clicking)to make the Character section appear, where you find the X button. It opens the dialog box 'Insert Variable' and you can choose the var associated with the TEB. The Maximum Length will define how many characters will be displayed, the value of a variable has maximum 256 characters. -
How to Create header text in Quotations?
Helli Experts,
Can anybody of you tell me how to create Header text for Quotations in SD?
I want to fetch it into Layout Set. I want to hardcode it.
HarishHi,
Use the SAVE_TEXT and READ_TEXT Function module to create a header text through program.
Prabhudas -
How to create labeled table of Content with expand and collapse
Hi All,
Can somebody help me how to create labeled table of Content with expand and collapse as example given below:
User1
Template1
Template2
User2
+
User3
Template1
Template2
Like when we see expand (+) and collapse (-) button when we click on 'about this page' link.
Thanks
BhupendraHi,
Tou can use Table inside table to show the details this way but I'm not sure about Expand/Collapse.
Expand/Collapse are part of HGRID.
I think we can develop this functionality with little manipulation.
Regards,
Reetesh Sharma
Edited by: Reetesh Sharma on Jun 28, 2010 4:56 AM -
How i can make text item as read only
hi
im trying to make a text item as read only so no one can write on it i tried to make it as display item but i neeed also to call lov when i double click on the text item in display item case u can not double click
so please how i can make text item as read only
and another thing
how i can change an item properties by code i mean when i click in one button the text item become visibile how i can change its property by code
thank uYou can set a text item's property to be non-updateable
You can change this programmatically with set_item_property()
:) -
How To Create On Submit Button For Master_detail Page ?
I have adf page that is master And detail view.
i want to have one submit button for master and detail blockDuplicate of How To Create On Submit Button For Master_detail Page ?
Please don'r post your question multiple times.
Timo
Maybe you are looking for
-
Serious problem with my iPod Classic/iTunes
I have a 6th Generation iPod classic (80 GB), and recently, I have been having some serious problems with it. When I connect it to iTunes, there is usually no problem, it shows up, plays and displays the music correctly, etc. However, if I try to ADD
-
No Authorization to OLAP Cubes during the creation of universe connection
Hello friends we are not able to see the OLAP Cubes during the creation of universe connection using the Quality system and Application server "sapbmw01" client 100, system # 00. But we are able to set up the connection in our development system. I
-
[SOLVED] vineyard won't start
Hi all, I've installed vineyard from aur, but I can't get past the splash screen. When I run it through terminal I get the following: ** Message: pygobject_register_sinkfunc is deprecated (GtkWindow) ** Message: pygobject_register_sinkfunc is depreca
-
request for code needs a code (which ,copies the file on your computer (it copies the file to which it will path in TextBox1) and is pasted file in the folder: C: \ Program Files \ RunerBat \ Backup and needs code ,which when clicked, "button2" ope
-
Copying, pasting and editing audio problem?
hi, i have some audio tracks that i originally recorded in pro tools le (no plugin delay compensation if using uad's or other 3rd party plugs dont even go there by the way) and have exported them to logic 8 and changed the arrangment for a song. The