on 2017 Nov 27 3:44 PM
Hi ,
I was uploaded data in 9200 specifications Value assignment SAP_EHS_1023_043 but in load file user given wrong Characteristic.
Data was uploaded wrongly,like below
Now i want to update Regulatory Basis and Regulatory list when i was trying to give only this 2 missing values in OCC file and upload it , its not getting updated but when i delete data entire value assignment data for SAP_EHS_1023_043 and update it freshly with missing data its getting updated.
Now i want to upload in bulk , i have to delete complete data first ?
if yes, How to delete only the VAT SAP_EHS_1023_043 fro 9200 specs
or is there anyway i update only Regulatory basis and Regulatory list ?
Thanks
Satya
Request clarification before answering.
Hello
For such issues: many companies do write "own" ABAP" code. But before you start to look for ABAP code ask your self the following questions:
1.) what has happened?
2.) what was wrong?
3.) can I avoid the same issue?
I believe you can use "Standard" import to delete "all data" (only spec jheader will stay). But I am not sure for data in one "property"
OVerall: In EHS you have nearly no suitable "good" option for data management (as in your case). That means:
If you start mass updates using OCC or SAP standard import there are not really many options to get rid of "data" error (if the data is still part of database)
Therefore: step 1: check standard import. I believe you can use it for mass "deletion"
Step 2: if such error (or similar one) might happen often: check the standard options of SAP EHS. E.g. by using "hit list" and a "secondary data user exit" you can prepare whatever kind of solution to select specific data (using some clear criteria) to either update or delete them (and OCC is prepared like that (as an user exit for "insert")
C.B.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Satya,
Since you are anyhow using the data editor functionality of OCC for loading the data you can use it to overwrite / or delete the data as needed.
This works nicely if you have set different data sources for each property you loaded .
To my knowledege you can't delete specfic characteristics.
Best
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Surprisingly i can't even overwrite the data with new data also,delete also not working if i give empty load for this characteristics, Can you please guide me how to overwrite or delete ?
For over ride i changed the load sheet but its not getting over ride on online mode. I didnt try offline mode. Delete i used empty only with Characteristics none of them worked for me.
Thanks
Dear all
I have read the "OCC handbook". I still don'T get the story how to "delete" the data (that means. how to use OCC so that deletion is possible). I have an "idea" and i believe that Mark is correct. Deletion is may be only possible in "offline" mode.
I know that for regulatory update: the deletion is "mandatory" (not knowing the details how to use the tool "exactly" for such cases).
In any case: for offline mode: as we use here EHS standard capabilities: as you might know: there is only one option for "deletion" of data using one parameter. BUT this works only, if the data of interest was never changed by a user..
This is not always the case. I am pretty sure that many consultants in many scenarios have used either the "old" Data Editor or the OCC option or EHS standard import capabilities to load data to EHS. And i am pretty sure: there was always a chance to "such" errors as discussed now.
I would be interested to get feedback how such issues have been handled (either with Data Editor, OCC etc.).
May be you (Mark) can share some "high level" approaches used so far.
C.B.
PS: we have introduced some own developped tools to cover such load issues
Hello Ralph Paczkowski,
I was trying to upload in offline mode by selecting the deletion type 4 , But it is deleting the data in other value assignment too for example : i was try to load the data for SAP_EHS_1023_043 , it is deleting other existing data in SAP_EHS_1023_090 and all other.
Is there anyway in offline i can overwrite or delete only SAP_EHS_1023_043.
Now complete data getting deleted and my new data for SAP_EHS_1023_043 getting updated. But i dont want to delete old data for other VAT.
Please help me is there anyway.
Thanks
Satya
Hi Satya,
You need to create a property tree that only has SAP_EHS_1023_043 defined as VAT. Important: You need to set the import flag when defining this property tree! Then you create a load file that includes all data for all characteristics of SAP_EHS_1023_043 that you want to import. When you import this file, select the property tree you created and use import Spec. deletion tpe 4 (Delete all spec data specifying value assignment types). This way you overwite the data on your specs with those defined in the load file.
Ralph
User | Count |
---|---|
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.