Adding supplier text during runtime in SC
Hi Experts,
I am doing an enhancement to add supplier text in describe requirement screen. When the item is added to the shopping cart I am doing enhancement at the end of the method in class /SAPSRM/CL_CH_WD_DODM_SC_I_DSC
method /SAPSRM/IF_CLL_DODM_SC_I_DESCR~ADD_DESCRIBED_ITEM_TO_TABLE to add the supplier text to shopping cart item.
There is a standard code in method /SAPSRM/IF_CLL_DODM_SC_I_DESCR~ADD_DESCRIBED_ITEM_TO_TABLE which adds the internal note to the item is like
* set Data to pdo-object
"prepare call
lo_pdo_sc ?= mo_pdo.
"call
TRY.
lo_pdo_sc->add_item( EXPORTING is_item = ls_pdo_item
iv_uname = sy-uname
iv_account_for_ess = iv_ess
IMPORTING es_return = ls_pdo_item_control
CHANGING co_message_handler = mo_pdo_message_consumer ).
* Add internal note as longtext
wd_main_node = mon_cll_set_facade->get_main_node( ).
wd_child_node = wd_main_node->get_child_node( name = 'INTERNAL_NOTE' ).
wd_child_node->get_attribute( EXPORTING name = 'INTERNAL_NOTE' IMPORTING value = lv_internal_note ).
TRY.
CALL METHOD lo_pdo_sc->/sapsrm/if_pdo_do_longtext~update_longtext
EXPORTING
iv_p_guid = ls_pdo_item_control-guid
iv_tdid = 'NOTE'
iv_tdspras = sy-langu
iv_tdformat = 'X'
iv_text_preview = lv_internal_note
* CHANGING
* EV_CHANGED = LV_CHANGED
* CO_MESSAGE_HANDLER =
CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
ENDTRY.
* update
mo_pdo->submit_update( CHANGING co_message_handler = mo_pdo_message_consumer ).
* because view will be invalidated: clear the mapper reference from the bo_mapper
mo_parent_bo_mapper->deregister_mapper( io_mapper = me ).
* refresh whole application because e.g. Total value of sc has maybe changed.
* updates were performed a step before
mo_parent_bo_mapper->fire_event_refresh( iv_perform_updates = abap_false ).
* close window
lo_window_controller = mo_wd_view_controller->get_embedding_window_ctlr( ).
lo_window = lo_window_controller->get_window( ).
lo_window->close( ).
ev_close_window = abap_true.
I have done the similar code for updating the long text changing the tdid to HTXT but since I am not adding the item to the SC I have just implemented the update_longtext method. The text is being added to the buffer but not saved and reflected in SC.
I have implemented the following in the enhancement.
CALL METHOD lo_pdo_sc->/sapsrm/if_pdo_do_longtext~update_longtext
EXPORTING
iv_p_guid = ls_pdo_item_control-guid
iv_tdid = 'HTXT'
iv_tdspras = sy-langu
iv_tdformat = 'X'
iv_text_preview = lv_internal_note
* update
mo_pdo->submit_update( CHANGING co_message_handler = mo_pdo_message_consumer ).
What should I do to save the changed text?
hello srinivas,
I am not sure about long text but i have updated PO item in run time.
Please find the code below may be it will be helpful for you.
Try the same for SC.
DATA: lo_bom_po TYPE REF TO /sapsrm/if_cll_bom_po,
lo_bo_po_adv TYPE REF TO /sapsrm/cl_pdo_bo_po_adv,
lo_pdo TYPE REF TO /sapsrm/if_pdo_base,
lo_task_factory TYPE REF TO /sapsrm/if_cll_taskcon_factory,
lo_task_container TYPE REF TO /sapsrm/if_cll_task_container.
DATA : lx_pdo_no_authorization TYPE REF TO /sapsrm/cx_pdo_no_authorizatio,
lx_pdo_wrong_mode TYPE REF TO /sapsrm/cx_pdo_wrong_mode,
lrcl_current_controller TYPE REF TO if_wd_controller,
lrcl_message_manager TYPE REF TO if_wd_message_manager.
lo_task_factory = /sapsrm/cl_ch_wd_taskcont_fact=>get_instance( ).
IF lo_task_factory IS NOT INITIAL.
lo_task_container = lo_task_factory->get_task_container( ).
IF lo_task_container IS NOT INITIAL.
lo_bom_po = lo_task_container->get_bom_po( ).
lo_pdo = lo_bom_po->/sapsrm/if_cll_bo_mapper~get_pdo( ).
lo_bo_po_adv ?= lo_pdo.
ENDIF.
ENDIF.
TRY.
CALL METHOD lo_bo_po_adv->/sapsrm/if_pdo_bo_po~update_item
EXPORTING
it_item = lt_pd_item.
CATCH /sapsrm/cx_pdo_no_authorizatio INTO lx_pdo_no_authorization .
RAISE EXCEPTION TYPE /sapsrm/cx_pdo_abort EXPORTING previous = lx_pdo_no_authorization.
CATCH /sapsrm/cx_pdo_wrong_mode INTO lx_pdo_wrong_mode .
RAISE EXCEPTION TYPE /sapsrm/cx_pdo_abort EXPORTING previous = lx_pdo_wrong_mode.
ENDTRY.
" don't forget to submit the changes
lo_pdo->submit_update( ).
Regards,
Neelima
Similar Messages
-
How can i change/create F1 doku text during runtime
Hi everybody,
I have a problem.
During runtime the user should be able to create a documentation. This documentation must be stored in the F1 help of a data type.
It's easy to get the created help text out of the F1 help.
But is there any possibility to set the help text of a data type during runtime without calling and displaying the document maintenance initial screen?
Can anybody help me?
Thanks & RegardsHi Max,
thank you for your answer. But I think I don't realy understand.
The documentation should be created for a pattern which is created by the user. I just schould be stored in the F1 help of a data type.
So there is no field on the screen for which i can use this event.
Is there a function or something like this i can call to open the document maintenance starting with the "change" screen?
Thanks & Regards,
Christian -
Edit Button text during runtime (Javascript )
I am able to display the contents of a button's text.. using
xfa.host.messageBox("" +EditButton.caption.value.text.value);
however if I try to change that value, it does not change. Is there a different property to modify to change the value of the text on a button during runtime?Hello Andrew,
In JavaScript, try this:
b On Click Event.
> xfa.resolveNode("this.caption.value.#text").value = "New Text";
It should work...
Dan -
Change XSD / XML dataset during runtime and display texts in field explorer
Hi there,
I am changing the datasource of a report during runtime. Afterwards, I would like to change the texts of the fields appearing in the field explorer.
I tried:
CrystalDecisions.ReportAppServer.DataDefModel.XMLDataSetClass xmlDS =
new CrystalDecisions.ReportAppServer.DataDefModel.XMLDataSetClass();
byte[] xmlContent = reportContent.getXmlContent();
byte[] xsdContent = reportContent.getXsdContent();
CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray xmlData =
new CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray();
CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray xsdData =
new CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray();
xmlData.ByteArray = xmlContent;
xmlDS.XMLData = xmlData;
xsdData.ByteArray = xsdContent;
xmlDS.XMLSchema = xsdData;
rasDoc.DatabaseController.SetDataSource(xmlDS, "", "");
rasDoc.Database.Tables[0].Description = "POMMES";
for (int i = 0; i < rasDoc.DatabaseController.Database.Tables[0].DataFields.Count; i++)
rasDoc.Database.Tables[0].DataFields.Name = "TEST";
MessageBox.Show(rasDoc.Database.Tables[0].DataFields.Name);
rasDoc.Database.Tables[0].DataFields.HeadingText = "HOORAY";
rasDoc.Database.Tables[0].DataFields.Description = "NOPE";
MessageBox.Show(rasDoc.Database.Tables[0].DataFields.Description);
MessageBox.Show(rasDoc.Database.Tables[0].DataFields.HeadingText);
When running this, the message boxes include the right strings I set before but when this is done, the filed explorer still shows no changes. What am I doing wrong?
Also, I would like to change the field texts that are displayed in the field explorer. How can this be done?
Thanks,
PascalAlso, I do not understand why I am not able to change the display of the fields in the filed explorer.
This coding does not change a bit, but why??
//preparation
string tableName = reportDataSet.Tables[0].TableName;
// Get the table definition exactly like the definition of my own dataset.
CrystalDecisions.ReportAppServer.DataDefModel.Table table = GetTable(tableName);
table.ConnectionInfo = connectionInfo;
//delete all existing tables if there are any
foreach (CrystalDecisions.ReportAppServer.DataDefModel.Table oldTable in rasDoc.DatabaseController.Database.Tables)
rasDoc.DatabaseController.RemoveTable(oldTable.Name);
//add my new table with the IDs of the XSD
rasDoc.DatabaseController.AddTable(table, null);
//now I want to change the displayed fields texts
CrystalDecisions.ReportAppServer.DataDefModel.Tables modifyTables =
rasDoc.DatabaseController.Database.Tables;
CrystalDecisions.ReportAppServer.DataDefModel.Table myTable =
(CrystalDecisions.ReportAppServer.DataDefModel.Table)modifyTables[0];
Fields fields = myTable.DataFields;
for (int i = 0; i < fields.Count; i++)
ISCRField field = fields<i>;
ResultFieldController resultFieldController =
rasDoc.DataDefController.ResultFieldController;
try
resultFieldController.Remove(field);
string sText = "";
sText = "Bäschreibung" + i.ToString();
field.Description = new string(sText.ToCharArray());
sText = "Häding" + i.ToString();
field.HeadingText = new string(sText.ToCharArray());
//sText = "Näme" + i.ToString();
//field.Name = new string(sText.ToCharArray());
resultFieldController.Add(-1, field);
catch (Exception exp)
MessageBox.Show(exp.Message);
I am completely stuck.
Thanks for any help.
Pascal
Edited by: Pascal Schmidt-Volkmar on Sep 30, 2008 9:31 AM -
How can i add items like display,text etc during runtime as it is done in visual basics
In Forms you can set items invisible. You can do it by Set_Item_Property('your_item',VISIBLE,PROPERTY_FALSE).You can also change position of item. All about what you can do with item you can read in the Forms on-line help "Set_Item_Property built-in".
I hope this will help you.
Helena
null -
Object Referenced Error When calling the Windows Form during Runtime
Hi,
I am getting Object reference errors when running windows form during runtime. In debugging mode in MS Visual studio 2005, I am not getting this error. I'm calling the window form from menu and called the window in a thread as suggested in one of forums . I don't see anyone in the forum mentioned this problem I have. Any help would be deeply appreciated. Below are the error and code samples.
ERROR Message
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Project1.Loadxml.Loadxml_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edited by: Albert Tio on Feb 16, 2011 9:55 AMHere is the code.
Option Strict Off
Option Explicit On
Friend Class GetEvents
Public WithEvents SBO_Application As SAPbouiCOM.Application
Public SboGuiApi As SAPbouiCOM.SboGuiApi
Public oForm As SAPbouiCOM.Form
Public oDBDataSource As SAPbouiCOM.DBDataSource
Public oCompany As SAPbobsCOM.Company
Public RS As SAPbobsCOM.Recordset
Public oPrev_Bank As String, oPrev_AcctType As String
Public oLoadXml As Loadxml
Public Sub SetApplication()
'Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
' by following the steps specified above, the following
' statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
' connect to a running SBO Application
SboGuiApi.Connect(sConnectionString)
' get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
End Sub
Public Sub SetCompany()
Dim ret As Long
Dim MsgStr As String
Dim Cookie As String
Dim ConnStr As String
Try
oCompany = New SAPbobsCOM.Company
Cookie = oCompany.GetContextCookie
ConnStr = SBO_Application.Company.GetConnectionContext(Cookie)
'//before setting the SBO login context make sure the company is not connected
If oCompany.Connected = True Then
oCompany.Disconnect()
End If
ret = oCompany.SetSboLoginContext(ConnStr)
If Not ret = 0 Then
Exit Sub
End If
ret = oCompany.Connect
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
MsgStr = ""
If Not ret = 0 Then
oCompany.GetLastError(ret, MsgStr)
SBO_Application.MessageBox(MsgStr)
Else
End If
End Sub
Public Sub New()
MyBase.New()
' set SBO_Application with an initialized application object
SetApplication()
SetCompany()
AddMenuItems()
End Sub
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
Dim myThread As New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf LoadXmlMainThread))
Try
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
'SBO_Application.MessageBox("My sub menu item was clicked")
'// Create a form to be launched in response to a click on the
'// new sub menu item
myThread.SetApartmentState(System.Threading.ApartmentState.STA)
myThread.Start()
'Loadxml.ShowDialog()
End If
Catch ex As Exception
SBO_Application.MessageBox("1." & ex.Message)
End Try
'If (pVal.MenuUID = "MyGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My GoTo Menu was clicked")
'End If
'If (pVal.MenuUID = "MySecondGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My Second GoTo Menu was clicked")
'End If
End Sub
Private Sub LoadXmlMainThread()
'Dim lLoadxml As New Loadxml
Try
oLoadXml = New Loadxml
oLoadXml.WindowState = FormWindowState.Maximized
oLoadXml.ShowInTaskbar = True
oLoadXml.TopMost = True
oLoadXml.Activate()
Application.Run(oLoadXml)
Catch ex As Exception
SBO_Application.MessageBox("2." & ex.Message)
End Try
End Sub
Private Sub AddMenuItems()
'// Let's add a separator, a pop-up menu item and a string menu item
Dim oMenus As SAPbouiCOM.Menus
Dim oMenuItem As SAPbouiCOM.MenuItem
Dim i As Integer '// to be used as counter
Dim lAddAfter As Integer
Dim sXML As String
'// Get the menus collection from the application
oMenus = SBO_Application.Menus
'Save an XML file containing the menus...
'sXML = SBO_Application.Menus.GetAsXML
'Dim xmlD As System.Xml.XmlDocument
'xmlD = New System.Xml.XmlDocument
'xmlD.LoadXml(sXML)
'xmlD.Save("c:
mnu.xml")
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
Dim sPath As String
sPath = Application.StartupPath
'sPath = sPath.Remove(sPath.Length - 3, 3)
If sPath.EndsWith("\") = False Then
sPath = sPath & "\"
End If
'// find the place in wich you want to add your menu item
'// in this example I chose to add my menu item under
'// SAP Business One.
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
oCreationPackage.UniqueID = "MyMenu01"
oCreationPackage.String = "Unbridle Menu"
oCreationPackage.Enabled = True
oCreationPackage.Image = sPath & "unbridle.bmp"
oCreationPackage.Position = 15
oMenus = oMenuItem.SubMenus
Try ' If the manu already exists this code will fail
oMenus.AddEx(oCreationPackage)
'// Get the menu collection of the newly added pop-up item
oMenuItem = SBO_Application.Menus.Item("MyMenu01")
oMenus = oMenuItem.SubMenus
'// Create s sub menu
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "MySubMenu"
oCreationPackage.String = "Unbridle Monitoring"
oMenus.AddEx(oCreationPackage)
Catch er As Exception ' Menu already exists
'SBO_Application.MessageBox("Menu Already Exists")
End Try
End Sub
End Class
Public Class Loadxml
'Inherits System.Windows.Forms.Form
Public sBPpath As String
Public sGLpath As String
Public sBillpath As String
Public bRun As Boolean
Private Sub Loadxml_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextGL.Text = System.Configuration.ConfigurationSettings.AppSettings("GLAcctDownloadPath").ToString()
Me.TextBP.Text = System.Configuration.ConfigurationSettings.AppSettings("BPAcctUPloadPath").ToString()
Me.TextBill.Text = System.Configuration.ConfigurationSettings.AppSettings("BillUPloadPath").ToString()
Me.NotifyIcon1.Visible = False
End Sub
End Class -
Can I create a dynamic number of inputs during runtime?
Can I create a dynamic number of inputs during runtime?
Oracle 11g
Application Express 4.0.2.00.06
Here is my problem:
We have a table that holds metadata about files (hardcopy or softcopy files).
We expect we may need more columns in the table at some point and don't want to modify the table or the application.
So in order to do this I would like to create:
A table called TBL_FILE with the columns:
TBL_FILE_ID NUMBER (This will be the primary key)
TBL_FILE_NAME VARCHAR2(1000) (This will be the name of the file)
A second table will be called TBL_FILE_META with the columns:
TBL_META_ID NUMBER (This will be the primary key)
TBL_FILE_ID NUMBER (This will be the forign key to the file table)
TBL_META_COLUMN VARCHAR2(30) (This is what the column name would be if it existed in TBL_FILE)
TBL_META_VALUE VARCHAR2(1000) (This is the value that record and the 'would be' column)
So a person can have as much meta data on the file with out having to add columns to the table.
The problem is how can I allow users to add as much data as they like with out having to re develop the page.
Other things to note is that we would like this to be on a single page.
I know how to add we can create multi-row inserts by using a SQL Query (updateable report),
however the TBL_META_VALUE column in the TBL_FILE_META will sometimes be a select list and other times a text box or number field.
So I don't see now a SQL Query (updateable report) would work for this and I can't create an array of page items at run time can I?
Any idea's how I could accomplish this? Is there a better way of doing this?
Also is there a term or a name for what I am doing by creating these 'virtual' columns in another table?
I found this method when looking at Oracles Workflow tables.Welcome to the Oracle Forums !
>
Can I create a dynamic number of inputs during runtime?
Oracle 11g
Application Express 4.0.2.00.06
Here is my problem:
We have a table that holds metadata about files (hardcopy or softcopy files).
We expect we may need more columns in the table at some point and don't want to modify the table or the application.
So in order to do this I would like to create:
A table called TBL_FILE with the columns:
TBL_FILE_ID NUMBER (This will be the primary key)
TBL_FILE_NAME VARCHAR2(1000) (This will be the name of the file)
A second table will be called TBL_FILE_META with the columns:
TBL_META_ID NUMBER (This will be the primary key)
TBL_FILE_ID NUMBER (This will be the forign key to the file table)
TBL_META_COLUMN VARCHAR2(30) (This is what the column name would be if it existed in TBL_FILE)
TBL_META_VALUE VARCHAR2(1000) (This is the value that record and the 'would be' column)
So a person can have as much meta data on the file with out having to add columns to the table.
The problem is how can I allow users to add as much data as they like with out having to re develop the page.
>
Creating Page Items dynamically is not available. You will have to create excess items and hide/show , etc. But you cannot change the Item Type. All in all, too many limitations in this approach.
>
Other things to note is that we would like this to be on a single page.
>
The 100 item limit will hit you if you go with extra item on page. With Tabular Form that should not be a limitation, unless you are exceeding the 50 item limit of APEX_APPLICATION.G_Fnn items, and the 60 column limitation of Report region with "Use Generic Column Names (parse query at runtime only)" of Dynamic region.
>
I know how to add we can create multi-row inserts by using a SQL Query (updateable report),
however the TBL_META_VALUE column in the TBL_FILE_META will sometimes be a select list and other times a text box or number field.
>
If the type if item is variable it only means you need a way to store the item type. Meta Data of the Meta Data.
>
So I don't see now a SQL Query (updateable report) would work for this and I can't create an array of page items at run time can I?
>
Yes, you can do it. Updatable report/ Tabular Form query can be constructed from the Meta Data using PL/SQL Function Returning SQL Query . It will be a bit of coding in PL/SQL where you use the Meta Data and the Meta Data of the Meta Data to piece together your SELECT with the right APEX_ITEMs. It might have a performance penalty associated with it, but will not be a serious degradation.
>
Any idea's how I could accomplish this? Is there a better way of doing this?
Also is there a term or a name for what I am doing by creating these 'virtual' columns in another table?
I found this method when looking at Oracles Workflow tables.
>
I guess that is just a good TNF. It is the Master-Detail Design Pattern, that sound more modern ? ;)
Regards, -
No mapping during runtime!!
Hi all,
I got stucked with one problem in file-xi-idoc scenario using sap xi 2.0.
I am using sender file adapter which is picking up the file from ftp server. The file contains three fields and I am placing them in a text file as
Sriram,mumbai,in.
The file adapter is picking the file successfully and converting them into xml sending to integration engine. But during runtime these fields are not mapped to target idoc structure (DEBMAS 03) and there are no errors showing in SXMB_MONI. The idoc is going to receiving sap system with error status 51. This is the payload of xml messages observed in SXMB_MONI.
<?xml version="1.0" standalone="yes" ?>
- <resultset>
- <row>
<field0>sriram</field0>
<field1>mumbai</field1>
<field2>in</field2>
</row>
</resultset>
Here is the file adapter configuration :
file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
mode=FILE2XMB
mode = file2xmbwithrowconversion
Integration Engine address and document settings (example, see docu)
XMB.TargetURL=http://ht56f4:8000/sap/xi/engine/?type=entry
#XMB.SLDConfiguration = SLDaccessor7
XMB.User = xiappluser
XMB.Password = xipass
XMB.SenderBusinessSystem = PS_LEGACY
XMB.SenderInterfaceNamespace = http://ps_crm.com
XMB.SenderInterfaceName = Customer_out
#XMB.SenderBusinessSystem=ExtAdapterSender
#XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
#XMB.SenderInterfaceName=ExtAdapterSenderIF
XMB.ContentKind=T
#XMB.ContentKind=T
#XMB.ContentType=application/xml
#XMB.ContentType=text/xml
XMB.ContentType=text/plain
XMB.QualityOfService=EO
#ftp server details
ftp.host = 10.1.45.43
ftp.port = 21
ftp.user = sapftp
ftp.password = ftp***sap123
ftp.connection = permanently
ftp.mode=Text
#file.sourceFilename = bank.txt
##File Adapter specific parameters (example, see docu)
file.sourceDir= \/pssap\/
file.sourceFilename = testing.txt
#file.processingMode=setAttribute
#file.processingMode=archive
#file.archiveDir=c:/temp_archive
file.pollInterval= 60
file.pollIntervalMsecs= 10
#file.retryInterval = 30
file.logPollInterval=YES
file.processingMode=delete
##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
#xml.fieldFixedLengths=8,9,2
xml.processFieldNames=notAvailable
xml.fieldSeparator=,
xml.enclosureConversione = YES
I am not able to test mapping in sap xi 2.0.
Any suggestions greatly helpful.Thanks,
found it.
Regards Mario -
Init context node during runtime
Hi together,
i have a question concerning initialization of a context node during runtime.
I designed my context like
Parent
Child1 Child2 Child3
The parent node is the only one where the attribute boldInitialization Lead Selectionbold s marked.
But now, its not possible to bind data to the child nodes, because they not existing during runtime.
Now my question. Which method is the best to init these child nodes when data are ready for them?
Regards,
AntonHi Abhi,
problem is, that the supply function are executed at the first time the context nodes are used. In my web dynpro application ist that during initializing the view.
So the supply functions are called at a moment where no data are available for them, because the tree view, to which they are binded, is also loaded at init method.
So in the supply methods are no data bind to the nodes and the application didn`t create them.
And when i want to fill data to the nodes they didn`t exist.
Regards,
Anton -
Copy long text during creating new assets by reference
Hi,
I would like to have copy long text during creating new assets by reference. Is it place in spro where I can set it?
Rgds, StenwaHi Stenwa,
For the field Description you cen set the indicator Indicator: "Copy field group from reference asset" in the screen layout rule.
If this indicator is set, the screen layout rule specifies that when you create an asset using another asset as a reference, the specified field group is automatically supplied with values from the reference asset.
For the logtext there is a possibility to maintaine a text in the tables STXH or STXL with key ANLA
regards Bernhard -
Extending enums during runtime
Hey folks,
i have a question concerning enums. Is it possible to extend enums during runtime? For example i have following enum:
public enum MyValues
VALUE1, VALUE2, VALUE3
}is it possible that i have a method for example which adds VALUE4 and VALUE5 to this enum???
Thanks alot.
OhnoNo, it wouldn't make sense.
The point of enums is that the possible values are known at compile time so that you can, for example, use them as switch cases.
If extra values are being added at run time you probably want some kind of Map. -
Embed fonts in dynamic TLF textfied which is created during runtime!!
Hi Experts,
I have two TLF textfileds in my application. The first TLF textfield is on the stage and the second one is created dynamically during runtime. Now I am able to embed the fonts in the first TLF textfield by using "use device fonts" since it is on stage. The flash player the rendering the data absolutely fine. I want to get the same look and feel for the second TLF textfield which is created dynamically during runtime. I tried so many ways. But it still seems ugly. Please help me out.
Here is the code I am trying.
var fmt:TextFormat = new TextFormat(); //Text Format
fmt.color = 0x000000;
fmt.font = "Verdana";
fmt.size = 14;
fmt.align="left";
fmt.bold = true;
txt.defaultTextFormat = fmt; //txt is a textfield which is on stage
txt.text = e.target.xml..textField_stage;//textField_stage is a node in the xml
txt.wordWrap = true;
var tlf:TLFTextField=new TLFTextField();
tlf.x = 80;
tlf.y= 80;
tlf.width = 290;
tlf.height = 200;
tlf.selectable=false;
tlf.mouseEnabled=false;
tlf.mouseChildren=false;
tlf.wordWrap = true;
addChild(tlf);
tlf.defaultTextFormat = fmt;
tlf.text = e.target.xml..textField_runtime; //textField_runtime is a node in the xml
Thanks for your help,
srinivasto embed fonts dynamically, you need to add a font your library (click the library panel's upper right, click new font, select your font, select your characters, tick export for actionscript and assign a class name - eg, VerdanaClass).
you would then use:
var fmt:TextFormat = new TextFormat(); //Text Format
var verdana:Font=new VerdanaClass();
fmt.color = 0x000000;
fmt.font = verdana.fontName;
fmt.size = 14;
fmt.align="left";
fmt.bold = true;
txt.defaultTextFormat = fmt; //txt is a textfield which is on stage
txt.text = e.target.xml..textField_stage;//textField_stage is a node in the xml
txt.wordWrap = true;
var tlf:TLFTextField=new TLFTextField();
tlf.embedFonts=true;
tlf.x = 80;
tlf.y= 80;
tlf.width = 290;
tlf.height = 200;
tlf.selectable=false;
tlf.mouseEnabled=false;
tlf.mouseChildren=false;
tlf.wordWrap = true;
addChild(tlf);
tlf.defaultTextFormat = fmt;
tlf.text = e.target.xml..textField_runtime; //textField_runtime is a node in the xml -
Redraw a JPanel during runtime
Hi there,
Im trying to redraw a whole JPanel during runtime.
So basically I have this panel:
public JPanel panel1 = new JPanel() {
public void paintComponent(Graphics g) {
super.paintComponent(g);
}That panel is added to my JFrame during initialisation.
I added an actionListener to a JButton that creates a whole new JPanel
Then i try to set the default (panel1) to the new generated JPanel:
public void actionPerformed(ActionEvent e) {
if(e.getSource().equals(myButton)) {
JPanel newPanel = generateNewPanel();
panel1 = newPanel;
panel1.validate();
panel1.repaint();
}After i done all that, it didn't redraw the jpanel
Please advise on what I have gotten wrong.
Thanks
Edited by: Ruski on Mar 10, 2009 1:35 PMTo be honest i recommend not using netbeans to code gui for a long term project which relies on code. NetBeans is useful - only for creating gui stubs and for throwaway gui prototypes but not in the long run, which is of my own experience. To be fair i have many years of coding gui's way back in the days when awt only started up.
i know gui in java is "crap" because of it's repeated code and tedious mechanism to generate ui windows so to do that you might as well hard code it yourself using a proper or better IDE - "ECLIPSE" or any linux based code editors are good also. This way you learn much more about guis. -
Problem with seeded extension example - adding supplier site
Hi,
I am currently doing the exercises mentioned in topic "Exercise: Extending OA Framework Applications", I am currently doing exercise 1 i.e adding supplier site to the Purchase Orders page.
I was successfully able to build the ExtendLab.jpr but while launching the SunilPoSummaryCreatePG.xml for "Step 2.8 Personalize the UI to Display Your New Attribute", i am getting the following error, please suggest?
ERROR
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT SupplierSiteEO.SUPPLIER_SITE_ID,
SupplierSiteEO.SITE_NAME,
PurchaseOrderHeaderEO.HEADER_ID,
PurchaseOrderHeaderEO.DESCRIPTION,
PurchaseOrderHeaderEO.STATUS_CODE,
PurchaseOrderHeaderEO.SUPPLIER_ID,
PurchaseOrderHeaderEO.CURRENCY_CODE,
PurchaseOrderHeaderEO.CREATION_DATE,
SupplierEO.NAME AS SUPPLIER_NAME,
SupplierEO.SUPPLIER_ID AS SUPPLIER_ID1,
EmployeeEO.FULL_NAME AS BUYER_NAME,
EmployeeEO.EMPLOYEE_ID,
PurchaseOrderHeaderEO.BUYER_ID,
EmployeeEO.EMAIL_ADDRESS AS BUYER_EMAIL,
(select sum(nvl(line.quantity, 0) * nvl(line.unit_price, 0))
from fwk_tbx_po_lines line
where line.header_id = PurchaseOrderHeaderEO.HEADER_ID) AS ORDER_TOTAL,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'APPROVED', 'okind_status.gif',
'COMPLETE', 'completeind_status.gif',
'REJECTED', 'criticalind_status.gif', 'inprogressind_status.gif') AS STATUS_IMAGE,
LookupCodeEO.MEANING AS STATUS_DISPLAY,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'COMPLETE', 'DeleteDisabled',
'APPROVED', 'DeleteDisabled', 'DeleteEnabled') AS DELETE_IMAGE,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'COMPLETE', 'UpdateDisabled',
'APPROVED', 'UpdateDisabled', 'UpdateEnabled') AS UPDATE_IMAGE,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'COMPLETE', 'Y',
'APPROVED', 'Y', 'N') AS APPROVE_DISABLED
FROM FWK_TBX_PO_HEADERS PurchaseOrderHeaderEO,
FWK_TBX_SUPPLIERS SupplierEO,
FWK_TBX_EMPLOYEES EmployeeEO,
FWK_TBX_LOOKUP_CODES_VL LookupCodeEO,
FWK_TBX_SUPPLIER_SITES SupplierSiteEO
WHERE PurchaseOrderHeaderEO.SUPPLIER_ID = SupplierEO.SUPPLIER_ID
AND PurchaseOrderHeaderEO.BUYER_ID = EmployeeEO.EMPLOYEE_ID
AND PurchaseOrderHeaderEO.STATUS_CODE = LookupCodeEO.LOOKUP_CODE
AND LookupCodeEO.LOOKUP_TYPE = 'FWK_TBX_ORDER_STATUS'
AND SupplierEO.SUPPLIER_ID = SupplierSiteEO.SUPPLIER_ID) QRSLT ORDER BY HEADER_ID ASC
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-01722: invalid number
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.queryDataInternal(OAWebBeanBaseTableHelper.java:1077)
at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.queryData(OAWebBeanBaseTableHelper.java:964)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.queryData(OATableBean.java:728)
at oracle.apps.fnd.framework.toolbox.tutorial.webui.PoSummaryCO.processRequest(PoSummaryCO.java:97)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-01722: invalid number
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.queryDataInternal(OAWebBeanBaseTableHelper.java:1077)
at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.queryData(OAWebBeanBaseTableHelper.java:964)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.queryData(OATableBean.java:728)
at oracle.apps.fnd.framework.toolbox.tutorial.webui.PoSummaryCO.processRequest(PoSummaryCO.java:97)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Thanks & Regards,
SunilHi,
Thank for the advice.
I executed following query used in "ABCPoSummaryVO extending PoSummaryVO as per documentation" in Toad & it returned 15 rows successfully, so it seems that there could be some other issue please let me know for any clue?
Query
SELECT SupplierSiteEO.SUPPLIER_SITE_ID,
SupplierSiteEO.SITE_NAME,
PurchaseOrderHeaderEO.HEADER_ID,
PurchaseOrderHeaderEO.DESCRIPTION,
PurchaseOrderHeaderEO.STATUS_CODE,
PurchaseOrderHeaderEO.SUPPLIER_ID,
PurchaseOrderHeaderEO.CURRENCY_CODE,
PurchaseOrderHeaderEO.CREATION_DATE,
SupplierEO.NAME AS SUPPLIER_NAME,
SupplierEO.SUPPLIER_ID AS SUPPLIER_ID1,
EmployeeEO.FULL_NAME AS BUYER_NAME,
EmployeeEO.EMPLOYEE_ID,
PurchaseOrderHeaderEO.BUYER_ID,
EmployeeEO.EMAIL_ADDRESS AS BUYER_EMAIL,
(select sum(nvl(line.quantity, 0) * nvl(line.unit_price, 0))
from fwk_tbx_po_lines line
where line.header_id = PurchaseOrderHeaderEO.HEADER_ID) AS ORDER_TOTAL,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'APPROVED', 'okind_status.gif',
'COMPLETE', 'completeind_status.gif',
'REJECTED', 'criticalind_status.gif', 'inprogressind_status.gif') AS STATUS_IMAGE,
LookupCodeEO.MEANING AS STATUS_DISPLAY,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'COMPLETE', 'DeleteDisabled',
'APPROVED', 'DeleteDisabled', 'DeleteEnabled') AS DELETE_IMAGE,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'COMPLETE', 'UpdateDisabled',
'APPROVED', 'UpdateDisabled', 'UpdateEnabled') AS UPDATE_IMAGE,
decode(PurchaseOrderHeaderEO.STATUS_CODE,
'COMPLETE', 'Y',
'APPROVED', 'Y', 'N') AS APPROVE_DISABLED
FROM FWK_TBX_PO_HEADERS PurchaseOrderHeaderEO,
FWK_TBX_SUPPLIERS SupplierEO,
FWK_TBX_EMPLOYEES EmployeeEO,
FWK_TBX_LOOKUP_CODES_VL LookupCodeEO,
FWK_TBX_SUPPLIER_SITES SupplierSiteEO
WHERE PurchaseOrderHeaderEO.SUPPLIER_ID = SupplierEO.SUPPLIER_ID
AND PurchaseOrderHeaderEO.BUYER_ID = EmployeeEO.EMPLOYEE_ID
AND PurchaseOrderHeaderEO.STATUS_CODE = LookupCodeEO.LOOKUP_CODE
AND LookupCodeEO.LOOKUP_TYPE = 'FWK_TBX_ORDER_STATUS'
AND SupplierEO.SUPPLIER_ID = SupplierSiteEO.SUPPLIER_ID
Best Regards,
Sunil. -
Acticate / deactivate USB-Port during runtime passible?
I have a WinEC2013 target with two USB-ports. How can I disable during runtime the automatic detection, if a USB-device (mouse, Keyboard, USB-stick, ..) is connected?
Can I then re-enable it again, if needed in this LifeCycle?
Is it possible to disable for example only the automatic detection from a USB-stick, so that the mouse or Keyboard detection still works?
Can I do it only for one USB-port only, or if disabled, then for both of my available ports?
I expect, that this is possible via the registry. But who knows the keys and values?
Thanks for your help.I found the relevant keys in the common.reg. I used for USB-mouse:
[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_2\Mouse]
"DLL"="MOUHID.DLL"
For USB-keyboard:
[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_6\Keyboard]
"DLL"="KBDHID.DLL"
For USB-stick:
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_Class]
"DLL"="USBMSC.DLL"
When removing or adding this values in the registry on the target the devices will not work or start to work when connected. This changes works only when (re-)connecting the devices, not on the fly!
Maybe you are looking for
-
IPod touch recognized and mounted as digital camera
I've connected my ipod tonight and for my surprise it was recognized by windows (7 RC1) as a digital camera and mounted as an external storage device. It shows 4.2GB of total space in DCF file system (?), wich is the amount shown in itunes as free sp
-
Dent/dip in motion graph between keyframes
I've noticed that ever since upgrading to AE7, I occasionally get this strange dip/dent in the line/curve between keyframes that I can't seem to get rid of. Commonly, it occurs like this: I set a keyframe at the first frame, then move the layer/item
-
SPB Weather Widget Stopped Working
Anyone else got SPB Weather installed on their C7 / N8, etc with the widget on one of their home screens? Mine was working fine up until the weekend but now the weather icons do not appear on the widget. When I launch the full application all seems t
-
CDE and Solaris 8 login problems
When I attempt to connect to my Sun Ultra80 server running Solaris 8 using Exceed, the CDE login will not display. When I check /var/dt/Xerrors, I see the error message: Server open attempt #0 failed for ws001, giving up Is there a CDE configuration
-
Dear Friends, What is the significance of lot size dependent in-house time and the lot size independent in-house production time , when and where each of this time will be used .