Problems in creating new portlets with WLCS3.1
Hello,
I've the following problem with Weblogic Commerce Server 3.1:
I have added a new portal and it worked great. I put severals
predefined portlets and it worked too.
But when I tried to add a new portlet (the simple welcome.html
doc sample), I just see the titlebar of it.
Can someone help me ?
Thanks
Have u created the data providers
Similar Messages
-
Dear sirs,
Could you please help me on my problem with my apple ID
I create new account with security questions, and when I try to purchase paid application,it ask me for answers the questions but it's not working,
My account have 50$ and still didn't buy anythingYou need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
(100546) -
Error while trying to create new assignment with supervisor through API
Hi Experts,
I'am trying to create new assignment with supervisor for employee, but i'am facing this error:
=============================================================
ORA-20008: Error While Create new assignment..-20001
ORA-20001: The supervisor assignment that you have entered is invalid.
Please check that you have entered the supervisor,
that the supervisor assignment belongs to this supervisor and that the assignment is effective.
ORA-06512: at line 198
=============================================================
This is my script, (Oracle EBS 12.1.1)(DB 11):
DECLARE
v_user_id NUMBER;
v_res_id NUMBER;
v_res_appl_id NUMBER;
v_org_now_no_manager_warning BOOLEAN;
v_spp_delete_warning BOOLEAN;
v_other_manager_warning BOOLEAN;
v_tax_district_changed_warning BOOLEAN;
v_entries_changed_warning VARCHAR(4000);
v_person_id per_all_assignments_f.person_id %TYPE;
v_business_group_id hr_all_organization_units_tl.organization_id %TYPE;
v_people_group_id per_all_assignments_f.people_group_id %TYPE;
v_object_version_number per_all_assignments_f.object_version_number %TYPE;
v_special_ceiling_step_id per_all_assignments_f.special_ceiling_step_id %TYPE;
v_group_name pay_people_groups.group_name %TYPE;
v_ass_effective_start_date per_all_assignments_f.effective_start_date %TYPE;
v_effective_start_date per_all_assignments_f.effective_start_date %TYPE;
v_effective_end_date per_all_assignments_f.effective_end_date %TYPE;
v_assignment_id per_all_assignments_f.assignment_id %TYPE;
v_sup_assignment_id per_all_assignments_f.assignment_id %TYPE;
v_supervisor_assignment_id per_all_assignments_f.assignment_id %TYPE;
v_job_id per_jobs.job_id %TYPE;
v_grade_id per_grades.grade_id %TYPE;
v_location_id hr_locations_all.location_id %TYPE;
v_payroll_id pay_all_payrolls_f.payroll_id %TYPE;
v_pay_basis_id per_pay_bases.pay_basis_id %TYPE;
BEGIN
v_user_id := FND_GLOBAL.user_id ;
v_res_id := FND_GLOBAL.resp_id ;
v_res_appl_id:= FND_GLOBAL.resp_appl_id;
FND_GLOBAL.apps_initialize(v_user_id, v_res_id, v_res_appl_id);
BEGIN
SELECT organization_id
INTO v_business_group_id
FROM hr_all_organization_units_tl
WHERE name = 'Vision University'
AND language = 'US';
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20000,'Error While Retrieving (Business Group ID) Info...'||SQLCODE||' '||SQLERRM);
END;
FOR R IN (SELECT * FROM xx_assignment) LOOP
BEGIN
SELECT assignment_id , ass_f.object_version_number
INTO v_assignment_id , v_object_version_number
FROM per_all_assignments_f ass_f, per_all_people_f p_f
WHERE ass_f.person_id = p_f.person_id
AND ass_f.business_group_id = p_f.business_group_id
AND ass_f.business_group_id = v_business_group_id
AND p_f.employee_number = R.employee_number
AND TRUNC(p_f.effective_start_date)= TRUNC(ass_f.effective_start_date)
AND TRUNC(p_f.effective_end_date) = TRUNC(ass_f.effective_end_date);
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20001,'Error While Retrieving (Assignmet_ID) for employee..'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT job_id
INTO v_job_id
FROM per_jobs
WHERE trim(lower(name)) = trim(lower(r.employee_job))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20002,'Error While Retrieving (Job_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT grade_id
INTO v_grade_id
FROM per_grades
WHERE trim(lower(name)) = trim(lower(r.employee_grade))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20003,'Error While Retrieving (Grade_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT location_id
INTO v_location_id
FROM hr_locations_all
WHERE trim(lower(description))= trim(lower(r.employee_location))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20004,'Error While Retrieving (Location_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT payroll_id
INTO v_payroll_id
FROM pay_all_payrolls_f
WHERE trim(lower(payroll_name)) = trim(lower(r.payroll_name))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20005,'Error While Retrieving (Payroll_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT pay_basis_id
INTO v_pay_basis_id
FROM per_pay_bases
WHERE trim(lower(pay_basis)) = trim(lower(r.pay_basis))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20006,'Error While Retrieving (Pay_Basis_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT person_id
INTO v_person_id
FROM per_all_people_f
WHERE employee_number = r.supervisor_number
AND business_group_id= v_business_group_id;
SELECT assignment_id
INTO v_sup_assignment_id
FROM per_all_assignments_f
WHERE person_id = v_person_id
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20007,'Error While Retrieving (Assignmet_ID) for supervisor..'||SQLCODE||' '||SQLERRM);
end;
BEGIN
hr_assignment_api.update_emp_asg_criteria(p_effective_date => TRUNC(SYSDATE),
p_datetrack_update_mode => 'CORRECTION',
p_assignment_id => v_assignment_id,
p_validate => FALSE,
p_called_from_mass_update => NULL,
p_grade_id => v_grade_id,
p_position_id => NULL,
p_job_id => v_job_id,
p_payroll_id => null,--v_payroll_id,
p_location_id => v_location_id,
p_organization_id => v_business_group_id,
p_pay_basis_id => v_pay_basis_id,
p_segment1 => NULL,
p_segment2 => NULL,
p_segment3 => NULL,
p_segment4 => NULL,
p_segment5 => NULL,
p_segment6 => NULL,
p_segment7 => NULL,
p_segment8 => NULL,
p_segment9 => NULL,
p_segment10 => NULL,
p_segment11 => NULL,
p_segment12 => NULL,
p_segment13 => NULL,
p_segment14 => NULL,
p_segment15 => NULL,
p_segment16 => NULL,
p_segment17 => NULL,
p_segment18 => NULL,
p_segment19 => NULL,
p_segment20 => NULL,
p_segment21 => NULL,
p_segment22 => NULL,
p_segment23 => NULL,
p_segment24 => NULL,
p_segment25 => NULL,
p_segment26 => NULL,
p_segment27 => NULL,
p_segment28 => NULL,
p_segment29 => NULL,
p_segment30 => NULL,
p_employment_category => NULL,
p_concat_segments => NULL,
p_grade_ladder_pgm_id => NULL,
p_supervisor_assignment_id => v_sup_assignment_id,
p_people_group_id => v_people_group_id,
p_object_version_number => v_object_version_number,
p_special_ceiling_step_id => v_special_ceiling_step_id,
p_group_name => v_group_name,
p_effective_start_date => v_ass_effective_start_date,
p_effective_end_date => v_effective_end_date,
p_org_now_no_manager_warning => v_org_now_no_manager_warning ,
p_spp_delete_warning => v_spp_delete_warning,
p_entries_changed_warning => v_entries_changed_warning,
p_tax_district_changed_warning => v_tax_district_changed_warning,
p_other_manager_warning => v_other_manager_warning);
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20008,'Error While Create new assignment..'||SQLCODE||' '||SQLERRM);
END;
END LOOP;
COMMIT;
END;
Thank you & Best RegardsI think this is essentially saying that the Supervisor Assignment is wrong or no longer effective. Looking at your SQL to fetch the Supervisor Assignment there are a number of potential issues. This is what you've currently got:
SELECT person_id
INTO v_person_id
FROM per_all_people_f
WHERE employee_number = r.supervisor_number
AND business_group_id= v_business_group_id;
SELECT assignment_id
INTO v_sup_assignment_id
FROM per_all_assignments_f
WHERE person_id = v_person_id
AND business_group_id = v_business_group_id;
Potential Problems/Clarifications
1. What is r.supervisor_number, what does it contain and how is it derived? I can't see that anywhere else in the block...
2. Is there a chance that r.supervisor_number is referencing an employee who has left, ie, now an ex-employee?
3. The SELECT statement that fetches the assignment_id does not perform any date-effective restrictions, which means you might be lucky enough to fetch the person's current assignment. But you might also fetch an old or future-dated assignment.
4. The SELECT statement that fetches the assignment_id does not restrict the type of assignment, so if this manager has applied for a job (ie, they have an applicant assignment) or some other type of non-employee assignment you might be picking that up.
This would work better for you:
SELECT paaf.assignment_id
INTO v_sup_assignment_id
FROM per_all_people_f papf
,per_all_assignments_f paaf
WHERE papf.employee_number = r.supervisor_number
AND papf.business_group_id = v_business_group_id
AND nvl(papf.current_employee_flag, 'N') = 'Y'
AND trunc(sysdate) BETWEEN
papf.effective_start_date AND papf.effective_end_date
AND papf.person_id = paaf.person_id
AND paaf.assignment_type = 'E'
AND paaf.primary_flag = 'Y'
AND trunc(sysdate) BETWEEN
paaf.effective_start_date AND paaf.effective_end_date;
If it doesn't return a row it means that the supervisor (or whatever employee is returned by r.supervisor_number) is not active as at sysdate and cannot be used. Note that this SQL only applies for employees. If you can have Contingent Workers as supervisors in your implementation then this needs tweaking.
Does that help? -
Problem in creating new versions for existing DIR using CV01N
I am working in SAP ERP 6.0 EHP 4.0 system.
I have problem in creating new versions for existing DIR using CV01N
I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
The problem which i found was the document identification guid remains the same for all the document versions getting created.
The same is working fine in SAP ERP6.0 EHP3.0 sytem.
Please someone help me in resolving the above issue.
Regards,
Prasad.BThere is a change in the standard code.The reason for the above problem was because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
IS-ADEC-MPD - Enhancement to copy MPD data
ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
+*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
+**ENHANCEMENT 1 ZSF_AD_MPD_SAPLCV110. "active version**+
+*** copy MPD relevant data from templ. doc to current doc**+
+**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
+**EXPORTING**+
+**is_draw = ls_draw**+
+**TABLES**+
+**ct_drad = lt_drad.**+
+*ENDENHANCEMENT.**$*$-End: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
Regards,
Prasad.B -
Create new application with same ID as a previous application
10gR2, webtogo client. We are in a situation where due to what looks like some corruption issue/inability to publish correctly, we may need to drop our existing application and re-create. So the application will have a new applications.id. applications.dsn and applications.publication value. This will most certainly force all our offline users to do a re-install which we want to avoid. (correct? - I'm assuming the offline databases like a1121.odb are keyed to the 1121 applications.id)
Wondering if there is any way to re-create a new application but with the old application ID. One way we think we could do this is that after dropping the application, reset the mobileadmin APPIDS sequence so that it will pick up the ID of the old app when we create the new one. And so have the same applications.id. applications.dsn and applications.publication value.
However, wondering if we do this, we'd cause some other issue. Anyone have any ideas? (we have ticket open for the publication problem, but not much progress yet on that end.)You may create new mode with the same transaction.
I'm not sure, that you may just "copy-paste" the content from one mode into another.
To create new mode with the same transaction, you may use the following code:
data: l_current_tcode like sy-tcode.
move sy-tcode to l_current_tcode.
CALL FUNCTION 'TH_CREATE_MODE'
EXPORTING
transaktion = l_current_tcode
del_on_eot = 1
* PARAMETERS = l_pars
process_dark = 'X'
IMPORTING
* mode =
EXCEPTIONS
max_sessions = 1
internal_error = 2
no_authority = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
What transaction do you need to display?
Message was edited by: Cyrill Smirnov -
How to create new docs with custom swatch palette?
Looking to create new documents with a corporate color palette already available instead of having to load the .ase files. Fat chance?
Thanks Bob - I was trying that on a test MAC and it just was not sticking. A shutdown instead or a restart seemed to put things back in order and now all is good.
-
How to create new user with more than one default folder
hi
A new user created in OCS has only one default folder(Inbox).
I want to create new user with customized default folder.
for example:
a new user has more than one default folder(Inbox,Outbox,Draft,Dustbin...)
And also I want to automaticly enable the functions:
When sending messages, place a copy in Outbox
Keep message drafts in Draft
Move deleted messages to Dustbin
who know that?
thanksThe same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated -
Problem in creating Maintenance Order with multiple operations
Hello all,
I am facing problem while creating Maintenance Order with multiple operations and sub-operations. I am using BAPI : BAPI_ALM_ORDER_MAINTAIN.
For single operation it is working fine,but i am unable to create MO with multiple operations and sub-operations.
Please, provide me the inputs required,
I have used methods :
ORDER CREATE,
OPERATION CREATE
and SAVE.
Regards,
SiddharthaHi,
The FM you are using is a perfect one. This FM is bit tricky to use. You need to perfectly pass the Reference number field. which links various input table parameters of this FM.
Thanks & Regards,
Navneeth K. -
Create New user with ...
Hi all
I need to create new user with the following privileges :
1- access any table data (read only)
2- access the tables structure (read only)
3- access the tables relations (read only)
thanx in advanceHi,
giggs11 wrote:
I did the following :
create user youruser identified by yourpassword;
grant connect to youruser;
grant SELECT_CATALOG_ROLE to username;
but I cann't see my tables
there is no erroExample :-
Step 1:-
sql> Conn system/manager@orcl;
connected.
step 2:-
SQL> create user trial identified by trial;
User created.
Step 3:-
SQL> grant connect to trial;
Grant succeeded.
SQL>grant SELECT_CATALOG_ROLE to trial;
Grant succeeded.
SQL> grant select any table to trial;
Grant succeeded.
Step 4:
SQL> conn trial/trial@orcl;
Connected.
SQL> select * from tab;
no rows selected
Step 5:
SQL> select * from scott.dept;
DEPTNO DNAME LOC
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
Step 6:
SQL> desc scott.dept;
Name Null? Type
DEPTNO NOT NULL NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)
you must read about privileges..
http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/privs.htm
Regards
S.Azar
DBA
"Question is Unquestionable"
Edited by: azarmohds on Aug 15, 2009 6:28 AM
Edited by: azarmohds on Aug 15, 2009 6:32 AM -
Bug report about create new footprint with Rounded rectangle in 3D info Bottom
I create new footprint with rounded rectangle in 3D info Bottom,the rounded rectangle must be in bottom,but In fact,the rounded rectangle
created in top layer.i think it's wrong.
I used ultiboard 10.1.357.Hi,
Thank you for reporting this. This has been a long standing issue with Ultiboard and we are looking into resolving this.
There is a work around although a very inconvenient one. You can set the height to what you require and use a negative offset to move the shape to the other side of the board. The 3D shape will appear on the other side, but in reality is just shifted, not mirrored.
Hope that helps. We apologize for the inconvenience.
Yi
Software Developer
National Instruments - Electronics Workbench Group -
Creating new database with old database datafile
is it possible to create new database with old datafile
i lost my database ,i have no back up, just i have datafiles,
i want to create new database and want to create tablespaces with old datafiles
pls suggest me right one
tahnk youSQL> recover database using backup controlfile until cancel;
ORA-00279: change 339559282 generated at 03/09/2008 12:23:01 needed for thread 1
ORA-00289: suggestion : F:\ORA9IAS\RDBMS\ARC01901.001
ORA-00280: change 339559282 for thread 1 is in sequence #1901
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log 'F:\ORA9IAS\RDBMS\ARC01901.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'F:\ORA9IAS\ORADATA\IASDB\SYSTEM01.DBF' -
Create new portlet channels dynamiclly
I'm looking into how to create new portlet channels when a new tab is created so that the portlets can be customized on each tab. Currently when a portlet is modified from one tab the portlet gets modified on all tabs. Can somebody point me to an example on how
this might be accomplished?I'm looking into how to create new portlet channels when a new tab is created so that the portlets can be customized on each tab. Currently when a portlet is modified from one tab the portlet gets modified on all tabs. Can somebody point me to an example on how
this might be accomplished? -
Problem while creating new item in the sale order in case of Thirdparty
Dear Gurus
The following error is coming
while adding the new item with quantity in the sale order in case of third party .
Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
Update key... 482ACBD89C7D0067E10080000A8C681C
Can give any idea abt this.
Rgds
SuryaHi
This error comes up due to number range problem in the
tables.
As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number equal to the EBAN table.
If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
reward points if useful
Thanks & Regards
Kishore -
Problem in Creating New partition in Pavilion dm4 1217TX
I have a hp Pavilion dm4 1217TX model laptop. I want to partition the hard disk (640GB) to separate the OS to the data. I think this is a very basic safety feature that will save my data in case of Windows failure (which is a very common problem). I have already split the C Drive and the new condition of my hard drive is
System 199 MB Primary
C 70 GB Primary
Unallocated 494 GB Logical
Recovery 32 GB Primary
HP Tools 103 MB Primary
Now I can't create partition in the Unallocated space because of 4 Primary Partition it already has. Now what can I do ? I can't understand that why it comes with four Primary Partition and without any Extended partition.Hi, there, I have the same problem with you, because of the OEM of the laptop, they have partitioned our hard drive in advanced, however this partition is not logical. As we know, when we install Windows7, the system partition and system reserved partition are set as primary partition without doubt, but how could they make the HP tools and other partition as primary partitino too. I'm very unhappy with this. I don't know WHAT are they thinking about. Every one who has a bit comptuer knowloage knows the rules of createing new partitions in Windows. In my situation, I could only copy the data on recovery to C drive, then delete it. and recreate logical partition, then copy it back. Hope this could also help you.
-
Problem in creating new communication channel template in IR
Hi experts,
I currently have problems with creating new communication channel template in Integration Repository. If I choose the New-Context (Adapter Objects-->Communication Channel Template) the dialog "CREATE OBJECT" is shown. After I have inserted the Name of my template I push the create button.
Then the following error occurs:
STOP: Internal error: Object cannot be changed in display mode
DETAILS: Internal error: Object cannot be changed in display mode(CANT_SET_MODIFIED).
So can anybody help me. Thanks for your help.
Best regards.
MarioHi Mario,
This is genral problem appearing in PI 7.0 with SP12.
Previously, i have the same problem.
i.e STOP: Internal error: Object cannot be changed in display mode
DETAILS: Internal error: Object cannot be changed in display mode(CANT_SET_MODIFIED)
Regarding this we raise an OSS note SAP people.
they gave the suggestion that update with SP13.
i discuss with basis team and install the SP13.
now the problem is solved, i can able to create the Communication Channel Template.
Please award points, if it really help to u
Regards
Mahesh.
Maybe you are looking for
-
No driver for canon MP610 os x 10.10
I've just purchased a macbook Pro and am trying to get my printer at home to work as i need it for uni, i have searched the internet and cannot find the appropriate driver for my computer, does anyone know where i can get this or how i can get my pri
-
Ipod touch frozen at apple logo
ipod touch frozen at apple logo
-
Query with = only provides the 'less than' portion of the results
I have a query that checks dates to be >= start date and <= end date. The results are always >= start date and < end date. The same where clause in sqlplus works just fine. Is this a bug in BI Publisher?
-
How do you print 3,6, or 9 slides to a page from iPad Keynote to use as a handout?
-
The sound on my device isnt working correctly.
When i plug in headphones ( i tried several different sets) it doesnt recognize them and only plays on full volume through the right headphone reguardless of the volume slider and the left one gets no sound. If i do move the volume slider with the he