Developing Detail Screen in jsp using jdeveper
Hi all,
I want to develop a master detail scren in JSP using jdeveloper. I find problems while creating detail screen for the master.
Can any one help me in fetching data from the table for the detail screen, manipulating(insert/delete/modify) the rows and saving them in to database.
thanx in advance.
Java Servlet Specification V 2.2 http://java.sun.com/products/servlet/2.2/index.html
Java 2 Enterprise Ed. http://java.sun.com/products/j2ee
JavaDevelopersJournal Feb/2000, Java Servlets:Advanced Features by A.V.B. Subrahmanyam
Similar Messages
-
Does anyone know how to develop JSP using SQLJ? This chapter is not availabe in the developer's guide. And which one is a better solution, JSP + BC4J or SQLJ?
I would stick with the JDK 1.1.8 in JDeveloper 3.0. SQLJ and JDBC do not yet support JDK 1.2 (they will in Oracle 8.1.6 and JDeveloper 3.1... not sure about OAS 4.0.9, but I would suspect so).
Laura -
Summary Detail Screens in one window using PanelSplitter
Hi All,
I'm using JDev 11, ADF BC, Windows XP(OS), IE 7.
I would like to have a summary screen in first facet and detailed screen in the second facet.
The dynamic search should be enabled in the summary screen. Onclick of a value in a options displayed in the summary,
the detailed form for that screen should open in the second facet, that form should be editable.
Assistance is appreciated...
Thanks in advance...
Jyothihi,
When i've used SelectOneCheckBox the concept of PPR works between facets(first and second).
But when i used a table and try to show the values of one column in the selected row from the table it doesn't display the value.
I've tried converting the value to String and then displaying it, but that doesn't work either.
Now i would like to know is there a way to make a particular column variables as CommandLink and on click of
that open the respective page in the Second facet.
Jyothi -
Use of revision no,revision date field in bom header details screen
Hi all,
Please let me know use of revision no,revision date field(customer fields tab) in bom header details screen.I tried with F1 ,no information.
Thanks
SukumarDear,
In standard SAP in BOM header overview there are 4 tabs.
Quants/Long text.
Further Data
Admin Data
Doc Assignment.
I think Customer fields tab may be customized based on client's requirement.
I Know about revision level. It Identifies the change status of a material.
The revision level can be uniquely assigned to changes made using a change number.
Hope this helps. Correct me if i my understanding of the problem is wrong.
Thanks and Regds
Sridhara K N -
In which table 'individual development details' is stored -HR tcode:pp01
In which table 'individual development details' is stored -HR tcode:pp01
the individual development details is in infotype24 but I cannot see the data maintained in individual development in pa0024.Hi,
Hi,
HR reporting field is so vast i'm sending u all relevant table names u can check in these tables:
HR Tables
if useful please reward points----
DD01L Domains
DD02L SAP tables
DD03L Table Fields
DD03T DD: Texts for fields (language dependent)
DD04L Data elements
DD04T R/3 DD: Data element texts
DD05S Foreign key fields
DD06L Pool/cluster structures
DD20L Matchcode Ids
DD24S Fields of a matchcode ID
T000 Clients
T001 Company Codes
T001E Company code-dependent address data
T001P Personnel Areas/Subareas
T012 House banks
T012K House bank accounts
T012T House bank account names
T500L Personnel Country Grouping
T500P Personnel Areas
T500T Personnel Country Groupings
T501 Employee Group
T501T Employee Group Names
T502T Marital Status Designators
T503 Employee Groups / Subgroups
T503K Employee subgroup
T503T Employee Subgroup Names
T504A Benefits - Default Values (NA)
T504B Benefit Option Texts (North America)
T504C Benefit Type (NA)
T504D Benefit Credit Group Amount
T504E Benefit Amount
T504F Benefit Costs
T508A Work Schedule Rules
T508T Texts for Employee Subgroup Groupings for Work Schedules
T510 Pay Scale Groups
T510A Pay Scale Types
T510F Assign Pay Scale > Time Unit, Currency
T510G Pay Scale Areas
T510H Payroll Constants with Regard to Time Unit
T510I Standard Working Hours
T510J Constant Valuations
T510L Levels
T510M Valuation of pay scale groups acc. to hiring date
T510N Pay Scales for Annual Salaries (NA)
T510S Time Wage Type Selection Rule
T510U Pay Scale Groups
T510Y Special Rules for Wage Type Generation
T511 Wage Types
T512R Cumulation Wage Types in Forms
T512S Texts for Cumulation Wage Types in Forms
T512T Wage Type Texts
T512W Wage Type Valuation
T512Z Permissibility of Wage Types per Infotype
T513 Jobs
T514S Table Name Texts
T514T Field Name Texts
T51D2 Wage Type Classes
T51D3 Reduction Rules
T51D4 Cumulation Rules
T527X Organizational Units
T528B Positions - Work Centers
T528C Wage Type Catalog
T528T Position Texts
T529A Personnel Event
T529F Fast Data Entry for Events
T529T Personnel Event Texts
T52BT Texts For HR Objects
T52C0 Payroll Schemas
T52C1 Payroll Schemas
T52C2 Texts for Personnel Calculation Schemas
T52C3 Texts for Personnel Calculation Schemas
T52C5 Personnel Calculation Rules
T52CC Schema Directory
T52CD Schema Directory
T52CE Directory of Personnel Calculation Rules
T52CT Text Elements
T52CX Cross References via Generated Schemas
T52D1 Valid Processing Classes
T52D2 Valid Values for Processing Classes
T52D3 Valid Evaluation Classes
T52D4 Permitted Values for Evaluation Classes
T52D5 Wage Type Groups
T52D6 Wage Type Group Texts
T52D7 Assign Wage Types to Wage Type Groups
T52D8 Valid Processing Classes - Texts
T52D9 Valid Values for Processing Classes Texts
T530 Reasons for Events
T530E Reasons for Changes
T530F Reasons for Changes
T530L Wage Types for Special Payments
T530T Event Reason Texts
T531 Deadline Types
T531S Deadline Type Texts
T533 Leave Types
T533T Leave Type Texts
T539A Default Wage Types for Basic Pay
T539J Base Wage Type Valuation
T539R Events for Standard Wage Maintenance
T539S Wage Types for Standard Wage Maintenance
T548 Date Types
T548S Date Conversion
T548T Date Types
T548Y Date Types
T549A Payroll Areas
T549B Company Features
T549C Decision Trees for Features (Customers)
T549D Feature Directory
T549L Date modifiers
T549M Monthly Assignment: Payroll Period
T549N Period Modifiers
T549O Text for date modifier
T549P Valid Time Units for Payroll Accounting
T549Q Payroll Periods
T549R Period Parameters
T549S Payroll date types
T549T Payroll Areas
T549M Monthly Assignment: Payroll Period
T549N Period Modifiers
T549O Text for date modifier
T549P Valid Time Units for Payroll Accounting
T549Q Payroll Periods
T549R Period Parameters
T549S Payroll date types
T549T Payroll Areas
T554S Absence and Attendance Types
T554T Absence and Attendance Texts
T554V Defaults for Absence Types
T554Y Time Constraints in HR TIME
T555A Time Types
T555B Time Type Designations
T559A Working Weeks
T559B Name of Working Week
T572F Event Texts
T572G Allowed Values for Events
T572H Event Value Texts
T582A Infotypes
T582B Infotypes Which Are Created Automatically
T582S Infotype Texts
T582V Assignment of Infotypes to Views
T582W Assigns Infotype View to Primary Infotype
T582Z Control Table for PA Time Management
T584A Checking Procedures - Infotype Assignment
T588A Transaction Codes
T588B Infotype Menus
T588C Infotype Menus/Info Groups
T588D Infogroups for Events
T588J Screen Header Definition
T588M Infotype Screen Control
T588N Screen Modification for Account Assignment Block
T588O Screen Modification for Assignment Data
T588Q Screen types for fast entry
T588R Selection Reports for Fast Data Entry
T588S Screen Types for Fast Entry
T588T Menu and Infogroup Designations
T588V Business object type
T588W Event types for infotype operations
T588X Cust. composite definition of event types for IT operations
T588Z Dynamic Events
T591A Subtype Characteristics
T591B Time Constraints for Wage Types
T591S Subtype Texts
T596F HR Subroutines
T596G Cumulation wage types
T596H _Cumulation wage type texts
T596I Calculation rule for cumulation wage types
T596U Conversion Table
T599B Report Classes
T599C Report Classes
T599D Report Categories
T599F Report Classes - Select Options
T777A Building Addresses
T777T Infotypes
T777Z Infotype Time Constraints
T778T Infotypes
T778U Subtypes
Error Messages tables
T100 Messages
T100A Message IDs for T100
T100C Control of messages by the user
T100O Assignment of message to object
T100S Configurable system messages
T100T Table T100A text
T100V Assignment of messages to tables/views
T100W Assign Messages to Workflow
T100X Error Messages: Supplements
Thanks and if useful please reward points
Edited by: Abhishek Ojha on Feb 20, 2008 2:48 PM -
Custom property not displaying at folder creation or Details screen
Hello everyone
I have created a custom boolean property that I need to have displayed both at folder creation and in the Details screen of a folder after it's created. The property is in the default namespace, and is in the Custom group. I have created a properties file for the label and created the necessary meta data extension. The folder validity pattern is " / " and the Resource Type listed is "normalct" so that it's active for folders only.
Then I went to Property Groups and listed my new property in the Group Items field of the Custom group. The Custom group is a part of "all_groups" so that group is displayed both when a new folder is created in KM and when the Details screen of a folder is displayed.
<i>However,</i> my custom property isn't displaying under the Custom tab when I go to create a new KM folder, nor when I view the Details screen of an existing folder. What configuration am I missing? Do I have to develop a custom property renderer for each new property I need to create? I was hoping I could achieve this result with configuration changes only, but I must be missing something.
Any help would be greatly appreciated and rewarded.
Thanks in advance,
FallonHi Fallon,
actualy, if you want this property to be displayed only for folders and not for documents, you don't need to specify the resource type for folders. Setting "/" or "/**" for "Folder Validity Patterns" and "" (empty) for "Document Validity Patterns" should be enough.
If you sill experience problems, you have to check all settings, for example with the settings suggested in this <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2654">weblog</a>. If you use the "default" Property Group in the property settings, you don't have to enter the <b>Property ID</b> in a special Property Structure Group that in turn is integrated in the all_groups Property Structure Group.
Hope this helps,
Robert -
Detail screen for row level locking
Hi All ,
I have developed row level locking for a table , Next requirment is to display the details of each row i another screen when the user click on each row .And if the row which is clicked for display is geyout in first screen then it should be grey in details screen also .If the row is editable in the first screen then it should be in change mode in details screen .
I appreciate the help and support .
please provide the answer as soon as possbile .....
Thanks,
NJYes, if a process holds many row level locks on a table, those locks by default can be escalated to partition locks, and, if necessary, table locks. Unless you are getting and holding many locks on a given table, this will not happen.
You say you are exporting data. If all you are doing is selecting from the table (not updating, deleting or inserting data) and you are using the read committed transaction isolation level, you would only hold a lock on a row for the small fraction
of a second when you are actually reading it. So you will never have large numbers of locks at one time. If you are doing large numbers of updates, inserts, or deletes in a singletransaction or if you are doing large numbers of selects in a single
transaction with the isolation level set to repeatable read or serializable, then it is possible to get enough locks to cause SQL server to escalate to partition or table locks. This is normally a good thing (that's the reason Microsoft made it the default).
To many locks eats up memory.
However, if you determine this is causing you a problem and you do not want the locks on a particular table ever escalated, you can use the ALTER TABLE SET (LOCK_ESCALATION = DISABLE) command to prevent most cases of lock escalation on a table by table basis.
See BOL for a description of the ALTER TABLE command. However, I would recommend you not use this unless you have determined that lock escalation is causing you problems. It is very easy to make things worse, not better by doing this.
Tom -
Error after creating a new item in 'Case Worker'-- 'Agent Dashboard'-- 'Task Details' screen
In 'Case Worker'-->'Agent Dashboard'--> 'Task Details' screen, I have created a item named 'YEARS' using 'Create Item' in 'Personalize Page' screen. It is not going to tasks page and giving error as "
oracle.apps.fnd.framework.OAException: No entities found, entityMaps not defined for attachment item (YEARS)." How can I remove this field now..Please see the suggested solutions in the following docs.
Entity Maps Not Defined For Attachment Error When Selecting A Deliverable (Doc ID 358385.1)
Corrupt Personalization - No Entities Found Entitymaps Not Defined For Attachment Item (Doc ID 1085011.1)
R12:Supplier Page Unexpected Error: 'No Entities Found EntityMaps not Defined for Attachment Item' (Doc ID 1361320.1
Geography Hierarchy No Entities Found, EntityMaps Not Defined For Attachment Item (Doc ID 831088.1)
Depot Repair Bulk Receiving Error: "No entities found, entityMaps not defined for attachment item" (Doc ID 1357977.1)
Thanks,
Hussein -
Dear Experts,
I have a requirement for making material description as non mandetory in change request view of mdg material screen.
I have done that using field usage in get data method of feeder classes, but still message is displaying.
This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
How to prevent error message for material description in MDG material detail screen, when user click on check action.
Thanks
SukumarHello Sukumar
In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
Regards, Ingo Bruß -
Hi Experts,
I am trying to add a field (NAME1) on the Equipment details screen under work orders in work manager 5.3 application.
I have performed the following steps, but I am getting an error while connecting to the application.
1) Create extension for Equipment class to add a new field.
2) added the new field (Name1) as the property to the standard object Equipment.
3) Added the field on the screen.
4) Added the field (name1) to the complex table ctEquipment.
5) Added the JAR file to Agentry.ini file.
6) Changed the Class mapping for parameter "Equipment" under group "SAPOBJECT" to point it to the custom (Extended) class.
7) Changed the class mapping for complex table parameter "ctEquipment" under group "CT_SAPOBJECT" to point it to the custom class.
8) after publishing the changes and re-starting the server, I get following error.
the log file generated (message.log) also has the same description.
What am I missing here? Any help would be really appreciated.Hi Emanuel,
Thanks for looking into this issue.
I have performed the following steps as suggested by you, still it doesn't seem to work and gives the same error.
Below are the changes done on the ECC Side.
1) Copied the standard equipment class /SYCLO_CL_PM_EQUIPMENT1_DO to custom class ZSYCLO_CL_PM_EQUIPMENT1_DO. Changes made in the GET Method to get custom equipment related data
2) Modified the standard equipment structure /SYCLO/PM_EQUI_STR by adding one custom field
3) Configured this custom class as the object handler in the equipment mobile data object
4) Configured this custom class as the object handler for the equipment complex table
5) We are still using the standard BAPI Wrapper itself for getting the equipment data and the added field is reflected in the BAPI Wrapper table parameter
Is there something we are missing? -
How to display user define value in list screen from detail screen
Hello Experts
I am working on task in which i have to display the user define value on list screen. like i have one list list screen which have one button for add..once i click on add which navigate to detail screen and detail screen has two fields one for ID AND other for name and detail screen has one button for save once i put value for id and name and click on save button which will navigate to previous list screen and those values which should be display on list screen.
Regards:
SumitHi Sumit,
To navigate to the Master page on button click , you need some thing like,
oSplitApp.toMaster("masterpage_id");
to understand the navigation for Master/Detail page , have a look at,
http://help.sap.com/saphelp_uiaddon10/helpdata/en/df/adb6b7247e4826b0fcde472b029840/content.htm
Also to pass value from Detail page to Master page, you can use a Global variable to store your values on click of the Save button. For eg. You may have a global JS file which both Master and Detail page can access like App.Js, Application.JS etc.
After navigating to the Master page, you can read the Global variables and show it on your Master page. -
Field label of a CUF in SC item basic detail screen
Hello all
We're on SRM 5.0 with SRM Server 4.0 SP08.
I added a customer field (CUF) in SC item by adding and activating an append structure in INCL_EEW_PD_ITEM_CSF_SC and in INCL_EEW_PD_ITEM_CSF. I also implemented BAdI BBP_CUF_BADI_2 in order to set this CUF to visible / read only.
When adding an item to my SC and navigating to the item basic details screen, the CUF is showing up properly EXCEPT that its label on the left hand side corresponds to the technical field name in my append structure... and it shows up in capital letters as well.
Is there any possibility to influence the labeling of CUF's ? I mean without the need of a modification?
Any useful hints appreciated!
RenaudHi
As Disha told, <u>Using <b>SE11</b> transaction, you need to make changes to Custom Data Element (Short/Medium/Lon Description) you are using in the Append Structure of the INCL (Includes) and make the changes there to reflect on the Shopping cart screen.</u>
Let me know incase you need any other details.
Regards
- Atul -
Custom field in limit order Details screen
hi all,
i am trying to add cuf.field called purch. Group which is not present in limit orders details -> Basic data tab. one of the structure has the value of purchasing group so i didn't include any custom field in shopping cart items structure "CI_BBP_ITEM_SC". just i want to map this value to the custom screen field for display only .when i see in the SAP GUI it is visible but not in the ITS Screen. do i need to change the internet service file if so Pls help me..
helpfull answers will be rewarded...
Thanks,
HenryHi Henry,
You can use the 'Append structure' concept to add custom screen field and use one of the BAPIs to assign values to it. The value could come from the shopping cart item structure.
You dont need to change the ITS for it.
Thanks,
Waheed -
Problem with primary key violation in master-detail screens
Hi,
I found a problem/bug in master-detail screens in which the PK of the detail table consist of the PK of the master table and an additional column. E.g. a manually entered sequence 'in parent'.
I will use the following simple scenario to explain the problem (it's easy to reproduce):
PROJECT table
# id (PK)
* name
PROJECT REQUIREMENTS table
# prj_id (PK)
# sequence_id (PK)
* description
Just create the BC EO, VO and AM and set both display properties of the prj_id attribute of the project requirements VO to hidden.
Create a new screen in the application structure file in which you can select a project (table-form layout) and display the details (table layout) on the same page.
With this basic setup you can generate the app to enter, update and delete projects and their requirements.
The problem occurs if you have a project with a least 1 requirements stored in the database and you try to enter a second requirement with an existing sequence_id within the project. This is an use case in which a end-user enters wrong data.
So assume we have in the database:
prj_id sequence_id description
====== =========== ===========
1 1 req1
and the end-user enters (prj_id is entered automatically as it's not displayed):
1 1 req2 >> user should have enterd sequence_id 2...
Step 1. If you try to save an error will be displayed:
JBO-25013: Too many objects match the primary key oracle.jbo.Key[227300 1 ].
And the sequnece_id is emptied automatically.
Step 2. So the end-user re-enters the sequence_id but fills in 2 now and saves.
Another error is displayed: JBO-27014 sequence_id in AppModule is required
How strange? Everything is filled in already.
Step 3. If you just hit save again (without changing anything) you got a transaction completed successfully.
I checked the logfiles and noticed an exception during after executing step 2.
oracle.jbo.AttrValException: JBO-27014: Attribute SequenceId in AppModule.ProjectRequirementsView2 is required at oracle.jbo.AttrValException.<init>(AttrValException.java) at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java) at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2051) at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1373) at mypackage1.ProjectRequirementsImpl.validateEntity(JwTekeningnummerImpl.java:273) at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1508) at oracle.jbo.server.EntityImpl.validateChildren(EntityImpl.java:1232) at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1339) at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1508) at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3965) at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:967) at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:1683) at oracle.jheadstart.view.adfuix.JhsInitModelListener.validateInputValues(JhsInitModelListener.java:193) at oracle.jheadstart.view.adfuix.JhsInitModelListener._doModelUpdate(JhsInitModelListener.java:166) at oracle.jheadstart.view.adfuix.JhsInitModelListener.eventStarted(JhsInitModelListener.java:92) at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source) at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source) at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:325) at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215) at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:106) at oracle.jheadstart.controller.strutsadf.action.JhsStrutsUixLifecycle.processUpdateModel(JhsStrutsUixLifecycle.java:140) at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317) at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622) at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508) at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112) at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70) at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223) at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389) at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485) at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527) at javax.servlet.http.HttpServlet.service(HttpServlet.java:765) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20) at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
This also explains why I got a error message within the application at step 2, but not an expected error message!
From the logfile I can see something is going wrong in the oracle.jbo.server.EntityImpl.validateEntity method.
To get more insight what was goning on I overridden the validateEntity method in my VO Impl class:
protected void validateEntity()
System.out.println("MARCEL>> sequenceId=" + getSequenceId());
System.out.println("MARCEL>> description=" + getDescription());
super.validateEntity();
In step 1 the validateEntity is not called.
In step 2 the sequeceId = null (and description = reg2)
I expected the sequeceId to be 2 now as I entered this. Furthermore if I look at the (JhsActionServlet) request parameters in the log, I can see that the value of the sequenceId was 2. I guess something is going wrong at this point in converting the request parametes to the EO.
In step 3 the sequeceId = 2 (as expected)
Note that I'm using the evaluation copy version of JHeadstart 10.1.2.
If this was patched in any later build, could you please tell which changes I have to make to the JHS sources to solve this problem.
Regards,
MarcelMarcel,
I cannot reproduce this in version 10.1.2.2. We did not "fix" this, although changes in the runtime might have fixed this "silently". I suggest you upgrade to 10.1.2.2 and see whether you still get the error.
Steven Davelaar,
JHeadstart Team. -
Total column not changed between header & detailed screen
I have a report with header data contains contracts information and detailed data contains orders, debit credit memo related to the contracts. I write the report using CL_SALV_TABLE to display contract value, usage in full ALV_GRID. When I double click on a contract line, it will go to the second screen to show all orders related to that contract. The second screen with orders information will be in a screen on a container with all standard function ( Export list to Excel, Word format etc..), sort, total and sub total) and a push button to go back to first screen.
The report works fine but when I am on the second screen, I total and sub total the amount on that screen in order to check with total value in header record and it total up correctly by currency.
But when I go back to the first screen, select a different contract record, double click on the line to get to the order info screen, all order data display correctly except that the total column still show amount from the previous detailed screen. If I select the column again and click the total, it will total correctly. I did refresh the data in the screen before go back to first screen but it does not solve the problem.
DOES ANYONE HAVE A SIMILAR SYMPTON LIKE THIS?
Thanks for your advice.
On the order detailed screen, I create a container with screen 100 and write PAI, PBO like this:
Screen 100:
process before output.
module status_0100.
module load_data_to_control. "Load usage data to screen
process after input.
module user_command_0100.
module status_0100 output.
set pf-status 'PF100'.
set titlebar 'T100'.
endmodule.
module load_data_to_control output.
if gr_cont is not bound.
create object gr_cont
exporting
container_name = 'CONTAINER_100'
exceptions
others = 1.
if sy-subrc <> 0.
message a052(zvn) with
' No container object found'.
endif.
try.
cl_salv_table=>factory(
exporting
list_display = list_display
r_container = gr_cont
container_name =
importing
r_salv_table = gr_alv_2
changing
t_table = gt_orders
catch cx_salv_msg into gr_error.
endtry.
perform set_functions. " Set all standard function in screen 100
perform set_column_order using gr_alv_2. "Set column format, display
perform handle_events. "Register events for selection mode & user commands
Display order screen 0100
gr_alv_2->display( ).
else.
gr_alv_2->refresh( ).
endif.
module user_command_0100 input.
data: wa_d type gt_dtab,
ls_contract type vbeln,
ls_order type vbeln,
ls_invoice type vbeln,
ls_belnr type belnr_d,
ls_row type char10.
data: l_text type char128.
case sy-ucomm.
when 'RETURN' or 'BACK' or 'EXIT' or 'CANCEL'.
*... refresh the table in order to see the new data
gr_alv_2->refresh( ).
leave to screen 0.
when others.
endcase.
endmodule. " USER_COMMAND_0100 INPUTHi ,
When you are using the CL_SALV_TABLE, what is the use of screen 100. Better populate the evnts table in CL_SALV_TABLE
Cheers
Pavan
Maybe you are looking for
-
How to fix a bug(?) in iCal/Calendar/Reminders?
The iCal/Calendar (fox OS X 8)/Reminders (OS X 8) app has this very annoying bug It's quite minor but it's quite confusing sometimes. Whenever I try to add a new event, the window that appears that will let me set the date, time, etc. always has 2011
-
my board is in the sig, and i wanted to get the new BIOS version for it, because it says in the specs sheet, that it reads the temps correctly now. what does that mean? what are the temp differences between the 1.9 and the 2.3 BIOS? and, could it be
-
What's your fastest way to center align two objects without moving one of them?
I will greatly appreciate your tips.
-
Jerky videos with 30 fps not ideal for Europe with 25 fps?
When I edit a video (720p 30fps) from my compact camera, Sony WX1, on the iMovie, the rendered video seems to be jerky. (especially if I follow a subject with the camera) When I edit a video (1080i 50fps) from my Sony Video camera, the edited video l
-
Cannot synch my calendar or contacts between Blackberry Q10 and Outlook
I have no problem synching files or any other content. However, when I try to sych my Outlook calendar and contacts the synch fails and I get the following error message CPreferencesManager:Configuration value for /Preferences/ Account_2_131074 Devi