"NETPL"  and "NETCH"  processing key indicators

Hi,
  I am very new to the PP.   When "NETPL" & "NETCH" indicators set for a material,
  Please gimme most of the scenarios.

Hi
The planning run type determines which materials are to be planned:
Regenerative planning (NEUPL)
The system plans all the materials that are contained in the planning file
Net change planning (NETCH) or Net change planning in the planning horizon (NETPL)
The system only plans materials that have undergone a change relevant to MRP since the last planning run
You choose the required planning run type in the initial screen of the planning run (see Planning Run Type in Initial Screen).
Features
Net Change Planning (NETCH)
In net change planning only those materials are planned for which the net change planning indicator in the planning file has been set as a planning file entry. The system usually sets the indicator automatically as soon as a change is made to the material that is relevant to MRP.
The following changes cause an entry in the planning file to be made:
Changes to stock, if these change the stock/requirements situation of the material
Creation of purchase requisitions, purchase orders, planned orders, sales requirements, forecast requirements, dependent requirements or reservations
Changing to fields that are relevant to the planning run for these receipts and issues or in the material master
Deleting receipt or issue quantities
If you have changed the settings of an MRP type, a lot-sizing procedure or a purchasing department processing time in Customizing, the materials that are affected by these changes thus have no planning file entry and are not included automatically in the net change planning. To enable the changes made to take effect, you choose regenerative planning in the initial screen of the planning run or make an entry manually in the planning file.
Net change planning in the planning horizon (NETPL)
You can also use a planning horizon to further limit the scope of the planning run. In "net change planning in the planning horizon", the system only plans materials that have undergone a change that is relevant to the planning run within the period which you defined as the planning horizon. The system sets the net change planning horizon indicator automatically for these materials.
During the planning run (NEUPL), the system checks every entry for a material in the planning file:
In a regenerative planning run(NETCH), the system plans all materials which are included in the planning file irrespective of all indicators.
In a net change planning run(NETPL), the system only plans those materials which are provided with the net change planning indicator.
In net change planning in the planning horizon, the system only plans those materials provided with the net change planning horizon indicator.
For further information, pl. refer this link
http://help.sap.com/saphelp_47x200/helpdata/en/f4/7d274f44af11d182b40000e829fbfe/frameset.htm
Madhava

