GR/IR account problem with material ledger
Hi,
I just found an issue as effect of material ledger implementation.
after the material ledger is active, when we post a transaction in foreign currency (invoice receipt), the LC 2 amount of GR/IR account is somehow different from the document amount, and the difference is transferred into Material price difference account that we maintain in OBYC - PRD transaction.
because of this, the LC2 amount of GR/IR account can't be cleared.
any suggestion, please?
thanks,
Nasikhin
hi,
It will affect your valuation for the document, which are still open..
You shd run this only after closing all documents and completing whole MM cycle..
Once this is run, you can't go back and make settlements...
So, beware...
Regards
Priyanka.P
Similar Messages
-
Valuation area not yet productive with material ledger
While doing goods receipt at MB1C,i got the below error:
The description of the error is given below
Valuation area XXX2 not yet productive with material ledger
Message no. C+020
Diagnosis
The material ledger has been activated for the valuation area but material data has not yet been converted in this valuation area.
Procedure for System Administration
If you want to work with the material ledger, choose Accounting -> Controlling -> Actual Costing/Material Ledger -> Utilities -> Production Startup.
There you can convert the data for the material ledger by following the instructions in the online documentation.
Note
Setting the material ledger to productive cannot be undone.
See also:
Actual Costing/Material Ledger in the SAP Library.
The implementation guide for Actual Costing/Material Ledger.
Can you kindly suggest me how to fix this error.
Regards
SaberaHi Sabera,
The Valuation Area is not activated for your material ledger. Go to SAP Access>>Accounting>>Controlling>>product cost controlling>>Actual Costing>>environment>>Production Start up>>Set Valuation area as productive.
If you already activated Valution area in to Productive Statge.
Then go to T.Code OMX1 and for your valuation area XXX2 tick the ML activation box.
the error wont come
regards
srikanth -
Problem with Materialized Views after an export
Hi @ everybody,
At an Oracle 11g R2 (11.2.0.3.0) instance, all actual CPU's/SPU's are installed, on a Red Hat 6 Machine i have a problem with Materialized Views from a schema, which i have exportet from an old database machine on Oracle 10g (10.2.0.1.0) to the new machine.
I've exportet with the old exp and imported with imp, because i know, that i get some strange errors because of the materialized views when i'm using the new expdp and impdp tools.
At the old machine the materialized views are so programmed, that they get an update of data at a defined time like this:
START WITH TRUNC(SYSDATE) + 21/24
NEXT SYSDATE+1
...But after the export this "update function" of the materialized view is not available. So i have deleted that views and recreated them with the START WITH parameters. So now they are running.
But why do i have this problem?
Is this "START WITH" somewhere written as a job or so in, for example, DBMS_SCHEDULER or something else? So i had forgotten to export these jobs or where is that defined?
Is this a bug?
Thanks for answers and help!
Best regards,
DavidI can't remember the error of expdp/impdp. That is some days ago, i have to rebuild this.
I think in my scenario for the import i don't need the TABLE_EXISTS_ACTION, because by importing at the new server i've just createt the naked tablespace for the data and the users, not more. So he didn't has something to overwrite.
And i have to tell you: i'm just the dbA. The desining of the tables and materialized views is many years ago by installing the old server. I'm just to young in my company to know about the design of the instance and why it was designed so.
Anyway: my problem is, that after the import of the schemas to a new server the "START WITH" option in the materialized views is not there anymore and i just want to why so i can think about a solution for that and create it with the database designers of my company.
EDIT: And here are the SQL Statements for creating the Materialized Views:
First, at the OLD Server (Oracle 10g 10.2.0.1.0)
CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS"
ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "DUPONT_14523"
BUILD IMMEDIATE
USING INDEX
REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
USING DEFAULT LOCAL ROLLBACK SEGMENT
DISABLE QUERY REWRITE
AS (SELECT DISTINCT
PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
PR_CUSTOMER_MASTER_DATA.ILN_USER,
PR_ARTICLE.EAN,
PR_ARTICLE.CODE,
PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
PR_USED_ARTICLE_TEXT.LANG_CODE,
PR_ARTICLE.SUP_ITEM_NO,
PR_ARTICLE.OLD_ITEM_NO,
PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
PR_COMPANY_ITEM_MATCH.UOM_UNIT,
PR_COMPANY_ITEM_MATCH.PRICE_UOM,
PR_COMPANY_ITEM_MATCH.PRICE,
PR_COMPANY_ITEM_MATCH.CURRENCY,
PR_COMPANY_ITEM_MATCH.PRICE_QTY,
PR_COMPANY_ITEM_MATCH.SALES_UNIT,
PR_COMPANY_ITEM_MATCH.START_DATE,
PR_COMPANY_ITEM_MATCH.END_DATE,
PR_ARTICLE.UPDATED_AT
FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
WHERE PR_ADDRESS.ORDER_TYPE='REP'
AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
)And here the at the NEW Server (Oracle 11g R2 11.2.0.3.0)
CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS" ("CLIENT_ID", "ILN_USER", "EAN", "CODE", "ARTICLE_TEXT", "LANG_CODE", "LANR", "OLD_LANR", "ITEM_BY_NO", "UOM_UNIT", "PRICE_UOM", "PRICE", "CURRENCY", "PRICE_QTY", "SALES_UNIT", "START_DATE", "END_DATE", "UPDATED_AT")
ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "DUPONT_14523"
BUILD IMMEDIATE
USING INDEX
REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
USING DEFAULT LOCAL ROLLBACK SEGMENT
USING ENFORCED CONSTRAINTS DISABLE QUERY REWRITE
AS (SELECT DISTINCT
PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
PR_CUSTOMER_MASTER_DATA.ILN_USER,
PR_ARTICLE.EAN,
PR_ARTICLE.CODE,
PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
PR_USED_ARTICLE_TEXT.LANG_CODE,
PR_ARTICLE.SUP_ITEM_NO,
PR_ARTICLE.OLD_ITEM_NO,
PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
PR_COMPANY_ITEM_MATCH.UOM_UNIT,
PR_COMPANY_ITEM_MATCH.PRICE_UOM,
PR_COMPANY_ITEM_MATCH.PRICE,
PR_COMPANY_ITEM_MATCH.CURRENCY,
PR_COMPANY_ITEM_MATCH.PRICE_QTY,
PR_COMPANY_ITEM_MATCH.SALES_UNIT,
PR_COMPANY_ITEM_MATCH.START_DATE,
PR_COMPANY_ITEM_MATCH.END_DATE,
PR_ARTICLE.UPDATED_AT
FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
WHERE PR_ADDRESS.ORDER_TYPE='REP'
AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
)The own differences i can see is at the "header". In the new one is the NOCOMPRESS LOGGING Option and in the first line the code has the columns diretcly defined.
But, i think, for my problem this line is determining:
REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1And this line is the same at both server.
Edited by: David_Pasternak on 12.04.2013 00:06 -
Revaluating COPA COGS with Material Ledger values (KE27-B0 curr type)
While attempting to use transaction KE27 to revaluate COPA with material ledger's cost component structure, we are getting an error for the B0 (Operating Concern Currency) records. The error (KE 435) states that "Costing Key ML1 does not exist". I have defined this costing key and it appears to be working for the Company Code (curr type 10) currency records. Does anyone have any idea why I am unable to restate the Operating Concern Currency records?
Hi Thomas,
The system posts the difference between the original values of the line
item and the new values in a new, separate line item, but in the same
value fields. To avoid the error message KE435 you have to define for
the costing key a value field for actual costs for your operating
concern in customizing :
Profitability Analysis -> Master Data -> Valuation ->
Set Up Valuation Using Material Cost Estimate ->
Define Access to Actual Costing/Material Ledger ->
Costing Key for actual Cost Estimate ->
Val.Fld Allocatn for Periodic Moving Average Price (total cost)
That is necessary even though you defined already value fields in
Cost component structure (cost component split) in customizing :
Profitability Analysis -> Master Data -> Valuation ->
Assign Value Fields (transaction KE4R)
The program expects both entries, one for cost component total cost
and several for cost component split. If there is a cost component
split defined for material the valuation will distribute the share of
costs to the value fields according the definition.
Only for material without a cost component split the program will
assign the costs to the value field for total costs.
Regards,
Abhisek -
Error Message :Valuation area 1000 not yet productive with material ledger
Dear Floks,
I need some clarification to get rid of this error message and move further.
While saving the PGI I am facing the follwoing error message: "Valuation area 1000 not yet productive with material ledger----
The material ledger has been activated for the valuation area but
material data has not yet been converted in theis valuation area."
Plese respond with the solutions ASAP.
Thanks in advance.
Regards
ANGKSHello Padmaja,
You will to check the following before activation the Val.area
1) OMX1: Check if ML is active against the plant IF NOT
2) Use tcode CKMSTART - Enter Val area - EXECUTE.
Regards,
Manoj Reddy -
Valuation area HDQF not yet productive with material ledger
Dear all,
When i PGI, there is an error: Valuation area HDQF not yet productive with material ledger.
Pls help me to resolved.
Thanks & Regards,Hi Quang,
Please run CKMSTART tcode and give that plant no(HDQF). Execute the process and then click on Confirm button in the dialog box.
Hope this helps.
Rgds,
Antima -
Segmentation - Problem with huge ledger list
Dear all
I have segmented accounding system. It has 40 branches divided under 3 different segments (company - branch - location). The problem is in the journal entry screen while selecting ledgers by pressing tab, it is showing a huge list with all the ledgers available for all the segments which makes it very difficult to identify and select a particular ledger.
Is there any option to limit the list user wise for specific segment. or can it be searched by selecting step by step segments (the way tt is done in trial balance)
Regards
indrajitIndrajit,
I would suggest that the user type some part of the G/L and then uses * at the end and then Press tab. This way only filtered result will be displayed. Example for an expense account starting with 611. The user can enter 611*
If the user wants segments 02 in G/L 611, they can type 61102
Suda -
Problem with material and document date in sales order
Hi All,
I am working in ECC 6.0 .I am facing problem with two fields when in enter in to sales order(tcode:va01)
1.A material comes automatically in line item.
2.Document date also comes as 27.03.2008 instead of todays date in each order i create.
I think its not related to configuration.I think its related to some modifications through exits or enhancement points.could someone suggest me a where to check and solve that.
Your's suggestion is appreciated.Hi Sharad,
Check MV45AFZZ include in se38..It is a user exit for basic validation on sales...We may be able to find some code there (if screen data is predefined by code as mentioned)
Hope it helps
Regards
Byju -
Problem with Material Confirmation (Availability Check)
Dear All,
There is a problem with the availability check. when i place order system does availability check and confirms the order. Now say for example i have 100qty of material - X and i created order for 50qty, system confirmed and then i went on creating orders for this , say i have created orders for it for 150qty, so system has confirmed 100 and 50 on future date.
Now when i try to do the delievry for the first order(50 qty), system gives me an error that "0" qty is available.
Can you please tell me what may be the reason for this.
Thanks,You can also check in T-code Co09 of the availability. Best and easy one to read for me has been MD04 Transaction code.
What system does in Sales Order is that it plans the requirement taking into consideration Material availability and if material doesn't exist but sees that in a few days in the future material will be available so system confirms it. Note that physically the material may not even be present. You find out if you really have physical stock in the delivery. For example in the sales order in the future the system sees that a Purchase Order will take place so system confirms it. Even though physically you have not even done a goods receipt for that PO. So any Sales Order which has been created before holds that reservation. So if you make a PO goods receipt in the future all those sales order has taken up this stock even. So the new sales order you created may not even have physical stock present or available as back order exists.
If you delete Deliveries that have not had PGI done to them this will take the requirement out of the list of Deliveries you can see this in MMBE if you scroll to the right. You can also do reason for rejection for other old orders to take out reservation in MD04.
Good Luck
Ali Lozada -
Problem with materialized views
I have a problem with the use of materialized views.
I make this procedure:
1: I create a table with the results of a query
2: Create a materialized view in that prebuilt table
Problem: When i execute the query after creating the materialized view i receive this error from oracle : ora-00903 table do not exists.
I get that error in 10% of the materielized views that i create that way, anyone can tell me what is the problem?I'm using Oracle 9.2.0.5.0
query rewrite disabled -
Problem with MATERIALIZED VIEW (snapshot)
Hi,
I've any problem with creating MATERIALIZED VIEW (snapshot)
My table is ROOMS:
SQL> DESC ROOMS
Name Null? Type
LS_ID VARCHAR2(32)
BL_ID NOT NULL VARCHAR2(32) PRIMARY KEY1
FL_ID NOT NULL VARCHAR2(4) PRIMARY KEY2
RM_ID NOT NULL VARCHAR2(8) PRIMARY KEY3
SITE_ID VARCHAR2(32)
SQL> SELECT COUNT(*)
2 FROM ROOMS;
COUNT(*)
203973
SQL> SELECT COUNT (TOT)
2 FROM (SELECT COUNT(*) TOT, LS_ID, SITE_ID
3 FROM ROOMS
4 GROUP BY LS_ID, SITE_ID);
COUNT(TOT)
11673
I'd like to create one MATERIALIZED VIEW that refresh every 30 seconds when I insert, update or delete on ROOMS table.
I tried this:
CREATE MATERIALIZED VIEW ROOMS_SNAP
BUILD IMMEDIATE
REFRESH complete
START WITH to_date(sysdate,'dd/mm/yyyy hh24:mi:ss')
NEXT sysdate + 30/86400
disable QUERY REWRITE
AS
SELECT LS_ID, SITE_ID
FROM ROOMS
GROUP BY LS_ID, SITE_ID
but when I insert, update or delete one record on ROOMS table, ROOMS_SNAP not refresh.
What I wrong?
How Can I write MATERIALIZED VIEW to maintain synchronization
between ROOMS_SNAP AND LS_ID, SITE_ID by ROOMS?
ThanksTry this way:
SQL> SHOW PARAMETER JOB
NAME TYPE VALUE
job_queue_processes integer 0
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=20 SCOPE=MEMORY;
SQL> create materialized view log on emp tablespace jam_ts
2 with rowid, primary key;
Materialized view log created.
SQL> create materialized view emp_mat
2 tablespace jam_ts
3 refresh fast start with sysdate
4 next sysdate + interval '15' second as
5 select * from emp where deptno=30;
Materialized view created.
SQL> update emp
2 set ename=lower(ename)
3 where deptno=30;
6 rows updated.
SQL> commit;
Commit complete.
---"After 15 seconds it will be refreshed automatically...."
SQL> select * from emp_mat;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7499 allen SALESMAN 7698 20-FEB-81 1600 300 30
7521 ward SALESMAN 7698 22-FEB-81 1250 500 30
7654 martin SALESMAN 7698 28-SEP-81 1250 1400 30
7698 blake MANAGER 7839 01-MAY-81 2850 30
7844 turner SALESMAN 7698 08-SEP-81 1500 0 30
7900 james CLERK 7698 03-DEC-81 950 30
6 rows selected.Message was edited by:
Jameel -
MM closing period problem when material ledger is activated
Hi!
the MM period is opened for period 7,2010, now we want to close that period and open period 10,2010 ( this is sand box system only, so no one used from last 3 months), but when I am executing MMP to close period 8 ( as we have to close periods till 10th period) , system is giving erros saying key duplicate records are not allowed in table "ckmlkev" ( as material ledger is activated), in this table already periods are existed till 9,2010 for all valuation areas.
Now how to close 7th period in MM ( MMPV)?
can any one suggest alternative ways?
regs,
ramesh bHi,
As it's your sand box and you don't need to fix the root cause of the error, try to execute MMPV with option "Close period only".
Regards,
Szymon -
FIFO Valuation with Material Ledger !
Hi,
How do we accomplish FIFO Valuation using Material Ledger ?
We have activated the Material Ledger, with Single - Level Determination; Standard Price S. On execution of Single-Level Price Determination, we get the Periodic Unit Price -- which is the Weighted Average Price for the Receipts for the period involved.
I came across SAP Forums, which claim that Material Ledger is the FIFO Valuation on real-time basis. However, this doesn't seem to be true. The Goods Issued are assigned the Periodic Unit Price (calculated above -- i.e the Weighted Average Price ).
In addition, we have Configured the FIFO Balance Sheet Valuation Procedure, through the MM menu. The FIFO Value for the Material is giving weird results. Adding the total Inventory for all the Receipts till date and over-riding the period selection for Single Receipts. For monthly receipts, the system just gives the Weighted Average Price again.
The Business is expecting the FIFO valution for the Inventory Balance on Monthly Basis. ( We are using Material Ledger, so that we can roll-up this FIFO Valuation of the Raw Material ito Gross up into the Finished Product
-- ThanksHi Kenny ,
BASIC STEPS THAT CAN BE FOLLOWED FOR ENDING INVENTORY VALUATION :
Ending Inventory is valued as per FIFO calculated through following steps:
Run the price calculation (Txn: KSII) u2013 check that all auxiliary Cost centers are zero
Run Txn:MRF3 (summarization of documents for the FIFO calculation.)
Run MRF1 (calculation of FIFO)
Check if the FIFO calc. is correct via MR35
After ML run the ending inventory value should be equal to the value in MR35 and so balance amount not yet loaded to ending inventory through FIFO valuation is posted to consumption
Exception: If total receipts for a period is less than ending inventory quantity .In this case the EI is valued at weighted average
Please check wether the steps have been properly followed and the execption doesnot exists..
Also, hope your Price Determination is "3" and price control is "S" in Material Master..
Regards
Sarada -
Problem with material master number range
Hi,
we have a problem with the material number range when stop the transaction of creation a material master data (MM01) the system has a jump of number range.
Example -> while creating a new material master the system gives me a number preview (46) but if I stop the transanction without save the master data the system doesn't give me the number 46 in the next master data but give me the next number 8in this example 47).
It there a way for not have this jump of number range?
Thanks!
GaetanoHi Gaetano,
This ia a standard thing..even I have experienced it.
Regards,
Chiranjib -
Gl account link with material master
hi experts
how the gl account and valuation class assign in material codeHI gurus,
is it possible to restrict users to do not issue the excess quanity of child components which are lying with PO in sub-contracting process,
in detail i have one PO with 10 qty each of two child components,
i have issued 5 each quantity of that components wrt to the PO through MB1B and 541 mvt,
again when am trying to issue components with same PO for remaining qtys , but standard system is showing defaultly the PO qty ( 10 ), i need to restrict the users to do not issue the 10 qty in this time and 5 qty only,
please give me clue to restrict this,
rgds
lakshmi reddy
Maybe you are looking for
-
Hi, When i simulate in F-28(customer), only one line items is displaying eg: 40 SBI a/c 1500 but not displaying the remaining items like eg: 40 discount a/c 500 50 ABC cutomer a/c 2000 what may be reason. where can i change settings Rgds sunfic
-
Restriction on document date in FI
Dear Experts, I need to restrict the system as follow whenever a user run FI tcode for voucher entry, the system should not accept the entry if user entering document date greater than posting date. I m not getting how to do this. is ther any BAdi or
-
Finder and Spotlight 'stop' working
I have read a number of posts regarding these two applications not working at all, but need some help on the two applications ceasing to function after 3 - 5 searches. Everytime I reboot they both work for a few times. It is the same on another user
-
Change PDF default from Preview to Acrobat
Anyone have an idea on how to change Tiger default so that PDF files that are sent to me (via Mail) or are downloaded from the web open in Acrobat (using Acrobat Professional 7.0) rather than in Preview? Seems such a waste to have to close, reopen an
-
How to work with master detail?
Dear i created sequnce for both master and detail. i m giving example below i have deptid,dept name (master table) but deptname is mandatory , in detail table i have empid,empname but when i click on create insert of master table and witout inserting