Cin Issue for capital
Hello Together,
Could you pl.share me the following,
Excise accounts per excise transaction for CAPE IP ( Debit / credit entry)
GL accounts per excise transaction for CAPE IP
Thank you in advance
Shailesh
cape is an excise transaction type for capital goods . And with cape , when ever u procure capital goods , the exc part will jhit a gl account thru ETT. And if u want 2 or more gl account for captal goods maintain
subtransaction type and maually give the sub trans type while caturing/posting exc .
GRPO = ISE INVOICE FOR GOODS RECEIPT/PO, EWPO =XCISE INVOICE WITHOUT PO, DLFE = GOODS REMOVAL THROUGH SALES
now assign gl accounts for cape , grpo etc
also DR , CR is std . we take cr while taking in goods rt , so cr comes
hope u understand well .
respond , manu
Similar Messages
-
CIN Setting for Capital goods (RG23C)
Hi,
Presently, after doing Goods Receipt (MIGO) when trying to update RG23C Part 1 in J1I5 with reference to the material document and choosing classification as ROP, the system doesn't find any data.
When trying to Capture Excise Invoice in J1IEX, the ETT comes GRPO whereas it should have been CAPE.
Can any one provide the complete setting details for handling of Capital goods as well as the configuration details for CIN Setting for Capital goods (RG23C)?
Thanks in advance
Note : Please search forum before posting.
Edited by: Jeyakanthan A on Jun 4, 2011 11:17 AMHi,
try to open now,
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/808c60ca-013b-2c10-34a2-94d1eb442e6f?quicklink=index&overridelayout=true]
Check it once again now
Regards
Kailas ugale -
CIN configuration for capital goods
Dear All,
I have to configure CIN for capital goods purchase. Please let me know the important configuration required for the same.
where we can set 50% on hold conditions ?
Regards,
UmeshHi,
1. for Capital Goods, first in J1ID miantain in material and chapter id maintain that material code with Assets.
2. In Create PO with Account assigment as Assets.
3. In SPRO, while maintaing specify Excise accounts per Excise TT as
CAPE CR Credit ONHOLD CENVAT on hold account
CAPE DR Debit ONHOLD CENVAT on hold account
CAPE DR Debit RG23AT1 RG 23 AT1 Account
CAPE DR Debit RG23BED RG 23 BED account
CAPE DR Debit RG23ECS RG 23 ECS Account
4. Now in PART2, RG23C Register type is updated for Capital Goods
5. The Excise Posting Entries must be like
During Excise Invoice Credit
Cenvat Account Dr. (50%)
Cenvat On-hold Dr. (50%)
Cenvat Clearing Cr.
6. Check the Balance Credit Capital Asset T Code J2I8
Hope help u !
Regards,
Pardeep Malik -
Hi All SAP Support team,
Which mvt type are use for capital material issue from main storesHi
Movement type 241 is used.
Regards
Antony -
J1ih Issue for capital on Hold
Dear All,
I have to capture additional excise on Capital Good(RG23C) from T-code J1IH in Additional Excise.
So when i enter amount in BED Amount = 100, ECS Amount= 10, SECess Amount= 4 and click on Determine GL system show
SECESS Ac DR 2
BED Ac DR 50
ECS Ac DR 5
To ModVAT clearing 114 Cr
System should allow me to enter another GL for 50%Capital on Hold so that i can enter balance 50% (57 RS) value in that GL Account.
Is there any solution for that.
Thanks in Advance
Regards,
Shayamin Specify Excise Accounts per Excise Transaction assing ON HOLD account name in front of Excise TT and assign the GL in Specify G/L Accounts per Excise Transaction.
Things will resolved,
Shayam -
Error While Updating Issue For Production
Hi,
When i am trying to update an UDF in issue for production i am getting the following error message.
Item is Not a Component to the Referenced work order[Goods Issue - Object Type] Message 3560 -5Dear Manikandan K,
Regarding the message we can tell you that the error message
"Item is not a component of the referenced Work Order" usually appears
because there is a case sensitive problem between the item code given
in the BOM and the item code given in the item master data.
Please check if the item codes of the BOM are exactly the same as the
codes given in the item master data. There should not be any differences
between spelling of the codes (for example item code in the item master
data is with capital letters X00014447 while the item code in the BOM
is with normal letters x00014447).
In case you find item with this issue please correct its item code
in the BOM manually so it will be exactly identical with the code given
in the item master data.
Regards,
Marcella Rivi
SAP Business One Forums Team -
ED Configuration for Capital goods
Hi Gurus,
I have a problem in calculation of Excise duty with respect to capital goods.
Our client wants to Create a new tax code ......though which they can claim the .....Input of 50% Excise duty this year and 50% next year,( for that he want to update two different GL accounts for these percentages) and 4% VAT on it.
EX:
The new tax code for 12.36% of excise duty + 4% VAT, required in a single tax code. (This 12.36% ED -- 50% this year and 50% next yr)
Required for the following scenario
Suppose Base AMC valve is Rs.10000/-
12.36% of Excise duty which is Rs.1236/-
4% of vat on Rs.11236/- which is Rs.898.88/-
Total amount including taxes Rs.10000 + 1236 + 898.88 = 12134.88
As the client is not using CIN, how to configure this scenario. We are on ECC 6.0
Thanks in adv,
Sri SAPHi,
1. for Capital Goods, first in J1ID miantain in material and chapter id maintain that material code with Assets.
2. In Create PO with Account assigment as Assets.
3. In SPRO, while maintaing specify Excise accounts per Excise TT as
CAPE CR Credit ONHOLD CENVAT on hold account
CAPE DR Debit ONHOLD CENVAT on hold account
CAPE DR Debit RG23AT1 RG 23 AT1 Account
CAPE DR Debit RG23BED RG 23 BED account
CAPE DR Debit RG23ECS RG 23 ECS Account
4. Now in PART2, RG23C Register type is updated for Capital Goods
5. The Excise Posting Entries must be like
During Excise Invoice Credit
Cenvat Account Dr. (50%)
Cenvat On-hold Dr. (50%)
Cenvat Clearing Cr.
6. Check the Balance Credit Capital Asset T Code J2I8
Hope help u !
Regards,
Pardeep Malik -
Excise is getting post to RG23A instead RG23C for capital goods return del
Hi SAP Guru,
I have very critical issue to be resolved emmediatly in the area of Excise for CAPITAL GOODS, please help! the things is....
1. At GR level using mvt 101, system is posting all BEDECSSECess to correct RG23C register, fine
Quality people has rejected goods,When i'm trying to create vendor return delivery using......
GR(122)>J1IS>J1IV,, useing this process system is posting BED+ECS to RG23C but SECess to RG23A, i wanted to know why SECess is getting post in RG23A instead RG23C. plz suggest if any config. chages to be done.
or
2. when i am trying GR(122) along with all Excise parameter, system is throwing error "RG23C-AT1 amount 1600.00 is greater than the available amount 0.00". when is checked the relevent register i found out enough balance.
or
3. After GR (122), when i'm using J1IH(JV) method, system is thowing error like " Balance in transaction currency 'Message no. F5702'.
Now plz suggest the correct answer!
Thanks & Regards
Manoj K Singh
+91 9940216442Hi Datta, thanks for the reply
according to SAP Note 1062872 (2005B version) it reads as
"The excise register for excisable items of type raw materials/finished goods is currently set to RG32A Part I. When you create an out going excise invoice with these type of items, the accumulator for RG32A Part I will be increased."
I thought the same is applicable with SAP Business One 2007B version. However what you said might be correct. But the problem with one of my manufacturing client is whenever they raising an Outgoing Excise invoice they have registered numbers automatically be created on the pre printed invoice paper. where the invoice will be printed only with the qty, rate , price and register numbers rest of the information on the document is pre-printed. So they have a column called RG23C Part I / II where register numbers are automatically printed. But RG23C Part I & II are for "Capital Goods"
If I consider these manufactured items as "capital goods" then it will raise register numbers automatically. but this will not acceptable. correct me if i am wrong. so all of these items should be cosidered as Finished Goods in the item master data. if i do that again there is a conflict with their RG23C Part I / II on the pre-printed column and i wont be raising any register numbers.
Please update me on how should I deal with this issue
SV Reddy -
Down payment against the Internal Order - for Capital Expenditure
Dear friends
I am getting an error while making down payment against the purchase order.
The order of my entries or steps are as follows:
Created one internal order for Capital WIP with budget and availability control activation.
Created one purchase order against a vendor with reference to the above Internal Order.
When I am making the down payment to the vendor through tcode:F-48, the system throwing an error
"Define Cost Elements for Down Payments".
Can any one please explain why this error is coming. When I checked in Internal orders, there is a TCode: OKEP for Define Default Cost Elements for Down Payments.
System is asking for cost element, but where as what ever the down payment we are making is nothing but advance which is current asset. Why system is asking for cost element?
Can any one give me the guidance how to handle the issue.
Thanks in Advance
Kiran Kumar AThe reason is when you want the down payment for AUC to be capitalised, then you would need to create cost element for Downpayments.
Normally as per design of SAP, down payment being a Balance Sheet Account (Current Asset as you rightly mentioned) doesnot need / accept an Cost object, as a special case since down payments for AUC needs to be capitalised and hence need to be carried to Controlling (Internal Order) by creating Cost Element for Downpayments.
Go ahead and create the cost element. That would resolve your issue. -
For Capital goods in in Detail tab in Part one data Multiple serial numbers
Hi experts,
For capital goods i captured Part 1. Display Vendor excise details in item detail tab in part 1 columns Register,Year, Serial number, material document,year, item, internal number like that are there. In serial numbers four different serial numbers are generated. one is receipts and three is issues.
can anybody answer me why these four serial numbers are generated and three times issues is came. please do needful.
From.
Naveen.Hi,
The possibilities could be becaz of :
1) Cost Center purchase , system updates QTY as well as Issues at the time of GR.
2) Item without Material Code
Pl. check
rgds,
vikas -
Excise Invoice Cycle for capital goods
Hello,
Can someone enlist the complete CIN config settings & J1ID settings for capital goods procurement.
Regards
MaheshHello,
Can someone enlist the complete CIN config settings & J1ID settings for capital goods procurement.
Regards
Mahesh -
CIN activation for comapny code in IDES..?
Hi all
Can anybody explain me from basic settings for CIN activation for my own company code which is configured in IDES.
I have created 1 manufacturing plant & 1 depot plant.
Please explain me all the configuarion for CIN (Both plants-manufacturing and depot).
Please forward me documnets , if possible pls suggest all the precaution for this CIN configuration.
Thanks
sap-mmhi,
covers all of the tasks associated with Country Version India (CIN), including Customizing, day-to-day operations, and reporting.
In Customizing and master data, the Excise Manager is authorized to:
Work with the CIN Implementation Guide (IMG)
Use the health check tool
Define number ranges for excise invoices
Maintain excise master data
Make retrospective price amendments
In your day-to-day operations, this role allows you to:
Capture, change, display, post, and cancel incoming excise invoices
Capture excise invoices at depots
Complete subcontracting challans and perform quantity reconciliation
Post excise invoice journal vouchers
Track forms
Activities in Financial Accounting (FI)
The Excise Manager can:
Create the excise registers
Transfer outstanding CENVAT credit on capital goods to the appropriate CENVAT accounts
So in this way roles are divided for excise clerk, supervisor, manager, tds clerk etc...
A Country Version is designed specifically to cater the business operations of that country over and above the generic SAP system functionalities. It comprises of functionalities degined for the laws and business practices pertaining to the country.
Most of the country-specific functions for India relate to Financials and Logistics.
The main areas are as follows:
Excise duty and the central value-added tax system (CENVAT)
Withholding tax (also known as tax deducted at source)
Sales tax
Maintenance and printing of statutory excise registers
The official help documentation for Country Version India:
http://help.sap.com/saphelp_erp2005/helpdata/en/09/ebf138cdd78a4be10000000a114084/frameset.htm
For further details refer below links..
https://wiki.sdn.sap.com/wiki/display/ERPLO/CIN+Configuration
https://wiki.sdn.sap.com/wiki/display/ERPLO/CINConfiguration%28India%29
***CIN CONFUGURATION***
1.1 Maintain Excise Registration
SAPSPRO Basic settingIndia tax on Goods Movements Logistics general Ref. IMG Maintain Excise Registrations
APPLICABLE
1.2 Maintain Company Code Settings
tax on Goods Logistics general SAP Ref. IMG SPRO Maintain Company Code Basic setting India Movements Settings
APPLICABLE
1.3 Maintain Plant Settings
SAP Ref.SPRO Basic setting India tax on Goods Movements Logistics general IMG Maintain Plant Settings
APPLICABLE
1.4 Maintain Excise Groups
SPRO BasicIndia tax on Goods Movements Logistics general SAP Ref. IMG Maintain Excise Groupssetting
APPLICABLE
1.5 Maintain Series Groups
India tax on Goods Movements Logistics general SAP Ref. IMG SPRO Maintain Series GroupsBasic setting
APPLICABLE
1.6 Maintain Excise Duty Indicators
tax on Goods Logistics general SAP Ref. IMG SPRO Maintain Excise Duty Basic setting India Movements Indicators
APPLICABLE
1.7 Maintain Sub transaction Type with Text
India tax on Goods Movements Logistics general SAP Ref. IMG SPRO Maintain Sub transaction Type with TextBasic setting
APPLICABLE
1.8 Determination of Excise Duty
tax Logistics general SAP Ref. IMG SPRO Select Tax Calculation Determination of Excise DutyIndia on Goods Movements Procedure
APPLICABLE
1.9 Maintain Excise Defaults
SAP Ref.SPRO Determination of ExciseIndia tax on Goods Movements Logistics general IMG Maintain Excise DefaultsDuty
APPLICABLE
1.10 Condition-Based Excise Determination
tax on Goods Logistics general SAP Ref. IMG SPRO Define Tax Code for Condition-Based Excise DeterminationIndia Movements Purchasing Documents
APPLICABLE
1.11 Condition-Based Excise Determination
tax on Goods Logistics general SAP Ref. IMG SPRO Assign Tax Code to Condition-Based Excise DeterminationIndia Movements Company Codes
APPLICABLE
1.12 Classify Condition Types
SAPSPRO Condition-BasedIndia tax on Goods Movements Logistics general Ref. IMG Classify Condition TypesExcise Determination
APPLICABLE
1.13 Maintain Chapter IDs
tax on Goods Logistics general SAP Ref. IMG SPRO Maintain Chapter ids Master dataIndia Movements
APPLICABLE
1.14 Assign Users to Material Master Screen Sequence for Excise Duty
SPRO Master dataIndia tax on Goods Movements Logistics general SAP Ref. IMG Assign Users to Material Master Screen Sequence for Excise Duty
APPLICABLE
1.15 Specify Excise Accounts per Excise Transaction
tax on Goods Logistics general SAP Ref. IMG SPRO Specify Excise Accounts per Excise Account determinationIndia Movements Transaction
APPLICABLE
1.16 Specify G/L Accounts per Excise Transaction
tax on Goods Logistics general SAP Ref. IMG SPRO Specify G/L Accounts per Excise Account determinationIndia Movements Transaction
APPLICABLE
1.17 Incoming Excise Invoices
SAPSPRO BusinessIndia tax on Goods Movements Logistics general Ref. IMG Incoming Excise InvoicesTransactions
APPLICABLE
1.18 Define Processing Modes Per Transaction
Logistics general SAP Ref. IMG SPRO Define Processing Modes Business TransactionsIndia tax on Goods Movements Per Transaction
APPLICABLE
1.19 Define Reference Documents Per Transaction
tax on Goods Logistics general SAP Ref. IMG SPRO Define Reference Documents Per Business TransactionsIndia Movements Transaction
APPLICABLE
1.20 Maintain Rejection Codes
SAPSPRO BusinessIndia tax on Goods Movements Logistics general Ref. IMG Maintain Rejection CodesTransactions
APPLICABLE
1.21 Specify Which Movement Types Involve Excise Invoices
Logistics SAP Ref. IMG SPRO Specify Which Business TransactionsIndia tax on Goods Movementsgeneral Movement Types Involve Excise Invoices
APPLICABLE
1.22 Outgoing Excise Invoices
tax on Goods Logistics general SAP Ref. IMG SPRO Assign Outgoing Excise Invoices Business TransactionsIndia Movements Billing Types to Delivery Types
APPLICABLE
1.23 Maintain Default Excise Groups and Series Groups
Logistics general SAP Ref. IMG SPRO Outgoing Excise Invoices Business TransactionsIndia tax on Goods Movements Maintain Default Excise Groups and Series Groups
APPLICABLE
1.24 Subcontracting Attributes
tax on Logistics general SAP Ref. IMG SPRO Subcontracting Subcontracting Business TransactionsIndia Goods Movements Attributes
APPLICABLE
1.25 Maintain Movement Type Groups
SPRO BusinessIndia tax on Goods Movements Logistics general SAP Ref. IMG Subcontracting SubcontractingTransactions Attributes
APPLICABLE
1.26 Utilization Determination
SAPSPRO BusinessIndia tax on Goods Movements Logistics general Ref. IMG Utilization UtilizationTransactions Determination
APPLICABLE
1.27 Specify SAP script Forms
SPRO BusinessIndia tax on Goods Movements Logistics general SAP Ref. IMG Specify SAP script Excise RegistersTransactions Forms
APPLICABLE
1.28 Number Ranges
SAP Ref. IMG SPRO Number ToolsIndia tax on Goods MovementsLogistics general Ranges
APPLICABLE
1.29 Message Control
SAP Ref. IMG SPRO Message ToolsIndia tax on Goods MovementsLogistics general Control
APPLICABLE
J1I2
Prepare a sales tax register
J1I3
Create outgoing excise invoices in batches
J1I5
Update the RG 1 and Part I registers
J1IEX
Incoming Excise Invoices (central transaction)
J1IEX_C
Capture an incoming excise invoice (excise clerk)
J1IEX_P
Post an incoming excise invoice (excise supervisor)
J1IF01
Create a subcontracting challan
J1IF11
Change a subcontracting challan
J1IF12
Display a subcontracting challan
J1IF13
Complete, reverse, or recredit a subcontracting challan
J1IFQ
Reconcile quantities for subcontracting challan
J1IFR
List subcontracting challan
J1IH
Make a CENVAT adjustment posting
J1IIN
Create an outgoing excise invoice
J1IJ
Assign excise invoices to a delivery for sales from depots
J1INJV
Adjust withholding tax Item
J1INREP
Reprint a withholding tax certificate for a vendor
J1IQ
Year-End Income Tax Depreciation Report
J1IR
Download register data
J1IS
Process an excise invoice (outgoing) for other movements
J1IU
Process exemption forms
J1IW
Verify and post an incoming excise invoice
J1IX
Create an incoming excise invoice (without reference to purchase order)
J2I8
Transfer excise duty to CENVAT account
J2IU
Remit excise duty fortnightly
J2I9
Monthly CENVAT return
J1IG
Excise invoice entry at depot
J1IGA
Create additional excise entry at depot
J2I5
Extract data for excise registers
J2I6
Print excise registers
Regards
Priyanka.P -
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 -
Performance Issue for BI system
Hello,
We are facing performance issues for BI System. Its a preproductive system and its performance is degrading badly everyday. I was checking system came to know program buffer hit ratio is increaasing everyday due to high Swaps. So asked to change the parameter abap/buffersize which was 300Mb to 500Mb. But still no major improvement is found in the system.
There is 16GB Ram available and Server is HP-UX and with Netweaver2004s with Oracle 10.2.0.4.0 installed in it.
The Main problem is while running a report or creating a query is taking way too long time.
Kindly help me.Hello SIva,
Thanks for your reply but i have checked ST02 and ST03 and also SM50 and its normal
we are having 9 dialog processes, 3 Background , 2 Update and 1 spool.
No one is using the system currently but in ST02 i can see the swaps are in red.
Buffer HitRatio % Alloc. KB Freesp. KB % Free Sp. Dir. Size FreeDirEnt % Free Dir Swaps DB Accs
Nametab (NTAB) 0
Table definition 99,60 6.798 20.000 29.532 153.221
Field definition 99,82 31.562 784 2,61 20.000 6.222 31,11 17.246 41.248
Short NTAB 99,94 3.625 2.446 81,53 5.000 2.801 56,02 0 2.254
Initial records 73,95 6.625 998 16,63 5.000 690 13,80 40.069 49.528
0
boldprogram 97,66 300.000 1.074 0,38 75.000 67.177 89,57 219.665 725.703bold
CUA 99,75 3.000 875 36,29 1.500 1.401 93,40 55.277 2.497
Screen 99,80 4.297 1.365 33,35 2.000 1.811 90,55 119 3.214
Calendar 100,00 488 361 75,52 200 42 21,00 0 158
OTR 100,00 4.096 3.313 100,00 2.000 2.000 100,00 0
0
Tables 0
Generic Key 99,17 29.297 1.450 5,23 5.000 350 7,00 2.219 3.085.633
Single record 99,43 10.000 1.907 19,41 500 344 68,80 39 467.978
0
Export/import 82,75 4.096 43 1,30 2.000 662 33,10 137.208
Exp./ Imp. SHM 89,83 4.096 438 13,22 2.000 1.482 74,10 0
SAP Memory Curr.Use % CurUse[KB] MaxUse[KB] In Mem[KB] OnDisk[KB] SAPCurCach HitRatio %
Roll area 2,22 5.832 22.856 131.072 131.072 IDs 96,61
Page area 1,08 2.832 24.144 65.536 196.608 Statement 79,00
Extended memory 22,90 958.464 1.929.216 4.186.112 0 0,00
Heap memory 0 0 1.473.767 0 0,00
Call Stati HitRatio % ABAP/4 Req ABAP Fails DBTotCalls AvTime[ms] DBRowsAff.
Select single 88,59 63.073.369 5.817.659 4.322.263 0 57.255.710
Select 72,68 284.080.387 0 13.718.442 0 32.199.124
Insert 0,00 151.955 5.458 166.159 0 323.725
Update 0,00 378.161 97.884 395.814 0 486.880
Delete 0,00 389.398 332.619 415.562 0 244.495
Edited by: Srikanth Sunkara on May 12, 2011 11:50 AM -
Transformation Issue for 2LIS_03_BF
Dear All.
I am facing very strange issue for 0IC_C03 with the transformation of 2LiS_03_BF the cube was first got loaded from our Sandbox and every thing was fine, latter we connect BW development with R/3 development.
i have transfer all the data source for MM Inventory and try to create the transformation for 2LiS_03_BF for the infosource 2LIS_03_BF_TR but it did not map any field, but with the sand box client with the same data source it mapped all the fields.
Also when i try to load the 2lis_03_bf it make all the key field values to 0 even the process key is determined correctly in the R/3 side and Industry determination is alo set and also in BF10 BW is selected.
i try to debug the update rule and found that the process key and the value is updated correctly in the routine but after that there is an exception coming CX_RSROUT_SKIP_VAL.
please help....Yes reinstalling the business contents solve the problem and it come up with all the mappings but the strange problem is that all of my key figures after loading showing '0' value.
i try to simulate the DTP by applying a break point on one routine and during the debugging it is filling the correct values and after some steps its throwing a CX_RSROUT_SKIP_VAL exception which might deleting the target value.
i am totally lost that why this exception is coming as before it never comes it only comes when we connect the development system and try to load the cube from there.
in between can you please help me out for getting rid of this exception.
thanks & best regards,
Maybe you are looking for
-
Why is my iphone 4s not activating?
my mom got me an iPhone 4s today and we spent 5 hours on the phone with different people from tech support with our phone company and finally an apple care represenetive. i guess to set up the phone i have to set the language, country and my wifi con
-
How to get the macbook air by students discount in pune , maharashtra india
I want to buy macbook air 2013 128 gb i5 13 inch by student discount please tell me how to get the discount in pune , india.
-
GUI_DOWNLOAD fieldnames
Hi, I have this code in my program: TYPES: BEGIN OF gtyp_cabeceras, column(50) TYPE c. TYPES: END OF gtyp_cabeceras. DATA: g_t_cabeceras TYPE STANDARD TABLE OF gtyp_cabeceras, g_w_cabeceras TYPE gtyp_cabeceras. g_w_cabeceras-column = 'Matr de coches'
-
How do I get out of power save mode?
Just recently my the monitor connected to my Mac Pro has had problems waking from sleep. It warns that I am entering Power Save Mode, and restarts do nothing.
-
How do you disable line wrap in bash? As in $ls -la or mysql> select * from db; displaying exceedingly lengthy data. Or perhaps readline options to disable wrapping? May be just a horizontal scroll bar in Terminal?