Add a conditionally-Dependent Field - Need Help
Hi everyone,
I'm working with JDeveloper10.1.2, UIX pages and STRUTS.
This is my situation:
I have 3 messageTextInput in my UIX page, one to regions, one to counties and another to locations. When I insert a text in locations and regions I need to fill automatically the messageTextInput of the country.
I have a table in my DataBase with this collumns: ID(number), Country(text), Region(text) and Location(text).
How can I do this? Can anyone give me some ideias?
Can anyone help me, Please? Any ideias??
Thanks,
Atena
Message was edited by:
Atena
Anyone?? Any help??
Message was edited by:
Atena
Similar Messages
-
Tutorial: 8 Adding a Conditionally Dependent Field
Hi,
I am trying to implement chapter 8 Adding a Conditionally Dependent Field. However, the Commission percentages stays enabled no matter what the value of the jobid is.
Is this a bug or am I doing something wrong here?
Thanks, JoepJoep,
If you send your testcase for the LOV problem, we will also look at this issue.
The conditionally dependent items work for me, so may be you made some typo.
Steven Davelaar,
JHeadstart Team. -
Hi need help with cant buy game add on can buy from iTunes but not any game add on need help
To Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact
Note:
Some In-App Purchases require a Credit Card. -
Conditional Mapping issue - Need help Urgently
Hi Experts,
We have a requirement for conditional mapping for HFM. When the value of certain account is positive, it is mapped to one account, else, to a different account. We are able to achieve this in the conditional mapping.
Once the mapping is done, we need the amount to be positive one. How do we attain this?
Thanks
Kannan.Hi,
Lets say your two target accounts are called X & Y.
I assume in your account mapping you have something like
Source account xxxx1 ==> Target account X
Source account yyyy1 ==> Target account Y
Here is what you can do.
In the import script of Account you can check the amount value < 0 and assign to account X else to account Y and assign to the out variable.
In the import script of Amount you can check if the source account is xxxx1 or yyyy1 then always assign abs(amount value) and assign to the out variable.
In the account mapping,
If you wish you can retain the below (with the account script change as I suggested, you will never get xxxx1 or yyyy1 in the out variable anymore)
Source account xxxx1 ==> Target account X
Source account yyyy1 ==> Target account Y
And add the two additional entries (since out variable for the two conditions will be X & Y)
Source account X ==> Target account X
Source account Y ==> Target account Y
Hope this helps, we have plenty of these kinds of situtations.
Regards
Ajay -
Problem with a Form field, need help
I work for a small police agency and I am our IT guy. Most of my IT tasks have many been hardware and system software and networking. I have been trying to learn and teach myself programming. I also create forms for agency use. I have been working on a form and want to add increased functionality to allow our officers to issue a citation with the least amount of time spend on the form. One main issue is that we have to have a unique citation number. We have come up with a format that will specify as such: YYYY(Officer's 4 Digit ID Number)-(Auto Incrementing number). So, for instance, if this is my 55th citation issued and my ID number is 0100 the citation number would appear like this: 20120100-0055. The ID number will be entered by the officer earlier in the form. The problem I can't seem to vision around is how I will keep the number to increase by one and have it maintain that way. I want it to be form specific, because each officer has their own vehicle and MDT that the PDF will reside on at this time.
So far, what I have toyed with in the past 30 minutes is this:
var Ticker = 0001;
var Year = getFullYear();
var x = getField('OfcIDNo').value;
Eventually the form will be autocreated by a program that will be run from a centralized server. I have even thought about running the from from a server and taking all the data and INSERTing it into a SQL Server 2008 Express DB table on a server, but I'd still have to have the citation number created at the form as the officer fills in the data. The last four of the number doesn't have to reset when the year changes, but it would be a plus. Any information anyone can help with I would appreciate it.
Thanks in advanceSeems like it was too easy, is it safe to assume that javascript and javascript functioning in Adobe PDF is a bit different learning curve? That does help, the only thing that I'm missing is the Auto Incrementing 4 digit number. I was toying with assigning a variable in the globals that would auto increment but having problems with how I would execute it. Each copy of the form would be installed on each officers MDT so the number would be specific to that officer. The format will be YYYY"OFCIDNo"-####. I would like to assign the number to the global variable on the execution of the Print Dialog. This way the officer an clear the form if he/she needs to start over and then it stays whether or not they close the file and reopen it.
That syntax has been very helpful to get started.
Thank you,
David -
Hi
Is there anothe product for enabling flash content.Pallavi,
Adobe Presenter is a plug-in application to MS PowerPoint that allows you to add video, audio, Flash and quiz content in to a presentation and then author it out as a Flash based presentation that can the be delivered to others via the web. You are asking about enabling Flash content. In what browser/application are you needing to enable Flash Content?
The 'Not a valid presenter' message is most likely due to you not have the rights to author content to Harvard's e-learning system, but without knowing if the URL is for a Connect account or some other e-learning platform, it's hard to give any useful insight. -
Using a MacBookPro-trying to add my own captioning. need help!
I've been able to figure out how to add closed captioning - have enabled to see Closed captioning but it's not showing up on the preview screen. It WAS but now it's not. what have I done wrong?
A screenshot might help diagnose the problem. Please make sure all of the following are visible:
the caption track in the timeline, expanded to show the caption blocks.
the Captions panel
the Program Monitor, ideally with the Closed Captions button displayed.
the Closed Captioning Display Settings dialog -
Trying to add video to my site, need help
So, I am trying to add video content to my website. I've converted small video clip to test to the .flv format and have a .swf flash video player. I'm trying to embed it into my site but its giving me trouble. Here is a copy of the code I am using
<embed src="http://www.myfileserver.com/folder/flvplayer.swf" width="320" height="240"
bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=http://www.myfileserver.com/folder/video.flv&autostart=true" />
here is my question. I am confused to where my server is. I don't have my site content on an online server so does that mean, my computer is acting as my server?
On the embed src= "spot" do I just point to the place where I saved the .swf file on my computer? Same question goes for "file spot"at the bottom, the last line of code?
When I try and follow the directions and point to the files on my computer the video does not play. Hover over the 2nd video explanation to see my problem on my site to see the problem
Please check out my website at
http://www.drivingschoolsample.com
Thanks,
DanielWhen you started in Dreamweaver, you should have created a testing server. This testing server has the root folder defined on your computer:
You would put the flash movie into your media folder (or whatever folder you would designate for media such as this).
In Dreamweaver, on your insert panel, you should see a "insert media" button. Click the down arrow beside the button and choose the media you wish ot insert:
Choose FLV and it will give you the option to put in the URL (local testing server folder), a control button skin, and the size. -
Can not add files in my account.need help
whenever i try to open acrobat.com to add pdf files in my account it stops on a blank screen even refreshing it does not help
Okay I've done some playing around with my photos by doing what you've told me to do.
When I do it to a movie that is not affected it takes me to the file in the Finder window. I also did the same with the photos under the same event of the movie. Selecting "Show File" takes me to the file in the Finder window.
When I performed the same task to an affected movie and its related photos it doesn't show me where the file is. It brings up the Finder window only showing the internal hard drive and network icons.
Having gone through this task, I've identified another issue. When I double click on a photo that is in the same event as the affected movie, a big black exclamation mark in a grey circle with a black background pops up. Are these photos and movies corrupt or have not transfered through probably when I did the copy and paste from the back-up file?
Message was edited by: samoanquarterback
Message was edited by: samoanquarterback -
I keep selecting the uninstall button on the screen but the restart firefox now button only comes up every once in awhile. I've restarted firefox several times but the addons and extensions are still there with the options of disabling or uninstalling available for selection. All extensions and addons worked just fine before upgrading to 4.0. Am really frustrated and disappointed with Mozilla Firefox because of this situation.
I keep selecting the uninstall button on the screen but the restart firefox now button only comes up every once in awhile. I've restarted firefox several times but the addons and extensions are still there with the options of disabling or uninstalling available for selection. All extensions and addons worked just fine before upgrading to 4.0. Am really frustrated and disappointed with Mozilla Firefox because of this situation.
-
Need to add new condition type using BAPI_SALESORDER_CHANGE
Hi all,
I am using BAPI_SALESORDER_CHANGE to add new condition type for an order item.
I am able to add it, but problem here is, that i want that condition type to be manually changable. Here, in BAPI, after execution, condition type field becomes disable.
My code is as follows:
MOVE 'B' TO wa_logic-pricing.
MOVE 'X' TO wa_logic-cond_handl.
wa_cond-itm_number = wa_vbap-posnr.
* wa_cond-cond_st_no = it_konv1-stunr.
* wa_cond-cond_count = it_konv1-zaehk.
wa_cond-cond_type = it_discount-kschl.
wa_cond-CONDORIGIN = 'C'.
APPEND wa_cond TO i_cond.
CLEAR: wa_cond.
wa_condx-itm_number = wa_vbap-posnr.
* wa_condx-cond_st_no = it_konv1-stunr.
* wa_condx-cond_count = it_konv1-zaehk.
wa_condx-cond_type = it_discount-kschl.
wa_condx-updateflag = 'I'.
wa_condx-COND_VALUE = 'X'.
APPEND wa_condx TO i_condx.
CLEAR: wa_condx.
FORM f_update_order .
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = salesdocument
order_header_in = wa_headerdata
order_header_inx = wa_headerdatax
logic_switch = wa_logic
TABLES
return = it_return
order_item_in = i_itemdata
order_item_inx = i_itemdatax
conditions_in = i_cond
conditions_inx = i_condx.
IF NOT it_return[] IS INITIAL.
PERFORM f_commit_or_rollback.
ENDIF.
ENDFORM.
Please let me know, if it could be achievable.
Best regards,
Meena
Moderator Message: Corrected the code tags. You need to use flower brackets.
Edited by: kishan P on Aug 25, 2010 6:04 PMHi,
This is the demo code i am writing:
Even Change manual entry field in BAPI did not helped me.
[code]REPORT ZTESTM1.
data: l_knumv type knumv.
DATA: it_return TYPE STANDARD TABLE OF bapiret2, "Internal table for t_txt_ret
wa_return type bapiret2.
data: begin of it_konv occurs 0.
include structure konv.
data: end of it_konv.
data: logic_switch type standard table of BAPISDLS,
wa_logic type BAPISDLS.
data:itemdata type STANDARD TABLE OF BAPISDITM,
wa_item type BAPISDITM.
data : salesorder type BAPIVBELN-VBELN.
data:itemdatax type STANDARD TABLE OF BAPISDITMx,
wa_itemx type BAPISDITMx.
data: wa_header type BAPISDH1,
wa_headerx type BAPISDH1X.
data: i_cond type STANDARD TABLE OF BAPICOND,
wa_cond type BAPICOND.
data: i_condx type STANDARD TABLE OF BAPICONDX,
wa_condx type BAPICONDX.
move '0060008601' to salesorder.
move '000010' TO wa_item-itm_number.
append wa_item to itemdata.
move ' ' to wa_header-BILL_BLOCK.
move 'U' to wa_headerx-UPDATEFLAG.
move 'X' to wa_headerx-BILL_BLOCK.
MOVE: 'U' to wa_itemx-UPDATEFLAG,
'000010' TO wa_itemx-itm_number.
append wa_itemx to itemdatax.
move 'B' to wa_logic-PRICING.
move 'X' to wa_logic-COND_HANDL.
select single knumv from vbak into l_knumv where vbeln = '0060008601' .
select * from konv into table it_konv where knumv = l_knumv and kposn = '000010'.
wa_cond-ITM_NUMBER = it_konv-kposn.
wa_cond-cond_type = 'Z550'.
wa_cond-CONDCHAMAN = 'X'.
append wa_cond to i_cond.
clear: wa_cond.
wa_condx-ITM_NUMBER = it_konv-kposn.
wa_condx-COND_TYPE = 'Z550'.
wa_condx-UPDATEFLAG = 'L'.
append wa_condx to i_condx.
clear: wa_condx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = salesorder
ORDER_HEADER_IN = wa_header
order_header_inx = wa_headerx
LOGIC_SWITCH = wa_logic
tables
return = it_return
ORDER_ITEM_IN = itemdata
ORDER_ITEM_INX = itemdatax
CONDITIONS_IN = i_cond
CONDITIONS_INX = i_condx
EXTENSIONIN =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.[code]
Thank you.
Meena -
Need help in identifying fields of sd report creation
Hi Experts,
I need to create report in sd from manual report .The fileds in report are taken from Quickbooks.so inorder to create report in sap I need to identify fields in sap first.we dont had functional guy so i need help in identifying fields in sap for below mentioned report.
Report: invoice distribution report-service billing for all states.
Fields:customer number,customer name,city state,SAP Document number,Invoice date,period(month,year)invoice number,invoice type,currency,invoice amount in usd.
Please help me in suggesting tcodes or table names from where i can fetch these fields.
Thanking you in advance.
Regards,
narasimha.Hi Experts,
Finally with all above suggestions i have chosen tables vbrk(billing document header data),kna1(customer header),vbrp.
1.I created view to find the output of report with conditions as follows:
tables:vbrk,kna1,vbrp
vbrk-vbeln(invoice number)
vbrk-fkart(invoice type)
vbrk-fkdat(invoice date)
vbrk-waerk(currency)
vbrk-netwr(netvalue)
vbrk-kunag(customer number)
kna1-name1(customer name)
kna1-ort01(customer city)
kna1-regio(customer state)
join condition:
kna1-mandt=vbrk-mandt
kna1-kunnr=vbrk-kunag.
when i execute the report i am getting same value for lot of times.
i am confused how to include sales document number.I hope sales document number and invoice are different.
2.i have also added vbrp-aubel and join condition as
vbrk-mandt = vbrp-mandt
vbrk-vbeln = vbrp-vbeln.
but when i execute the report i am getting lot of duplicated with same value and unknown invoice numbers.
please let me know where i went wrong.
is there any standard adhoc report so that i can manipulate it with above requirement.
vf05n is somewhat useful .is it possible to add customer details in this??
Thanks&Regards,
narasimha. -
Need help with conditional query
guys this is just an extension of this post that Frank was helping me with. im reposting because my requirements have changes slightly and im having a hell of a time trying to modify the query.
here is the previous post.
need help with query that can look data back please help.
CREATE TABLE "FGL"
"FGL_GRNT_CODE" VARCHAR2(60),
"FGL_FUND_CODE" VARCHAR2(60),
"FGL_ACCT_CODE" VARCHAR2(60),
"FGL_ORGN_CODE" VARCHAR2(60),
"FGL_PROG_CODE" VARCHAR2(60),
"FGL_GRNT_YEAR" VARCHAR2(60),
"FGL_PERIOD" VARCHAR2(60),
"FGL_BUDGET" VARCHAR2(60)
)data
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','11','00','400');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','1','100');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','1','0');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','11','1','400');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('360055','360055','7200','4730','02','10','1','400');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('360055','360055','7600','4730','02','10','1','400');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','14','200');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','10','14','100');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','14','200');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','2','100');
Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','11','2','600');
I need to find the greatest grant year for the grant by a period parameter.
once i find the greatest year i need to check the value of period 14 for that grant for the previous year and add it to the budget amount for that grant. however if their is an entry in the greatest year for period 00 then i need to ignore the period 14 of previous year and do this calculation current period +(current period - greatest year 00)
hope that makes sense so in other words with the new data above. if i was querying period two of grant year 11. i would end up with $800
because the greatest year is 11 it contains a period 0 with amount of $400 so my total should be
period 2 amount $ 600
period 0 amount $ 400 - period 2 amount of $600 = 200
600+200 = $800
if i query period 1 of grant 360055 i would just end up with 800 of grnt year 10.
i have tried to modify that query you supplied to me with no luck. I have tried for several day but im embarrased to say i just can get it to do what im trying to do .
can you please help me out.
here is the query supplied by frank kulash who gracefully put this together for me.
WITH got_greatest_year AS
SELECT fgl.* -- or whatever columns are needed
, MAX ( CASE
WHEN fgl_period = :given_period
THEN fgl_grnt_year
END
) OVER () AS greatest_year
FROM fgl
SELECT SUM (fgl_budget) AS total_budget -- or SELECT *
FROM got_greatest_year
WHERE ( fgl_grnt_year = greatest_year
AND fgl_period = :given_period
OR ( fgl_grnt_year = greatest_year - 1
AND fgl_period = 14
;MiguelHi, Miguel,
Are you waying that, when the greatest year that has :given_period also has period='00' (or '0', or whatever you want to use), then you want to double the budget from the given_period (as well as subtract the budget from the '00', and not count the pevious year's '14')? If so, add another condition to the CASE statement which decides what you're SUMming:
WITH got_greatest_year AS
SELECT TO_NUMBER (fgl_grnt_year) AS grnt_year
, fgl_period
, TO_NUMBER (fgl_budget) AS budget
, MAX ( CASE
WHEN fgl_period = :given_period
THEN TO_NUMBER (fgl_grnt_year)
END
) OVER () AS greatest_year
FROM fgl
, got_cnt_00 AS
SELECT grnt_year
, fgl_period
, budget
, greatest_year
, COUNT ( CASE
WHEN grnt_year = greatest_year
AND fgl_period = '00'
THEN 1
END
) OVER () AS cnt_00
FROM got_greatest_year
SELECT SUM ( CASE
WHEN grnt_year = greatest_year -- New
AND fgl_period = :given_period -- New
AND cnt_00 > 0 THEN budget * 2 -- New
WHEN grnt_year = greatest_year
AND fgl_period = :given_period THEN budget
WHEN grnt_year = greatest_year
AND fgl_period = '00' THEN -budget
WHEN grnt_year = greatest_year - 1
AND fgl_period = '14'
AND cnt_00 = 0 THEN budget
END
) AS total_budget
FROM got_cnt_00
;You'll notice this is the same as the previous query I posted, except for 3 lines maked "New". -
I need to add check whether 21 fields of a internal table are empty or not.
Hello,
I need to add check whether 21 fields of a internal table are empty or not.How can we write a code for the same wand what would be the correct syntax for it.
I tried entering all the fields in the IF loop with AND condition but its giving syntax error.Perhaps this is because the lenght of the IF condition would be more than the allowed one.Hi,
After the select quiery.
If not itab is initial.
Message 'Table is not empty' type 'I'.
Endif.
Regards,
Jagadish. -
Need help on Conditional Formating
Hi All,
I have hierearchy as Region to Series and Series to Model. I have created report with following fields Actual Sales, Objective Sales, % of Objective by Region. My requirement is i need to draw a line 100% Objective in chart and need to show the %of Objective values in Green when >=100% and in Red when < 100%.
Am able to see the above conditional formating at the Region level properly. When am drilling from one particular region to Series level conditional formating is not applying.
Any suggestions to achieve above formating will be appreciated.
Regards,
Rajkumar.Hi Rajkumar,
nice one. :)
First part of the solution: you need to make it yourself a little bit easier by adding an extra column and hide this column.
Add a column with the follow formula:
CASE WHEN % of Objective >= 100 THEN 'Green' ELSE 'Red' END
Second part of the solution: add a pivot table view to your report.
Put the extra column on the Rows Section. Hide it.
Then add the pivot table chart to the pivot table view. If wanted you can remove the pivot table.
Then add the conditional formatting to your chart. I would use line bar combo for this.
Regards,
Stijn
Maybe you are looking for
-
Hello All: I am facing an issue, with opening pdf forms using webdynpro applcaions, after applyign support stacks. I am using linktoaction UI element to display a pdf form which is stored in mimereporsitory, and i am displaying it after getting URL.
-
Adding Custom fields to SRM Item Data tab & Account Assignment Tab
Hi Everyone, We have got a small requirement to add 2 custom fields in SRM Shopping cart. Need to add a input field, which should act just like Requisitioner in ECC. ( F4 help ).This will allow to create shopping cart on behalf of some one. Need to a
-
I am operating with Yosemite, 10.10.3. Just see 'upgraded' Photos app replaces iPhoto, but now I cannot see photo filenames in the list view when inserting photos into a document, only thumbnail in 'Name' column. I need to be able to see filenames.
-
Suspended Account, lost acount creating date, and ...
Hi all I don’t know, it is like the first time I feel so lost, frustrated and sick for using a customer support, for this Skype you really have done it!! Ok let’s put my story short & simple one day, found my account suspended with no reason, no noti
-
Hi all, This is my first post! I have been scouring the board now for quite a while looking for an answer but to no avail, so I decided to post. My problem is this: I just bought some hardware to put together a new machine. Thing is it won't let me i