Can you call JavaScript later in the ADF Lifecycle?
The onClick() and other event handling functions happen at the beginning of the ADF lifecycle. I am actually interested in executing the onClick() JavaScript at the end of the lifecycle (because certain page elements to execute JavaScript against will not be rendered until the end of the lifecycle). Is this possible?
Thank you.
I am finding I have to use hiddenInput elements set with Javascript to store GUI state information between page refreshes in order to manage GUI transitions. That doesn't seem like a very elegant solution to me.
Really, the only reason I am having to do this is I am trying to grab 'Selected' items from a trailing list in the SelectOrderShuttle, and in order to do that I have to use the JavaScript proxy provided.
Similar Messages
-
Where can you make a comment about the new 7.1 software update? I was dissapointed that the photos of friends that normally pop up when they make a call to me are no longer appearing. Just a tiny little circle with their picture in it appears.
Here:
http://www.apple.com/feedback/iphone.html -
After unblocking a caller can you sometimes get some of the text messages they sent you while blocked???
no they are blocked. Read this http://support.apple.com/kb/ht5845
-
i found an iphone 4s blocked on icloud imei is ********** then i called the supposed owner at the number that appeares when you activate the device *********** but he told me that he never had an iphone ...can you help me to activate the device??
<Personal Information Edited by Host>ibrahimfromel rahme wrote:
i found an iphone 4s blocked on icloud imei is ********** then i called the supposed owner at the number that appeares when you activate the device *********** but he told me that he never had an iphone ...can you help me to activate the device??
<Personal Information Edited by Host>
This is my 'doubtful' face: -
I cannot download adobe reader in order to download an item. can you call me
What is your operating system & version?
Define "cannot" - what happens when you try?
Try downloading the offline installer from http://get.adobe.com/reader/enterprise/
P.S. this is a user-to-user support forum; you can use paid support if you want telephone support: http://helpx.adobe.com/reader.html -
Hi
After allot of upgrades, lot of .pacnew files resolving, a boot partition resize and grub reinstallation, I had allot of problems which is hardly surprising but I solved them all except one: when I login to KDE through KDM or GDM I get the good old error message
Could not start D-Bus. Can you Call qdbus?
And yes, I can call qdbus. I was seeing this error before I switched to systemd, but this was long time ago and then it was working until yesterday.
I can start kde by starting X from the console and then typing
DISPLAY=0 startkde &
but not from a display manager. Gnome starts fine.
I'm running out of ideas. Where should I look?After
ln -s /usr/bin/qdbus /qdbus
I can login into kde and I do not get the above message. But kde get unresponsive from time to time when I switch between windows. I had this problem more than a year ago and was using xfce in the meantime. Does anyone have any ide this time what causes this error? -
Can you call a plsql application process from a validation?
Can you call an on-demand plsql application process from a page validation?
Thank you,
GayleGayle:
I don't think you can do that. You could consider moving the ODP into the database as a stored procedure . The stored procedure can then be referenced in the ODP and in your validation code as well.
varad -
Can we call another transaction from the Userexit
Hi all,
Can we call another transaction from the Userexit?
Thanks,
BalajiHi
Because the statament CALL TRANSACTION triggers the end of the LUW so COMMIT WORK, so you should be sure not to insert that statament while some updating actions are been doing.
So that exit shouldn't be triggered while updating
Max -
Can you tell me what is the function modue to get POPUP box
Hi Folks,
can you tell me what is the function module to get the POPUP box.
Thanks in Advance,
LakshmiHai use
POPUP_TO_CONFIRM
check the following Code
CONCATENATE 'Send selected spools to the: '
altdest
' Printer.' INTO V_TXTQUES SEPARATED BY SPACE.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = C_TITLEBAR
DIAGNOSE_OBJECT = ' '
TEXT_QUESTION = V_TXTQUES
TEXT_BUTTON_1 = 'Ja'(001)
ICON_BUTTON_1 = ' '
TEXT_BUTTON_2 = 'Nein'(002)
ICON_BUTTON_2 = ' '
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = ' '
USERDEFINED_F1_HELP = ' '
START_COLUMN = 6
START_ROW = 6
POPUP_TYPE =
IV_QUICKINFO_BUTTON_1 = ' '
IV_QUICKINFO_BUTTON_2 = ' '
IMPORTING
ANSWER = D_ANSWER
TABLES
PARAMETER =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF D_ANSWER = '1'.
Thanks & regards
Sreenivasulu P -
Can you make IOS 7 for the iPod 4th Generation please?
Can you make iOS 7 for the IPod 4th generation because to be honest it's not fair to us iPod 4th Generation users that the iPod 5 and the IPhone users get to have it but we don't
All the iOS devices compatible (iPhone 4 and later, iPad 2 and later, and 5G iPod touch) with iOS 7 have at least 512 MB of memory. The 4G only has 256 MB
-
Can i call a Workbook trought the portal?
Hi all,
i have to call a workbook trought the portal, when i put the workbook en in the Rol, this just can be seen from the Browser. but im the portal doesnt appear, now my task is put these reports (workbooks) that the users can execute them trought the portal, how can i do this? helpthis is what i got and what i need,
i got a web template like a panel buttons, where behind each button is a web report, but there is one report that is needed in a workbook, i got the button for this report, the problem is how can i call this workbook trough the web template???
trough javascript???
trough html???
trough FM ??
i got a FM RSAH_LAUNCH_EXCEL , this FM just need the ID WORKBOOK and ID QUERY, this can fixed because this button is for this report, but now what can i do to make this...., help -
How can i call ajax and extract the data?
Hi all,
I don't know briefly about ajax..i want to learn ajax, so my question is how can i call ajax and extract the data. for ex, i have JSON file
"mobile": [
"Name": "Micromax",
"Model": A310
"Name": "samsung",
"Model": grand 2
for above example how can i call ajax..please anyone explain with small example because it'll help me a lot.
Thanks & Regards,
PalsaranHi Palsaran,
As i understood, your requirement is to POST data from UI to backend.
The above code you given is not correct if you want to use model based implementation.
In UI5 you don't need to do an explicit Ajax call, for which we can use Models like OData, JSON etc.
For your JSON example, you can use like,
var oModel = new sap.ui.model.json.JSONModel();
var oData = "YOUR JSON DATA";
oModel.setData(oData)
oModel.loadData(yourURL/Entityset,"POST");
For ref, you can use the below link
JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.model.json.JSONModel
Thanks
Naveenraj -
Can you call these regular US numbers from Skype? ...
Can you call these regular US based number's from Skype without being blocked why or why not?
Number's are from (removed).
They are considered "free telephone chat line's" only long distance or regular fee's would apply.
So are these allowed by the Skype system etc?
Some example's of the phone number's incase you can't visit the site are: (removed)
Thanks in advance.playdoughfigure wrote:
1. They are considered "free telephone chat line's" only long distance or regular fee's would apply.
2. So are these allowed by the Skype system etc?
Hello,
I've made a test call to one of these #s.
1. Yes. That statement is correct.
2. Yes they are allowed.
I've had to edit your post a little as we don't allow third party sites being posted.
TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
I recommend that you always run the latest Skype version: Windows & Mac
If my advice helped to fix your issue please mark it as a solution to help others.
Please note that I generally don't respond to unsolicited Private Messages. Thank you. -
CommandButton set to only call javascript, not submit the page
Hello All,
I have a problem with commandButton. I would like to use commandButton just to call JavaScript. When the user clicks the button, a JS function runs. My problem, is that I don't want to submit the form, right then. I leave the action and actionListener attributes out, but the command button still submits the form. Is there a better way to do this?
Thanks,
GraeIF you don't want a submit button, then why you use it?
I mean if you want a button that calls a javaScript code then use:
<input type="button" value="xxxx" onclick="xxx( )" />However, if you want to use a submit button (commanButton) but you want to contorl the submission based on JavaScript result fucntion then use:
<h:commandButton onClick="return xxx( ) " ......................... />note the keyword return above, and don't forget to return ture (to submit the page) or false( to ban submission). -
Can you please how to retrive the new netprice from the new validity period
Hi,
When you display a contract using ME33K and you click on a item and view its conditions(shift+F6), there might be 2 validity periods for a given item.
and each period will have different netprice in it.
One will be old date before the PO was created and the other new one which has validity till 31.12.999..We want to fetch the netprice for the new validity date but currently the program is fetching this data from the table EKPO which is having the netprice of the old date only..
Can you please how to retrive the new netprice from the new validity periodThank you so much.
But I need more help specific to my problem.
Let me describe the same.
Suppose the PO creation date is 04.07.2007
The conditions for an item in a contract for the PO are as follows;
1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
We need to always fetch the netprice from the validity period which always matches with the PO creatio date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
This data is then used to fetch the get the netpr data from EKPO.
<u>what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date</u>..
Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
p_c_k_bstyp TYPE ebstyp
p_p_bukrs TYPE bukrs
p_p_ekorg TYPE ekorg
p_p_ekgrp TYPE bkgrp
*Begin of Mod-004
fp_p_cernam type ty_r_ernam
p_p_cernam TYPE ernam
*End of Mod-004
p_s_werks LIKE s_werks[]
p_s_matnr LIKE s_matnr[]
p_s_lifnr LIKE s_lifnr[]
p_s_val_dt LIKE s_val_dt[].
*mod-002
data : l_amount type BAPICURR_D, " Net price
l_waers TYPE waers, " Currency Key
l_eff_amount type BAPICURR_D. " Effective value
data: l_v_netpr type bprei.
*mod-002
SELECT ebeln
bukrs
bstyp
aedat
ernam
lifnr
zterm
ekorg
ekgrp
waers
wkurs
<b>kdatb
kdate</b>
inco1
INTO TABLE i_ekko
FROM ekko
WHERE ebeln IN p_s_cebeln
AND bstyp EQ p_c_k_bstyp
AND bukrs EQ p_p_bukrs
AND ekorg EQ p_p_ekorg
AND ekgrp EQ p_p_ekgrp
*Begin of Mod-004
AND ernam EQ p_p_cernam
AND ernam IN fp_p_cernam
*End of Mod-004
AND lifnr IN p_s_lifnr
AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
IF sy-subrc EQ 0.
Populates internal table i_ekpo using EKPO table.
SELECT ebeln
ebelp
loekz
txz01
matnr
werks
ktmng
menge
meins
bprme
netpr
peinh
webaz
mwskz
uebto
untto
erekz
pstyp
knttp
repos
webre
konnr
ktpnr
ean11
effwr
xersy
aedat
prdat
INTO TABLE i_ekpo
FROM ekpo
FOR ALL ENTRIES IN i_ekko
WHERE ebeln = i_ekko-ebeln
and aedat = i_ekko-aedat
AND werks IN p_s_werks
AND matnr IN p_s_matnr.
LOOP AT i_ekpo INTO rec_ekpo.
MOVE rec_ekpo-ebeln TO rec_contr-ebeln.
MOVE rec_ekpo-ebelp TO rec_contr-ebelp.
MOVE rec_ekpo-loekz TO rec_contr-loekz.
MOVE rec_ekpo-txz01 TO rec_contr-txz01.
MOVE rec_ekpo-matnr TO rec_contr-matnr.
MOVE rec_ekpo-werks TO rec_contr-werks.
MOVE rec_ekpo-ktmng TO rec_contr-ktmng.
MOVE rec_ekpo-menge TO rec_contr-menge.
MOVE rec_ekpo-meins TO rec_contr-meins.
MOVE rec_ekpo-bprme TO rec_contr-bprme.
MOVE rec_ekpo-netpr TO rec_contr-netpr.
move l_v_netpr TO rec_contr-netpr.
mod-002
read table i_ekko into rec_ekko with key
ebeln = rec_ekpo-ebeln.
l_waers = rec_ekko-waers.
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-netpr
IMPORTING
AMOUNT_EXTERNAL = l_amount.
rec_contr-netpr = l_amount.
mod-002
MOVE rec_ekpo-peinh TO rec_contr-peinh.
MOVE rec_ekpo-webaz TO rec_contr-webaz.
MOVE rec_ekpo-mwskz TO rec_contr-mwskz.
MOVE rec_ekpo-uebto TO rec_contr-uebto.
MOVE rec_ekpo-untto TO rec_contr-untto.
MOVE rec_ekpo-erekz TO rec_contr-erekz.
MOVE rec_ekpo-pstyp TO rec_contr-pstyp.
MOVE rec_ekpo-knttp TO rec_contr-knttp.
MOVE rec_ekpo-repos TO rec_contr-repos.
MOVE rec_ekpo-webre TO rec_contr-webre.
MOVE rec_ekpo-konnr TO rec_contr-konnr.
MOVE rec_ekpo-ktpnr TO rec_contr-ktpnr.
MOVE rec_ekpo-ean11 TO rec_contr-ean11.
MOVE rec_ekpo-effwr TO rec_contr-effwr.
mod-002
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-effwr
IMPORTING
AMOUNT_EXTERNAL = l_eff_amount.
rec_contr-effwr = l_eff_amount.
*mod-002
MOVE rec_ekpo-xersy TO rec_contr-xersy.
APPEND rec_contr TO i_contr.
CLEAR: rec_ekpo,rec_contr.
mod-002
CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
mod-002
ENDLOOP.
Modifying i_contr using i_ekko.
SORT i_ekko BY ebeln.
LOOP AT i_contr INTO rec_contr.
READ TABLE i_ekko INTO rec_ekko WITH KEY
ebeln = rec_contr-ebeln
BINARY SEARCH.
MOVE rec_ekko-bukrs TO rec_contr-bukrs.
MOVE rec_ekko-bstyp TO rec_contr-bstyp.
MOVE rec_ekko-aedat TO rec_contr-aedat.
MOVE rec_ekko-ernam TO rec_contr-ernam.
MOVE rec_ekko-lifnr TO rec_contr-lifnr.
MOVE rec_ekko-zterm TO rec_contr-zterm.
MOVE rec_ekko-ekorg TO rec_contr-ekorg.
MOVE rec_ekko-ekgrp TO rec_contr-ekgrp.
MOVE rec_ekko-waers TO rec_contr-waers.
MOVE rec_ekko-wkurs TO rec_contr-wkurs.
MOVE rec_ekko-kdatb TO rec_contr-kdatb.
MOVE rec_ekko-kdate TO rec_contr-kdate.
MOVE rec_ekko-inco1 TO rec_contr-inco1.
MODIFY i_contr FROM rec_contr.
ENDLOOP.
ENDIF.
REFRESH: i_ekko,
i_ekpo.
CLEAR : rec_ekko,
rec_ekpo,
rec_contr.
ENDFORM. "select_contracts
Thanks.
Maybe you are looking for
-
Currency Translation in Query on InfoSet
Hi Experts, I need to do a currency conversion from 0LOC_CURRENCY to USD on an Infoset. The Data flow is DSOs --> Infoset --> Multiprovider --> Query. I want to do this Translation on Posting date which is in my DSO, Infoset and Multiprovider. I have
-
I am having a **** of a time installing CS6, any thoughts?
month old imac...bought CS6, download fine...many times... due to.... WILL NOT INSTALL....i got checksum errors and then i just got a log of 452 errors....which sadly i cannot decode...have spent HOURS online, screen sharing with adobe to fix this
-
Hello guys , For sap production system we have 4 nod. In smlg we have defin a group that sends the desired nod. Connecting the sap-gui on one of the nodes can make the system both directly and by group . He wants to block access connections that com
-
hi ive calculated the sum of a field in ALV on a webdynpro page but the sum is appearing at the top of the ALV is there a way so that it appears at the bottom of the ALV?
-
Will I be able to use my iPad in Singapore?
I want to take this on a trip this spring, but do I have to do something so I can have Internet in Singapore. Need the easiest solution! Thanks.