Copy function in SAP E-recruiting for Hiring Manager
Hello,
we are facing a new error in SAP E-recruitig.
whenever the hiring manger copies existing or relased requisition we are getting "An internal error occured. Please try again later" and also few fields are not appearing(out of five fields three were customised.). However when we click on Save button the fields are appearing. why this is happening. any back end configuration is required.
Let us know your inputs.
Hi,
if the problem is still existing, check T-CodeSLG1. Usally all error of this kind writes additional information to the application log. If you cannot handle the error yourself just give us another post with the information.
Copying the requisitions does not copy all fields. Some are especially excluded. Could you give the realease you are working on? In some there is no other option than doing a modification while newer offer at least some settings like setting a flag to have the posting copied with the requisition or not.
Best regards
Roman
Similar Messages
-
Unable to use the Copy function while submitting the program for XML output
Hi
when i submit the concurrent program with XML output type, getting the output..
when i submit he concurrent program using the copy button not able to get the output,
my observation
while submitting the program the xml template is not called....
Diagnostics--> view xml -- able to view the ouput.
do let me know if any of the steps is missing while registration in the xml responsibility..
this is only with the custom conc program.. the standard program is working fine...
do help me out..
Regards
YramIt's really a little difficult to answer your question without a bit more information. What version of JDeveloper are you using? What's your technology stack?
If this is JDeveloper 11+g+, with the Fusion technology stack, you can use a technique like the one described here:
http://groundside.com/blog/GrantRonald.php?title=jdeveloper_11_business_services_cascadin&more=1&c=1&tb=1&pb=1
If it's JDeveloper 10.1.3, with the default Web technology stack, look here:
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#62
If, as it looks like, this is really a question about generic JSPs (no JSF), you might actually have a bit more success on a generic JSP forum--using scriptlets hasn't really been best practices within JDev since...well, since JSTL became available, really. That was a number of years ago.
Like I said, there's really no direct way to use Javascript output in a scriptlet--unless you mean something like storing Javascript output in a hidden field, and using the value in a scriptlet on the next request. But by the time Javascript runs, any scriptlet from the current request will already have executed. -
Sap E-recruiting ( Talent Relationship Management )
Hi
Why one candidate (internal or external) appears in the pool of talents and other no ?
I registered 20 candidates but only I can see 3 when i search in Talent Relationship Management
Can you show me the way please?
Thanks in advance. SonyHello,
unfortunately there is no easy way to tidy up a complete e-recruiting.
While for pure HR components there is a way to clear all infotypes through a report SAP once delivered to get rid of database entries which were accidently transfered with a client copy including customizing tables (all infotypes are for any reason type C tables), the business partner integration of e-recruiting blocks that way.
Also doing it manually is not easy, e.g. deleting a requisition can only be done for requisitions marked "to be deleted" and this is only possible in the manager scenario.
We once developed a report to clear a complete e-recruiting system without touching process supporting data like process templates or questionaires for a customer who tested on production to ensure propper set up and a then wanted to clear everything. This took quite some days to get this right - unfortunately I cannot hand this out, I hope for ur understanding here.
Of course you can try to develop such report on your own. Other way would be a new system setup with importing all transports you did so far. Or third just clean up what really bothers ongoing project.
For a production system I would go for new setup. In best case there is a data recovery possible you only have to import the transports. Developing an own report might take you longer than this.
If it is only the dev system I would get rid of all things which could disturb my developments by throwing dumps or slg1 entries. If it is only dev full cleaning is not always necessary. But of course this need quite profund knowledge of the application and the project itself.
Sorry that I cannot offer an easy solution for this problem.
Kind Regards
Roman -
Copy Function is Not Working properly In Order Management
Hi,
Description-
When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
option class lines and the option item lines (unshipped and shipped).
Example-
Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
pd-pto-model 5 qty
pd-std-item1 (included item) 5 qty
pd-pto-oc (option class) 5 qty
pd-std-item1 (included item with rfr checked) 5 qty
pd-std-item2 (option item with rfr checked) 5 qty
pd-std-item3 (option item) 5 qty
Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
pd-pto-model Closed
pd-std-item1 (included item) Picked
pd-pto-oc (option class) Closed
pd-std-item1 (included item with rfr checked) Picked
pd-std-item2 (option item with rfr checked) Picked
pd-std-item3 (option item) Partially Interfaced to receivables
Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
Anyone can help me on this issue.
Thanks,
Chinnahaisrig wrote:
Hi ,
We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
Program name :- sel.cpp
int main()
struct timeval sleeptime;
sleeptime.tv_sec = 60;
printf("1\n");
select(0,NULL,NULL,NULL,&sleeptime);
printf("2");
return 0;
When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
I think because of that the above select function is not working properly in solaris 10.
Why the tv_usec is not taking 0 as default values in Solaris 10?
We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
It sounds to me that you've been lucky for 20 years then.
Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
(dbx) run
Running: sel
stopped in main at line 9 in file "sel.cpp"
9 sleeptime.tv_sec = 60;
(dbx) print sleeptime
sleeptime = {
tv_sec = -4198732
tv_usec = 0
}That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
(dbx) print sleeptime
sleeptime = {
tv_sec = -830490588
tv_usec = 134510556
and I see the behaviour that you describe.
Paul -
Data of Pop Up (Third Party Provider) is not copied over to SAP CRM Web UI
Hi Experts,
we have created a Function Group (ZDI_PAYMENT) and have defined FM ZDI_PAYMENT_SET to set data into the variables of this Function Group and FM ZDI_PAYMENT_GET to retrieve data out of the same variables.
Process is as follows: A customer wants to pay with his credit card but credit card can not be saved on the Service Order. So that is why a token is created and this token is saved on the Service Order. To create this token SAP CRM is connected via HTTP Connection to a third party provider. When user needs a token he pushes a button and a pop up is openened. This pop up is already provided by third party provider and in this pop up the user introduces credit card number and on the same pop up the token is visible and just has to be copied over to the SAP CRM View.
Problem now is that when we made testing we found out that for some user it works fine and FM ZDI_PAYMENT_GET gets actually the values for token and data is copied over to SAP CRM but for others it does not work. So we think it has to be to do with the browser settings but we are not really sure.
Has anybody experience with that?
Regards,
Oliver SchultzeHi Experts,
we found out already what was the problem. We have used a URL to log in into the SAP CRM that has a port. Log In Link should be without Port.
Regards -
MSS: PCR requests filed Hiring manager ???
Dear All,
We are working with ERP2004 MSS solution.
There is some ecruitement(e-recruitment) screen whee we have a field for Hiring manager.
This seems as same in old recruitment solution. But we are not able to identify how this field is coming on this screen..
anyone who has worked/working on MSS solution and using this service.. can you please help me out.
Thanks and regards,
SudhirHi sudhir
look at sap note 787505 might help u.
regards,
kaushal -
EHSM Login / T.codes for Incident Management
Hi All,
I am a BW Consultant & got the requirement to develop the Incident Management Reports.
we have SAP standard Extractors for Incident Management to load the Data.
I want to know
1. I need to reconcile my bw report, what are the T.codes for Incident Management,
2. is EHSM is web based / SAP GUI based, if web based...how to login.
3. I have access to ECC where the EHSM is instaled, but I am very new & dont have Idea to login.
Please help me in this...since I dont have any functional consultant here.
THx,Dear Shaik ,
First you will have to ensure you have EHSM roles asssigned to you(i.e SAP_EHSM_MASTER or customized role of it)
Second :once you login select Health and Safety->Overview where you would be able to see incident and incident reports ; also you can select analytical reports to viewing BI data
Third:
Please find the list of data sources in RSA5
0EHSM_HSS_INC_REC Incident Management
0EHSM_HSS_INC_REC_01 Incidents
0EHSM_HSS_INC_REC_02 Injuries
0EHSM_HSS_INC_REC_03 Assets
0EHSM_HSS_INC_REC_04 Financial Transactions
0EHSM_HSS_INC_REC_05 Releases
0EHSM_HSS_INC_REC_06 Actions
0EHSM_HSS_INC_REC_07 Investigations
0EHSM_HSS_INC_REC_08 Risk Matrix
0EHSM_HSS_INC_REC_09 Notices of Violation
0EHSM_HSS_INC_REC_10 HCM Data
0EHSM_HSS_INC_REC-IO Incident Management Master Data
Thanks
GJ -
Does SAP have function to allow the prices for the activities type to copy
Hi Expert,
Would like to seek for your help refer to above subject.
Does SAP have function to allow the prices for the activities type to copy from previuos fiscal year to current fiscal year so that we do not need to manually set up the acitvities types prices via KP26.
What are the T-code and what are the configuration need to be set in order to use the function.
Please help.
Regards,
KHHi,
Thank you for the prompt reply.
However, would like to seek for your advise does SAP provide standard report to view the cost of activities incur?What are the T-code?
Thank you.
Regards,
Karen -
I have used SAP doc mgmt for years. We copied a client and now when I configure a Class to my DMS DIR and go to CV01n Additional Data NONE of the characteristic entry boxes show up. Additional Data is blank.
It appears there must be some high level setting missing in the client. I have checked all authorizations and cannot find a difference between this client and all of the other clients we have. Only this one client does not show the class characteristics in the Additional Data tab.
Any ideas of why this standard function is not working). It does not matter which DIR I config the 017 class to, nothing shows on Additional Data.Hi,
The issue is resolved. We are working in a sandbox with Class configuration on a DMS issue related to standard class 017. There are no standard settings in SPRO - Cross-Application Components | Maintain Object Types and Class Types | for the object type DRAW that will allow "auto-populating" characteristic values as we do with VC class 300.
For whatever reason DRAW and class 017 are not configured by SAP in the same manner as class 300 for example.
We made a config entry for DRAW Class 017 VBAP. Let's just say the system did not like that.
We are exploring other options. -
Trasformation SAP BW 7.0 system "Copy" Functionality NOT available
Hi,
i started to work with a new SAP BW 7.0 system and i noticed that the copy functionality for the trasformation is not available.
In my previous project i worked on a system SAP BW 7.0 that had this functionality, i mean with right click of the mouse on a trasformation i had: display, change, copy, delete.
Now in the new system i have only display, change and delete.
I compard the patch levels of the two systems:
in the new system we have a SAP_BW patch level 15,
in the previous one i have a SAP_BW level 16.
Could be this one the reason?
Any idea?
ThxHi,
Should be yes..
Even we also have BI 7 with SP 7 and SP 18.
In SP 7 I dont have copy option. But in SP 18 this is there...
Siva -
Copy functionality from sales order to PR to PO for text items
Hey Gurus,
There is a bit of standard functionality in SAP that if there are text fields populated in a sales order that are also available in the PR and PO, that you can copy this functionality over when you create the PR from the sales order, and then create the PO from the PR. Can you guys steer me in the right direction as to where I can find information on how to set up this config?go to
SPRO-MM-Purchasing-Purchase requisiton-Text for Purchase requisiton- define copying rule
here you can define
select the 06 adn click on text linkage
same in PO config
SPRO-MM-Purchasing-Purchase order-Text for Purchase order- define copying rule for item text -
Item Conversion Template Issue for Oracle Migration - Copy functionality
Hi,
I am working on Migration project which is from Radius ERP to Oracle 11.5.10.2.
Currently working on Item Conversion. This Item conversion having the fileds like (ORGANIZATION_ID,SEGMENT1,DESCRIPTION,ITEM_TYPE,COST_OF_SALES_ACCOUNT,SALES_ACCOUNT,ATTRIBUTE_CATEGORY,ATTRIBUTE1,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,GLOBAL_ATTRIBUTE10,REF_INVENTORY_ITEM_ID,REF_ORGANIZATION_ID).
I have validated those fields and loaded into interfacing to Oracle Successfully in the master Org and Validated through Frontend.
when I close the form, I will be receiving the below warning message and telling that Template id needs to be assign to the item before assigning item to the Org. The message is showing like
"*You have not applied a template to this item, please apply a template before assigning this item to an ORG.*"
Please find the below package which I wrote for this conversion requirement.
The customer is saying like need to achieve the copy functionality based on the "REF_INVENTORY_ITEM_ID and REF_ORGANIZATION_ID".
The Issue is am not able to handle the copy functionality and getting above message. kindly refer the package and suggest me where i am doing the mistake. Its high priority issue for me.
Thanks in advance.
CREATE OR REPLACE PACKAGE APPS.xxxx_inv_items_conv_pkg
AS
PROCEDURE xxx_item_conversion_proc (
errbuf OUT VARCHAR2,
retcode OUT VARCHAR2,
p_org_id IN NUMBER,
-- p_commit_point IN NUMBER,
p_load_code IN VARCHAR2
IS
<<Local Variables Declaration>> <<For space limit deleted these variables>>
CURSOR cur_item_master (pc_org_code VARCHAR2)
IS
SELECT itemstg.*
FROM xxx_inv_system_items_stg itemstg
WHERE itemstg.organization_id = pc_org_code
AND itemstg.status_flag IS NULL;
CURSOR cur_item_master_dup (pc_org_code VARCHAR2)
IS
SELECT itemstg.segment1, itemstg.organization_id
FROM xxx_inv_system_items_stg itemstg
WHERE itemstg.ROWID <
(SELECT MAX (b.ROWID)
FROM xxx_inv_system_items_stg b
WHERE b.segment1 = itemstg.segment1
AND b.organization_id = itemstg.organization_id
AND b.organization_id = pc_org_code
AND itemstg.status_flag IS NULL
AND b.status_flag IS NULL);
BEGIN
IF p_load_code = 'Insert'
THEN
l_transaction_type := 'CREATE'; -- Default Value in I/F Table
ELSIF p_load_code = 'Update'
THEN
l_transaction_type := 'UPDATE'; -- Default Value in I/F Table
END IF;
DBMS_OUTPUT.put_line ( 'Validation Starts At :'
|| TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
--Checking for Duplicate Records items
BEGIN
UPDATE xxx_inv_system_items_stg a
SET a.status_flag = 'E',
a.error_message = 'Duplicate Record'
WHERE a.ROWID >
ANY (SELECT b.ROWID
FROM xxx_inv_system_items_stg b
WHERE a.segment1 = b.segment1
AND a.organization_id = b.organization_id)
AND a.organization_id = p_org_id
AND a.status_flag IS NULL;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('Exception in updating duplicates'
|| SQLERRM
END;
DBMS_OUTPUT.put_line ('CheckPoint: Duplicate Record');
BEGIN
SELECT organization_id
INTO l_organization_id
FROM org_organization_definitions
WHERE organization_id = p_org_id;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
-- p_retcode := '2';
WHEN OTHERS
THEN
DBMS_OUTPUT.PUT_LINE('Exception in Getting Org Id'||'Cannot Proceed');
-- p_retcode := '2';
END ;
DBMS_OUTPUT.put_line ('CheckPoint: Orgcode' || l_organization_id);
/* IF p_retcode = '2'
THEN
RETURN;
END IF;*/
--Block : Setting Master and Validation Orgs Flags
BEGIN
SELECT DECODE (master_organization_id, l_organization_id, 'Y', 'N'),
master_organization_id
INTO l_master_org,
l_master_org_id
FROM mtl_parameters
WHERE organization_id = l_organization_id;
EXCEPTION
WHEN OTHERS
THEN
l_master_org := 'N';
l_master_org_id := NULL;
DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
END ;
DBMS_OUTPUT.put_line ('master_organization_id');
SELECT fnd_profile.VALUE ('USER_ID')
INTO l_user_id
FROM DUAL;
-- Block : Set the SET_PROCESS_ID
l_set_process_id := l_organization_id;
l_insert_count := 0;
LOOP
BEGIN
SELECT COUNT (segment1)
INTO l_insert_count
FROM mtl_system_items_interface
WHERE set_process_id = l_set_process_id
AND transaction_type = l_transaction_type
AND process_flag = 1;
EXCEPTION
WHEN OTHERS
THEN
l_insert_count := 0;
END;
EXIT WHEN l_insert_count = 0;
l_set_process_id := l_set_process_id + 10;
END LOOP;
DBMS_OUTPUT.put_line ('SET PROCESS ID -l_insert_count ' || l_insert_count);
IF p_load_code = 'Insert'
THEN
BEGIN
FOR recitem_data IN cur_item_master_dup (p_org_id)
LOOP
UPDATE xxx_inv_system_items_stg
SET status_flag = l_processed_flag,
error_message = l_error_message
WHERE segment1 = recitem_data.segment1
AND organization_id = recitem_data.organization_id
AND status_flag IS NULL;
COMMIT;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ( 'Update of Duplicates Failed : '
|| SQLCODE
|| '--'
|| SQLERRM
END ;
END IF;
FOR recitem_data IN cur_item_master (p_org_id)
LOOP
<<Local Variables Declaration>> <<For space limit deleted these variables>>
IF p_load_code = 'Update'
THEN
l_error_message := 'Update Mode' || l_error_delimiter;
END IF;
--l_count := -1;
BEGIN
DBMS_OUTPUT.put_line ('CheckPoint: ItemValidationStart');
SELECT DISTINCT inventory_item_id,
restrict_subinventories_code,
restrict_locators_code
INTO l_inventory_item_id,
l_restrict_subinventories_code,
l_restrict_locators_code
FROM apps.mtl_system_items_b msi
WHERE msi.organization_id = l_organization_id
AND msi.segment1 = UPPER (recitem_data.segment1);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_count := 0;
-- l_processed_flag := 'F';
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||recitem_data.ref_inventory_item_id);
WHEN OTHERS
THEN
l_count := -1;
-- l_processed_flag := 'F';
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
END ;
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP'||recitem_data.ref_inventory_item_id);
IF l_count = -1
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Exception - Checking Item already Present'
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('Exception - Checking Item already Present'||l_processed_flag);
ELSIF (l_count > 0 AND p_load_code = 'Insert')
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Item Already Exists In '
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('Exception - Checking Item already Present1'||l_processed_flag);
ELSIF (l_count = 0 AND p_load_code = 'Update')
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Item Not Present In '
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('Exception - Checking Item already Present2'||l_processed_flag);
END IF;
BEGIN
SELECT count(*)
INTO l_seg_count
FROM apps.mtl_system_items_b msi
WHERE msi.organization_id = l_organization_id
AND msi.segment1 = UPPER (recitem_data.segment1);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_seg_count := 0;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Item Not Present In Oracle'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('inventory_item_id - l_seg_count ' ||l_seg_count||'-'||l_processed_flag );
WHEN OTHERS
THEN
l_seg_count := -1;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Item Not Present In Oracle'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
END ;
IF p_load_code = 'Insert'
THEN
IF l_organization_id != l_master_org_id
THEN
BEGIN
SELECT COUNT (1)
INTO l_org_item_count
FROM apps.mtl_system_items_b msi
WHERE msi.organization_id = l_master_org_id
AND msi.segment1 = UPPER (recitem_data.segment1);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_org_item_count := 0;
DBMS_OUTPUT.put_line ('l_org_item_count ' ||l_org_item_count||'-'||l_processed_flag );
WHEN OTHERS
THEN
l_org_item_count := -1;
END ;
IF l_org_item_count = -1
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Exception - Checking Item in Master '
|| l_error_delimiter;
ELSIF l_org_item_count = 0
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Item Does Not Exist in Master '
|| l_error_delimiter;
END IF;
END IF;
END IF;
DBMS_OUTPUT.put_line ( 'CheckPoint: Iteminmasterorg'
|| l_org_item_count
IF (recitem_data.description IS NULL AND p_load_code = 'Insert')
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message || 'Description is NULL' || l_error_delimiter;
END IF;
IF (recitem_data.sales_account IS NOT NULL)
THEN
BEGIN
SELECT code_combination_id
INTO l_sales_account
FROM gl_code_combinations_kfv
WHERE code_combination_id= recitem_data.sales_account;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
-- l_processed_flag := 'F'; --QUESTION
l_error_message :=
l_error_message
|| 'Sales Account Not Setup '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
|| l_sales_account||'-'||l_processed_flag
WHEN OTHERS
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Sales Account Exception '
|| SQLERRM
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
|| l_sales_account||'-'||l_processed_flag
END ;
END IF;
IF (recitem_data.cost_of_sales_account IS NOT NULL)
THEN
BEGIN
SELECT code_combination_id
INTO l_cost_of_sales_account
FROM gl_code_combinations_kfv
WHERE code_combination_id =
recitem_data.cost_of_sales_account;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'COGS Account Not Setup '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
|| l_cost_of_sales_account||'-'||l_processed_flag
WHEN OTHERS
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'COGS Account Exception '
|| SQLERRM
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
|| l_cost_of_sales_account||'-'||l_processed_flag
END check_cogs_account;
END IF;
BEGIN
select distinct organization_code
into l_ref_org_code
from org_organization_definitions
where organization_id = recitem_data.ref_organization_id ;
EXCEPTION
WHEN OTHERS THEN
l_ref_org_code:= NULL;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Reference Org Not Present'
|| p_org_id
|| ' Organization '
|| l_error_delimiter ;
DBMS_OUTPUT.put_line ('l_ref_org_code'|| l_ref_org_code||'-'||l_processed_flag);
END;
BEGIN
select concatenated_segments
into l_ref_inventory_item_code
from mtl_system_items_kfv
where inventory_item_id = recitem_data.ref_inventory_item_id
and organization_id = recitem_data.ref_organization_id ;
EXCEPTION
WHEN OTHERS THEN
l_ref_inventory_item_code :=NULL;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Reference Item Not Present'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('l_ref_inventory_item_code'|| l_ref_inventory_item_code||'-'||l_processed_flag);
END;
IF (l_master_org = 'N' AND p_load_code = 'Insert')
THEN
BEGIN
SELECT count(*)
INTO l_description_count
FROM mtl_system_items_tl
WHERE organization_id = l_master_org_id
AND inventory_item_id =
(SELECT inventory_item_id
FROM mtl_system_items_b
WHERE organization_id = l_master_org_id
AND segment1 = recitem_data.segment1);
END ;
IF l_description_count > 0 THEN
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Item Description Not Present'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
END IF;
END IF;
IF l_processed_flag = 'S'
THEN
BEGIN
INSERT INTO mtl_system_items_interface
(organization_id,
segment1,
description,
ITEM_TYPE,
COST_OF_SALES_ACCOUNT,
SALES_ACCOUNT,
attribute_category,
set_process_id,
transaction_type,
process_flag,
copy_organization_code,
copy_item_number,
creation_date,
created_by,
last_updated_by,
last_update_date
--attribute_category
, attribute1
, attribute2
,attribute3
,attribute4
,attribute5
,attribute6
,attribute7
,attribute8
,attribute9
,attribute10
,attribute11
,attribute12
,attribute13
,attribute14
,attribute15
,global_attribute10
VALUES (l_organization_id,
recitem_data.segment1,
recitem_data.description,
recitem_data.ITEM_TYPE,
recitem_data.COST_OF_SALES_ACCOUNT,
recitem_data.SALES_ACCOUNT,
recitem_data.ATTRIBUTE_CATEGORY,
l_set_process_id,
l_transaction_type, --,l_transaction_type
l_process_flag,
l_ref_org_code,
l_ref_inventory_item_code,
SYSDATE, l_user_id,
l_user_id, SYSDATE
-- l_attribute_category
,recitem_data.attribute1
,recitem_data.attribute2
,recitem_data.attribute3
,recitem_data.attribute4
,recitem_data.attribute5
,recitem_data.attribute6
,recitem_data.attribute7
, recitem_data.attribute8
,recitem_data.attribute9
, recitem_data.attribute10
,recitem_data.attribute11
,recitem_data.attribute12
,recitem_data.attribute13
,recitem_data.attribute14
,recitem_data.attribute15
, substr(recitem_data.global_attribute10,1,length(recitem_data.global_attribute10)-1) --recitem_data.global_attribute10
l_insert_count := l_insert_count + 1;
/* IF (l_insert_count = NVL (p_commit_point, 10000))
THEN
-- l_set_process_id := l_set_process_id + 10; -- REVERT BACK CHANGE
l_insert_count := 0;
END IF;
EXCEPTION
WHEN OTHERS
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Error in Inserting Item '
|| SQLERRM
|| l_error_delimiter;
END ;
COMMIT;
DBMS_OUTPUT.put_line ('CheckPoint: Insertion Completed in Intfacetable');
END IF;
BEGIN
UPDATE xxx_inv_system_items_stg
SET status_flag = l_processed_flag,
error_message = l_error_message
WHERE segment1 = recitem_data.segment1
AND organization_id = recitem_data.organization_id
AND status_flag IS NULL;
COMMIT;
DBMS_OUTPUT.put_line ('Error Message'||l_error_message);
EXCEPTION
WHEN OTHERS
THEN
fnd_file.put_line (fnd_file.LOG,
'Error:Updating Item:'
|| SQLCODE
|| '-'
|| SQLERRM
END;
END LOOP; --FOR recitem_data IN cur_item_master
DBMS_OUTPUT.put_line ( 'Validation Ends At :'
|| TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
DBMS_OUTPUT.put_line ('Number of records inserted into Table Successfully -->'|| l_insert_count);
END;
END xxxx_inv_items_conv_pkg;
Edited by: 896170 on Apr 12, 2013 11:58 PMIssue got solved... changed the PO line amount as:
<?xdoxslt:set_variable($_XDOCTX,'line_amt',xdoxslt:to_number(LINE_AMOUNT))?>
Reference :Syntax for 'to_number'
Regards
Manikanta Panigrahi -
I want to create a sales return, and use copy with reference to do that. But if the sales order items cate is TAB, then those items cannot be copied, I check the config dosen't find the TAB item for order type, even in the standard, RE to OR, I question that whehter is not make sense to copy TAB items. Anyone try add TAB item to copy function? Thanks!
Use T-Code - VTAF (IMG - Sales and Distribution - Sales - Maintain Copy Control for Sales Documents - Copying Control: Billing Document to Sales Document
Here select your Invoice Type & Sales Returns Documents type & double click in Item on left hand side. You will list of available items & you can also add new Items here.
Hope this helps...
Thanks,
Jignesh Mehta -
SAP System DB usage for SAP E-recruitment.
Hi experts,
We are in the process of implementting SAP E-recruitmetn 600 in an integrated scenario with SAP Ecc6.0.
We would like to know the consequences of using SAP system DataBase as storgare system for SAP E-REcruitment. If this is the case, all external and internal candidates CVs and otehr documents will store in SAP System DB.
We would like to konw,
1.) Will this collection of huge data ruins the preformance of SAP system?
2.) How to proceed with backup for E-recruitment if DB is SAP DB
3.) Work-around Document for the above process
4.) What are the impacts
5.) What are the possibilities to restore data from SAP DB to content server once Content server issue resolved?
Thanks & Regards,
Sudheer Kumar P.Hi Sudheer,
Have you got answers to your questions? I am also stuck with the same questions. If you could help me with these I would be very thankful.
My email is [email protected]
Edited by: Manoj Chauhan on Jun 11, 2008 12:38 PM -
How to copy function group from one SAP system to another
dear all,
our company will set up a sub-company currently,and the sub-company want to copy some programs from our SAP system.
how to pack and copy function group?
pls help me,tks!Hello Snow zeng,
Will the 2 systems be connected ? I.e Same land scape ?
If they are non connected systems, check this Wiki by Marcin [How to copy Repository Objects between non-connected SAP systems|http://wiki.sdn.sap.com/wiki/display/ABAP/HowtocopyRepositoryObjectsbetweennon-connectedSAPsystems]
Regards
Maybe you are looking for
-
Creating a non UI class in WPF that can have RoutedEvents
I have a WPF app written in VS 2010 C#. I have written a class that is not a user interface element (not a window, control, usercontrol... just a class that does stuff). I would like to have this class host RoutedEvents. However, when I insert the fo
-
Change font size in iMessage in the communication pane, for IOS 6
I am getting older, and I would like to increase the font size of text in iMessage. The double tap zoom function does not work in this program. Any suggestions ? I am sure that i am not the only one that can not always find his glasses. Thanks in adv
-
Image in a Form Portlet disappears
I made a Form with an Image (Signatur of an employee - gif). Everithing goes fine. I can upload an image, i can see it too in a Form. Now i want to run this Form as a Portlet on my Portal-Site. Everithing is o.k., but now i can not see my image any m
-
Using interface builder to create a table view and add a cell
So I am using interface builder to make a table view. Should be easy. I drag a table view controller to my view, then it seems I should be able to drag a table view cell to the table view but it won't let me drop it down. If I do it in the documents
-
I have selected a specific text tone for a certain contact but get the default tone when they text me. What am I doing wrong?