on 2015 May 13 12:47 PM
http://help.sap.com/download/multimedia/EHS_OCC/OCC_Specification_and_Phrase_Import.pdf
Dear Experts,
I would like to create a dat-file to load listed-sub with cas nr with OCC. According to the above mentioned document it is posible to create specefication offline dat-file.
Has any one created dat-file with new occ?
best regards,
Maywand
Request clarification before answering.
Hi Maywand,
the file itself looks good. save it as tab-separated txt-file, then open OCC, then go to data import--<specification inport. In the option, choose no, then point to the location of your txt-file. The OCC will save the generated dat-file in the location specified in data import-->Settings-->Location of offline substance data files.
Ralph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Krishna
only same small add ons. The "offline" modus might have benefits. Honestly it is not !100%" as Ralph explaineds; sometimes the checks are "harder" than in other places but sometimes "weaker" (and then your databse is corrupt); but honestly: since years: never i invested once again here
BUt if needed: I would as well prefer "offline" modues
The "online" mode should be used (in my opinion( for "small" amounts of data. There might be the potential risk to get an "out of time" ABAP error (Ralph: any idea on that? for outputvariant you will get that; is there a "clever" commit done in online modus so that you do not get "out of time" error?)
C.B.
Dear Ralph
as we do not use the mechanism: in which location is the ".dat" file generated? SAP application server (in some e.g. unix folder)? or on OCC server? Or extracted locally? Is this to be specified via customizing?
C.B.
PS: I shouldread more carefully your answers...
This is your feedback:
the OCC will save the generated dat-file in the location specified in data import-->Settings-->Location of offline substance data files.
and therefore story is clear. Thanks for sharing this information
Hi Krishna,
you need a new row 1 that contains any text. Any text literally, It doesn't matter what you write in row 1, but there must be something. Then you should tell the specification type. So column 1, row 2 should read like H:SUBID, SUBCAT="REAL_SUB", AUTHGRP="ALL". Your column 2 is wrong, the IDTYPE is NUM, the IDCAT is CAS. In column 3 you need to specify the type of data maintained in that column, e.g. STRING, NUMBER; NUMWITHUNIT etc. In your example it's all strings, so you need to put STRING in row 3.
Ralph
Message was edited by: Ralph Paczkowski
Hi Christoph,
There is no way to avoid a timeout when you are loading in online mode but to use a smaller file. Simply creating new specifications like Krishna is doing in his example here is very well performing, you could probably due 10.000 or more on one go without a timeout but as soon as you start loading VATs, especially compositions, this number goes down. So again: Offline is really the method of choice.
Ralph
Hi Maywand,
it works the very same way as before in the DataEditor.
Ralph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
2 | |
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.