Employee Assignment Termination status as 'Terminate Process Assignment'
hi everybody ,
can any body tell me what is the API i need to use to terminate an Employee Assignment with the status as 'Terminate Process Assignment' .currentely i am using "hr_assignment_api.actual_termination_emp_asg" but it is terminating the assignment with the status as 'Terminate Assignment' . please help me its urgent.
Thanks in advance.
Surfraz
Final standard process is not used for US legislation, we use Final Process Date for US. You can use any kind of assignment status, which has SYSTEM_STATUS as TERM_ASSIGN.
Similar Messages
-
How to close Terminal Windows and terminate processes with Applescript?
I'm trying to quit the Terminal via AppleScript. I need to run 4 different Terminal scripts on a server but would also need to restart this server every day automatically... and my favorite choice would be to do this properly.
I suceeded terminating all other applications, cleaning folders and sending messages, but I did not find a solution quitting the Terminal!
When I tell it to quit, it asks if I want to terminate all processes, even if I use the "ignoring application responses" command. The Terminal gets stuck on that dialog box and one has to manually hit "Terminate".
Anyone knows about a solution how to avoid this prompt or how to default "Terminate"? There must be something like "close window 1 with process terminate", or?
Many thanks in advance!:-))) Sometimes the answer is so easy... Thanks a lot!
-
Hi All.
How to end/terminate and assignment with end dated entered by user Apps R12.1?
when i try to end or terminate and assignemnt the sysdate is begin registered for effective_end date.
any help is reaaly greatly appriciated
thanks and regards
SoniHi Soni,
What is the end date you want to enter as. Are you talking about 31-Dec-4712. If not, please change the sytem effective date (calendar icon on the oracle menu) to the date you want to terminate and follow the termination process.
Thanks,
Avinash -
Employee No: 20227 exists but has no assignment id!
Please could someone read through my script that uses several APIs to insert and update employee records and suggest why Im getting my error message "Employee No: 20227 exists but has no assignment id." How does it not have an assignment ID? A simpler version of this script has been working fine in LIVE Production. I can post this if required. Totally stumped.
/* Formatted on 2009/04/29 11:52 (Formatter Plus v4.8.7) */
SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
SET verify OFF
SET feedback OFF
DECLARE
-- Debugging/error handling
-- Work variables
obj_vers_no_failed exception;
emp_status_errors1 exception;
emp_status_errors2 exception;
location_code_errors exception;
v_emp_no number;
l_employ_start_date DATE:= TO_DATE ('01-APR-1999', 'DD-MON-YYYY');
v_ora_loc_code number := 0;
p_emp_number VARCHAR2 (14);
v_rec_cnt NUMBER := 0;
insert_flag VARCHAR2 (8);
err_num NUMBER;
err_msg VARCHAR2 (150);
err_line VARCHAR2 (350);
err_seq NUMBER := 0;
l_validate BOOLEAN DEFAULT FALSE;
l_std_business_group_id NUMBER := '0';
l_default_code_comb_id NUMBER := '218048';
l_organization_id NUMBER := '0';
l_set_of_books_id NUMBER := '1';
l_job_id NUMBER := '10';
l_obj NUMBER := '0';
l_obj2 NUMBER := '0' ;
l_datetrack_update_mode VARCHAR2 (30) := 'CORRECTION';
l_assignment_sequence NUMBER;
l_name_combination_warning BOOLEAN := FALSE;
l_assign_payroll_warning BOOLEAN := FALSE;
l_org_now_no_manager_warning BOOLEAN;
l_other_manager_warning BOOLEAN;
l_spp_delete_warning BOOLEAN;
l_entries_changed_warning VARCHAR2 (30);
l_tax_district_changed_warning BOOLEAN;
l_person_id NUMBER;
l_assignment_id NUMBER := 0;
l_assignment_id2 NUMBER := 0;
l_special_ceiling_step_id NUMBER;
l_per_effective_end_date DATE:= TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_people_group_id NUMBER;
l_group_name VARCHAR2 (30);
l_assignment_number VARCHAR2 (35);
l_effective_end_date DATE := TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_date DATE := SYSDATE;
ip_p_address_id per_addresses.address_id%TYPE;
ip_p_object_version_number NUMBER;
ip_p_party_id per_addresses.party_id%TYPE;
l_per_object_version_number NUMBER;
l_asg_object_version_number NUMBER;
l_full_name VARCHAR2 (240);
l_per_comment_id NUMBER;
l_per_effective_start_date DATE;
l_concatenated_segments VARCHAR2 (240);
l_soft_coding_keyflex_id NUMBER;
l_comment_id NUMBER;
l_no_managers_warning BOOLEAN;
-- Get employee details info from work table
CURSOR get_employee_details
IS
SELECT std_hire_date, std_last_name, std_sex, std_date_of_birth,
std_email_address, std_emp_status,
LPAD (std_employee_number, 8, '0') std_employee_number,
std_first_name, std_marital_status, std_middle_names,
std_nationality, std_title, std_national_identifier,
std_address_line1, std_address_line2, std_address_line3,
std_address_line4, std_post_code, std_telephone_1, std_country,
std_location_id, std_supervisor_id
FROM SU_TEMPLOYEE_DETAILS
WHERE std_employee_number IS NOT NULL AND std_national_identifier IS NOT NULL;
-- checks employee details info from PER_ALL_PEOPLE_F table
CURSOR c_check_employee (p_emp_number VARCHAR2)
IS
SELECT per.person_id, per.business_group_id, per.last_name,
per.start_date, per.date_of_birth, per.email_address,
per.employee_number, per.first_name, per.marital_status,
per.middle_names, per.nationality, per.national_identifier,
per.sex, per.title, padd.address_id, padd.primary_flag,
padd.address_line1, padd.address_line2, padd.address_line3,
padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
FROM per_all_people_f per,
per_all_assignments_f paas,
per_addresses padd
WHERE per.employee_number = p_emp_number
AND per.person_id = padd.person_id
AND paas.person_id(+) = per.person_id;
-- AND per.employee_number IS NOT NULL AND per.national_identifier IS NOT NULL;
emp_rec c_check_employee%ROWTYPE;
-- Cursor retrieves latest Object Version Number from per_assignments_f table..
CURSOR csr_ovn (cp_person_emp_no IN per_all_people_f.EMPLOYEE_NUMBER%TYPE)
IS
SELECT MAX (paas.object_version_number)
FROM per_assignments_f paas, per_all_people_f per
WHERE paas.person_id = per.person_id
AND per.employee_number = paas.assignment_number
-- AND per.person_id = cp_person_id;
AND employee_number = cp_person_emp_no;
CURSOR csr_ovn2 (cp_person_emp_no IN per_all_people_f.EMPLOYEE_NUMBER%TYPE)
IS
SELECT MAX (paas.object_version_number)
FROM per_assignments_f paas, per_all_people_f per
WHERE paas.person_id = per.person_id
AND per.employee_number = paas.assignment_number
-- AND per.person_id = cp_person_id;
AND employee_number = cp_person_emp_no;
-- Cursor to get Oracle_Loc_Code from SU CHRIS vs ORACLE Locations Table into a variable..
CURSOR csr_ora_loc_code (cp_location_id IN SU_TEMPLOYEE_DETAILS.std_location_id%TYPE)
IS
SELECT sil.ORACLE_LOC_CODE
FROM SU_TEMPLOYEE_DETAILS std, SU_IEXP_LOCATIONS sil
WHERE std.STD_LOCATION_ID = sil.CHRIS_LOC_code
AND std.STD_LOCATION_ID = cp_location_id;
BEGIN
-- Process each record in the work table
FOR v_emp IN get_employee_details
LOOP
-- Obtain the most recent Object Version Numbers..
OPEN csr_ovn (v_emp.std_employee_number);
FETCH csr_ovn
INTO l_obj;
-- IF csr_ovn%NOTFOUND THEN RAISE NO_DATA_FOUND; END IF;
IF csr_ovn%NOTFOUND THEN RAISE obj_vers_no_failed;
DBMS_OUTPUT.PUT_LINE ('csr_ovn obj vers no failed.. ' );
DBMS_OUTPUT.PUT (CHR (10));
END IF;
CLOSE csr_ovn;
OPEN csr_ovn2 (v_emp.std_employee_number);
FETCH csr_ovn2
INTO l_obj2;
IF csr_ovn2%NOTFOUND THEN RAISE NO_DATA_FOUND; END IF;
-- IF csr_ovn2%NOTFOUND THEN RAISE obj_vers_no_failed;
-- DBMS_OUTPUT.PUT_LINE ('csr_ovn2 obj vers no failed.. ' ); END IF;
CLOSE csr_ovn2;
-- determine whether customer already exists
OPEN c_check_employee (v_emp.std_employee_number);
FETCH c_check_employee
INTO emp_rec;
v_emp_no := LPAD (v_emp.std_employee_number, 8, '0');
l_assignment_id2 := emp_rec.assignment_id;
l_assignment_id := emp_rec.assignment_id;
-- ===================================
-- these next 6 lines is to check the default code comb id..
-- ===================================
IF emp_rec.default_code_comb_id is NULL THEN
l_default_code_comb_id = 218048;
END IF;
IF emp_rec.job_id is NULL THEN
l_job_id = 10;
END IF;
IF v_emp.std_emp_status = 'N' and c_check_employee%NOTFOUND
THEN
insert_flag := 'I';
DBMS_OUTPUT.PUT_LINE ('New Employee No: ' || v_emp.std_employee_number);
DBMS_OUTPUT.PUT (CHR (10));
end if;
IF v_emp.std_emp_status = 'C' and v_emp.std_national_identifier is not null
and c_check_employee%NOTFOUND
THEN
insert_flag := 'I';
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number || ' doesnt exist but theyre goin in anyway.. ');
DBMS_OUTPUT.PUT (CHR (10));
-- DBMS_OUTPUT.PUT_LINE ('Insert Flag is: ' || insert_flag );
end if;
IF v_emp.std_emp_status = 'C' and c_check_employee%FOUND
THEN
insert_flag := 'C';
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number || ' ..is status C but is present in LIVE... ' );
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ('Insert Flag is: ' || insert_flag );
END IF;
-- if l_assignment_id2 is null then
-- raise_application_error (-20010, 'Employee No: ' || v_emp.std_employee_number || ' exists but has no assignment id!');
-- end if;
IF l_assignment_id2 is null then raise emp_status_errors1; END IF;
-- IF l_assignment_id is null then raise emp_status_errors1; END IF;
IF l_obj2 is null then raise emp_status_errors2; END IF;
IF l_obj is null then raise emp_status_errors2; END IF;
insert_flag := 'C';
-- END IF;
CLOSE c_check_employee;
-- Open Oracle Location Code cursor
OPEN csr_ora_loc_code(v_emp.std_location_id);
FETCH csr_ora_loc_code
INTO v_ora_loc_code;
IF csr_ora_loc_code%NOTFOUND THEN RAISE location_code_errors;
CLOSE csr_ora_loc_code;
-- Create new PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
IF insert_flag = 'I'
THEN
-- -- Importing Employee Procedure --
DBMS_OUTPUT.PUT_LINE ('Inserting Employee.. ' || v_emp.std_employee_number || ' ..now ');
Hr_Employee_Api.create_gb_employee
(p_validate => l_validate,
p_hire_date => l_employ_start_date,
p_business_group_id => l_std_business_group_id,
p_date_of_birth => v_emp.std_date_of_birth,
p_email_address => v_emp.std_email_address,
p_first_name => v_emp.std_first_name,
p_middle_names => v_emp.std_middle_names,
p_last_name => v_emp.std_last_name,
p_sex => v_emp.std_sex,
p_ni_number => v_emp.std_national_identifier,
p_employee_number => v_emp.std_employee_number,
p_person_id => l_person_id,
p_title => v_emp.std_title,
p_assignment_id => l_assignment_id,
-- p_assignment_id => l_assignment_id2,
p_per_object_version_number => l_per_object_version_number,
p_asg_object_version_number => l_asg_object_version_number,
p_per_effective_start_date => l_per_effective_start_date,
p_per_effective_end_date => l_per_effective_end_date,
p_full_name => l_full_name,
p_per_comment_id => l_per_comment_id,
p_assignment_sequence => l_assignment_sequence,
p_assignment_number => l_assignment_number,
p_name_combination_warning => l_name_combination_warning,
p_assign_payroll_warning => l_assign_payroll_warning
Hr_Person_Address_Api.create_person_address
(p_validate => l_validate,
-- p_effective_date => v_emp.std_hire_date,
p_effective_date => l_employ_start_date,
p_pradd_ovlapval_override => NULL,
p_validate_county => NULL,
p_person_id => l_person_id,
p_primary_flag => 'Y',
p_style => 'GB_GLB',
p_date_from => SYSDATE,
p_date_to => NULL,
p_address_type => NULL,
p_comments => NULL,
p_address_line1 => v_emp.std_address_line1,
p_address_line2 => v_emp.std_address_line2,
p_address_line3 => v_emp.std_address_line3,
p_town_or_city => v_emp.std_address_line4,
p_region_1 => NULL,
p_region_2 => NULL,
p_region_3 => NULL,
p_postal_code => v_emp.std_post_code,
p_country => v_emp.std_nationality,
p_telephone_number_1 => NULL,
p_telephone_number_2 => NULL,
p_telephone_number_3 => NULL,
p_party_id => ip_p_party_id,
p_address_id => ip_p_address_id,
p_object_version_number => l_obj
-- p_object_version_number => l_obj2
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
-- p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
-- p_object_version_number => l_obj2,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => l_default_code_comb_id,
p_set_of_books_id => l_set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
-- p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
-- p_object_version_number => l_obj2,
p_organization_id => l_organization_id,
p_location_id => v_ora_loc_code,
p_job_id => l_job_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => l_date,
--per_effective_start_date,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' Insert Flag I records read in..'
-- Updating PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
ELSE IF insert_flag = 'C'
THEN
l_assignment_id2 := emp_rec.assignment_id;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number || ' is about to be updated.. ' );
DBMS_OUTPUT.PUT (CHR (10));
-- END IF;
-- =========
-- Section end
-- =========
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => SYSDATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
-- p_object_version_number => l_obj2,
p_object_version_number => l_obj,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => emp_rec.default_code_comb_id,
p_set_of_books_id => emp_rec.set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
--p_effective_date => emp_rec.EFFECTIVE_START_DATE,
p_effective_date => SYSDATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
-- p_object_version_number => l_obj2,
p_object_version_number => l_obj,
p_organization_id => emp_rec.organization_id,
p_location_id => v_ora_loc_code,
p_job_id => emp_rec.job_id,
p_position_id => emp_rec.position_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => emp_rec.EFFECTIVE_START_DATE,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' INsert Flag C records read in..'
DBMS_OUTPUT.PUT (CHR (10));
-- End of customer related details
END IF;
END IF;
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN OBJ_VERS_NO_FAILED THEN ROLLBACK;
dbms_output.put_line (' No Object version No was found.. ');
WHEN emp_status_errors1 THEN ROLLBACK;
dbms_output.put_line ( 'Employee No: ' || v_emp_no || ' exists but has no assignment id!') ;
WHEN emp_status_errors2 THEN ROLLBACK;
dbms_output.put_line ( 'Employee No: ' || v_emp_no || ' Assgnmnt Obj Vers No is not being passed!');
WHEN location_code_errors THEN ROLLBACK;
dbms_output.put_line ('Location ID unknown or not found, please check..');
WHEN NO_DATA_FOUND THEN ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
WHEN OTHERS THEN ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
END;
EXIT;Many thanks...
StevenThanks for taking the time out.
You're 2nd suggestion was correct the employee doesn't exist in ORACLE Financials becuase its a new employee.
Ive since placed some more lines in to give me more idea which of the 2 assignment_ids it could be. Its saying it finds the employee from the temporary table (SU_TEMPLOYEE_DTLS, that Ive loaded in) but it cant find anything in the variable 'l_assignment_id2' - which Ive got placed for the UPDATE section of the script only (insert_flag = 'C'hanged rather than 'I'nsert).
I cant understand this. Prior to been asked to put more error handling code this has worked fine updating and inserting employee records. Ive tried this morning comparing the two scripts but no success. Would you live a new version of the scripting posting?
Thanks again.
Steven -
SID assignment terminated with errors
Folks
When I was trying to load data into ODS thru info package I got the following errors in the monitor, but I see all the records without any errors in PSA.
System error occured (RFC Call)
Task 0001 for parallel SID assignment terminated with errors
Activation of data records from ODS object ZTSODS terminated
Error getting SID for ODS object ZTSODS
Please suggest,
Thanks,
KumarThanks Sudheer and Prathibha,
I did the same in my previous load, Unchecked the BEx reporting flag, activated the ODS and did the full load but it failed with Process Overdue and with Short dump (Message_Type_x) runtime error.
When I right click on the ODS and selected Manage, I can see a green status for the load but when I see the contents I can only see the header got loaded (only the top row).
If I do this again, I may end up with the same error as I'm not doing anything difference from my previous load?. Pls advise.
Thanks,
Kumar
Message was edited by:
kumar K -
Background Job Hanged but no work process assigned
Hi,
Background job has hanged When i see in SM37. But no work process assigned to this job. All work process are waiting status.
What could be the reason. What is the resolution process.
Thanks,
DayakarHow did you come to a conclusion that the bg job is hangend.
What is the status of the job. ? I guess Job defined, but not yet eligible to run even if the start condition has been fulfilled so it should be in Scheduled status. -
How to assign the status profile to that particular user..?*
Hello Everyone..
I have created a status profile for the particulat sales order type so that a particular user can confirm the sales order and the pass it,so that further changes can be avoided.The profile has been assigned to Item category also.
Now My problem is ,How to assign the status profile to that particular user..?
so that only the user is allowed to change the order.
ThanksHi,
Maintain authorization key (authorization code) in status profile.
We do not assign directly to user. We assign to role E.g sales manager / sales employee etc...
We assign T.codes to role and assign role to user.
Goto Role T.code PFCG. Enter role and click on change button.Goto Authorizations tab.
Click on authorization data .
Expand the Cross-application Authorization Objects tree. Expand Status Management: Set/Delete User Status using Transaction.
Click on Authorization key button, assign Authorization key.
Click on status profile. assign status profile.
Regards,
Chandra -
Task 0085 for parallel SID assignment terminated with errors
Hi,
While activating the ODS object we are getting the following error
Task 0085 for parallel SID assignment terminated with errors
Can anyone help me on this issue.
Thanks
Sheela DatlaHi Sheela,
Does the problem happen with activating the ODS object (definition) itself or with activating the data in the
ODS? I think that there must be other errors apart from Task 0085. At the time of the error you should check in
sm21 and st22 for additional error messages and dumps. If the problem is with the activation of data in the ODS
you should also check sm37 for the job that is created for the ODS activation , you may find more detailed
information in the job log. You should also check the activation step in the 'Details' TAB in the monitor for
the load there may also be more detailed information here.
In transaction rscusta2 (ODS customizing) you should try the following setting for the activation:
No. of Par. Proc. 3
Min. No. Data Recs. 10000
Wait Time in Sec. 600
Before changing the values you have in RSCUSTA2 please take note of the values you have already in
case you want to change them back.
Best Regards,
Des. -
In service order Issu:No account assignment found for this service process
Issue:No account assignment found for this service process
An error has occurred in the system RT1400LS while copying the document
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log.
Transmission log
No account assignment found for this service process (Notification E CRM_SRV_LOG_EXT_OLTP 008)
While we created the service order as a fallow up document of the quotation system unable to create the PR. System showing the above error in the service order.
We created the service order with same items directly not as fallow up document to quotation PR created with out any fail.
As per my analyses above error because system unable to find out the Internal order to create the PR hence we created service order as a fallow up document of the service quotation.
Revert require data to understand the issue more.
Best Regards,
PrakeshDear Gurus,
Thanks for your update. we checked as per your suggestion but the issue is PR is not determining the IO while creating the PR.
We used the different item cat in quotation and service order system generating the PR, But our Clint want to use the same item cat in the both service order and quotation.
If we created the quotation after that service order with the service line item and spare part line item system creating the IO (internal order) but PR not generating.
Please help me in this scenario what should we do.
Best Regards,
Prakesh. -
How to find out the users assigned tasks within a GP process using GP API?
All,
I am trying to get details of all the running GP processes. As a part of this, I need to get the user information of who is assigned a task within a process.
Any inputs on this ?
Do I have to use the IGPProcessRoleInstance interface? Also how do I get the execution context of all the callable objects within the process?
-Thanks in advance
KNHi Chandan,
I am basically looking for the roles responsible for each task in the process.
I get the below exception when I execute the code provided by you.
<i>com.sap.caf.eu.gp.exception.api.GPEngineException: No active version of the given development object existscom.sap.caf.eu.gp.exception.api.GPEngineException: No active version of the given development object exists at com.sap.caf.eu.gp.exception.impl.ExceptionUtil.convertTo(ExceptionUtil.java:36) at com.sap.caf.eu.gp.process.impl.GPProcess.getActiveTemplate(GPProcess.java:116) at com.sap.caf.eu.gp.process.dt.impl.GPDesigntimeManager.getActiveTemplate(GPDesigntimeManager.java:276) at com.sap.caf.eu.gp.process.dt.impl.GPDesigntimeManager.getActiveTemplate(GPDesigntimeManager.java:269) at com.bp.cmd.wd.GPReporting.getOverdueProcesses(GPReporting.java:346) at com.bp.cmd.wd.wdp.InternalGPReporting.getOverdueProcesses(InternalGPReporting.java:184) at com.bp.cmd.wd.GPReportingView.onActionSubmit(GPReportingView.java:145) at com.bp.cmd.wd.wdp.InternalGPReportingView.wdInvokeEventHandler(InternalGPReportingView.java:169) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:746) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:255) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</i>
I guess this is because there is no active version of the process available now. Any inputs on this and how to avoid this ?
-Thanks,
KN. -
Account Assignment Category for third party process.
Hi ,
I would like to use different account assignment category for third party process. This account assignment cat must be assigned at the sales order itself. Is there any config for this.
Kindly help me.
Ram.You can create new account assignment category for 3rd party process by copying existing std one 2 in configuration under MM - Purchasing - Account assignment - maintain account assignment category
You can assign your own set of control for account assignment based on requirement.
SAP use TAS item catgory in 3rd Sales order which is linked to Pur Req account assignment catgory 2.If you are defining own account assignment catgory than you need to config set-up with TAS sales order item catgory.
Hope above details will help to move further...sanjay karkun -
Component materials incorrectly assigned to superior operation in process order
One of my manufacturing facilities is having a problem with components not printing on process order output.
In all cases, the master recipes themselves look fine when reviewed in C203. The components are properly allocated to phases (not superior operations). But when the process orders are generated, certain components are being assigned in the process orders themselves to the first superior operation, instead of to the phase that is indicated in the master recipe. Here is an example.
Here is the master recipe operation information as seen in C203:
And here is the material assignment list as seen in C203. Note that component material MM6030 is assigned to Phase 0035:
But when the process order is created, that same component material MM6030 is now assigned to superior operation 0001:
Here is some additional information that I was able to eke out of the folks at the manufacturing facility:
The operations in the master recipe did NOT originally contain operation 0001. It was added to the recipe in C202 after the recipe was initially saved.
Component Material MM6030 was not originally part of the BOM. It was added via C202 after the recipe was initially saved. A different material was originally in its place, and was assigned to a different phase. After the MM6030 was added to the BOM, the assignment field was blank, and the user assigned it to phase 0035.
Has anyone ever encountered a similar issue? If so, how was it resolved?Hi ,
Possibility , in C202 , user may have changes the BOM first and re-assign the phase but in process order level Read PP master did not call
Another possibility manually change the process order component and assign this in Phase in COR2 .Please check whether it has been added manually in order level .
Regards
JH -
No delivery type for returns processing assigned to item 00010
Dear all,
I want to create a Return Purchasing Order.
I have got an error: No delivery type for returns processing assigned to item 00010
Please help to to find out problem. What do i have to check?Hi,
Regarding the error ME392, please check the customizing under
the IMG path:
Materials Management
-> Purchasing
-> Purchase Order
-> Returns Order
-> Store Return
Here, for the supplying plant in your Cross-company-code return, you
need to set up a delivery type.
In order to know the supplying plant, please, open the vendor master
data (XK03).
Select the 'Purchasing data' section.
Once you are in the screen SAPMF02K 310 follow the menu path 'Extras' ->
'Add.purchasing data'.
Here you will see the Plant that is linked to your vendor.
So, now, for this Plant, under the IMG path mentioned before,
set a a delivery type for the store return (NCR - Ret.StTranspOrd CC
can be used, for example).
Best Regards,
Arminda Jack -
Error:Assign handling Unit from one Process order to another process order
Hi Experts,
I am facing different issues in assigning handling unit from one process order to another.
Business process:
1. Two similar Process Orders are existing in the system
2. Delivery is created for first process order using LP10 for one or more components
3. TO is created in foreground using VL06P
4. TO is confirmed by providing in stock available Handling Unit (HU) / storage Unit details Using LT12
5. Customized transaction is used to reassign newly created HU (created in previous step) from first process order to second process order. As a result many steps are performed in background for delinking the HU from first process order to second process order (including creation of different TOs)
I am facing different issues in the process:
1. Sometimes while confirming the TO in step 4: error is received as "Reservation item 0065 with material 4013959300300 does not exist" OR "Reservation item with material does not exist"
2. If the TO is confirmed in step 4. I am facing error in step 5 as "Warehouse number does not exist (new selection required)"
Both these errors are standard errors and I could not find much information on them in SCN also.
If anyone can throw light on any of them then it would be great.
Please let me know if any additional information is required.
Thanks
Harsh AggarwalHi Manish
Thanks for your response. Actually, the customized program is used only in fifth step and not till TO confirmation so that error is not related to Customized program. However, in some cases I am able to do the confirmation but the error is received in 5th step i.e. Warehouse number does not exist (new selection required)"
Any further guidance you can provide. I will ask ABAP to check the customized program but the error seems to be a standard error. -
Assigning Portal Group to CAF Process
Hello Experts,
I want to assign portal group to caf process.
I am starting the process programmatically (Using Java Web Dynpro).
And also I dont want to assign user by user of the group to the process.
let me know if it is possible, and If Yes ( ) How ??
Regards,
Yogesh...Hi Yogesh,
Yes, you can assign portal group to your process action.
If you test your process from GP directly, Wile assigning users to the actions. you will see an option to assign a group and a role too(by selecting that dropdown).
So if you directly pass the group name in your code while calling GP. It will assign all the users in that group for that selected action.
Hope this resolves your query.
Thanks,
Tejaswini
Maybe you are looking for
-
Calculate the total value of payments with the procedures and triggers?
Hello! I work for a college project and I have a big problem because professor requires to do it by the examples he gives during the lecture. Here's an example that should be applied to its base, so please help! I have three table with that should wo
-
Report is by defualt picking up short text for variable selection screen.
Hi all, Reports(WAD/BEX) by default pciks short text of the master data , i want it to pick long text ; any idea ? Thanks , Madhav
-
How to update additional data for a premise in ISU?
Hi Experts, Does any1 have any ideas about how to update additional data (Such as number of premises, flat area) for a premise? I mean not use ISU_DB_EWA_VBS_UPDATE directly. I tried to use ISU_S_PREMISE_CHANGE to update the data, but I do not konw h
-
Hi, I am trying to use wscompile (JWSDP 1.3) to compile a web service that has a method whose return type is a class below. package sample; public class Test { public Test() { } I got an error: invalid type for JAX-RPC structure: test.Test Now strang
-
Installer error? - cannot find files
I am running Arch 0.7 on one computer, and was going to install it on another. However, the CDROM installation stopped with the messages error: /mnt/var/lib/pacman/current/kbd-12.1-1/desc: Nosuch file o error: /mnt/var/lib/pacman/current/kbd-12.1-1/