Export KM Content

Good morning,
I need export KM Content, I see in other message:
http://help.sap.com/saphelp_nw04/helpdata/en/35/4cf72bfe18455e892fc53345f4f919/frameset.htm
But, how I can begin??
Thanks,
Mercedes

Hi Mercedes,
Portal / KM supports astandard caled the ICE Standard. This allows the export of content and folder structure to other consumers that support ICE .
The normal process of this would be something like this:
1) Configure Portal as an ICE Syndicatore and configure an ICE Package in the portal with its schedule.
2) Configure the target system as a subscriber and link it to the syndicatore. You will see that after the scheduled activity has taken place, then the new documents/files have been transported from the source portal to the target portal.
Another way is to develop a java component, which exports the repository to a file system and the properties of the documents to an XML file. This will allow the target system ( NON SAP ) to read the xml file and import the contents. But this is more for a one time activity.
ICE is your best option for scheduled , regular Data Exchange.
cheers,
i028982.
P.S Please award points if this answer helps.

Similar Messages

  • 500 internal server error while Export wedbdynpro content into Excel.

    Hi Experts,
    my requirement is export webdynpro content into excel sheet, so for this what i have did is
    First step:
    ) created an Extneral library DC
    2) imported the JARs to the libraries folder of the External Library DC project
    3) Right-click on each of the JARs imported to the project and added them to the public part.
    Second step:
    1) Createed a new Reuse Web Dynpro DC
    2) Created a new public part, selecting the "Can be packaged into other build results" option
    3) extrcted the full content (folders and class files) to root folder
    4) Imported the folders and files to the src/packages folder
    5)binded the attributes, created 3 methods and writen the code for those methods.
    Third Step:
    1) created one more EXPORT EXCEL DC
    2) ADDED LIB jar dc and Reuse DC IN used dc's
    3) created usedwebdynpo component and binded attributes to Table VIEW and writen the code for exposing table values.
    After this build and deployed i am getting clasnot found error
    so what i have did now is
    Fourth step:
    1)Created "J2EE Library DC"
    2) Refered "External Library DC" into J2EE Library DC.
    3) Deployed "J2EE Library DC"
    4) Refered this one in my Web Dynpro DC by giving Library Reference.
    now when i deploy and run what happend i am getting
    500 Internal Server Error SAP J2EE Engine/7.01 
    Application error occurred during request processing.
    Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/export_file_excel_7.
    Exception id: [00215E78C4C0006D00000AD9000E00F00004887F642A32FE]
    Any one can tell what could be the problem.

    Thanks for sharing the solution.

  • Exporting Catalog Content in CCM 2.0

    Hello,
    I would like to know if it is possible to export the content of a catalog to Excel.
    In CCM 2.0 it seems to be that one can only export the structure of the catalog.
    Thanks for any answer,
    Aart

    Hi Imthiaz,
    Sorry, out of ignorance I ask you,
    Where can I have a look at this class /CCM/CL_CATALOG_EXPORT and method EXPORT_CATALOG ? What trx are we talking about?
    It is not a report or a function, what is it, executable or not?
    Please give me some more info.
    Thanks in advance
    Aart

  • Export/import content area

    Hi,
    I'm trying to import/export the content area using the contexp.cmd and the contimp.cmd. When I run the import I receive the error '
    WWUTL_API_SiteTransport.GetImportSites: Import table WWUTL_SBR_TX_SITES$ is empty
    Rolling back transaction'
    The first thing the export does is truncate this table so it is always going to be empty. Any ideas how to get round this??
    I am running version 3.0.7.6.2 on NT 2000
    Thanks

    The import truncates the table to remove any old data that might be left from previous export/ import.
    Following this step, the Oracle Import utility imp is run. One reason why you are getting the error could be due to different versions of the 9iAS client utilities (which are 8.1.7 based in your case) and the database server. If the database server is 8.1.6 then you need to set the ORACLE_HOME to the database home prior to running the import. Once the import is complete you can reset the ORACLE HOME back to the 9iAS Home.

  • Apply formatting in a JEditorPane and export the content in HTML.

    Hi,
    I'm writing, a program to allow the user to enter a formated text and even add images in a JEditorPane.
    Here is a simple sample of the code:
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;              //for layout managers and more
    import java.awt.event.*;        //for action events
    import java.net.URL;
    import java.io.IOException;
    public class EditorPane extends JPanel{
        private String newline = "\n";
        private JPanel buttonPanel;
        private JPanel textPanePanel;
        private JEditorPane myEditorPane;
        private JButton boldButton;
        private JButton colorButton;
        private JButton imgButton;
        private JButton saveButton;
         public EditorPane() {
            createGUI();
        private void createGUI() {
            buttonPanel = new JPanel();
            boldButton = new JButton("Bold");
            boldButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    boldButtonActionPerformed(evt);
            colorButton = new JButton("Color");
            colorButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    colorButtonActionPerformed(evt);
            imgButton = new JButton("Image");
            imgButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    imgButtonActionPerformed(evt);
            saveButton = new JButton("Save");
            saveButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    saveButtonActionPerformed(evt);
            buttonPanel.setLayout(new GridLayout(1, 4));
            buttonPanel.add(boldButton);
            buttonPanel.add(colorButton);
            buttonPanel.add(imgButton);
            buttonPanel.add(saveButton);
            textPanePanel = new JPanel();
            textPanePanel.setLayout(new BorderLayout());       
            myEditorPane = this.createEditorPane();
            JScrollPane paneScrollPane = new JScrollPane(myEditorPane);
            textPanePanel.add(paneScrollPane, BorderLayout.CENTER);
            this.setLayout(new BorderLayout());
            this.add(buttonPanel, BorderLayout.NORTH);
            this.add(textPanePanel, BorderLayout.CENTER);
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                     JFrame frame = new JFrame("TextSamplerDemo");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   EditorPane newContentPane = new EditorPane();
                    //newContentPane.setOpaque(true); //content panes must be opaque
                    frame.setContentPane(newContentPane);
                    frame.pack();
                    frame.setSize(300,300);
                    frame.setVisible(true);
    private JEditorPane createEditorPane() {
            JEditorPane editorPane = new JEditorPane();
            editorPane.setEditable(true);
            java.net.URL helpURL = TextSamplerDemo.class.getResource(
                                            "simpleHTMLPage.html");
            if (helpURL != null) {
                try {
                    editorPane.setPage(helpURL);
                } catch (IOException e) {
                    System.err.println("Attempted to read a bad URL: " + helpURL);
            } else {
                System.err.println("Couldn't find file: simpleHTMLPage.html");
            return editorPane;
        private void boldButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("boldButtonNextActionPerformed");
        //myEditorPane
            // TODO add your handling code here:
        private void colorButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("colorButtonActionPerformed");
            // TODO add your handling code here:
        private void imgButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("imgButtonActionPerformed");
            // TODO add your handling code here:
        private void saveButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("saveButtonActionPerformed");
        String newStr = new String("this is the new String");
        //newStr.setFont(new java.awt.Font("Tahoma", 0, 14));
        this.myEditorPane.replaceSelection("sdfsdfsd");
            // TODO add your handling code here:
    }and the HTML Code of simpleHTMLPage.html is
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <p>Simple text</p>
    <p><strong>Bold text</strong></p>
    <p><em>Italic text</em></p>
    <p align="center">Center text</p>
    <p><font color="#000099"><strong>Color text</strong></font></p>
    <p>image here : <img src="images/Pig.gif" width="121" height="129"></p>
    <p> </p>
    </body>
    </html>By pressing the Save button I can change the selected text.
    I don�t know the way to get and apply the format (size, color �) to only the selected text and display the selected image in real time in the EditorPane. Like if you press the Bold button, the selected text font will be change to bold.
    I would like to get or save the HTML code of the content of the EditorPane by pressing the Save button, How to make it?
    I can apply the formatting on the selected text in a JTextPane, but I don't know the way to save or export the content in HTML. By doing that it could fix my problem too.
    So any help to do that will be much appreciated.
    Thanks.

    Hi,
    Tks for your answer. That one I can do it. I would like to display the selected text in bold instead of adding the tag in the JEditorPane. If I get you right, you get the hole content of the JEditorPane and save it. How did you get it ? And before saving that in the database, did you fing the keysWord to convert the HTML tag in the corresponding entities ?
    Bellow you have a sample of code to make the formatting in the JTextPane.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.text.*;
    import javax.swing.text.Highlighter;
    import javax.swing.event.*;
    import java.util.*;
    import javax.swing.text.*;
    import javax.swing.text.BadLocationException;
    public class MonJTextPane extends JFrame implements CaretListener, ActionListener
              *     Attributs :
         private JTextPane monTextPane;
         private JLabel monLabel;
         private JButton monBouton;
         private StyleAide style; // class qui defini les effets de style de l'editeur
              *     Constructeur :
         public MonJTextPane ()
         {     super ("Aide");
              // construction du composant Texte
              this.style = new StyleAide (new StyleContext ());
              this.monTextPane = new JTextPane ();
              this.monTextPane.setDocument (style);
              this.monTextPane.addCaretListener (this);
              // construction de la fenetre :
              this.getContentPane ().setLayout (new BorderLayout ());
              this.setBounds (150,150,600,550);
              this.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
              this.monLabel = new JLabel ("Auncune ligne saisie...");
              this.monBouton = new JButton ("change de style");
              this.monBouton.addActionListener (this);
              JPanel panel = new JPanel ();
              panel.setLayout (new GridLayout (1,2));
              panel.add (monLabel);
              panel.add (monBouton);
              this.getContentPane ().add (panel, BorderLayout.SOUTH);
              this.getContentPane ().add (this.monTextPane, BorderLayout.CENTER);
              this.setVisible (true);
              *     Methodes :
         private int getCurrentLigne ()
         {     return ( this.style.getNumLigne (monTextPane.getCaretPosition ())+1 );
         public int getCurrentColonne ()
         {     return ( this.style.getNumColonne (monTextPane.getCaretPosition ())+1 );
              *     Methodes CaretListener:
         // ecoute les deplacements du curseur d'insertion
         public void caretUpdate(CaretEvent e)
         {     int debut = java.lang.Math.min (e.getDot (), e.getMark ());
              int fin   = java.lang.Math.max (e.getDot (), e.getMark ());
              this.monLabel.setText ("Ligne numero : "+ this.getCurrentLigne ()+" Colonne : "+this.getCurrentColonne ()+" (debut : "+debut+", fin : "+fin+")");
              *     Methodes ActionListener:
         public void actionPerformed (ActionEvent e)
         {     int start     = monTextPane.getSelectionStart();
              int end          = monTextPane.getSelectionEnd();
              int debut     = java.lang.Math.min (start, end);
              int fin          = java.lang.Math.max (start, end);
              int longueur= fin - debut;
              this.style.changeStyleSurligne (debut, longueur);
         // lance le tout ....
         public static void main (String argv [])
         {     new MonJTextPane ();
    // la Classe DefaultStyledDocument correspond a la classe utilise comme Model pour les
    // composant Texte evolue comme : JTextPane ou JEditorPane
    // en derivant de cette derniere nous pouvons donc redefinir les methodes d'insertion afin de personnalise
    // le style d'ecriture en fonction du texte et creer une methode permettant de modifier le style utilise pour
    // une partie de texte deja ecrite.
    class StyleAide extends DefaultStyledDocument
              *     Constructeur :
         public StyleAide (StyleContext styles)
         {     super (styles);
              initStyle (styles);
              *     Methodes :
         // redefini pour choisir l'effet de style a utiliser
         public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
         {     try
              {     // si le texte insere est egale a HELP le texte s'ecrit avec le style "styleOp"
                   if ( str.equals ("HELP") )
                   {     super.insertString (offs, str, getStyle ("styleOp"));
                   else // sinon le texte est ecrit avec le style "styleNormal"
                   {     super.insertString (offs, str, getStyle ("styleNormal"));
              catch (BadLocationException e)
              {     System.out.println ("Tuuuttt erreur Insere");
         // modifie le style d'ecriture d'un texte deja ecrit compris
         public void changeStyleSurligne (int positionDepart, int longueur)
         {     setCharacterAttributes (positionDepart, longueur, getStyle ("styleKeyWord"), true);
         // le Model d'un composant texte est enregistre sous form d'un arbre
         // cette methode permet de recuperer le noeud root de l'arbre
         private Element getRootElement ()
         {     return this.getDefaultRootElement ();
         // methode permettant d'obtenir la ligne correspondant a un offset donnee
         public int getNumLigne (int offset)
         {     Element eltR = getRootElement ();
              int numLigne = eltR.getElementIndex (offset);
              Element elt  = eltR.getElement (numLigne);
              if ( offset != elt.getEndOffset () )
              {     return numLigne;
              else
              {     if ( numLigne != 0 )
                   {     return numLigne+1;
              return 0;
         public int getNumColonne (int offset)
         {     Element eltR = getRootElement ();
              Element elt = eltR.getElement (eltR.getElementIndex (offset));
              int numColonne = offset-elt.getStartOffset ();
              return numColonne;
         // Defini les differents styles
         private static void initStyle (StyleContext styles)
         {     // definition du style pour le texte normal (brute)
              javax.swing.text.Style defaut = styles.getStyle (StyleContext.DEFAULT_STYLE);
              javax.swing.text.Style styleNormal = styles.addStyle("styleNormal", defaut);
              StyleConstants.setFontFamily (styleNormal, "Courier");
              StyleConstants.setFontSize (styleNormal, 11);
              StyleConstants.setForeground(styleNormal, Color.black);
              javax.swing.text.Style tmp = styles.addStyle("styleKeyWord", styleNormal);
              // Ajout de la couleur blue et du style gras pour les mots cle
              StyleConstants.setForeground(tmp, Color.blue);
              StyleConstants.setBold(tmp, true);
              tmp = styles.addStyle("styleOp", styleNormal);
              // Ajout de la couleur rouge pour le style des operateurs
              StyleConstants.setForeground(tmp, Color.red);
    }But it hard for me to convert it in the corresponding HTML document.
    Did you have and idea
    Tkks

  • ADF: Export table contents to pdf

    Hi Everyone,
    I am using Jdev 11G...
    I have a table and Export to Excel button on the adf page.Export to Excel is working fine.
    But now i have to change it to Export to pdf.
    Plz let me know how can i perform this operation Export table contents to Pdf.
    Plz give me any simple solution for achieving this.
    Any answers will be really useful.
    Thanks...

    Hi Timo,
    Thanks for ur response.
    i modified that import.
    now when i compile im getting error for AppModuleImpl import.
    Error(338,12): cannot find class AppModuleImpl.
    And also plz specify from where i can get that .xml file which is specified in private static void printXML(Node n) throws IOException { ) method. (which xml file is that).(i didnt find any xml file when i check in my path)
    And also the paths in public void generatePDF() {
    File xmlfile =
    new File("C:/jdevstudio10133/jdev/mywork/FOP/ViewController/src/view/emp.xml");
    File xsltfile =
    new File("C:/jdevstudio10133/jdev/mywork/FOP/ViewController/src/view/emp.xsl");
    File pdffile =
    new File("C:/jdevstudio10133/jdev/mywork/FOP/ViewController/src/view/EmpResultXML2PDF.pdf");
    Is these 3 paths are alreasy exists or we are creating it now?
    Plz clarify me im confused.....
    Thanks.

  • BO4 - Lifecycel Management Console to export all content via scheduled job

    Hi,
    We wish to export the entire content of our repository to a lcmbiar file via scheduled job every week.
    Whilst could do this manually, want this to be a periodic refresh.
    The purpose of this is to have a developemnt system which has the content of the production system as of a week ago.
    So would want this job to be dynamic, exporting entire content including any new content on weekly basis at week-end during quiet time on servers.
    Anybody know if this can be done via lcmbiar file automatically?
    I'm thinking say sales folder week 1 10 reports, week 2 somebody creates another 2 reports, would want lcmbiar file to automatically pick up the new reports which have been added in week 2.
    Is this possible via lifecycle management console?
    Can't simply export cms database to development system as contains the production host embedded within it and don't want the development system to have reference to the physical production host.
    Many Thnaks

    Hi,
    Yesterday ASUG conducted webinar on LCM 4.0 FP3. URL for webbex session
    http://www.asug.com/Default.aspx?tabid=124&vp_url=http://jive.asug.com/docs/DOC-32206
    summary:
    1. We can not schedule to export LCMBIAR file in 4.0 SP2
    2. When ant file added to folder, automatically scheduled job do not pick the file in 4.0 SP2
    But above two options are good and working in FP3 as per SAP.

  • Error Exporting Table Content into Excel

    Hi there,
    I have code that reads a TableView and exports its content into excel file. The code is running right now in an iView that is stored in a protal role. The code has been developed using PDK. I'm running portal 6.0 SP16.
    Here is what the code does:
    1. Reads the content of the table and stores it in an HSSFSheet inside an HSSFWorkbooK object.
    2. Gets HttpServletResponse from the portal request and updates its content type and headers
    HttpServletResponse response = ((IPortalComponentRequest)getRequest()).getServletResponse(true);
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-Disposition", "attachement;filename="EmployeeEntitlementRpt.xls"");
    3. Writes the excel file to the response output stream.
    ServletOutputStream fileOut = null;
    try{
         fileOut = response.getOutputStream();
         wb.write(fileOut);
         fileOut.close();
    } catch(IOException ie){
         throw new PortalRuntimeException("IOException when getting output steam from response, writing to the outputstream or closing it.", ie);
    The code gives me the following error message, if invoked from the iview inside the detailed navigation.
    <b>"Internet Explorer cannot download ...ge!2fcom.sap.portal.innerpage from portald.global.ad
    Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."</b>
    However, when I navigate to the same iView and open it in a new window, the code functions as expected.
    This is the URL to the iView when opened inside the detailed navigation: https://companyserver.global.ad/irj/servlet/prt/portal/prtpos/pcd!253aportal!255fcontent!252fevery!255fuser!252fgeneral!252fdefaultDesktop!252fframeworkPages!252fframeworkpage!252fcom!252esap!252eportal!252einnerpage!7b!3b2!7d.com!252esap!252eportal!252edynamicNavigationArea!7bHideMode!7d_com!252esap!252eportal!252etargetsiView!7bHideMode!7d_com!252esap!252eportal!252etargetsiView!255f!7bHideMode!7d-/prttarget/com!252enexeninc!252etots!252eiv_entitlement_report.content/prteventname/HtmlbEvent/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage
    This is the URL to the iView when opened in a new window:
    https://companyserver.global.ad/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.iviewmodeproxy?iview_id=pcd%3aportal_content/com.nexeninc.fld_nexen_content/fld_all_users/fld_time_off_tracking/fld_administrators/com.nexeninc.tots.ro_administrator/com.nexeninc.tots.ws_user_components/com.nexeninc.portal.navigation.ws_my_workspace_my_applications/com.nexeninc.portal.navigation.ws_my_workspace/fld_general_applications/fld_track_time_off/fld_admin/com.nexeninc.tots.iv_entitlement_report&iview_mode=default

    Hi,
    In the iView properties, for the property Entry Point, mark the property as yes instead of the default no. May be this could help u.
    Regards,
    Sujana

  • Export? content auf sqlarchive

    I think there is no way to export the content of sqlarchive? (only cut/paste the content of a single entry).
    Such an export could be useful for moving an development workspace.

    In ESTK's Object Model Viewer, do a search on "exportFile" and that will give you a list of all the objects that support that call. So, if you have on a page of your catalogue one of these items all set up and ready to export, then just export it.
    But if you have to assemble the information in order to create your ticket, I'd use a technique where I create a temporary document and populate it from the catalog, then export it and discard it.
    Dave

  • Export - region content (file)

    Hi,
    How do I export the contents of a region (files) to another table outside the Oracle portal?
    tks
    Carlo

    Works fine here... no problems at all.
    Have you tried this in a different song? It may be something with this one Logic file... unless you can duplicate it in another song.
    As an alternative, I would suggest you simply export the whole track.

  • How to export table contents in xml file format through SQL queries

    hi,
    i need to export the table data in to xml file format. i got it through the GUI what they given.
    i'm using Oracle 10g XE.
    but i need to send the table name from Java programs. so, how to call the export commands from programming languages through. is there any sql commands to export the table contents in xml format.
    and one more problem is i created each transaction in two tables. for example if we have a transaction 'sales' , that will be saved in db as
    sales1 table and sales2 table. here i maintained and ID field in sales1 as PK. and id as FK in sales2.
    i get the combined data with this query,
    select * from sales1 s1, sales2 s2 where s1.id=s2.id order by s1.id;
    it given all the records, but i'm getting two ID fields (one from each table). how to avoid this. here i dont know how many fields will be there in each table. that will be known at runtime only.
    the static information is sales1 have one ID field with PK and sales2 will have one ID filed with FK.
    i need ur valuable suggestions.
    regards
    pavan.

    You can use DBMS_XMLGEN.getXML('your Query') for generating data in tables to XML format and you can use DBMS_XMLGEN.SETROWSETTAG to change the parent element name other wise it will give rowset as well as DBMS_XMLGEN.SETROWTAG for row name.
    Check this otherwise XMLELEMENT and XMLFOREST function are also there to convert data in XML format.

  • Export InfoCube Contents by Request to a flat file

    Hi SDN,
    Is it possible, other than going into the manage contents of an infoCube,
    to export to a CSV file, by a request id.
    I had a look at the function module
    RSDRI_INFOPROV_READ
    and it nearly does what i require, although i wasn't able to get it to work.
    Can anyone firstly provide me with the parameters to input to get it to write to a file, say C:\temp.csv.
    We are not able to use open hub service because of licensing issues.
    Finally, if there is no easy solution, i will just go to the manage contents, and dump out the 3 - 4 million records identified by a request id number
    Thank you.
    Simon

    Hi,
    hereunder an example populating an internal table; the same writing to flat file shouldn't be an issue (OPEN DATASET....)
    DATA:
      BEGIN OF ls_sls_infoprov_read,
        0PLANT      LIKE /BIC/VZMC0332-0PLANT,
        0RT_POSNO   LIKE /BIC/VZMC0332-0RT_POSNO,
        0RT_RECNUMB LIKE /BIC/VZMC0332-0RT_RECNUMB,
        0PSTNG_DATE LIKE /BIC/VZMC0332-0PSTNG_DATE,
        0TIME       LIKE /BIC/VZMC0332-0TIME,
        ZAIRLINE    LIKE /BIC/VZMC0332-ZAIRLINE,
        ZFLIGHTN    LIKE /BIC/VZMC0332-ZFLIGHTN,
        ZPAXDEST    LIKE /BIC/VZMC0332-ZPAXDEST,
        ZPAXDESTF   LIKE /BIC/VZMC0332-ZPAXDESTF,
        ZPAXCLASS   LIKE /BIC/VZMC0332-ZPAXCLASS,
        0CUSTOMER   LIKE /BIC/VZMC0332-0CUSTOMER,
        0MATERIAL   LIKE /BIC/VZMC0332-0MATERIAL,
        0RT_SALRESA LIKE /BIC/VZMC0332-0RT_SALRESA,
        0RT_POSSAL  LIKE /BIC/VZMC0332-0RT_POSSAL,
        0RT_POSSALT LIKE /BIC/VZMC0332-0RT_POSSALT,
        ZREASVAL    LIKE /BIC/VZMC0332-ZREASVAL,
        0RT_PRICRED LIKE /BIC/VZMC0332-0RT_PRICRED,
        0RT_PRICDIF LIKE /BIC/VZMC0332-0RT_PRICDIF,
      END OF ls_sls_infoprov_read.
    DATA: ls_sls_item LIKE ls_sls_infoprov_read.
    TYPES: ly_sls_infoprov_read LIKE ls_sls_infoprov_read,
           ly_sls_item          LIKE ls_sls_item.
    DATA:
        lt_sls_infoprov_read
        TYPE STANDARD TABLE OF ly_sls_infoprov_read
        WITH DEFAULT KEY INITIAL SIZE 10,
        gt_sls_infoprov_read LIKE lt_sls_infoprov_read.
    DATA:
         ls_sls_sfc  TYPE RSDRI_S_SFC,
         lt_sls_sfc  TYPE RSDRI_TH_SFC,
         ls_sls_sfk  TYPE RSDRI_S_SFK,
         lt_sls_sfk  TYPE  RSDRI_TH_SFK,
         ls_sls_range TYPE RSDRI_S_RANGE,
         lt_sls_range TYPE RSDRI_T_RANGE,
         lv_sls_end_of_data TYPE  RS_BOOL,
         lv_sls_first_call TYPE rs_bool,
        lv_sls_icube  TYPE RSINFOCUBE VALUE 'ZMC033'.
    *filling internal tables containing the output characteristics / KeyFigs
    * Shop ID
      ls_sls_sfc-chanm = '0PLANT'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 1.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    ** Till ID
      ls_sls_sfc-chanm = '0RT_POSNO'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 2.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    ** Receipt Number
      ls_sls_sfc-chanm = '0RT_RECNUMB'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 4.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    ** Posting Date
      ls_sls_sfc-chanm = '0PSTNG_DATE'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 3.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    * Time
      ls_sls_sfc-chanm = '0TIME'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    * Airline
      ls_sls_sfc-chanm = 'ZAIRLINE'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    * Flight Number
      ls_sls_sfc-chanm = 'ZFLIGHTN'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    * Destination
      ls_sls_sfc-chanm = 'ZPAXDEST'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    * Final Destination
      ls_sls_sfc-chanm = 'ZPAXDESTF'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    * Passenger Class
      ls_sls_sfc-chanm = 'ZPAXCLASS'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    * EU, non EU code
      ls_sls_sfc-chanm = '0CUSTOMER'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    ** Item Characteristics
    * Article
      ls_sls_sfc-chanm = '0MATERIAL'.
      ls_sls_sfc-chaalias = ls_sls_sfc-chanm.
      ls_sls_sfc-orderby  = 0.
      INSERT ls_sls_sfc INTO TABLE lt_sls_sfc.
    ** Key Figures
    * Sales Quantity in SuoM
      ls_sls_sfk-kyfnm    = '0RT_SALRESA'.
      ls_sls_sfk-kyfalias = ls_sls_sfk-kyfnm.
      ls_sls_sfk-aggr     = 'SUM'.
      INSERT ls_sls_sfk INTO TABLE lt_sls_sfk.
    * Gross Sales Value
      ls_sls_sfk-kyfnm    = '0RT_POSSAL'.
      ls_sls_sfk-kyfalias = ls_sls_sfk-kyfnm.
      ls_sls_sfk-aggr     = 'SUM'.
      INSERT ls_sls_sfk INTO TABLE lt_sls_sfk.
    * Tax Value
      ls_sls_sfk-kyfnm    = '0RT_POSSALT'.
      ls_sls_sfk-kyfalias = ls_sls_sfk-kyfnm.
      ls_sls_sfk-aggr     = 'SUM'.
      INSERT ls_sls_sfk INTO TABLE lt_sls_sfk.
    * Discounts
      ls_sls_sfk-kyfnm    = 'ZREASVAL'.
      ls_sls_sfk-kyfalias = ls_sls_sfk-kyfnm.
      ls_sls_sfk-aggr     = 'SUM'.
      INSERT ls_sls_sfk INTO TABLE lt_sls_sfk.
    * Reductions
      ls_sls_sfk-kyfnm    = '0RT_PRICRED'.
      ls_sls_sfk-kyfalias = ls_sls_sfk-kyfnm.
      ls_sls_sfk-aggr     = 'SUM'.
      INSERT ls_sls_sfk INTO TABLE lt_sls_sfk.
    * Differences
      ls_sls_sfk-kyfnm    = '0RT_PRICDIF'.
      ls_sls_sfk-kyfalias = ls_sls_sfk-kyfnm.
      ls_sls_sfk-aggr     = 'SUM'.
      INSERT ls_sls_sfk INTO TABLE lt_sls_sfk.
    ** filters
    FORM infoprov_sls_selections.
      REFRESH lt_sls_range.
      CLEAR ls_sls_range.
      ls_sls_range-chanm  = '0COMP_CODE'.
      ls_sls_range-sign   = 'I'.
      ls_sls_range-compop = 'EQ'.
      ls_sls_range-low    = 'NL02'.
      APPEND ls_sls_range TO lt_sls_range.
      CLEAR ls_sls_range.
      ls_sls_range-chanm    = '0PLANT'.
      ls_sls_range-sign     = 'I'.
      ls_sls_range-compop   = 'EQ'.
      ls_sls_range-low      = 'NLAA'.
      APPEND ls_sls_range TO lt_sls_range.
      ls_sls_range-low      = 'NLAB'.
      APPEND ls_sls_range TO lt_sls_range.
      ls_sls_range-low      = 'NLAC'.
      APPEND ls_sls_range TO lt_sls_range.
      ls_sls_range-low      = 'NLAM'.
      APPEND ls_sls_range TO lt_sls_range.
    ** Test Only
      CLEAR ls_sls_range.
      ls_sls_range-chanm    = '0CALDAY'.
      ls_sls_range-sign     = 'I'.
      ls_sls_range-compop   = 'BT'.
      ls_sls_range-low      =  s_datefr.
      ls_sls_range-high     =  s_dateto.
      APPEND ls_sls_range TO lt_sls_range.
    *  CLEAR ls_sls_range.
    *  ls_sls_range-chanm    = '0CALDAY'.
    *  ls_sls_range-sign     = 'I'.
    *  ls_sls_range-compop   = 'LE'.
    *  ls_sls_range-low      =  s_dateto.
    *  APPEND ls_sls_range TO lt_sls_range.
    * infoprov_sls_read
    DATA: lv_sls_records TYPE I, lv_sls_records_char(9) TYPE C.
      lv_sls_end_of_data = ' '.
      lv_sls_first_call  = 'X'.
    * read data in packages directly from the cube
      WHILE lv_sls_end_of_data = ' '.
            CALL FUNCTION 'RSDRI_INFOPROV_READ'
              EXPORTING  i_infoprov             = lv_sls_icube
                         i_th_sfc               = lt_sls_sfc
                         i_th_sfk               = lt_sls_sfk
                         i_t_range              = lt_sls_range
                         i_reference_date       = sy-datum
                         i_save_in_table        = ' '
                         i_save_in_file         = ' '
                         I_USE_DB_AGGREGATION   = 'X'
                         i_packagesize          = 100000
                         i_authority_check      = 'R'
              IMPORTING  e_t_data               = lt_sls_infoprov_read
                         e_end_of_data          = lv_sls_end_of_data
              CHANGING   c_first_call           = lv_sls_first_call
              EXCEPTIONS illegal_input          = 1
                         illegal_input_sfc      = 2
                         illegal_input_sfk      = 3
                         illegal_input_range    = 4
                         illegal_input_tablesel = 5
                         no_authorization       = 6
                         ncum_not_supported     = 7
                         illegal_download       = 8
                         illegal_tablename      = 9
                         OTHERS                 = 11.
            IF sy-subrc <> 0.
              BREAK-POINT.   "#EC NOBREAK
              EXIT.
            ENDIF.
            APPEND LINES OF lt_sls_infoprov_read TO gt_sls_infoprov_read.
      ENDWHILE.
    Another options for "adjusting" a cube:
    - converting it to transactional and use BPS functionalities (ABAP report SAP_CONVERT_TO_TRANSACTIONAL)
    - loopback scenario: generate export datasource on your cube with update rules to your cube itslef; you would extract the data to be corrected to PSA; you can then edit this PSA (manually or mass updates with ABAP code) and the post it again in your cube.
    hope this helps...
    Olivier.

  • Exporting Frame content to Word?

    Hi,
    I am working on manuals that have been done in both Frame 7.2 and Word 2003 and am hoping to migrate to a newer version of Frame some day.
    Right now I'm trying to update a few Word-based manuals with some content from Frame docs but it's slow and tedious.
    If I cut a range of text and graphics from the Frame doc, and do a Paste Special -> RTF into Word, all I get is the text without the original formatting (the Frame styles don't survive the cut and paste). BTW, Word offers only RTF and text as methods for Paste Special. Then I have to cut and paste each graphic with Paste-> Special -> Bitmap. The SOP here is to embed all graphics rather than link them.
    Can anyone advise if there is an easier way to move content from Frame to Word? If it's possible in a later release, then that would be motivation to upgrade.
    Yours,
    Michael F

    The filters in newer version of FM seem to have evolved slightly, but the Best Practice solution is to buy a copy of MIF2Go from omsys.com and use that to export. It's the only solution that maintains most of the look and feel of the FM documents and doesn't drop data on the floor.
    Art

  • PDF Export Issue - content missing (Not background freeze issue)

    Hi,
    Currently having some issues with exporting PDF's from Indesign CS5. When I export the first page (which is based off a master page) the majority of the content gets cut off - so this is images, coloured boxes and strokes and a barcode.(Top Image)
    When I cut the content from the master page and paste it onto a standard page, then it prints off ok (Bottom Image), but we can't realistically do this every single time. Its not only in one document that its happened - it has occured with several of our documents and across multiple computers.
    I have checked the forum and troubleshooting, have gone through and done the troubleshooting based on document and application level to no help. http://kb2.adobe.com/cps/499/cpsid_49998.html#main_DocumentLevel
    I've read the different posts regarding background tasks which is not the issue as it is actually exporting it and its fine.
    Have restarted the machine, double checked updates, checked whether its a damaged document (its not from what I can tell)
    Tried exporting without images (Omit OPI) with same results.
    Have checked out the transpency issue (as does contain some transparency but no results).
    So thinking it must be something to do with the master pages but I have no idea what.
    We were using an external plug in for the barcodes for CS4, that does not work for CS5 so I removed the barcode to see if that was affecting it but again no luck.
    Just to confirm we're running
    Adobe CS5 onto our computers - we've run all the the updates both for Adobe Acrobat Pro (9.4) and for all of the CS5.
    Its being run on iMac 2.4 GHz Intel Core 2 Duo, OS X 10.6.4
    Adobe CS4 has been uninstalled and deregistered so no interference there.
    Can anyone help me out here or recommend something?
    Thanks in advance.

    I've redrawn it all and placed in new images and now its starting to do weird stuff like make the images disappear as well as making part of the transparency 20% (as set by me) but then making another section of it 100%.(See below - top one is correct, bottom is incorrect). I would agree with you that it may just be an issue with the file, except its happening across multiple computers. There's not really any chance its a dud version of CS5 is there? Its all legit so no real reason why it wouldn't be.
    Override Master Pages fixes it, but this is pretty disappointing if I need to have to do this every single time as it makes the master pages on half useful.
    We do have CS3 actually and I opened it in that, exported it as a .inx but same issue with elements missing - the stroke around the outside disappeared.
    Could it be anything to do with bringing across elements from Illustrator? Although the top element is appearing fine, and the bottom transparent element is a copied item so shouldn't be an issue. And the image disappearing - there's no real reason for that.

  • Import/Export Portal Content between EP6 6.20 and 6.40

    Hi there,
    We are about to setup a second portal in Europe on 6.40, while the US portal will still be a EP6 SP2 on 6.20 for some time.
    I was wondering about the possibilities to share portal content between those 2 installations, especially iViews and pages (not using remote iViews). As long as the name of the related PAR files (code link) are the same, this should work.
    On the other hand, iViews and pages will have a different set of parameters like "Allow Client-Side Caching" or "Use API of Tray" based on different portal versions. What will happend when importing/exporting these objects from 6.20 to 6.40 or the other way around?
    Thanks,
    Florian

    Ivo, thank you for your reply.
    But I think mapping ports doesn't solve our problem.
    WAS 6.20:
    Just the context path will be send in the header field 'location' to the browser (located in the internet).
    In case of a redirect the browser mixes the server name of the sender (the reverse proxy) and the context path and sends the request to the reverse proxy. The reverse proxy forwards the request to the WAS 6.20 intranet server.
    WAS 6.40:
    The header field 'location' contains now the whole URL (with the server name of the WAS 6.40 system, which is only accessible from our intranet).
    In case of a redirect the browser takes the content of the header field 'location' and sends the request to the not accessible WAS 6.40 intranet server. Of course that doesn't work.
    So it it depends on the content of the header field 'location'.
    What can we do in WAS 6.40, so that the header field 'location' contains only the context path as it has done in WAS 6.20?
    Regards,
    Uwe

Maybe you are looking for