Customize one entry (value) in many languages
Hi, Do anyone know how to customize one entry (value) in 2 different languages, for example so it will appear with english text when you are logged in from UK and swedish when being logged in from sweden? Also, do anyone know how to do the same with organizational objects?
I do not know of any freeware DVD/BD authoring programs, that offer Sub-Titles.
While there may be more commercial programs available, I only know of DVD Architect, Adobe Encore (only available with Premiere Pro) and Sonic Scenarist (monsterously expensive at about US $ 50,000 for the full DVD program, and even more expensive for the BD version).
I do Sub-Titles in Encore, and it works fine. Steve has used DVD Architect, and has even written a book on that program. For other possibilities, you might want to look to CyberLink, Roxio and Nero, as they also have some authoring capabilities, but I do not know if any of their programs do Sub-Titles.
Good luck,
Hunt
Similar Messages
-
SapScript - Print table out_par - more than one entry for object
Hi Gurus,
following problem.
I have a SapScript form and call an external program from within the form.
In this programm I get more than one entry for the same out_par-value - this is correct.
My problem now is that on the form there is only printed one of the entrys.
Here my coding in SapScript.
/: DEFINE &ZZ_OBJECT& = ' '
/: PERFORM LESEN_OBJEKTLIST IN PROGRAM ZIHFORM
/: USING &CAUFVD-AUFNR&
/: CHANGING &ZZ_OBJECT&
/: ENDPERFORM
* All involved object:
* &ZZ_OBJECT&
Many thanks in advance for your help.
RegardsIn Sapscript PERFORM-ENDPERFORM statements, the parameters can contain only one value as they are variables of type character & length 80.
If you want multiple values in your CHANGING parameters, fetch all of them in different variables. Also, in your program store them in the same order, in the output internal table of structure ITCSY.
Check this thread
http://wiki.sdn.sap.com/wiki/display/profile/ExternalSubroutinesinSAPScript -
Search Help User Exit (if "one" entry in hit list, skip hit list and export)
Hi everyone,
I hope you can help me. I spent many hours on this one but I just could not find a solution (by myself and by searching google and searching the SCN).
Problem like thread subject.
I have the requirement to create a search help using search help exit. Done so far. My search help works fine. There´s a Sel Opt and I get the hit list with several entries. "But" I have one problem. If there is only one entry I have to skip the hit list and just export the value straight to the caller.
I just don´t get it to work. I used the function module F4UT_PARAMETER_RESULTS_PUT but there was no value in shlp-interface-value. Record Tab was written, but value is not exported.
Maybe you got some hints for me?`
Best regards
DominikHi Raymond,
I passed as followed:
***CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
*** EXPORTING
*** PARAMETER = 'DOC_ID'
*** VALUE = ls_disp_data-doc_id
*** fieldname = 'DOC_ID'
*** TABLES
*** SHLP_TAB = SHLP_TAB
*** RECORD_TAB = RECORD_TAB
*** SOURCE_TAB = lt_disp_data
*** CHANGING
*** SHLP = SHLP
*** CALLCONTROL = CALLCONTROL
*** EXCEPTIONS
*** PARAMETER_UNKNOWN = 1
*** OTHERS = 2.
LT_DISP_DATA is filled with one entry only. DOC_ID is the name of the field I want the value to be set.
Update: It´s fixed. I reset the whole thing. I did set callcontrol-step = 'RETURN' after function call, "but" at the end of the coding there was a leftover from previous tries (an empty if callcontrol-step = 'RETURN' -shell). By setting this condition explicitly the "standard flow" was interrupted.
So, in short: I had to delete the empty if-condition for callcontrol-step = RETURN and then it worked.
Thank you all for your feedback, hints and suggestions!
Best regards,
Dominik -
Data mart from two DSOs to one - Loosing values - Design issue
Dear BW experts,
I´m dealing with a design issue for which I would really appreciate any help and suggestions.
I will be as briefly as possible, and explain further based on the doubts , questions I received in order to make it easier go through this problem.
I have two standard DSOs (DSO #1 and #2) feeding a third DSO (DSO #3), also standard.
Each transformation DOES NOT include all fields, but only some of them.
One of the source DSO (let´s call it DSO #1) is uploaded with a datasource that allows reverse type of records (Record Mode = 'R'). Therefore some updates on DSO #1 comes with one entry with record mode 'R' and a 2nd entry with record mode = 'N' (new).
Both feeds are delta mode, and not the same entries are updated through each of them, but the entries that are updated can differ (means an specific entry (unique key values) could be update by one of the feeds, but no updates on the 2nd feed for that entry).
Issue we have: When a 'R' and 'N' entries happen in DSO #1 for any entry, that entry is also reversed and re created in the target DSO #3 (even being that not ALL fields are mapped in the transformation), and thefore we loose ALL the values that are exclusively updated through DSO #2, becoming blank.
I don´t know it we are missing something in our design, or how should we fix this issue we have.
Hope I was more or less clear with the description.
´d really appreciatted your feedback.
Thanks!!
GustavoHi Gustavo
Two things I need to know.
1. Do you have any End Routine in your DSO? If yes, what is the setting under "Update behavior of End Routine Display"....Option available right side of Delete Button ater End Rouine.
2. Did you try with Full Load from DSO1 and DSO2 to DSO3? Do you face the same problem?
Regards
Anindya -
Bursting Error : ZIP file must have at least one entry
Hai All,
I am trying to Burst report in 11.5.10.2 instance. When tried bursting it the it got the following error.
XML Publisher: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOBURSTREP module: XML Publisher Report Bursting Program
Current system time is 04-JUN-2009 12:40:16
XML/BI Publisher Version : 5.6.3
Request ID: 387463
All Parameters: ReportRequestID=387460:DebugFlag=Y
Report Req ID: 387460
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:ERP
Preparing parameters
null output =/d02/appluat/uatcomn/admin/out/UAT_erp/o387463.out
inputfilename =/d02/appluat/uatcomn/admin/out/UAT_erp/o387460.out
Data XML File:/d02/appluat/uatcomn/admin/out/UAT_erp/o387460.out
Set Bursting parameters..
Temp. Directory:/tmp
[060409_124018651][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
[060409_124018653][][STATEMENT] setOAProperties called..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=387460, user-variable:cp:language=en, user-variable:cp:responsibility=50352, user-variable.OA_MEDIA=http://erp.adgs.ae:8030/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=387460, user-variable:cp:locale=en-US, user-variable:cp:user=GVU, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=387463, user-variable:cp:org_id=103, user-variable:cp:reportdescription=Pension Fund}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:292)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Can anyone please help me on this..
RegardsPl help me is there any way to overcome this error, when supplier email address is present then , bursting file works fine, if supplier address is null , then it is giving me error , please find the error also.........
Bursting XML File ...........
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/XXDBD_POPRPOP_SA/LIST_G_INIT_INFO/G_INIT_INFO/LIST_G_HEADERS/G_HEADERS">
<xapi:delivery>
<xapi:email server="mailgate.XXX.com" port="25" from="[email protected]">
<xapi:message id="emailpo" to="${CP_VENDOR_EMAIL}" cc="[email protected],[email protected]" attachment="true"
subject="Purchase Order No: ${POH_PO_NUM}">
Please find attached PO ${POH_PO_NUM}.
Regards,
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="Purchase Order ${POH_PO_NUM}" output-type="pdf" delivery="emailpo">
<xapi:template type="rtf" location="xdo://XXDBDPO.XXDBD_POXPRPOP_SA1.en.US/?getSource=true" filter=".//G_HEADERS[CP_VENDOR_EMAIL !='']"></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
ERROR Generated from bursting file ............Pl help me...........its urgent .............
XML/BI Publisher Version : 5.6.3
Updating request description
Retrieving XML request information
Preparing parameters
Set Bursting parameters..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=529232, user-variable:cp:language=en, user-variable:cp:responsibility=20707, user-variable.OA_MEDIA=http://usncx054.XXX.com:8015/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=529232, user-variable:cp:locale=en-US, user-variable:cp:user=RAJULAT, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=529233, user-variable:cp:org_id=84, user-variable:cp:reportdescription=DBD Printed Purchase Order Report English, user-variable:cp:Dummy for Data Security=Y}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Thanks -
DEBMAS failed in target R/3 system - one entry is missing in VBUK.
Hi,
I have got an issue while sending a customer from one R/3 to another R/3 system using BD12.
The inbound IDoc in the receiving system got failed by stating " Entry 0050001076 does not exist in VBUK - check your entry ", means one entry is missing in the table. VBUK table is holding data of sales documents, i sent the customer alone from the source system but i am not sure why this sales documents involved in that IDoc. I couldn't find the segment for the error data in the IDoc too. looks weird for me.
Please let me know your idea on how to resolve this issue.
Thank you.
Regards
Lakshman.VHi Laksman,
Looking to your error it seems that the receiving system is failing the inbound IDOC as it might be configured to accept the sales documents informations though it is not maintained in your IDOC.Check your SPRO settings.
Also check for the record values of the customers that you are trying to post.There can be a possiblity that you are posting the record for which the sales related information is already maintained. In that case you might get this error.Check for that particular record in the receving system.
Hope it helps.
Thanks,
Minaz -
Search help dialog when there is only one entry
Hi experts,
I am developing a Webdynpro app and I can't find the way of skiping the search help dialog when there is only one entry on the result, just like in SE37 when you put the function name with * and it automatically puts the only ocurrence in the field with no dialog for selection. Right now my application is working correctly but it alwas show the dialog even when there is only one entry on the result.
Thanks in advance!
Daniel
Moderator message - Moved to the correct forum
Edited by: Rob Burbank on May 4, 2011 2:35 PMHi,,
Use OVS to achieve this., when u press start search select the values from table into internal table (lt_object_list)
n = lines( lt_object_list ). " this gives the number of records in internal table..
if n = 1.
set_attribute( ) .. to the input field.
else.
co phase 3.
call popup window to display objects
endif.
hope this helps u.,
Thanks & Regards,
Kiran -
How to make vertical scrollbar visible for listbox which shows one entry only?
I have resized listBox to display only one entry of char* items. As there is only one item displayed vertical scrollbar is not visible. Is there a way to show the scrollbar when listbox display is sized to show only one item?
Using up/down arrow it does scroll through other entries.
CLD,CTDThe only problem using ring instead of listbox is that when there is a lot of items it pulls down the ring and hids all the other GUI items behind it.
Real estate was one reason of using list box and displaying one value. I did change the list box as a control instead of indicator but still cant get the scrollbar funcitonality.
ANy other suggestion, thanks!
CLD,CTD -
Getting an error " Atleast one entry could not be found in object buffer"
Hi All,
I m facing an peculiar problem while executing a custom Function Module.I have written a custom FM to create a service request and fetch the obj ID and return it back.When i tested the same in debugging mode everything is working fine. But when i execute it directly, It is giving me an error saying " Atleast one entry could not be found in object buffer" at the bottom of the screen and return parameters are not displayed.
Any pointers on this would be of great help.
Thanks,
EurekaHi Phani,
PFB the source code. Please look in to this at your convenient time..
FUNCTION ZSERVICE_TICKET_INC_EDIORDERS.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(ZPROCESS_TYPE) TYPE CRMT_PROCESS_TYPE
*" EXPORTING
*" REFERENCE(ZOBJECT_ID) TYPE CRMT_OBJECT_ID_DB
* PARAMETER QUANTITY TYPE CRMT_SCHEDLIN_QUAN.
* DATA DECLARATION FOR LOCAL VARIABLES
DATA : lv_header_guid TYPE GUID_32,
lv_header_guid16 type guid_16,
lv_item_guid TYPE guid_32,
lv_sched_guid TYPE guid_32,
lt_header_guid16 type CRMT_OBJECT_GUID_TAB,
wa_header_guid16 like line of lt_header_guid16.
DATA: itab_header TYPE STANDARD TABLE OF bapibus20001_header_ins,
itab_created_process TYPE STANDARD TABLE OF bapibus20001_header_ins,
itab_objects_to_save TYPE STANDARD TABLE OF bapibus20001_guid_dis,
itab_partner TYPE STANDARD TABLE OF bapibus20001_partner_ins,
itab_input_fields TYPE STANDARD TABLE OF bapibus20001_input_fields,
itab_return TYPE STANDARD TABLE OF bapiret2,
lt_orderadm_h type CRMT_ORDERADM_H_WRKT.
* DATA DECLARATION WORKAREAS
DATA: wa_header TYPE bapibus20001_header_ins,
wa_partner TYPE bapibus20001_partner_ins,
* wa_item TYPE bapibus20001_item,
* WA_SCHEDLIN_I TYPE BAPIBUS20001_SCHEDLIN,
ls_inputfields TYPE bapibus20001_input_fields,
wa_objects_to_save LIKE LINE OF itab_objects_to_save.
* wa_pricing TYPE bapibus20001_pricing,
* wa_sales TYPE bapibus20001_sales,
* wa_shipping TYPE bapibus20001_shipping,
* wa_product_i TYPE bapibus20001_product.
* wa_schedlin_i LIKE LINE OF lt_schedlin_i,
* wa_schedlines LIKE LINE OF lt_schedlines,
DATA: wa_created_process LIKE LINE OF itab_created_process,
itab_saved_objects TYPE STANDARD TABLE OF bapibus20001_object_id,
wa_saved_objects LIKE LINE OF itab_saved_objects,
gc_x TYPE c.
gc_x = 'x'.
* CREATION OF HEADER GUID
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_16 = lv_header_guid16
ev_guid_32 = lv_header_guid.
CLEAR : wa_header.
data: temp type CRMT_OBJECT_GUID_TAB.
*temp = (CRMT_OBJECT_GUID_TAB)lv_header_guid16.
* Passing the respective values from the Header table to internal table.
wa_header-guid = lv_header_guid.
* zprocess_type = 'ZSC'.
wa_header-process_type = zprocess_type.
* wa_header-description = 'MY S2D ORDER'.
APPEND wa_header TO itab_header.
*Appending the values to the ITAB_HEADER.
* ls_inputfields-ref_guid = LV_HEADER_GUID.
* ls_inputfields-REF_KIND = 'A'.
* ls_inputfields-objectname = 'ORDERADM_H'.
** ls_inputfields-logical_key = ' '.
* ls_inputfields-fieldname = 'PROCESS_TYPE'.
* APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
* CLEAR ls_inputfields.
* HEADER PARTNER DETAILS
wa_partner-ref_guid = lv_header_guid.
wa_partner-ref_kind = 'A'.
wa_partner-ref_partner_handle = '0001'.
wa_partner-partner_fct = '00000001'.
wa_partner-partner_no = '1000007'.
wa_partner-no_type = 'BP'.
wa_partner-display_type = 'BP'.
APPEND wa_partner TO itab_partner.
* APPENDING THE ITAB_PARTNER TO INPUT_FIELDS
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'REF_PARTNER_HANDLE'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****PARTNER_FCT*********************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'PARTNER_FCT'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****PARTNER_NO**********************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'PARTNER_NO'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****NO_TYPE*************************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'NO_TYPE'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****DISPLAY_TYPE********************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'DISPLAY_TYPE'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
*****KIND_OF_ENTRY*******************************
* ls_inputfields-ref_guid = LV_HEADER_GUID.
* ls_inputfields-REF_KIND = 'A'.
* ls_inputfields-objectname = 'PARTNER'.
* ls_inputfields-logical_key = '0001'.
* ls_inputfields-fieldname = 'KIND_OF_ENTRY'.
* APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
* CLEAR ls_inputfields.
*Calling a standard BAPI to create SALES OREDER using the filled internal tables.
CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
TABLES
header = itab_header
* item = itab_item
return = itab_return
partner = itab_partner
input_fields = itab_input_fields
created_process = itab_created_process.
* APPOINTMENT = ITAB_APPOINTMENT
* TEXT = ITAB_TEXT
* scheduleline = lt_schedlin_i
* pricing = itab_pricing
* sales = itab_sales
* shipping = itab_shipping
* product = itab_product_i.
READ TABLE itab_created_process INTO wa_created_process WITH KEY guid = lv_header_guid BINARY SEARCH.
wa_objects_to_save-guid = wa_created_process-guid.
* Appending the Guid of the SALES ORDER to be saved to the internal table
APPEND wa_objects_to_save TO itab_objects_to_save.
* Calling standard BAPI to save the process.
CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
EXPORTING
update_task_local = space
save_frame_log = gc_x
TABLES
objects_to_save = itab_objects_to_save
saved_objects = itab_saved_objects
return = itab_return.
* Calling the Standard BAPI to Commit the transcation.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
wa_header_guid16 = lv_header_guid16.
append wa_header_guid16 to lt_header_guid16.
* Calling CRM_ORDER_READ to get the object id and add line item to the order
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
IT_HEADER_GUID = lt_header_guid16
IMPORTING
ET_ORDERADM_H = lt_orderadm_h
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data: object_id type CRMT_OBJECT_ID_DB,
wa_orderadm_h like line of lt_orderadm_h.
read table lt_orderadm_h into wa_orderadm_h WITH KEY guid = lv_header_guid.
object_id = wa_orderadm_h-object_id.
Zobject_id = wa_orderadm_h-object_id.
WRITE: / 'Object ID: ',object_id.
ENDFUNCTION. -
An entry value is same with the next
hello
in a Map data structure, how can I detect if an entry value is same with the next one ?
regardsWhat you can do is:
Save the first value in a variable and then compare it with the next one. Once you compare it; store the new value i.e. the second one in the variable and then compare this with the third one and so on. -
MATMAS05 - description field in many languages
Hi all,
Weu2019re working with MATMAS05 for sending materials from MDM to ECC, we are using the syndicator mapping and the standard interface for SAP. The interface is working almost well; we just have an issue in the u201Cmaterial description fieldu201D because we need to send a description per language. To do it, we split by value the u201Cdescriptionu201D field in the syndicator map and we are mapping this field with the SPRAS field in ECC, the segment for this field is E1MAKTM.
The problem is, the SPRAS field in ECC is waiting for one-letter value to identify the language (I tested this with the transaction we19 in ECC) and the standard split in syndicator sends a two-letter value. For example: MDM sends u201CENu201D and ECC needs u201CEu201D.
The question is how can I send the right value for ECC?
Thks,
Claudia GómezHi Claudia,
If you wish to maintain and syndicate only one character for the language field.
Besides the above mentioned methods,you can also to the following.
- Create the language field in the MDM rep with field width restricted the length 1.
- This will allow MDM to store only the first character for the language value
- And so while syndicating too you can syndicate just the single value.
Hope It Helped
Thanks & Regards
Simona Pinto -
Accessing env-entry value from a java class
Hi,
I have my env-entry element declared in ejb-jar.xml like this
<env-entry>
<env-entry-name>ConfigFile</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>centaur</env-entry-value>
</env-entry>
and if I access that value from the EJB of that ejb-jar.xml, it is giving the right value. But when I am trying to retrieve the same from a java class, that is throwing exception "javax.naming.NameNotFoundException: Unable to resolve 'ConfigFile' Resolved ; remaining name 'ConfigFile'"
I think this is because env-entry has access to only EJB to maintain security?
or can env-entry elemenets cab be accessed outside the EJB and some thing I am doing wrong here?
can some one help me here?Hey Frank,
The JCo, DI API and DB are all on PL 18. I have found that the error only occurs for one business partner, and that business partner had a service contract added to it the day before the error started to occur. Also the business partner in question is the only business partner with a service contract which would explain why it is the only one experiencing these problems. It could be a coincidence but I will let you know what the outcome is.
Carla -
Accessing env-entry value from outside a bean
Hi,
I have my env-entry element declared in ejb-jar.xml like this
<env-entry>
<env-entry-name>ConfigFile</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>centaur</env-entry-value>
</env-entry>
and if I access that value from the EJB of that ejb-jar.xml, it is giving the right value. But when I am trying to retrieve the same from a java class, that is throwing exception "javax.naming.NameNotFoundException: Unable to resolve 'ConfigFile' Resolved ; remaining name 'ConfigFile'"
I think this is because env-entry has access to only EJB to maintain security?
or can env-entry elemenets cab be accessed outside the EJB and some thing I am doing wrong here?
can some one help me here?The java:comp/env namespace is local to the J2EE component (ie the EJB).
You could certainly have a business method that returned the value and call the business method from a java class.
Or your EJB could lookup the env-entry in JNDI and store it in another data structure.
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
I try to receive data from a SharePoint List by using REST Services. (_vti_bin/ListData.svc)
This approach worked fine for some days, until I get an error 400 with following error message:
"The etag value 1 specified in one of the request headers is not valid. Please make sure only one tag value is specified and is valid."
Hope anybody can help.
Many thanks in advance.
Hi,
According to your post, my understanding is that you had an issue about retrieve data form list using REST in SharePoint 2010.
I had created a simple demo to retrieve a list item, you can check with the following code snippets.
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("callCSOM");
function callCSOM()
$("#Button1").click(function()
ExecuteOrDelayUntilScriptLoaded(ready, "sp.js");
function getListItemById(webUrl,listName, itemId, success, failure) {
var url = webUrl + "/_vti_bin/listdata.svc/" + listName + "(" + itemId + ")";
$.ajax({
url: url,
method: "GET",
headers: { "Accept": "application/json; odata=verbose" },
success: function (data) {
success(data.d);
error: function (data) {
failure(data.responseJSON.error);
function ready(){
getListItemById('http://sp','ListB',2,function(data){
alert(data.Title);
function(error){
console.log(JSON.stringify(error));
</script>
<input id="Button1" type="button" value="Run Code"/>
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support -
Sending more than one name value pair via ajaxRequest.add()
Hi all,
I'm implementing AJAX in Oracle Application Express to perform DML operations on a table. I need to send more than one name value pair via the ajaxRequest object. Can someone guide me how to achieve this? Say for example i need to send 2 values(need to send 2 form elements when submit button is clicked) P3_region and P3_scope. i tried the following methods.
Method 1:
======
ajaxRequest.add('P3_region',document.getElementById('P3_region').value);
ajaxRequest.add('P3_scope',document.getElementById('P3_scope').value);
Method 2:
======
ajaxRequest.add('P3_region',document.getElementById('P3_region').value,'P3_scope',document.getElementById('P3_scope').value);
Neither of them is fruitful. Can someone guide me how to achieve this?
Regards,
Balaji Radhakrishnan.Hi Roel,
The javascript goes like this.
<script language="JavaScript" type="text/javascript">
function getElement1()
document.getElementById('P3_Element1').value = '';
var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=Element1Process',0);
ajaxRequest.add('P3_Element2',document.getElementById('P3_Element2').value);
ajaxRequest.add('P3_Element3',document.getElementById('P3_Element3').value);
ajaxRequest.add('P3_Element4',document.getElementById('P3_Element4').value);
ajaxRequest.add('P3_Element5',document.getElementById('P3_Element5').value);
ajaxRequest.add('P3_Element6',document.getElementById('P3_Element6').value);
ajaxResult = ajaxRequest.get();
if(ajaxResult)
var wsArray = ajaxResult.split("~");
document.getElementById('P3_Element1').value = wsArray[0];
</script>
The application Process goes like this..
declare
v_Element1 VARCHAR2(60);
begin
select distinct Element1 into v_Element1 from TableA where Element2=:P3_Element2 AND Element3=:P3_Element3 AND Element4=:P3_Element4 AND Element5=:P3_Element5 AND Element6=:P3_Element6;
htp.prn(v_Element1);
exception
when others then
v_Element1 := 'Invalid Header Combination';
htp.prn(v_Element1);
end;
The requirement goes like this..
When i give Element2, Element3,Element4,Element5,Element6 as input in the form page the Element1 should get displayed automatically without refreshing the page. But when i use the above javascript and application process i get the Element1 loaded with some html scripts. I call the javascript using onChange() function.
Regards,
Balaji Radhakrishnan.
Maybe you are looking for
-
Using Bex query through Query Browser - add result set to Cell range?
Hi all, I have up to now used Xcelsius on NW with BICS connection towards BEx queries. When I use this connection via Data Manager in Xcelsius, I'm able to use the Cross-table functionality to insert my entire dataset into a cell Range. But now I hav
-
List sql backups in a folder then restore the selected backup to the selected database
Hi I'm created a script that lists the backups in a folder then allows user input to select a backup. It then needs to list the sql database on a specific server and accepts user input. I can list the backups as follows $Dir = get-childitem $CurDir -
-
Hi. Anyone been able to install Portal 1.0.2.1 on Solaris 8 for Intel. I have a 8.1.7.1 database installed. I did all the settings recommend in the installation manual before starting the installation. The installation stops at round 56% with the fol
-
[APP] Thumbs Keyboard for A2109
I just wanted to pass along my experience with this keyboard. The app has different keyboard sizes which fit 7" and 9" tablets. The layout is really good and there are 20 keys you can customize. So far I am pretty happy with it, I just gotta get thos
-
Hi All, I have requirement to extract the jobs which ever cancelled for last one month, if it were a few jobs we would have taken it from SM37, but jobs number are in plenty. So, i would like to use the TBTCO to get the all cancelled jobs which shoul