Similar Messages

  • MRP Processing Key defaulted to NETPL

    Hi,
    We have a requirement wherein we need the Processing Key defaulted to "NETPL" mode whenever we are running MD01 or MD02 transaction.
    Currently, it is defaulted to NETCH.
    Do we have a SAP note or BADI  in place which can facilitate this feature?
    Appreciate your help here.
    regards,
    Rishi.N.Khanduri

    Hello ADM,
    Your requirement fulfill through variant
    Please go to SM38
    enter Program RMMPS000 select variant, Execute
    create new variant “xxx”
    Maintain the filed as per your requirement
    Ex: Processing key, Planning mode, scheduling etc,
    And Save
    Go to SM36:
    Create batch job and assign this Variant to this batch job
    Schedule your Batch job and run as per your requirement
    I hope this information helpful to you
    Regards
    Umesh Mali

  • BPM - Process Performance Indicators and Process Monitoring

    Hi,
    In SAP BPM, is there any way to get some reports or dashboard with key PPI (Process Performance Indicators). What we are really interested in is to know how many times a month a process or a specific task of a process has been run, how many time it took to complete the task, was the task completed on time, where are we in the process right now, etc?
    We have just started to look into SAP BPM, but my first impression is that it is more a modeling tool along with some taks coordinations. I feel like it's missing the key analytics to really drive innovation in our processes.
    Probably that I'm wrong and I've missed something. Please let me know if there is a way to do that, if there are any workarounds or if there are any SAP partners that offer a solution that we could use along with SAP BPM.
    Thanks a lot!
    Martin

    Thanks for your feedback.
    We want to implement a SAP BPM scenario in a finance process for the VAT Tax reporting. So basically, our accountant needs to run some SAP transactions along with some manual outside steps. Then the supervisor will perform some checks and finally the tax manager needs to approve it.
    There is some interactions with SAP but only for a small part of the process. What we want to achieve is to be able to see the key performance indicator for our process. But at the moment this is not delivered with SAP BPM. I've heard that this may come in the next release end of 2009, but in the meanwhile I'm wondering if other people have been able to implement some customization in Net Weaver or have found other alternatives to be able to monitor their process adequately.
    Thanks
    Martin

  • Relation between Inventory Process keys and movement types

    Dear All,
    Is there any way to find the relation between Inventory process keys (which is in SBIW-> Settings for Application specific data sources(PI) -->Logistics -->Settings for IBU Retail / CP --> Transaction key maintenance for SAP BW) and movement types .
    Thanks in advance...
    Regards,
    Raju

    Hi,
    Please read the note below.
    Note 353042 - Howto: Activate transaction key (PROCESSKEY)
    It has something for you ....
    The process key (0PROCESSKEY and 0BWAPPLNM) of the InfoSources has not been filled. As a result, no key figures are updated because of the update routine of the participating InfoCube and along with it no records are inserted into the InfoCube. In each update routine, the system checks the content of the PROCESSKEY. If this field has no contents, then no data is written into the InfoCube because of the IF condition in the update rules.
    Solution
    So that you can work in the above mentioned InfoSources, you MUST activate the determination of the process key. This is done with the help of Transaction MCB_ which you can find in the OLTP IMG for BW (Transaction SBIW) in your attached R/3 source system.
    Here you can choose your industry sector. 'Standard' and 'Consumer products' are for R/3 standard customers, whereas 'Retail' is intended for customers with R/3 Retail only.
    You can display the characteristics of the process key (R/3 field BWVORG, BW field 0PROCESSKEY) by using Transaction MCB0.
    If you have already set up historical data (for example for testing purposes) by using the setup transactions (Statistical Setup Programs) (for example: Purchasing: Tx OLI3BW, material movements: OLI1BW) into the provided setup tables (for example: MC02M_0SCLSETUP, MC03BF0SETUP), you unfortunately have to delete this data (Tx LBWG). After you have chosen the industry sector by using  MCB_, perform the setup again, so that the system fills a valid transaction key for each data record generated. Then load this data into your connected BW by using 'Full update' or 'Initialization of the delta process'. Check, whether the system updates data into the involved InfoCubes now.
    If all this is not successful, please see Note 315880, and set the application indicator 'BW' to active using Transaction 'BF11'.
    Hope this helps.
    Raj

  • Transaction and Process Keys in MM

    Hi BW Experts,
    Can any one please tell me what are Transaction and Process Keys in MM.
    What is the use of these keys and how it is implemented in BW.
    Thanks in Advance.
    Tony

    Hi
    Please find the below threads
    Re: What are process KEYS in MM
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=process%20keys&cat=sdn_all
    Hope it helps
    Thanks
    Teja

  • MRP run - Processing key

    Hi all,
    In the screen of MD02, Processing key NETCH was coming defaultly,
    But when I run MRPtwo-three times using NETPL, so same bocame default.
    Now I want to make it NETCH but system is not allowing me.
    How can I change that?
    Thaks

    Dear Bharat,
    In T code MD02 Goto Settings ---> Delete and then again assign the parameters which you want and then click on top menu settings --
    -->save.
    come out of the screen and then agian check T code MD02.
    Regards
    Mangalraj.S

  • Processing Key In MRP

    hi,
    I wanted some clarification regarding the Processing key under MRP Control Parameters in MD01
    The following values are found linked to this field.
    NETCH
    NETPL
    NEUPL
    Could someone explain how exactly these keys work.and what is their significance.
    Regards
    Lyroj

    Hi,
    NEUPL: System plans all the materials that are contained in the planning file
    NETCH: In net change planning only those materials are planned for which the net change planning indicator in the planning file has been set as a planning file entry. The system usually sets the indicator automatically as soon as a change is made to the material that is relevant to MRP.
    NETPL: The system only plans materials that have undergone a change that is relevant to the planning run within the period which you defined as the planning horizon. The system sets the net change planning horizon indicator automatically for these materials .
    Regards,
    satyajit

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • Get "no bootable device- insert boot disc and hit any key" error

    Hp G72 Laptop, Windows 7 64 bit,
    "no bootable device-insert boot disc and hit any key" (I have no boot disc.)
    I was in the process of replacing the hard drive and the computer was starting the final phase after copying all files. When it restarted the first time, I got the message. I was getting this message randomly prior to replacing the hard drive and if I turned it off for 2 or 3 hours and turned back on I would not get the message. The reason for replacing the hard drive was a "Smart Disc " imminent failure error message.

    Yes and yes. The final recovery disc had completed and it was moving to the next phase. It said the computer would restart several times during this phase and when it went to the first restart, the error message came up and I could proceed no further. I ctrl/alt/del and restarted, pressed escape to get the start-up menu but was lost at all the options. The information screen looked like the old hard drive info.

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • HP Pavilion g6-2330dx. "No Boot Device. Insert boot disk and press any key" Memory test failed

    Hi. So I am trying to help a friend with her laptop. It's a HP Pavilion g6-2330dx.
    Product #: D1C01UA#ABA
    Serial #: [Personal Information Removed]
    Windows 8
    ADATA 4GB RAM
    Toshiba 640GB HDD from the looks of it.
    The laptop is unable to boot into Windows, so I suspect the hard drive. But I ran the hard drive test and it passed all the tests. The SMART test and both the short and long test. I ran the tests multiple times and it passed each time. I tried reseating the hard drive and still no go. I also removed the HDD and connected it to my desktop PC to see if it detects and it did. Ran the Windows 7 own HDD test and it passed.
    Currently, there doesnt seem to be any operating system at all on the HDD. When I check, there is a C: drive of ~90GB partition that is ~90GB free, but inside there are Windows files/folders. There is also a D: drive Recovery partition that says ~26GB with only ~2GB free, but when I go inside there's only ~350MB worth of data.
    So then I ran the memory test (in BIOS) and it failed immediately. I reseated the RAM module. I tried the other slot. It still failed. So is it safe to say the memory is the cause of this problem?
    Pressing the F11 key that is supposed to take me to the System Recovery only leads me back to the black screen with "No Boot Device. Insert boot disk and press any key"
    I even tried to install Windows 7 to see if it'll work. I was able to get the laptop to boot/read off the Windows 7. But when I click to install, it asks for a boot device driver or something like that.
    My friend doesn't have the recovery disk either. I guess she lost it.
    Anyway, is it as simple as replacing the memory or could it actually be the HDD (even though it passes)?
    EDIT: This is what the System Log in BIOS says
    0021           Time: 10/13/2014
    03F0           Time: 10/13/2014
    03F0           Time: 10/13/2014
    The date was the first time I ran the tests. I havent received those numbers (error codes?) since.
    EDIT: Just for kicks, I ran Memtest 2.11 just now (forgot I had the disc) and it immediately went red with thousands of errors, hah.

    Hi bghs,
    Welcome to the HP Forums!
    It is a fantastic place to find answers and information.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I understand that you were unable to boot into Windows,  and you suspected the hard drive and tested it, but it passed both short and long test.  With that being said and the fact that it also passed  leads me to believe the hard drive is fine.
    You tested the memory and it failed.  You tried reseating and swapping slots but they  still failed the test.
    I would test each card individual with the memtest to determine if it is just one or both cards that have an issue.
    When you installed it in another computer, you did see the recovery partition.  Once the memory issue is resolved, if you are still unable to boot into Windows, I suggest you do a recovery with the minimized image.   Here is a link to Performing an HP System Recovery (Windows 8) to assist you with that process.
    I hope this helps.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • No bootable device --- insert boot drive and press any key?

    A while back I tried installing windows 7 on the iMac which is now running on Mountain Lion. Installing windows wouldn't work. I tried every possible option and tried so many times to get it to work but it wouldn't. Now I have another issue. I went to disk utility and have erased the partition that was created. Except everytime that I boot up my iMac, it tells me
    No bootable device --- insert boot drive and press any key?
    I have no idea how to get rid of that. I have to always hold down option so that I can choose my apple partition. I was reading online and people say that there is a problem with the Hard Drive, that Master Boot Record is currupt. How do I fix that? Would I need a new harddrive? I dont care if I have to loose all my files, except I dont want to beleive that the only way to fix it is to reinstall Mountain Lion, because in the process of trying to install Windows 7 I reinstalled Mountain Lion like 3 times... So doubt that reinstalling Mountain Lion would fix this issue. Is something wrong with my Hard Drive and is there a away to fix it?

    Do a PRAM reset, open System Preferences > Startup Disk and select Macintosh HD

  • No bootable device -- insert boot disk and press any key, over and over again...

    I've seen a lot of discussions about "no bootable device -- insert boot disk and press any key" but the answers in them don't seem to help me at all.
    from the begining...
    i was tryin to instal windows 7 on my 2014 iMac and after bootcamp prepared the iso on a flash drive, the computer restarted in the windows instalation screen and i chose the "BOOTCAMP" partition.
    After thi i got an error with a mesage that the partition wans not in ntfs, and a question if i wanted to format it. As i am recent to OSX but i was a windows user for quite a while i thought, ok there should be no problem about letting windows format this BOOTCAMP partition so i went ahead and did it. after this i stopped the process because at the moment i seem to recal that in the mac osx bootcamp help there was something about making sure to installing windows to the BOOTCAMP partition. So i canceled the process and restarted the iMac.
    Now i get the  "no bootable device -- insert boot disk and press any key" message over and over.
    I've tryed restarting with alt, alt+cmd+p+r, alt+r, etc and allways get the same message.
    Just before tryin to install windows on a secondary partition had the iMac backup to an external drive on my airport express via time machine.
    Questions.
    are there any other ways to boot into OSX again, or after letting windows format the BOOTCAMP partition all is lost?
    If everything is lost, how do i boot to restore my time machine backup from the external drive?
    all help is apreciated.
    Thanks in advance

    Sorry about that I just realized that Boot Camp may have decompressed your ISO, We can't really do much because Boot Camp may have told the mac to boot  from the flash drive, but now your mac is most likely not being told to  boot from it. (You where able to boot from the drive before so I would  keep it all intact) Is your keyboard wireless (because it can cause your mac to not to register keys being pushed at the Macs start) which this may be preventing you from getting into recovery mode (Command-R) or the OS choosing screen (Option).

  • Freight for Purchase and sales process

    Hi,
    I have a scenario where i'll purchase material with Freight charges from the Vendor, Now the same freight charge i'll imposed on customer while billing.
    I'll be using same Freight GL account for both purchase and sales process.
    I have configured the process by assigning same GL in the account keys in the pricing procedure for Purchase and sales process for the Freight condition.I have tested the scenario and i was very confused.
    Scenario:
    i have created a PO and made GR, the accounting entries were,
    Stock account ...........Dr.
    GR/IR................Cr.
    Freight...........Cr.
    While performing invoice verification the accounting entries are,
    Vendor.......... Cr.
    GR/IR........ Dr.
    Freight....... Dr.
    Accounting entries during Billing to customer,
    Customer.......Dr
    Sales.......Cr.
    Freight......Cr.
    Freight......Dr.
    Let say for Purchase and Sales process i have used GL 600016 as Freight account.
    IF i have paid Rs 500 for Freight to vendor, then i'll be imposing an amount of Rs 500 to customer as freight charges.
    Please guide if i had made any mistake in configuring the process
    also please advice is there any way to check the GL balance, like the amount to be collected from customer as freight as i'll be using same GL.
    Regards,
    Rahul

    Hi all ;
    SD process is not logical with outcome account 600016. For me , you can collect freight costs a different account for sd .
    For sd configurations , you can benefit from belowed path.
    Spro-->SD-->Basic Functions-->Account Assignment/Costing-->Assign G/L Accounts
    Details :
    http://wiki.scn.sap.com/wiki/display/ERPLO/Revenue+Account+Determination+-+Configuration
    Account Determination - Billing (SD-BIL) - SAP Library
    Regards.
    M.Ozgur Unal

  • OWB mappings to skip rows that are in error and continue processing

    OWB mappings to skip rows that are in error and continue processing.
    1) Enter a record into an error log
    2) Skip rows that are in error
    3) and continue processing
    Type of information could be needed in the error log:
    SY_LOG_ERROR_KEY
    ERROR_TIMESTAMP
    MAP_NAME
    SOURCE_RECORD
    ERROR_CODE
    ERROR_MESSAGE
    ERROR_NOTES
    Example:
    If the source table has five records, in that 3 records has some error.
    When I run the OWB mapping to load the source data to target table, OWB should skip the 3 record and load all the remaining record. This is our requirement.
    Another think I want to store the error record details in a error log table.
    Can u plz tell me whether it is possible in OWB. If not means please give some suggestion to do this.

    Hi,
    thanks for ur help, As is OWB version is 10.2.0 so for set based it is not working. with your idea i create a POST PROCESSING MAPPING. it is now working fine.
    Step 1:
    Create a table MAP_ERROR_LOG.
    Script:
    CREATE TABLE MAP_ERROR_LOG
    ERROR_SEQ NUMBER,
    MAPPING_NAME VARCHAR2(32 BYTE),
    TARGET_TABLE VARCHAR2(35 BYTE),
    TARGET_COLUMN VARCHAR2(35 BYTE),
    TARGET_VALUE VARCHAR2(100 BYTE),
    PRIMARY_TABLE VARCHAR2(100 BYTE),
    ERROR_ROWKEY NUMBER,
    ERROR_CODE VARCHAR2(12 BYTE),
    ERROR_MESSAGE VARCHAR2(2000 BYTE),
    ERROR_TIMESTAMP DATE
    TABLESPACE ODS_D1_AA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 80K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    Step 2:
    Create a sequence MAP_ERROR_LOG_SEQ
    CREATE SEQUENCE MAP_ERROR_LOG_SEQ START WITH 1 INCREMENT BY 1
    Step 3:
    Create a procedure PROC_MAP_ERROR_LOG through OWB.
    In this i have used 3 cursor, first cursor is used to check the count of error messages for the corresponding table(WB_RT_ERROR_SOURCES).
    The second cursor is used to get the oracle error and the primary key values.
    The third cursor is used for get the ORACLE DBA errors such as "UNABLE TO EXTEND THE TABLESPACE" for this type errors.
    CREATE OR REPLACE PROCEDURE PROC_MAP_ERROR_LOG(MAP_ID VARCHAR2) IS
    --initialize variables here
    CURSOR C1 IS
    SELECT COUNT(RTA_IID) FROM OWBREPO.WB_RT_ERROR_SOURCES
    WHERE RTA_IID =( SELECT MAX(RTA_IID) FROM OWBREPO.WB_RT_AUDIT WHERE RTA_PRIMARY_TARGET ='"'||MAP_ID||'"');
    V_COUNT NUMBER;
    CURSOR C2 IS
    SELECT A.RTE_ROWKEY ERR_ROWKEY,SUBSTR(A.RTE_SQLERRM,1,INSTR(A.RTE_SQLERRM,':')-1) ERROR_CODE,
    SUBSTR(A.RTE_SQLERRM,INSTR(A.RTE_SQLERRM,':')+1) ERROR_MESSAGE,
    C.RTA_LOB_NAME MAPPING_NAME,SUBSTR(B.RTS_SOURCE_COLUMN,(INSTR(B.RTS_SOURCE_COLUMN,'.')+1)) TARGET_COLUMN,
    B.RTS_VALUE TARGET_VALUE,C.RTA_PRIMARY_SOURCE PRIMARY_SOURCE,C.RTA_PRIMARY_TARGET TARGET_TABLE,
    C.RTA_DATE ERROR_TIMESTAMP
    FROM OWBREPO.WB_RT_ERRORS A,OWBREPO.WB_RT_ERROR_SOURCES B, OWBREPO.WB_RT_AUDIT C
    WHERE C.RTA_IID = A.RTA_IID
    AND C.RTA_IID = B.RTA_IID
    AND A.RTA_IID = B.RTA_IID
    AND A.RTE_ROWKEY =B.RTE_ROWKEY
    --AND RTS_SEQ =1  
    AND B.RTS_SEQ IN (SELECT POSITION FROM ALL_CONS_COLUMNS A,ALL_CONSTRAINTS B
    WHERE A.TABLE_NAME = B.TABLE_NAME
    AND A.CONSTRAINT_NAME = B.CONSTRAINT_NAME
    AND A.TABLE_NAME =MAP_ID
    AND CONSTRAINT_TYPE ='P')
    AND A.RTA_IID =(
    SELECT MAX(RTA_IID) FROM OWBREPO.WB_RT_AUDIT WHERE RTA_PRIMARY_TARGET ='"'||MAP_ID||'"');
    CURSOR C3 IS
    SELECT A.RTE_ROWKEY ERR_ROWKEY,SUBSTR(A.RTE_SQLERRM,1,INSTR(A.RTE_SQLERRM,':')-1) ERROR_CODE,
    SUBSTR(A.RTE_SQLERRM,INSTR(A.RTE_SQLERRM,':')+1) ERROR_MESSAGE,
    C.RTA_LOB_NAME MAPPING_NAME,SUBSTR(B.RTS_SOURCE_COLUMN,(INSTR(B.RTS_SOURCE_COLUMN,'.')+1)) TARGET_COLUMN,
    B.RTS_VALUE TARGET_VALUE,C.RTA_PRIMARY_SOURCE PRIMARY_SOURCE,C.RTA_PRIMARY_TARGET TARGET_TABLE,
    C.RTA_DATE ERROR_TIMESTAMP
    FROM OWBREPO.WB_RT_ERRORS A,OWBREPO.WB_RT_ERROR_SOURCES B, OWBREPO.WB_RT_AUDIT C
    WHERE C.RTA_IID = A.RTA_IID
    AND A.RTA_IID = B.RTA_IID (+)
    AND A.RTE_ROWKEY =B.RTE_ROWKEY (+)
    AND A.RTA_IID =(
    SELECT MAX(RTA_IID) FROM OWBREPO.WB_RT_AUDIT WHERE RTA_PRIMARY_TARGET ='"'||MAP_ID||'"');
    -- main body
    BEGIN
    DELETE ED_ODS.MAP_ERROR_LOG WHERE TARGET_TABLE ='"'||MAP_ID||'"';
    COMMIT;
    OPEN C1;
    FETCH C1 INTO V_COUNT;
    IF V_COUNT >0 THEN
    FOR REC IN C2
    LOOP
    INSERT INTO ED_ODS.MAP_ERROR_LOG
    (Error_seq ,
    Mapping_name,
    Target_table,
    Target_column ,
    Target_value ,
    Primary_table ,
    Error_rowkey ,
    Error_code ,
    Error_message ,
    Error_timestamp)
    VALUES(
    ED_ODS.MAP_ERROR_LOG_SEQ.NEXTVAL,
    REC.MAPPING_NAME,
    REC.TARGET_TABLE,
    REC.TARGET_COLUMN,
    REC.TARGET_VALUE,
    REC.PRIMARY_SOURCE,
    REC.ERR_ROWKEY,
    REC.ERROR_CODE,
    REC.ERROR_MESSAGE,
    REC.ERROR_TIMESTAMP);
    END LOOP;
    ELSE
    FOR REC IN C3
    LOOP
    INSERT INTO ED_ODS.MAP_ERROR_LOG
    (Error_seq ,
    Mapping_name,
    Target_table,
    Target_column ,
    Target_value ,
    Primary_table ,
    Error_rowkey ,
    Error_code ,
    Error_message ,
    Error_timestamp)
    VALUES(
    ED_ODS.MAP_ERROR_LOG_SEQ.NEXTVAL,
    REC.MAPPING_NAME,
    REC.TARGET_TABLE,
    REC.TARGET_COLUMN,
    REC.TARGET_VALUE,
    REC.PRIMARY_SOURCE,
    REC.ERR_ROWKEY,
    REC.ERROR_CODE,
    REC.ERROR_MESSAGE,
    REC.ERROR_TIMESTAMP);
    END LOOP;
    END IF;
    CLOSE C1;
    COMMIT;
    -- NULL; -- allow compilation
    EXCEPTION
    WHEN OTHERS THEN
    NULL; -- enter any exception code here
    END;

