How to write the dynamic code for RadioGroupByKey and Check Boxes?
Hi,
Experts,
I have created a WD ABAP application in that i have used RadioGroupByKey and CheckBox Ui elements but i want how to write the dynamic code to that i want to display male and female to RadioGroupByKey and 10 lables to check boxs.
Please pass me some idea on it and send any documents on it .
Thanks in advance ,
Shabeer ahmed.
Refer this for check box:
Do check :
bind_checked property is bind to a node with cardinality of 1:1
CHECK_BOX_NODE <---node name
-CHECK_BOX_VALUE <--attribute name of type wdy_boolean
put this code under your WDDOMODIFYVIEW:
DATA:
lr_container TYPE REF TO cl_wd_uielement_container,
lr_checkbox TYPE REF TO cl_wd_checkbox.
get a pointer to the RootUIElementContainer
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_checkbox = cl_wd_checkbox=>new_checkbox(
text = 'WD_Processor'
bind_checked = 'CHECK_BOX_NODE.CHECK_BOX_VALUE'
view = view ).
cl_wd_matrix_data=>new_matrix_data( element = lr_checkbox ).
lr_container->add_child( lr_checkbox ).
Refer this for Radiobutton :
dynamic radio button in web dynpro abao
Edited by: Saurav Mago on Jul 17, 2009 10:43 PM
Similar Messages
-
Hi Team,
R12 Instance :
Oracle Installed Base Agent User Responsibility --> Item Instances -->
Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
In the above page there are two table regions.
Notes.
-------------------------------------Table Region---------------------------
Attachments
-------------------------------------Table Region---------------------------
--the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
I want to know what are the document types are displayed in this page ?
--We developed a custom program to attach the attachments to the services contracts and the above seeded OAF page displays those ..as needed.
But after recent changes..the Attachments--> table region is not showing the attachments.
I have verified the query..and could not find any clue in that..
but i need some help if you guys can provide..
SELECT *
FROM
*(SELECT d.DOCUMENT_ID,*
d.DATATYPE_ID,
d.DATATYPE_NAME,
d.DESCRIPTION,
DECODE(d.FILE_NAME, NULL,
*(SELECT message_text*
FROM fnd_new_messages
WHERE message_name = 'FND_UNDEFINED'
AND application_id = 0
AND language_code = userenv('LANG')
*), d.FILE_NAME)FileName,*
d.MEDIA_ID,
d.CATEGORY_ID,
d.DM_NODE,
d.DM_FOLDER_PATH,
d.DM_TYPE,
d.DM_DOCUMENT_ID,
d.DM_VERSION_NUMBER,
ad.ATTACHED_DOCUMENT_ID,
ad.ENTITY_NAME,
ad.PK1_VALUE,
ad.PK2_VALUE,
ad.PK3_VALUE,
ad.PK4_VALUE,
ad.PK5_VALUE,
d.usage_type,
d.security_type,
d.security_id,
ad.category_id attachment_catgeory_id,
ad.status,
d.storage_type,
d.image_type,
d.START_DATE_ACTIVE,
d.END_DATE_ACTIVE,
d.REQUEST_ID,
d.PROGRAM_APPLICATION_ID,
d.PROGRAM_ID,
d.category_description,
d.publish_flag,
DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
d.URL,
d.TITLE
FROM FND_DOCUMENTS_VL d,
FND_ATTACHED_DOCUMENTS ad
WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
*) QRSLT*
WHERE ((entity_name ='OKC_K_HEADERS_V'-- :1
AND pk1_value IN ( 600144,599046) --:2
AND category_id_query IN (1, :3, :4, :5, :6, :7) )
AND datatype_id IN (6,2,1,5)
AND (SECURITY_TYPE =4
OR PUBLISH_FLAG ='Y')))
--='000180931' -- 'ADP118'
The above seeded query is the one which is used for table region to retrieve the data..
how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
--SridharHi Patricia,
is it working for restricted key figure and calculated key figure ??
Note Number Fisc Period Opening Days
1 1 2
2 1 3
3 1 0
because I have other restriction, so I create two restricted key figure..
RK1 with restriction : Total Number of Note,
RK2 with restriction : Total Opening Days ,
then I Created a calculated key figure, average opening days in a period
CK1 = RK2 / RK1..
in this case, I am not sure if it will work or not..
for example, during RK2 calclation, it might be this 2+3 = 5, the line with 0 will be ignored..
during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
could you please confirm.. -
How to write the ABAP code for Datasource Enhancment
Hi Team,
Can you please help me how to write the code for the enhancement i have made to the standard datasource
i have added the fields ZZPayer and ZZPayer_access.
I just wanted to know how to write the ABAP code to populate the data for these fields.
Regards,
Pradeep P.Hi
From a performance point of view would like to suggest a few changes :
WHEN '<DS name>'.
select zzfields from <table> into itab
for all entries in c_t_data where <condition>.
If sy_subrc = 0.
loop at c_t_data assiging f_c_t_data.
read itab into wa_itab where key = f_c_t_data-key.
f_c_t_data-zzfield = wa-itab-zzfield.
endloop.
refresh itab.
regards,
aparna
endif. -
How to write the regular expression for Square brackets?
Hi,
I want regular expression for the [] Square brackets.
I have tried to insert in the below code but the expression not validate the [] square brackets.
If anyone knows please help me how to write the regular expression for [] Square brackets.
private static final Pattern DESC_PATTERN = Pattern.compile("({1}[a-zA-Z])" +"([a-zA-Z0-9\\s.,_():}{/&#-]+)$");Thanks
RaghavSince square brackets are meta characters in regex they need to be escaped when they need to be used as regular characters so prefix them with \\ (the escape character).
-
How to write the CMD command for restarting all obi services?
Hi Experts,
BIEE:11.1.1.6
How to write the CMD command for restarting all obi services automatically by windows task scheduler?
I am try to write the code as below, but it does not work. Please help me to review it and check what I am missing.Thanks.
Or is there any better method for solving my requirement ? Please share me.Thanks very much.
cd C:\InstallPath\OBIEE\instances\instance1\bin
opmnctl stopall
opmnctl startall
I am facing the problem that it does not excute the 'opmnctl startall' code, which will be stopped after 'opmnctl stopall',
So how to modify the command ?ThanksSee if any of the these are useful or solves your query -
4.5.2 Using a Windows Service to Start and Stop System Components
http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/components.htm#BABEEAAI
4.5.3 Using the Oracle BI Systems Management API to Programmatically Start and Stop Oracle Business Intelligence
http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/components.htm#BABFGICA
Edited by: Abhi on May 8, 2013 4:44 AM -
How to view the source code for Native Method
hi
i am using some native methods in to my code ;
can anybody tell me how to view the source code for the same ;
nikBuy/acquire a C/C++/assembly code disassembler and run the shared library through it.
-
How to maintain the dynamic description for a workitem ?
Hi everyone ,
How to maintain the dynamic description for a workitem ?
Thanks ,
Naval BhattOPen PFTC Txn
Enter the TAsk ID and openit in change mode
declare a container element in the task container and the same element in the workflow too.
Now from the workflow pass the value to the task container by using binding.
and in the workitem text of the task conatiner.
For e;g
if you want to display the workitem id in the task decription
open the task in the pftc and add the element in the workitem text and then pass the element value , so that the value that you have passed will be displayed in the workitem text.
*&WORKITEMID& Add * -
How to Use the language function for assignment and validation
Hi All,
If anyone can explain me in details with example ,how to use the language function for assignments and validations?
Thanks
ArnabHi Arnab,
The expression is checked only for the current MDM session.
If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
Try connecting to the DM with the XYZ language.
It should go to the if part rather than else.
Hope it helps.
Thanks,
Minaz -
How to increase the width size between PROMPT and TEXT BOX?
Hi Gurus,
my page having MessageTextInputs. Normally page runs displays the Prompt name and one text box will displayed.
my requirement is
1) how to increase the width size between PROMPT and TEXT BOX?
2)prompt name displays like
elephant
xxxxxant
xxxxRose
here xxxxx indicates SPACE
but my client requirement is don't displays the SPACES in left side.
so our requirement is in page PROMPT displays like
elephant
ant
rose
How to achieve this plz help me
its very urgent
ThanksHi,
Create a table layout region and under that use 'messageStyledText' for displaying the prompt and use 'messageTextInput' for text field without giving any prompt to that.
--Sushant -
Mozilla shows NOT RESPONDING until it loads the pages completely, for FACEBOOK and checking EMAILS on yahoo and google.
You can't do anything, you should just wait.I'm getting a similar error over here. Sporadically some sites won't load specifically in Safari; they open just fine in Opera, Firefox and Camino though. This is really annoying.
It's pretty clear it's nothing network related… -
How to delete the region code for country in T005U
Hello,
The region code for XX country are changed, So I have deleted all entries for that country in transaction code "OVK2" and updated the new region code which should be updated in Table T005S and T005U.
But in table T005U there are few region code for language other then EN. Now I need to delete the entries T005U for other language.
Now region code in OVK2 = Table T005S, but not equal to T005U
How language can be selected to delete the region code (TABLE T005U), please advise.
Thanks in advance.
PraveenHi Praveen,
In order to delete the entries from the language table T005U, you will have to maintain in T005S.
It means that, suppose in table T005U, you have a region appearing in two languages danish and german and the corresponding entry does not exist in T005S, then follow the steps below.
1. Maintain Region XX in EN in T005S.
2. Log on in language Danish, and in table T005U, only delete the text and log off.
3. Log on in Language German, and in table T005U, delete the text only and log off.
4. Now your T005U table is clear, log on in language EN and delete from table T005S.
5. Check both tables T005S and T005U for the region XX. they both should be empty.
Regards,
SAPFICO -
I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
Thanks,
JeyanHi,
I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
What has prompted this question?
Regards
Ray Farmer
Regards
Ray Farmer -
How to display the 'language code' for language dependent 'Short text' ?
Hi,
I am new to BW.
Can somebody help me with the following issue?
I have an attribute 'Material category description' and I chose short text exists and made it language dependent. I had loaded the master data successfully.
Now I want to know how to check the 'language code' for this material category description. When I display the data, will the language code display by defalult?
I had checked the text table using SE11
It displays the following fields over there.
/BIC/TS1_MCT_DS [ /BIC/TS1(InfoObject name) ]
LANGU
TXTSH
I appreciate your help!
Thank you
SekharDinesh,
I went to RSD1 -> info-object -> Master Data/text tab. It shows my language selections there (Short text selected, language time dependent etc.) with everything grayed out.
In SE16, I could display the data in the following format.
/BIC/ST_PRID TXTSH TXTMD
P01 umbrella rainyday
P02 tent waterproof
etc.
I want to see the 'language code' as one of the columns in this table.
Can you help me do that?
Thank you,
Sekhar -
I do not have the activation code for this PC and need to know how to get the software loaded back on it after a clean install of the OS and other programs.
If you use any additional subscription services to Adobe Reader, they are activated with your Adobe ID & password.
-
How to write the map expression for a const string
hi all,
i am trying to map from source table A to target table B. Table B has a column that A doesn't have and the column type is string.
what should i do if i want to keep this column a const string like "abc"? How to write the map expression?
Setting a default value like "abc" of this column in database is not available .
please try to help, thanks a lot.
junHi jun,
You mean, u want to give some hard coded value to a specific column in mapping?
If so , give 'abc' in the target column and execute it on Target.
Thanks,
Guru
Maybe you are looking for
-
Hourly differential backups are too big
Hello, Please let me first apologize if this isn't the correct forum. I'm having a problem that, for the life of me, I can't seem to resolve. To begin with, I'm using MSSQL Server 2012. I created a new MSSQL maintenance plan to perform a full nightl
-
How can I get a new serial key for Photoshop Lightroom 4 student & teacher edition?
I bought a new laptop, and I Lost my serial key to my copy of Lightroom 4 student & teach edition. If somebody can help me, that would be great
-
Vertical text with JTextPane?
I am writing an application for displaying and editing sign language texts using Sutton SignWriting. It is a sign language writing system which enables the Deaf people to write to each other in their own language. And it is language-neutral, that mea
-
Deletion indicator is missing in the infocube
Hi, I have a value k for filed (LOEKZ )deletion indicator in EKPO table but it is not getting extracted into Infocube. regards, kranthi
-
Hi, for Iphone tips page "see when a message was sent " , then how do I know that the message has been read? Thanks