EHS - CG36 - Import report - Set MSDS version from key file data

Hi.
This is in reference to thread EHS - CG36 - Import report - how to define MSDS version in key file?
I'm faced with the same client requirement, came across this discussion, and wondering if there was a solution to this.
I'm on ECC6.0. My client requests to retain the Version of the MSDS at the time of export (CG54 Dok-X, VER key file data) when it gets imported to another system (CG36). Example (similar to Roy's): If the reports in export system are 1.0 and 2.0, then they must be created in the import system the same, not 1.0 and 1.1.
Apparently, as Christoph has stated, the standard CG36 Import process doesn't make use of the VER key file data besides storing it into the Report's Additional Info (DMS Class charact.).
I tried to get around this via the user exit. In the IMPORT fm, I set the version/subversion of the report to be created but the C1F3 fm that does the actual report creation just ignores it. If you've done a similar approach, what have I missed? I'm also afraid if I have to clone the C1F3 fm...
I appreciate your thoughts and inputs.
Thanks in advance.
Excerpt from my fm ZC13G_DOKX_SDB_IMPORT:
FORM l_create_ibd_report...
  IF e_flg_error = false.
*   fill the report_head
    e_report_head-subid     = i_subid.
    e_report_head-sbgvid    = i_sbgvid.
    e_report_head-langu     = i_langu.
    e_report_head-ehsdoccat = i_ehsdoccat.
    e_report_head-valdat    = sy-datum.
    e_report_head-rem       = i_remark.
*beg-LECK901211-ins
    e_report_head-version    = i_ver.
    e_report_head-subversion = i_sver.
*end-LECK901211-ins
* Begin Correction 15.06.2004 745589 ***********************************
    IF ( l_api_subjoin_tab[] IS INITIAL ).
*     create the report
      CALL FUNCTION 'C1F3_REPORT_CREATE'
        EXPORTING
          i_addinf            = i_addinf
          i_flg_header        = true
          i_flg_subjoin       = false
        IMPORTING
          e_flg_lockfail      = l_flg_lockfail
          e_flg_error         = l_flg_error
          e_flg_warning       = l_flg_warning
        CHANGING
          x_api_header        = e_report_head
        EXCEPTIONS
          no_object_specified = 1
          parameter_error     = 2
          OTHERS              = 3.
    ELSE.
Edited by: Maria Luisa Noscal on Apr 8, 2011 8:23 AM

Solution is to incorporate the logic used by tc CG36VEN, that is, the process of performing a direct table ESTDH update after the new report is saved into the database.
Edited by: Maria Luisa Noscal on Apr 19, 2011 7:34 PM