Maybe you are looking for

  • Threads created by CFTHREAD in excess of this are not being queued.

    I am using CF9 on a 3 server cluster with JRUN running win2008 and IIS. I  have a scheduled task script which loops over a series of script paths to be executed in a cfhttp tag. The admin settings are currently set at 10 max simultaneous threads and

  • Select-option/Parameter & Primary Key

    Dear Abaper,     It this compulsory to have a Table fields define in Parameter/Select-option of Selection screen should be  Primary key of respective tables?? and   If we used two different tables having common fields and if common field of Table1  i

  • Scale on x axis for radians

    Hi, I'm trying to make a cosine plot and have run into trouble. I've described the issues in this thread: http://discussions.apple.com/thread.jspa?messageID=12507456#12507456 The main issue is that I have 24 points on the abscissa, which run from 0 t

  • ORA-16038: log 1 sequence# 1292 cannot be archived ORA-19809: limit exceede

    I am getting this error when starting the database 10g ORA-16038: log 1 sequence# 1292 cannot be archived ORA-19809: limit exceeded for recovery files ORA-00312: online log 1 thread 1: '/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o

  • Appleworks won't launch anymore

    I click on the icon and it just bounces and then stops. 1) I emptied my recent items folder 2) dragged the applworks icon from the dock to the desktop and then reinstalled it from the finder/applications section onto the dock To no avail and I can't