Adding Structure in EMIGALL

Hi,
I have a requirement to add a structure TJ30T in the migration object PARTNER. This structure will have a field TXT30(Business Partner Status).
Any suggestions how to do this??
Thanks,
Sachin.

Did it,.

Similar Messages

  • Converting large complex unstructured set to structured.

    I am converting a large complex unstructured doc set to Structured Frame. I'm starting off with Tom Aldous' webinars. I have many questions. First, I am performing my conversion to DITA (because this is how the webinar guides us). Is this the best format to use? I will have PDF User Guide with multiple role based outputs and Robohelp Webhelp output. Am I better with a DITA or Custom Structure?
    I am using TCS 3.

    Amy,
       I don't know what experience you have in working with XML, structured documents, EDDs, conversion tables, read/write rules, application definition files, and the other components of a FrameMaker structure application. You may not need them all. Especially if you are new to structure in general, I recommend that you don't try to learn everything at once. Start with something you do need--a structured template and an EDD and branch out to other components as you need them. It is always tempting to start by converting legacy documents. If your schedule permits, I recommend first setting up a structured template that you can use to experiment with structured documents. If you start with the conversion table, you may wind up with a structure that is optimized for adding structure to existing material rather than editing it once it's been structured.
       As far as the question of whether to define your own structure or use an existing one, I do not agree with the logic that using an existing model (such as DITA) gets you started earlier and saves you analysis time. Structure is all about organizing content, that is, organizing ideas and your project will provide the most benefit if you take time for planning at the beginning. That analysis might take the form of designing your own structure; it may take the form of figuring out how the elements and attributes defined in an existing model map into your own content. Remember that the industry-standard models are designed to apply to the documentation needs at many companies. They often make great examples for preliminary study, but they tend to be huge and much more complex than you may need. If you decide to go that route, strongly consider using a subset or specialization of the original model.
        Using a large tag set off the shelf is parallel to using a word processor without a style sheet. If the model was designed to let writers create almost anything, the model won't help writers create documents that conform to their own company's conventions. For example, one benefit of FrameMaker structured editing as compared to unstructured editing is that the context-sensitive available elements listed in the structured Element Catalog show only elements the writer is likely to need at the current point in the document. In contrast, the Paragraph and Character Catalogs show all defined catalog entries. Thus, if certain formats are only available within front matter or only for a title at the beginning of a larger unit, the format catalogs still show them everywhere. Suppose you start with a model that allows dozens of inline elements within a paragraph (emphasis, foreign phrase, part number, keyword, quotation, and so forth). If writers at your organization never use more than five of the inline elements, set up your application so that those five are the only ones listed.
       One of DITA's original design goals was to reduce the overhead that large companies like IBM required to publish documentation from new partners. The only way that goal could be achieved was with permissive rules for what's allowed where. Yes, DITA can be customized to support more stringent rules. Learning how to do so is part of the cost of using DITA. That expense may be worth it, but recognize it is there.
      The dividing line between a custom structure and a customization of one that is widely available may be blurry. My mother once had a cookbook with a recipe that concluded something like "bake for 20 minutes, or more, or less, it all depends." Designing a structured environment is similar. It all depends.
       --Lynne

  • Can open Topics by drag & drop, but not by double-clicking in the DITA map

    Hi,
    evidently I made an error somewhere in my structure app, the result is that I cannot open DITA topics by double clicking them in the DITA map anymore (Framemaker does simpy nothing). I can, however, open them by dragging the xml files onto the Framemaker window.  If I use the standard DITA 1.2 application everything works fine so I guess the problem is in my mapping.
    Here is what I tried to achieve:
    We need certain variations of the normal 'topic' type topic. The DTD should be identical, however different structures should be auto-inserted when creating a topic and the topic should have certain attribute values predefined.
    The idea is that the author can select one of these topic types when creating a topic, but when opening an existing topic simply edit it with the standard topic temple.
    Here is what I did:
    I duplicated the topic.template.fm, renaming it say "topic_a.template.fm", "topic_b.template.fm" etc. (just an example).
    I made adjustments to the EDD of these templates, changing the auto-insertions and the default values of some attributes.
    In the structapps.fm file I added XML applications for these new topic types, mapping each application to one of the new templates, but to the original topic DTD and r/w rules. E.g. the application "DITA_1.2_topic_a" is mapped to the "topic_a.template.fm" template, and to the original "topic.dtd" and "topic.rules.txt" files.
    In Framemaker I then created corresponding application mappings in the DITA options. E.g. the topic type "A" (which defines the visible text in the "New topic" menu) is maped to the XML application "DITA_1.2_topic_a".
    The result:
    It works as intended in every way when creating topics. The topics are saved with the standard doctype 'topic'. However for when I try to open topics from the DTD by double-clicking then nothing happens. Opening topics by drag & drop works fine though and they are opened with the normal (general) "topic.template.fm" template as desired.
    Any ideas? Was this confusing or am I completely off somewhere?
    Robert

    Hi Robert...
    When you say that you need "variations" from the normal topic type .. are those structural variations or just formatting? FM associates structure apps with XML files based on the doctype (root element). If your files all have the same root element, then they will all open with the same structure application (unless you specify a different one when opening the file or by importing a new EDD). It sounds like you really should be creating a specialization for each alternate topic type. If you don't, you'll end up getting the wrong "model" assigned to the wrong file.
    Multiple EDDs (structure apps) can share the same DTD, and one EDD (structure app) can support multiple models. This is how the "ditabase" app works. There are lots of ways to set this up, but I think what you've done is probably not quite right.
    The default structure app setup in FM11 and FM12 is very complicated to work with. I recommend creating a single app that supports many models. This isn't always possible, but it sounds like in your case it should be. I've set up one app that supports 13 different specialized topic models and it works fine.
    Note that even though you've added structure apps for each model, if you end up opening the files using the default template, you are no longer using those modified models.
    Sorry, but this is a bit more than can be dealt with appropriately in a forum post. If you'd like more help with this, feel free to contact me off list.
    Cheers,
    …scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • The cost of developing an MHP application

    I have had for some years an ambition that an MHP application can become written in Java and put into use, an MHP application which implements some of my ideas about a generic application.
    The generic application which would be produced would accept as input data a Unicode text file produced on a PC using Microsoft WordPad.
    The generic application would respond to user keypad presses.
    The effect would be to produce text and maybe vector graphics displays on the screen.
    The ideas of my own which the program would implement would be to use various Unicode Private Use Area characters to have meanings, within the application, such as changing text colour, waiting for a keypad button to be pressed, clearing the screen and so on. There are various things which I have thought would be good ideas, including vector graphics and a system for preparing programmed learning texts, though all of them do not need to be implemented in a first application.
    The particular generic application would be a specialised sandbox with solid security. If it were implemented it would mean that people could produce safe interactive television applications using a text editor on a PC.
    This particular generic program would be for a one-way broadcast system only.
    My Quest text font, which is available as a free download from the following web page, has visible glyphs for many Unicode Private Use Area characters, though some are for things other than my ideas about broadacsting technology, being for such things as simple percussion music, chess and stylish typography using ligatures and so on.
    http://www.users.globalnet.co.uk/~ngo/fonts.htm
    The glyphs relating to this idea would be used at authoring-time, not at run-time, so the font would not be broadcast with the application. At run-time the particular Unicode Private Use Area codes would be interpreted as commands, glyphs would not be needed for them.
    I am unlikely ever to be in a situation where I can produce that application myself. I can program a little in Java, but not very much, and I have all but no knowledge of the special MHP classes. I am not representing any organization.
    I have no idea of how much effort the writing, testing and deploying of such an MHP application would need and, following on from that, I have no idea of how much a contractor would charge to implement the generic application and arrange for it to be broadcast. Please bear in mind that I also do not know at the time of writing this post what would be required in terms of getting the application certified for broadcasting.
    So, my question is to ask what would be the sort of price level for implementing such a program as an MHP application please?
    Once such a figure is obtained then maybe I can try to think of a method to raise it. One idea is that perhaps the development of the MHP application could be used as a case study in a television series about the development of interactive television technology as it would be an open project so there would be no commercial secrets constraints about the program being used.
    William Overington
    12 November 2007

    Thank you for replying.
    * XML provides a much better way of adding structure to documents. It is clear what is markup and what is data.The system is not seeking to add structure to documents. It is seeking to add a few control codes here and there into text without needing to restructure the whole document into a format which differs greatly from a plain-text format.
    * There are thousands of XML tools out there to help programmers, but there are none for your system - even text editors will have problems displaying the correct codes.Well, WordPad and Word 97 can display the authoring-time glyphs easily if the Quest text font is being used.
    * There is a limitation on the number of commands that can be added to your system, with XML there are none.Well, I have not come up against a limitation on adding commands into the system. There may well be a theoretical limitation yet that may be far beyond what I am seeking to use. What limitation are you suggesting exists please?
    * The Unicode Private Use Area is there for a reason (to allow character set designers to add unusual glyphs into text. e.g. the characters that represent the film ratings). If you subvert if for other purposes then it will not be available for it's intended purpose.My understanding is that it is entirely proper to use the Unicode Private Use Area in the manner that I am using it. It is not a matter of "subvert it". One can define control codes within the Unicode Private Use Area if one wishes and one may publish those assignments if one wishes. I am not seeking an exclusive assignment at all.
    * Software engineers tried this system in the early days of PC computing with the ANSI.sys driver. This was removed and for good reason - it's a pain to use and is limited in scope. It is a tried tested and failed solutionThank you for the mention of the ANSI.sys driver. I looked it up on the web.
    * The use of such a system will have limited scope (you are proposing just MHP boxes). This increases the learning curve of potential users, which is going to be hard enough as there is no logical structure to your codes. (This was one of the bigger problems with the ANSI driver).I was only proposing using MHP as I thought that that might be a way to try to get things started in Europe as I am in England. If people wish to use the same codes for JavaTV more generally then they are welcome to do so. I suggested MHP so that I am trying to implement something specific rather than just talk about implementing on various systems.
    * Separating out data from control is one of the fundamental principals of good software design (even the weaving machines of the mid 19th century worked by this principal). You are deliberately mixing data with controlYes I am deliberately mixing text with control. I happen to think that it would be a very useful thing to do in the context of adding these control codes into text so as to enable people who are not programmers to produce an interactive television application for, say, a programmed learning sequence which they have devised. People could use a plain-text editor to produce the text file.
    * By deliberately mixing data with control you increase the complexity of the code used to interpret the display string, and thus slow down the text output algorithms.Yes, I am increasing the complexity of the Java code which would be needed to interpret the display string in the television set. So, that slows down the text output algorithms. I feel that that slowing down will not be significant bearing in mind that most of the time the software will be waiting for an end user response to what is on the screen.
    I'm sure there are other good reasons for not doing this.Well, I am happy to read, think about and to try to respond to any reasons that are put forward.
    Simply waiting a few years and suggesting it again is not going to make this a good idea - it is an idea who's time has thankfully long since passed.I am not suggesting that people take it up. That is up to them. Unless other people try it, it will not get tried. I am not representing an organization and I do not own a broadcasting station. I cannot write the Java application myself. I am trying to find out how much it would cost to implement the idea in an application program so that the system can be tried in practice and used by those people who would like to do so.
    William Overington
    13 November 2007

  • Current Date column in BEx report

    Hi,
    I need to add a column to show today's day in the report using query designer. I've been trying to add this column by adding structure in the rows section using 0DAT under the selection. But this has caused no data is displayed in the report. Can someone show me the step by step procedure how to add a column like this. Thank you in advacne.
    Sharon

    Hi,
    You create a Formula variable in Report and the wrie code in CMOD, then give that variable in Formula it will display date.
    WHEN 'ZVCURDAY'.
    ** Current Date Value
          CLEAR: l_s_range.
          l_s_range-low = sy-datum.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range
    Thanks
    Reddy

  • Copy teammembers and keywords from template to implementation project

    Hello All,
    When adding structure elements (business scenarios, etc) from a template project to an implementation project, the data on the administration tab is not copied with it.
    When selecting a specific scenario from the template we need to be able to also copy the keywords and team members to the implementation project.
    1) Is this possible without custom development
    2) If we use custom development. How can I link a structure element to its Administration tab data (keywords and team members) in ABAP?
    Thanks
    Jurjen

    If you copy the entire project using SOLAR_PROJECT_ADMIN, and then delete out of scope scenarios using SOLAR01, then the administration data can be copied over. Note, however, that this only works for the initial project copy. Subsequent changes to the information on the Administration tab in the Repository cannot be carried over to the projects using SA_PROJECT_UPGRADE. Another restriction is that you can't copy a template project to an implementation project. Also, if you want to use further template functions such as the Global Attributes, then you have to bring scenarios in using  the template functions, where this data is not copied over.

  • Inserting images to mark text boundaries

    Ive added text to a JTextPane from a file.
    and by mouse click ive inserted character
    to mark the boundaries of the text.
    instead of character ive to do with images
    for marking the segment boundaries.
    please suggest me some method for inserting
    images in TextPane for marking boundaries

    Sorry Andre..Still im not getting what you are saying.. im trying to do like this..Could u pls suggest me where i went wrong..Im inserting the icon directly to textpane..rather than to label nd inserting label to textpane bcos label with image cant be retained when mouse is clicked over several times in textpane....
    import java.awt.Cursor;
    import java.awt.Image;
    import java.awt.Point;
    import java.awt.Toolkit;
    import java.io.*;
    import java.util.Enumeration;
    import java.util.Vector;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JInternalFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import ncst.pgdst.*;
    import java.awt.Color;
    import javax.swing.ImageIcon;
    import javax.swing.text.*;
    import com.sun.org.apache.xerces.internal.impl.io.UTF8Reader;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.StringTokenizer;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.geom.Ellipse2D;
    import java.awt.geom.Line2D;
    import javax.swing.text.DefaultStyledDocument;
    public class EditFormGui  extends javax.swing.JFrame{
        private javax.swing.JMenu fileMenu;
        private javax.swing.JMenuBar jMenuBar1;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JLabel labelModes;
        private javax.swing.JPanel leftPanel;
        private javax.swing.JMenuItem loadRST;
        private javax.swing.JButton paraSegment;
        private javax.swing.JMenuItem quit;
        private javax.swing.JMenuItem save;
        private javax.swing.JButton saveSegmentMode;
        private javax.swing.JButton editSegment;
        private javax.swing.JButton showStructure;
        private javax.swing.JButton showText;
        private javax.swing.JMenu structureMenu;
        private javax.swing.JTextPane textPane;
        private javax.swing.JPanel textPanel;
        private boolean segmentFlag = false,debug=true;
        private UserText userText=new UserText();
        private JPanel structureframe=new JPanel();
        private javax.swing.JTabbedPane jTabbedPane;
        private java.util.Vector pNodesVector = new java.util.Vector();
        private javax.swing.JComboBox relationList;
        private javax.swing.JFrame relationChooserFrame = new javax.swing.JFrame();
        private javax.swing.JScrollPane relationScrollPane = new javax.swing.JScrollPane();
        private JLabel label_image;
        ImageIcon icon;
        Cursor c;
        String[] store;
        int posX_icon,posY_icon;
        Point iconPos;
        Vector iconPositions;
        public EditFormGui() {
            initComponents();
        public void initComponents()
            jTabbedPane = new javax.swing.JTabbedPane();
            textPanel = new javax.swing.JPanel();
            iconPositions=new Vector();
            saveSegmentMode = new javax.swing.JButton();
            editSegment=new javax.swing.JButton();
            showText = new javax.swing.JButton();
            showStructure = new javax.swing.JButton();
            labelModes = new javax.swing.JLabel();
            jScrollPane1 = new javax.swing.JScrollPane();
            jScrollPane1.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
            textPane = new javax.swing.JTextPane();
            textPane.setEditable(false);
             icon = new ImageIcon("F:/images/division.jpg");
             label_image = new JLabel(icon);
            jMenuBar1 = new javax.swing.JMenuBar();
            fileMenu = new javax.swing.JMenu();
            loadRST = new javax.swing.JMenuItem();
            save = new javax.swing.JMenuItem();
            quit = new javax.swing.JMenuItem();
            structureMenu = new javax.swing.JMenu();
          Toolkit tk = Toolkit.getDefaultToolkit();
          Image image =tk.getImage("F:/images/del.jpg");
          c= tk.createCustomCursor(image , new Point(0,0), "F:/images/del.jpg");
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            saveSegmentMode.setText("Save Segment");
            saveSegmentMode.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
               saveSegmentModeActionPerformed(evt);
            org.jdesktop.layout.GroupLayout textPanelLayout = new org.jdesktop.layout.GroupLayout(textPanel);
            textPanel.setLayout(textPanelLayout);
            textPanelLayout.setHorizontalGroup(
                textPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(textPanelLayout.createSequentialGroup()
                  .addContainerGap()
                    .add(textPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 337, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .add(51,51,51)
                                .add(saveSegmentMode)
                                .addContainerGap(36, Short.MAX_VALUE)                               
           textPanelLayout.setVerticalGroup(
                textPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(textPanelLayout.createSequentialGroup()           
                .add(textPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(textPanelLayout.createSequentialGroup()
                            .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 211, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(49, 49, 49)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
                        .add(textPanelLayout.createSequentialGroup()
                            .addContainerGap(43, Short.MAX_VALUE)
                            .add(saveSegmentMode)))
                    .addContainerGap(43, Short.MAX_VALUE))        
            showText.setText("Text");
            labelModes.setText("Modes: ");
            showStructure.setText("Structure");
            jTabbedPane.add(textPanel);
            jTabbedPane.setTitleAt(0,"Text");
            showStructure.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    showStructureActionPerformed(evt);
            textPane.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    textPaneKeyTyped(evt);
            textPane.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    textPaneMouseClicked(evt);
                   public void mouseEntered(java.awt.event.MouseEvent evt) {
                    textPaneMouseEntered(evt);
                    public void mouseExited(java.awt.event.MouseEvent evt) {
                    textPaneMouseExited(evt); 
            jScrollPane1.setViewportView(textPane);
            fileMenu.setText("File");
            loadRST.setText("Load RST file");
            loadRST.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    loadRSTActionPerformed(evt);
            fileMenu.add(loadRST);
            save.setText("Save RST");
            save.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    saveActionPerformed(evt);
            fileMenu.add(save);
            quit.setText("Quit");
            quit.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    quitActionPerformed(evt);
            fileMenu.add(quit);
            jMenuBar1.add(fileMenu);
            structureMenu.setText("Structure");
            jMenuBar1.add(structureMenu);
            setJMenuBar(jMenuBar1);
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
                    getContentPane().setLayout(layout);
                    layout.setHorizontalGroup(
                        layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(layout.createSequentialGroup()
                            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(layout.createSequentialGroup()
                                    .add(26, 26, 26)
                                .add(layout.createSequentialGroup()
                                    .addContainerGap()
                                    .add(jTabbedPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                            .addContainerGap())
                    layout.setVerticalGroup(
                        layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(layout.createSequentialGroup()
                            .addContainerGap()
                            .add(23, 23, 23)
                            .add(jTabbedPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            textPane.setText("This seems to be an interesting exercise. I will surely learn swing now.");
            userText = new UserText(textPane.getText());
            pack();
            validate();
        private void saveSegmentModeActionPerformed(java.awt.event.ActionEvent evt) {                                               
            String textWithPipes= new String(textPane.getText());
            System.out.println("Text with pipes"+textWithPipes);
            userText.setUserText(textWithPipes);
            showStructure();
        private void showStructureActionPerformed(java.awt.event.ActionEvent evt) {
            showStructure();
        public void showStructure()
                 int count=0;
               int totcount=iconPositions.size();
               java.util.Iterator iter = iconPositions.iterator();
              store=new String[totcount];
              try
               String usertxt=userText.getTextWithSegment();
                      char[] usrtxt_chararr=usertxt.toCharArray();
                      System.out.println("Character array Usertextlength"+usrtxt_chararr.length);
                      int pt;
                      pt=0;
              while (iter.hasNext()) {
                          String obj=iter.next().toString();
                          int itervar=Integer.parseInt(obj);
              String subst=usertxt.substring(pt,itervar);   
              pt=itervar+1;
                store[count]=subst;
                 count++;
               catch(Exception e) {}
                   for(int i=0;i<store.length;i++)
                        System.out.println("Store Array Elements"+store);
    structureframe=new Rstmain.gui.ModifyS(store);
    structureframe.setVisible(true);
    jTabbedPane.add(structureframe); //Adding Structure frame
    jTabbedPane.setTitleAt(1,"Structure");
    validate();
    private void textPaneKeyTyped(java.awt.event.KeyEvent evt) {                                 
    if (segmentFlag){
    textPane.setEditable(false);
    private void textPaneMouseClicked(java.awt.event.MouseEvent evt) {                                     
    textPane.setEditable(true);
    int caretpos=textPane.getCaretPosition();
    System.out.println("Caret inserting positions"+caretpos);
    iconPositions.add(caretpos);
    // textPane.insertComponent(label_image);
    textPane.insertIcon(icon);
    textPane.setEditable(false);
    private void textPaneMouseEntered(java.awt.event.MouseEvent evt) {                                     
    private void textPaneMouseExited(java.awt.event.MouseEvent evt) {                                     
    setCursor(null);
    private void loadRSTActionPerformed(java.awt.event.ActionEvent evt) {                                       
    File file;
    SimpleInput sin;
    javax.swing.JFileChooser fd;
    fd = new javax.swing.JFileChooser(new File("."));
    fd.setDialogTitle("Open File...");
    int action = fd.showOpenDialog(this);
    if (action != javax.swing.JFileChooser.APPROVE_OPTION) {
    return;
    file = fd.getSelectedFile();
    try {
    sin = new SimpleInput(file);
    StringBuffer line = new StringBuffer("");
    textPane.setText("");
    while (!sin.eof()) {
    line.append(sin.readLine());
    textPane.setText(line.toString());
    textPane.setEditable(false);
    userText = new UserText(line.toString());
    catch (Exception e) {
    javax.swing.JOptionPane.showMessageDialog(this,
    "Sorry, some error occurred:\n" + e.getMessage());
    private void saveActionPerformed(java.awt.event.ActionEvent evt) {                                    
    File file;
    javax.swing.JFileChooser userFile;
    userFile = new javax.swing.JFileChooser(".");
    userFile.setDialogTitle("Save Text As...");
    int action = userFile.showSaveDialog(this);
    if (action != javax.swing.JFileChooser.APPROVE_OPTION) {
    return;
    file = userFile.getSelectedFile();
    if (file.exists()) {
    action = javax.swing.JOptionPane.showConfirmDialog(this,
    "Replace existing file?");
    if (action != javax.swing.JOptionPane.YES_OPTION)
    return;
    try {
    PrintWriter out = new PrintWriter(new FileWriter(file));
    String contents = textPane.getText();
    out.print(contents);
    if (out.checkError())
    throw new java.io.IOException("Error while writing to file.");
    out.close();
    catch (java.io.IOException e) {
    javax.swing.JOptionPane.showMessageDialog(this,
    "Sorry, an error has occurred:\n" + e.getMessage());
    private void quitActionPerformed(java.awt.event.ActionEvent evt) {                                    
    System.exit(0);
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    System.out.println("Inside run");
    new EditFormGui().setVisible(true);
    And this is the UserText classimport com.sun.org.apache.bcel.internal.classfile.JavaClass;
    public class UserText{
    int countpipe;
    String userText="";
    java.util.Vector segmentinfo = new java.util.Vector();
    public UserText(String input) {
    userText = input;
    public UserText(){}
    public int getNumberOfSegments()
    return segmentinfo.size();
    public void addSegment(int endIndex){
    int i = 0;
    segmentinfo.add(endIndex);
    public void setUserText(String textWithPipes)
    int indexOfPiping, j=0 ;
    StringBuffer temp = new StringBuffer(textWithPipes);
    segmentinfo.add(j);
    for (int i = 0; i < textWithPipes.length();i++)
    j = textWithPipes.indexOf('|',j);
    segmentinfo.add(j);
    for (int k = 0; k < textWithPipes.length();k++)
    if(textWithPipes.charAt(k)=='|')
    countpipe++;
    userText = temp.toString();
    public String getTextWithSegment(){
    return userText;
    public String getTextWithoutSegment(){
    java.util.StringTokenizer st = new java.util.StringTokenizer(userText,"|");
    StringBuffer temp = new StringBuffer();
    while(st.hasMoreTokens())
    temp.append(st.nextToken());
    return temp.toString();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

  • CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW' fields have changed since 46C

    We are implementing upgrade to mysap 700 from 46C
    PROGRAMS USING function call to 'SX_OBJECT_CONVERT_ALI_RAW'  fields have changed
    we used to send tables directly and now we are sendin fields to be changed
    i have tried to send the data but continue to have errors
    700 version has this function with these paramaters
    CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
      EXPORTING
        FORMAT_SRC            = SOURCE_NAME
        FORMAT_DST            = OUT_NAME
        ADDR_TYPE             = 'FAX'  " int or fax
        DEVTYPE               = DEVTYPE
       FUNCPARA              = 255
      CHANGING
        TRANSFER_BIN          = LISTOBJECT
        CONTENT_TXT           = content_txt
        CONTENT_BIN          = content_bin
       OBJHEAD              =
        LEN                   = OUTLEN
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2
    changing
    TRANSFER_BIN        TYPE      SX_BOOLEAN                                         
    CONTENT_TXT         TYPE      SOLI_TAB                                           
    CONTENT_BIN         TYPE      SOLIX_TAB                                          
    OBJHEAD             TYPE      SOLI_TAB                                           O
    LEN                 TYPE      SO_OBJ_LEN                    
    when ran we get an abap dump content_bin                     
    Error analysis                                                                       
        An exception occurred that is explained in detail below.                         
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was     
         not caught in                                                                   
        procedure "GET_MEMORY_LIST" "(FORM)", nor was it propagated by a RAISING         
         clause.                                                                         
        Since the caller of the procedure could not have anticipated that the            
        exception would occur, the current program is terminated.                        
        The reason for the exception is:                                                 
        The call to the function module "SX_OBJECT_CONVERT_ALI_RAW" is incorrect:                                                                               
    The function module interface allows you to specify only                         
        fields of a particular type under "CONTENT_BIN".                                 
        The field "CONTENT_BIN" specified here is a different                            
        field type                                                                       
    it looks like i need to set <fs> pointer to the field but i am akwardly at this any help please will do well.
    this is how we used to use the function
    CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW '
          EXPORTING
               FORMAT_SRC      = SOURCE_NAME
               FORMAT_DST      = OUT_NAME
               DEVTYPE         = DEVTYPE
               FUNCPARA        = FUNCP
               LEN_IN          = INLEN
          IMPORTING
               LEN_OUT         = OUTLEN
          TABLES
               CONTENT_IN      = LISTOBJECT
               CONTENT_OUT     = OBJTXT
          EXCEPTIONS
               ERR_CONV_FAILED = 1
               OTHERS          = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    ok i solved my own problem.... i new i could.  here is the results
    first i had to dig into the bapi to find the proper definition to declare in my program i will present the code
    and let you exame the example.
    FORM GET_MEMORY_LIST TABLES   P_MYSECOND STRUCTURE ZLIPOV.
    DATA: LSIND LIKE SY-LSIND,
          LISTTAB LIKE ABAPLIST OCCURS 1 WITH HEADER LINE,
          OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
          SOURCE_NAME LIKE SXCONVERT-FORMAT_SRC,
          OUT_NAME    LIKE SXCONVERT-FORMAT_DST,
          DEVTYPE     LIKE SXSERV-DEVTYPE,
          FUNCP       LIKE SXFUNCPARA,
          INLEN       LIKE  SOOD-OBJLEN,
          OUTLEN      LIKE  SOOD-OBJLEN,
          UPDFLG      TYPE I VALUE 0,
          LNCNT       TYPE I VALUE 0,
          LABLNCNT    TYPE I VALUE 0,
          PRVLN       TYPE I VALUE 0.
    this is the added structures for the new fields
    used for SX_OBJECT_CONVERT_ALI_RAW and the rest of the SX_OBJECT_CONVERT family
    data:
         TRANSFER_BIN TYPE  SX_BOOLEAN, " SHOULD BE SET TO X
         OBJHEAD like SOLI occurs 0,
         content_txt   LIKE soli  OCCURS 0,
         content_bin  LIKE solix OCCURS 0.
    CLEAR LISTOBJECT[].
    CLEAR OBJHEAD.
    CLEAR CONTENT_TXT[].
    CLEAR CONTENT_BIN[].
    CALL FUNCTION 'LIST_FROM_MEMORY'
         TABLES
              LISTOBJECT = LISTTAB
        EXCEPTIONS
             NOT_FOUND  = 1
             OTHERS     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
       IMPORTING
            COMPRESSED_SIZE =
         TABLES
              IN              = LISTTAB
              OUT             = CONTENT_BIN   " this will receive the data
       EXCEPTIONS
            COMPRESS_ERROR  = 1
            OTHERS          = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      SOURCE_NAME = 'ALI' .
      OUT_NAME    = 'RAW'.
      DEVTYPE     = 'POSTSCPT'.
    TRANSFER_BIN ='X'. " set to x our program will fail to convert stupid but needed
    describe table listtab lines inlen.
    DESCRIBE TABLE LISTOBJECT LINES INLEN.
    SX_OBJECT_CONVERT_ALI_RAW
    SX_OBJECT_CONVERT_ALI_PRT
    SX_OBJECT_CONVERT_OTF_RAW
    SX_OBJECT_CONVERT_OTF_PRT
    SX_OBJECT_CONVERT_INT_RAW
    DESCRIBE TABLE content_bin LINES INLEN.
    CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
      EXPORTING
        FORMAT_SRC            = SOURCE_NAME
        FORMAT_DST            = OUT_NAME
        ADDR_TYPE             = 'FAX'  " int or fax
        DEVTYPE               = DEVTYPE
       FUNCPARA              = 255 " this is used to prevent wrapping if beyond 132 characters
      CHANGING
        TRANSFER_BIN          = TRANSFER_BIN
        CONTENT_TXT           = content_txt " returns the data we want to address and work with
        CONTENT_BIN          = content_bin" data is conpressed and in binnary format
        OBJHEAD              = OBJHEAD
        LEN                   = OUTLEN
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2
    move content_txt[] to OBJTXT[]. " in my case the program origianly used OBJTXT
                                                        "  so i chose to compy the data back here

  • IDOC for SAP BP Message "Table BAPIADTEL entry to be changed not found in "

    Hi Experts,
    I have a requirement to update BP Address details using LSMW.
    I am usign IDOC Message Type "BUPA_C_CHANGEADDRESS" and Basic Type "BUPA_C_CHANGEADDRESS01" for this requirement.
    Using this i am able to update City, PO BOX, Postal Code, Street, region.
    However, i am unable to update Tel Number, Extn, Fax Number and Extension.
    I have added Structures E1BPADTELX & E1BPADFAXX and "X" to Update them.
    When i run LSMW, it updates all except Tel, Fax and their extension.
    I get Status 53 message "Table BAPIADTEL entry to be changed not found in target system". I have requirement to change those numbers.
    Can someone please tel me how to update those 4 fields ?
    ALso how and where this Data are stored in tables?
    Under BP Tcode, Under General Tab, it says "Address Independent Communication.
    Please help.
    TnR

    Hello experts, hello to all,
    I'm facing with the same task. I have a requirement to update BP postal code using the LSMW.
    Identical to Pintoo D I am usign the IDOC Message Type "BUPA_C_CHANGEADDRESS" and the Basic Type "BUPA_C_CHANGEADDRESS01". In the section Field Mapping... I have mapped the Business Partner ID (BUSINESSPARTNER) and the City postal code (POSTL_COD1). In order to update the postal code I set in the Tree-Structure E1BPBUS1006_ADDRESS_X  the Field POSTL_COD1 with a constant (= X).
    When I try to process the IDoc I get the Error 51:
    Data set BUT020 for BP 0000403643 maintained time-dependently,despite inact.time dep.
    Additonal I checked the recommenden OSS Note 810634 and the Customizing but everything is OK. Did I mistake during the confuguration of the LSMw project? I cannot find a documentation regarding the IDoc Msg.Type BUPA_C_CHANGEADDRESS.
    Kind regards
    Ioannis Moutogiorgos

  • IDOC for SAP BP Message "Table BAPIADTEL entry to be changed

    Hi Experts,
    I have a requirement to update BP Address details using LSMW.
    I am usign IDOC Message Type "BUPA_C_CHANGEADDRESS" and Basic Type "BUPA_C_CHANGEADDRESS01" for this requirement.
    Using this i am able to update City, PO BOX, Postal Code, Street, region.
    However, i am unable to update Tel Number, Extn, Fax Number and Extension.
    I have added Structures E1BPADTELX & E1BPADFAXX and "X" to Update them.
    When i run LSMW, it updates all except Tel, Fax and their extension.
    I get Status 53 message "Table BAPIADTEL entry to be changed not found in target system". I have requirement to change those numbers.
    Can someone please tel me how to update those 4 fields ?
    ALso how and where this Data are stored in tables?
    Under BP Tcode, Under General Tab, it says "Address Independent Communication.
    Please help.
    TnR

    Have you filled the data in the structure "E1BPADTEL"?
    Regards
    Vinod

  • Open topics by double-clicking them in the DITA map - not working any more?

    Hi all,
    I just noticed when I double-click a topicref in a DITA map in FM12 then the referenced topic does not open any more. I checked the problem with several maps. Is this a bug/feature or do I need to activate this function somewhere in the options?
    Robert

    Hi Robert...
    When you say that you need "variations" from the normal topic type .. are those structural variations or just formatting? FM associates structure apps with XML files based on the doctype (root element). If your files all have the same root element, then they will all open with the same structure application (unless you specify a different one when opening the file or by importing a new EDD). It sounds like you really should be creating a specialization for each alternate topic type. If you don't, you'll end up getting the wrong "model" assigned to the wrong file.
    Multiple EDDs (structure apps) can share the same DTD, and one EDD (structure app) can support multiple models. This is how the "ditabase" app works. There are lots of ways to set this up, but I think what you've done is probably not quite right.
    The default structure app setup in FM11 and FM12 is very complicated to work with. I recommend creating a single app that supports many models. This isn't always possible, but it sounds like in your case it should be. I've set up one app that supports 13 different specialized topic models and it works fine.
    Note that even though you've added structure apps for each model, if you end up opening the files using the default template, you are no longer using those modified models.
    Sorry, but this is a bit more than can be dealt with appropriately in a forum post. If you'd like more help with this, feel free to contact me off list.
    Cheers,
    …scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • What does it mean .INCLUDE in the table ROOSOURCE?

    Dear One's,
    What does it mean .INCLUDE in the table ROOSOURCE?
    Thanks,
    Raj

    Hi,
    .Include and .append are used for adding structures to a table. But the difference is when we use .append for adding a structure, the structure cannot be added to another table.But if we use .include, the structure can be added in any number of tables.
    Regards,
    Krishna.

  • Making electronically filed legal documents accessible

    Hi all! I have a problem and need expertise and confirmation from other users on this one on how to handle.
    BACKGROUND: I have hundreds of legal documents which have been filed electronically thru a vendor system. I am getting PDF copies of these documents to post to the website. I started running these thru our normal accessibility procedures and Adobe's accessibility checker iis showing a large percent were scanned to PDF (no OCR). This requires my web developers run OCR, the fix all the suspects, add tags to documents, check reading order and then recheck and fix hundreds of other issues. These legal documents run anywhere from 10 pages up to hundreds of pages. 
    THE PROBLEM:  Having my staff make these PDFs compliant is turning into a time nightmare. It is taking an hour to fix 1 average size scanned PDF.  In my mind, PDFs from scanned documents are the absolute worst as far as accessibility. We've read Ohio State University's online tutorial about creating accessible PDFs from scanned documents.
    So I think my staff is "stuck" with spending hours upon hours making these scanned documents accessible in order to put them online.  Am I correct in my thinking?
    How are others out there handling the amount of time it takes to make some PDF documents accessible? 
    Who in your organization is charged with making sure PDF documents are accessible? 
    Do you have staff that do nothing but that?
    Any insight on your best practices would be appreciated.
    Thanks!

    Sorry but your suspicions are correct - you can automate the OCR step, but adding structure to the end result has to be done by a human.
    Acrobat does have some ability to guess at the purpose of page content based on position (e.g. when exporting a scanned PDF to PowerPoint it can take a decent stab at which elements are part of the slide master and which are regular content) but it cannot possibly understand things like text flow and cross-references. For documents of any importance I wouldn't trust automated tools to be accurate even if they did exist, and checking the tags takes just as long as adding them.

  • Recent work in The Gimp - Call for blog-contributors

    hi everyone,
    i went out to take some nature pics and took on of the tree group and one for the reflection in the water.
    then i fired up gimp, put everything together and applied some layer-action in combination with the channel-mixer and the curves-tool:
    there are some tuts from me in the following blog:
    http://stressingthegimp.blogspot.com
    If anyone is willing to contribute some cool, neat or just handy tutorials for any recent gimp version please email me :-)
    Last edited by Labello (2010-07-21 14:34:19)

    Labello wrote:
    well liquid-rescale is way to complex for my way of editing images. i much rather tend to use simple and easy to controll effects in neat combinations to achieve complexity.
    i wrote a new tut just about 20 minutes ago:
    http://stressingthegimp.blogspot.com/20 … -mask.html
    some more recent work is to come:
    a friend of mine was asking me to to some work on one of her portrait shots. so i fired up gimp and could come up with the following. i am rather satisfied although one could have spent more time on adding structure to her skin after smooting everything out but heck. i think it still rocks xD:
    Original:
    https://dl.dropbox.com/u/416097/cara_s.jpeg
    Edited:
    https://dl.dropbox.com/u/416097/cara_2_s.jpeg
    I hope you like it :3
    Nice work! Seeing that reminded me how powerful GIMP can be!

  • Product without taxes after replication from ECC

    Hello everyone,
    my problem is the following one:
    I have a product in ECC with taxes and when I replicate it to CRM I got the product without erros and without Taxes too!!
    I need the product in CRM with taxes.
    I have replicated the tables TSTL, TSKM, TSKD,..and I have run the checking of data transfer settings and it says that is OK.
    Any ideas??
    thanks in advanced

    Hello,
    Could you kindly be more clear? I did not get your point.
    Do you mean to say tax changes you make in R/3 is not coming to CRM?
    OR
    in CRM txn:COMMPR01 , you are not able to make changes to tax data?
    OR
    You want to get the tax data to CRM , for materials which were added, before you added structure MLAN in txn:R3AC1.
    This would really help me to check further.
    Best Regards,
    Shanthala Kudva.

Maybe you are looking for

  • Somebody created an Apple ID with my email address!

    Hi all! I've received a few emails from Apple: the first one was asking me to verify my email address, the subsequent ones informed me that someone was accessing iCloud, FaceTime and iMessage from an iPhone 4s, using my Apple ID. After a few minutes,

  • Print 2 copies for page

    Hello everyone my problem that is I have alv n lines  and for each row prints a template With a SmartForms ... how can I print two times the same template on a page as it is 14 cm high and I'm printing and then would come on an A4 page in a perfect a

  • Using Gmail through Mail in Mountain Lion - issue with inbox syncing across multiple machines

    Hi. I am using Gmail through Mail in Mountain Lion on my iMac, as well as Mail in my iPad and iPhone. Generally speaking Mail seems to sync well across the three machines. However for some reason when I view an email in my inbox on either my iPhone o

  • Problems exporting historic Apple Mail messages to Gmail

    Hi folks, I am in the process of leaving Verizon for another provider and wanted to use the opportunity to move to Gmail.  I would like to export roughly 4,000 historic messages that I have on Apple Mail 2.5 to Gmail.  I have set up Gmail on Apple Ma

  • Paying for additional iCloud storage

    Can I use the credit on my iTunes account to pay for my additional I cloud storage plan