Similar Messages

  • How can I set button colors from xml file data?

    I am reading an xml file to create a group of buttons. I am
    also using repeater to create the group of buttons.
    I am getting the buttons created, but am unable to set the
    fill color properly. I keep getting the error "Implicit coercion of
    a value of type String to an unrelated type Array" if I try to plug
    in r.currentItem.value, even when I used an Actionscript function
    to convert from a String to an array of 2 uints. Is there a simple
    type casting solution to this I'm just not getting?
    Any help would be greatly appreciated!
    The xml file has the following format:
    <colors>
    <color>
    <name>Canteloupe</name>
    <value>0xFFCC66</value>
    </color>
    <color>
    <name>Banana</name>
    <value>0xFFFF66</value>
    </color>
    <color>
    <name>Lemon</name>
    <value>0xFFFF00</value>
    </color>
    <color>
    <name>Honeydew</name>
    <value>0xCCFF66</value>
    </color>
    </colors>
    The code I have so far is:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    initialize="colors.send()" layout="absolute">
    <mx:HTTPService id="colors"
    url="assets/colors_standard.xml" resultFormat="e4x"/>
    <mx:XMLListCollection id="xlc_colors"
    source="{colors.lastResult.color}"/>
    <mx:TabNavigator left="0" top="0" right="0"
    bottom="0">
    <mx:Canvas label="Tab 1" width="100%" height="100%">
    <mx:Accordion width="200" left="0" top="0" bottom="0">
    <mx:Canvas label="Colors" width="100%" height="100%">
    <mx:Label text="Current Color Selection" left="10"
    right="10" top="10" height="20" fontWeight="bold"/>
    <mx:Button label="Update Colors" left="10" right="10"
    top="227" height="22" id="button_colors_update"/>
    <mx:Canvas height="189" left="10" right="10" top="30"
    borderStyle="outset" backgroundColor="#e9e9e9">
    <mx:Tile id="tile_standard" direction="horizontal"
    tileWidth="25" tileHeight="25" horizontalAlign="center"
    verticalAlign="middle" borderStyle="outset" left="10" right="10"
    top="10" height="134" backgroundColor="#ffffff">
    <mx:Repeater id="r" dataProvider="{xlc_colors}">
    <mx:Button toolTip="{r.currentItem.name}" height="15"
    width="15" x="10" y="10"/>
    </mx:Repeater>
    </mx:Tile>
    <mx:Button label="Additional Colors"
    id="button_colors_online" height="22" left="10" right="10"
    bottom="10"/>
    </mx:Canvas>
    </mx:Canvas>
    </mx:Accordion>
    </mx:Canvas>
    </mx:TabNavigator>
    </mx:Application>

    Thanks atta707!
    If I send an array of 2 uints via a function call that
    converts from String to Number to uint in an Actionscript function
    and try to feed that into fillColors via:
    <mx:Script>
    <![CDATA[
    public function fillcolors (_colorvalue:String):uint {
    return uint(Number(_colorvalue));
    ]]>
    </mx:Script>
    <mx:Button height="15" width="15"
    toolTip="{r.currentItem.name}" x="10" y="10"
    fillColors="[fillcolors({r.currentItem.value}),fillcolors({r.currentItem.value})]"
    I still get the "Implicit coercion of a value of type String
    to an unrelated type Array." on the line that creates the button. I
    have tried returning an Array of two uints with the Actionscript
    funtion and get the same result.
    <mx:Script>
    <![CDATA[
    public function fillcolors (_colorvalue:String):Array {
    return new Array(uint(Number(_colorvalue)),
    uint(Number(_colorvalue)));
    ]]>
    </mx:Script>
    <mx:Button toolTip="{r.currentItem.name}" height="15"
    width="15" x="10" y="10"
    fillColors="[fillcolors({r.currentItem.value})]"/>
    Am I mistaken in my conversion of r.currentItem.value to
    fillColors as arguments? Sorry about the newbie question - the
    error I get makes me think it is a type conversion issue, but I
    can't seem to get this to work/compile. If fillColors is expecting
    an Array, should the Actionscript function returning an Array at
    least get this to compile?

  • Issues exporting versions from tiff files

    I upgraded to Aperture 3 [3.0.2] running on 10.6. Aperture works fine, except when trying to export a version of a tiff file [these are 8 bit 200mb scans]. Exporting a master from a tiff file works, exporting versions from RAW files work, but Aperture "hangs" when trying to export a version of a tiff file. I do have access to the tiff versions when using the media browser in other applications (Pages, iWeb etc.).
    So far I tried all repair options [pressing cmd/ctrl while starting up] and i tried importing and than exporting a tiff file under Ap3, assuming something went wrong while updating from Ap2 to Ap3. Same results.
    ???

    can you provide your export settings. I tried it and it works...but my tifs are not 200mb.

  • Identify Java version from CLASS file

    Hi,
    I have a .class file. I would like to identify the Java version from that.
    Is there a way to find out?
    Also, is there a way to find out the Java version from JAR file?
    Thanks.

    Kavipriya wrote:
    I have a .class file. I would like to identify the Java version from that.
    Is there a way to find out?Sure, there's the major version number (48, 49, 50) included in the class files. Look for the class file specification, shouldn't be too hard to find.

  • How do you import a list of users from a file? (BPC 7.5NW)

    In adding users from a network domain, the related personnel filter provides three choices.  One of the choices allows a BPC administrator to import a list of users from file.  For some reason, the radio button alongside that option is grey and the choice is inoperable.  Does anyone know what steps-configuration or later-must be taken to make this choice operable and to be able to import the list of users from a file?
    Edited by: Greg Tyrl on Jul 11, 2011 8:17 PM

    make a new addressbook and in that import Outlook's

  • CG36 - Import report - No file format in the key file?

    Hi all,
    Transaction CG36: .Key files are successfully checked by u2018Check directoryu2019 in transaction CG36. The second step is the import process. The Import shows u2018greenu2019 successfully. But the Job description shows the following message:
    No file format in the key file test.key
    Number of errors: 0
    Job Finished:
    More details:
    No file format in the key file test.key
    Message no.C114
    Diagnosis:
    No entry for the document file type was found in the key file test.key
    System response:
    The report for the key file test.key is not imported.
    Procedure:
    Ensure that a document category is entered in the key file test.key
    TEST.KEY - Key file structure:
    CPN=TEST
    DTY=SDB
    SID=000000000492
    PRN=TEST PROD
    CTY=GB
    LAC=E
    STA=V
    DAT=19.03.1996
    FNA=1.PDF
    FTT=PDF
    During the report import (CG36, Dok-X), the workstation application is defined using the FFT entry in the key file, as displayed above, the key file as FTT=PDF defined correctly.
    We have processed the customizing settings which are required and described under: Report Import: Check Additional Settings (under EH&S u2013 Product Safety > Interfaces > Import and Export > Basis Settings for Import and Export).
    Is anybody familiar with the issue: No file format in the key file?
    What do I do wrong? Is the above Key file structure incorrect?
    Is configuration in SAP DMS required?
    Thank you in advance.
    Kind regards,
    Roy Derks

    Hello Roy
    my assumption would be: there is a typing error in the key file. If the content of the key files is like what you have published you must use in the key file
    FFT=PDF
    and not
    FTT=PDF.
    No further information is necessary and the other data seems to be perfect.
    With best regards
    C.B.
    PS: if necessary my be you could check DMS customizing. By standard EH&S implemenation a document type "IBD" should be there whiich is used for e.g. pdf file.
    PPS: I have no idea why the reimport check does not show up this issue.
    Edited by: Christoph Bergemann on Apr 8, 2010 8:49 PM
    Edited by: Christoph Bergemann on Apr 8, 2010 8:50 PM
    Edited by: Christoph Bergemann on Apr 8, 2010 8:54 PM

  • Is possible to import controls, operators and indicators from a file? (for ejample *.CSV)

    Is possible to program a VI from some type of file automatically? (.CSV for example).
    The general purpose is to import information from electrical schematics.
    Is there any better method for this purpose?
    Is possible to create programming objects automatically within a vi from a file?
    Vi can be created from another VI automatically by importing a file?
    I attached a sample diagram image.
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Sample diagram.JPG ‏18 KB

    In post #12 of this thread I commented on the Idea of creating controls on the fly
    (Artwork courtesy of Christian Altenbach)
    And include a link to where I posted this code
    Which was part of a community project to help us manage emoticons for use in posting to this site (I still use this on my home machine).
    As it stands now it will read in a set of images as defined by a configurtion file and populate the Picture Control with images of the emoticons. If you click on any of them, it will figure out what emoticon you clicked and copy the URL of the emoticon into you clipboard so you can paste it into the dialog for inserting images on this forum.
    So it has the following abilities;
    File driven set of images
    Asssociation of image with info
    Abilisty to import new
    Automatically fits the controls to the picture.
    Now don't dismiss this off-hand because it uses emoticons. The image can be anything you want. Using the image you get from an "invoke node >>>Get image" will work fine and can save you a lot of work since you do not have to code up the functionality of the control.
    Now if you can limit the types of controls to a fixed set you can get another advantage to help you "make the controls work" by doing the following.
    1) Mouse down picture .... find associated control type
    2) Use off-screen hidden control of that type and move it to where the image is in the picture (over top of the picture) and make it visable and give it key focus.
    3) Let user interact with the real LV control that is over-top of the image.
    4) On enter or mouse leave of the control, get the new image, stuf it in the picture... hide the control that was previously hidden.
    I can not leave this topic without again saying that "Controls on the Fly" application carry a large development effort to get them to work correctly.
    Here is an image of one of my extreme versions of Controls on the Fly developed explicitly for touch panle interfaces (there are two shown, in this image)
    Have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • ALV Report how to display from and to date values in the header.

    I develoeped alv report . i want to display selection screen from and to date values in  top of page...
    any sample code pls guide me..

    You have to do many things...
    first find the selection details using the FM.
    RS_REFRESH_FROM_SELECTOPTIONS
    use the Blog to Align/populate the Header  from the selection table
    /people/community.user/blog/2007/05/07/alignment-of-data-in-top-of-page-in-alv-grid

  • Create key mapping using import manager for lookup table FROM EXCEL file

    hello,
    i would like create key mapping while importing the values via excel file.
    the source file containing the key, but how do i map it to the lookup table?
    the properties of the table has enable the creation of mapping key. but during the mapping in import manager, i cant find any way to map the key mapping..
    eg
    lookup table contains:
    Material Group
    Code
    excel file contain
    MatGroup1  Code   System
    Thanks!
    Shanti

    Hi Shanti,
    Assuming you have already defined below listed points
    1)  Key Mapping "Yes" to your lookup table in MDM Console
    2) Created a New Remote System in MDM console
    3) proper rights for your account for updating the remote key values in to data manager through import manager.
    Your sample file can have Material Group and Code alone which can be exported from Data Manager by File-> Export To -> Excel, if you have  data already in Data Manager.
    Open your sample file through Import Manager by selecting  the remote system for which you want to import the Key mapping.
    (Do Not select MDM as Remote System, which do not allows you to maintain key mapping values) and also the file type as Excel
    Now select your Soruce and Destination tables, under the destination fields you will be seeing a new field called [Remote Key]
    Map you source and destination fields correspondingly and Clone your source field code by right clicking on code in the source hierarchy and map it to Remote Key if you want the code to be in the remote key values.
    And in the matching criteria select destination field code as a Matching field and change the default import action to Update NULL fields or UPDATED MAPPED FIELDS as required,
    After sucessfull import you can check the Remote Key values in Data Manager.
    Hope this helps
    Thanks
    Sowseel

  • Thunderbird not able to import all the previous rss from opml file

    I'm using Thunderbird (linux) and move distros. So I exported all the rss feeds with the option available and got the opml file. Then imported the opml file back to the new Thunderbird. But thunderbird didn't retrieve all the rss feeds lists from the opml file and only displayed some. I know beacuse I checked what being displayed with what listed in the opml file. Was there any limit to how much feed lists that you can import?

    Hi,
    it took me some time to understand what the code should do.
    First of all please let me say, that wiring trough the error cluster is immanent for debugging. One problem I see is that the refnum from the document element is zero, so that all other calls for childs are failing. You will only notice this by debugging or execution highlighting (see James hint). You will also see a hint for a problem in this region of the code when you look at your indicator loadXml. This once was always False.
    I have changed two things:
    LoadXml.vi -> Read from Text File instead of binary
    Main.vi -> Using the read text for input of the LoadXml invoke method and not the pretty printed one.
    Now LoadXml performs the action and your 2D array is filling in some stuff. My advice would be to carefully debug your code and look, where references get lost and where errors occur.
    Good Luck
    Tyler
    Certified LabVIEW Architect

  • Java version from class file

    How to decide from class file that which java version (1.3, 1.4 etc) was used to compile it?

    Sorry I made a mistake,
    its minor, major
    Dont we have some utility given by Sun for this?
    javap -verbose <classname>will print out versions plus more...
    Do I need to use InputStream for reading class file then see the version?
    DataInputStream din = new DataInputStream(new FileInputStream(classFile));
    din.readInt();
    short minor = din.readShort();
    short major = din.readShort();Why do you need to do this?

  • Can i remove the words "created in  trial version" from a file now i have purchased full version?

    Can I remove the wording " created in trial version" from a video now i have purchased the full version?

    Presumably a Premiere Elements question. For future reference note that Premiere Elements has its own forum and you should post further PRE questions there. But the answer to your question is in the PRE FAQ entry - http://forums.adobe.com/thread/433730?tstart=30.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Import into SQL Server db from Sybase 7 data source - SQL Server 2008 R2/2012

    Hi,
    I need to import Sybase 7 data into a SQL Server 2008 R2 or 2012 database.
    Has anyone any experiences about this import?
    Thanks

    The nuance is in basically setting your connection manager right.
    If I remember correctly, I did that using the ODBC/ADO, but I do not remember the Sybase version.
    I suggest you visit a post dedicated to this operation (the author chose to use the ADO.NET type of a provider):
    http://msbimentalist.wordpress.com/2013/11/01/import-and-export-from-sql-server-to-sybase-db-using-ssis/ 
    Arthur My Blog

  • Web ADI Report set, excel is not showing the data for any of the three repo

    We are currently working on 11.5.10.2 and moving from Desktop ADI to Web ADI. At the time of publishing report in Web ADI the excel is empty.
    AFter successfully running the WEB Adi reportset for Consolidate Balncesheet ( for a period ex: APR-2012), there were 3 reports that were publlished as a set. Then I went to Repository Management and went to the folder and subfolder where I saved all the above 3 reports. When I click on view on one of the reports, the excel spreadsheet opens and try to load something for a while but finally ends up loading nothing.
    I am unable to figure out what went wrong. Do you have any idea.
    If someone can help me, I really appreciate.
    Thanks
    Uday

    Hi ,
    In u r query what I observed was unit cost*gross profit is Amount Sold. Can u make this calculation with Physical calculation rather than and logical calculation.
    See if u have kept logical joins for both the tables with the fact and set the content level at detail level in the content level of fact.
    Then it will work
    Thanks
    S

  • Importing Addresses in Address book from text file

    Hello all,
    I am attempting to import my address books from Microsoft Outlook into the Address book on the Macintosh.
    More specifically, I have several distribution lists under Outlook that I use to send out various newsletters from where I work. These distribution lists have addresses that are specifically NOT within my Contacts under Outlook.
    So far, I HAVE been able to get the 400 email addresses exported into a plain text file. This text file has only the email addresses, one per line within the text document.
    The problem I have been having is finding some way to make this information "useful" for the address book program. Attempting to import the text file doesn't work (understandably, since I assume the program will only see the text document as "one" card.)
    So my question is, how can I import these 400 addresses into the address book under a specific grouping or distribution list? Is there some way I can create individual vcards for EACH of these addresses, THEN import them?
    Or am I doing things all wrong from the get-go, and need to attempt something else?
    Here' hoping you can help!!
    Thanks

    Here's instructions. I find it hard to believe that this much work is required, but I'm not at home and so I can't experiment with my Mac.
    <http://www.macosxhints.com/article.php?story=20050828200319417&lsrc=osxh>
    I was thinking that you might just want to drag contacts from Outlook to a folder in Windows -- all the contacts get exported to individual "cards" which I'm pretty sure you can import directly into Address Book.
    As for your distribution lists -- I wouldn't be surprised if Mac OS requires everyone on the list to appear in Address Book. If you try creating a list manually, can you include recipients that don't go in Address Book?

Maybe you are looking for

  • Invoking EBusiness Suite APIs from Oracle Data Integrator

    Hi, I am using ODI as the data migration tool to load data from oracle legacy application to ebiz. Is there any knowledge module available to call oracle Ebusiness APIs? Thanks in advance. -Santanu

  • Can I see my macbook air desktop on apple tv?

    Can I see my macbook air desktop on apple tv? Thank you,

  • Creating JNI DLL on WinXP using MinGW and GCC

    Ohh man, I spent entire day fighting with "UnsatisfiedLinkError "while trying to cal my native method. After reading all the posts with similar problems, and checking for every little thing that was suggested I figured it out. So I'm reposting the so

  • My 2010 Macbook Pro won't turn on...

    I left my Macbook Pro alone for a moment and when I had returned it had shut down on it's own and wouldn't turn back on. (MagSafe unattached) 1. It will not turn on.  2. Battery Indicator - When pressed displays nothing.  Computer is super, super dea

  • Help in datasets in Dreamweaver MX

    Hi, I have a MS access database of product's table namely with fields imagefile, product_id, name, cost and 4 different products added. I created a table 2 rows 2 cols in products.aspx, i have the database connected, datasets up and i wish to display