DirectoryAcademicsBlog Details for "Total SAP"

Total SAP

Total SAP
ABAP,ABAP report,Interactive Report,ALV grid,ALV list,IDOC,User Exit,RFC,Smartform,sapscript,ABAP Performance,Remote Function Module RFC ,Function Module,Modularization techniques
Articles: 1, 2, 3, 4

Articles

Free Download ABAP Quick Tool to view last objects edited
2008-02-18 06:23:00
report zedit2 no standard page heading line-count 165 message-id zz.************************************** *********************************** Program Name : ZEDIT2* Creation Date : 03/02/2005* Author : Darren Moore ( damoore@hotmail.com )* Description : Quick tool to pick last objs for edit************************************* ************************************ Modification Log* SAP-ID Date Request# Description* dmoore2 02/28/2005 INITIAL VERSION* notes: this is setup for 1152x864 resolution* add tcodes and table names to table:zobjnames* zobjnames Definition:* OBJNAME CHAR 30* OBJTYPE CHAR 3* example data:*OBJNAME OBJTYPE*BD87 TCD*BKPF TAB*BSEG TAB************************************** **********************************tables: d010sinf, e070, e07t, e071, tfdir, trdirt, tstct, zobjnames. include . ranges: sv_name for trdir-name, sv_unam for trdir-unam, ...
More About: Download , Free , Tool , View
SAP SD Screens in the Sales Documents
2008-02-14 17:34:00
Screens in the Sales Documents Sales Order Each sales order item can have multiple deliveries at different date. Multiple deliveries for each sales item is specify in the Schedule line of the Sales Order. When the Sales order was created (VA01) the system automatically proposes data from the relevant master records: From the customer master record (VD03) of the sold-to party, the system proposes sales, shipping, pricing, and billing data. In addition, the system copies customer-specific master data about texts, partners, and contact people at the customer site. For each material in the sales order, the system automatically proposes data from the relevant material master records (MM03 - Sales view), such as data for pricing, delivery plant, availability check, tax determination, and weight and volume determination.VD53 - Customer-material info record. When you create the sales order item, the customer material number will be copy into the item Customer Material. In the Sales order...
Style and Form Defined
2008-02-11 20:01:00
Styles A style defines the set of paragraph and character formats that are available for formatting a document. A typical style contains, for example, a definition for a standard paragraph, list paragraph formats, and possibly special-purpose paragraph formats for headings, data in forms, and so on. A style also defines such character formats as boldface and italics. If you select a style, this style provides the character and paragraph formats for your document. Any formats defined in the form selected for a document are ignored. Be careful, therefore, about selecting a style if none is currently selected. Selecting a style in this case can override formats in the form and produce unpredictable results. An include text preserves the style assigned to an included text. If your document is formatted with the S_OFFICE style and you include a document that uses the S_DOKUS1 style, SAPscript formats the included text according to S_DOKUS1; the other text is formatted with S_OFFICE. ...
More About: Style , Form , Defined
Changing Styles and Forms
2008-02-11 20:01:00
Use If one of the editors was automatically started by your SAP application, the form and style are already allocated. You should not change theses settings. Prerequisites If you started one of the editors yourself without giving any specifications, SAPscript by default assigns the SYSTEM form and no style to the document. SYSTEM specifies a simple page design: a single full-page column. This page design is suitable for most general-purpose documents, such as notes that you may write in SAPscript. Procedure Changing Forms and Styles Choose Format ® Change form or Format ® Change style. Select the desired form or style. Choose Choose. De-Selecting Forms or Styles De-selecting forms and styles can be done in the line editor only. Choose Format ® Change form or Format ® Change style.Choose Reset Assignment.
Exporting to and Importing from Word
2008-02-11 20:00:00
Exporting Documents to Word Use The Word document keeps the format names specified in the SAPscript style or foem. To convert the SAPscript document to a Word style, specify a format conversion.After the format conversion, you can export SAPscript documents in RTF format and convert the formatting to the specified Word document template. Procedure Choose Tools ® SAPscript ® Administration ® Format conversion. The dialog window SAPscript Format conversion appears. Select Word document templates (prototypes) and choose Continue.Enter the name of the document template (*.DOT). Choose Prototype ® Import. Enter the path and the name of the RTF file for the document template. Choose Import.The system creates the document template (prototype). Choose Back, select Export of RTF files and choose Continue. Enter the name of the form or style. The name must correspond to the form or style assigned to your SAPscript document. Enter the name of the above document template (*.DOT...
Transporting Format Conversions and Style Sheet Prototypes
2008-02-11 20:00:00
Conversions and style sheet prototypes are stored as SAPscript texts, language ?E? in client '00' and can be transported with the mechanisms intended for SAPscript objects:Create a transport request in client '00' (by hand as shown below, or via report RSTXTRAN).Release the transport. Format conversions and style sheet prototypes are client-independent. Transporting Format Conversions Format conversions are SAPscript texts with text object ?STYLESHEET? and text ID ?ABB?.The text name is 34 characters long and has the following format:Text name format Character Meaning 1 Type of source format: S (style), F (form), D (document template) 2 to 17 Source format name (as given in initial screen of format conversion) 18 Type of target format: S (style), F (form), D (document template) 19 to 34 Target format name (as given in initial screen of format conversion)These texts are stored in language ?E? in client '00'.The entry in the transport request s...
More About: Style , Sheet
HTML Export
2008-02-11 19:59:00
Use The SAPscript editor internally calls the function module CONVERT_ITF_TO_HTML. This function module is used by other applications as well, for example, when converting OSS Notes, for ABAP documentation, and for glossary and IMG texts.The function module CONVERT_ITF_TO_HTML converts a SAPscript text to HTML to allow you to display the text using any HTML3.X browser (Netscape, MS Internet Explorer, and so on). The function module requires the text header (DDIC structure THEAD) and the text lines (DDIC structure TDLINES) as input.After successful conversion, the function module returns a table that contains the corresponding HTML text (DDIC structure HTMLLINE). During the conversion, SAPscript control commands, standard symbols, and include texts are resolved as far as it is possible without processing the form (that is, without using the composer).To assign SAPscript paragraph and character formats to HTML formats, use the appropriate tables with the function call.Conversion is...
More About: Export , Html
ASCII Export and ASCII Import
2008-02-11 19:59:00
ASCII Export Use All formats that appear in an ITF text, with the exception of line feeds and tabs, are taken out. The pure ASCll text, as it would appear when printed, is transferred. Some formatting is possible only via the line width parameter. Variable symbols are replaced, includes and control structures are canceled.The ITF text can be converted to any character set that is maintained in the Spool Administration (SPAD). Procedure Choose Text ® Download.The dialog window Download appears. Select ASCII and choose Download. Enter the complete file path as well as line width and character set. Choose Download. ASCII Import Use All ASCII files can be loaded into the SAPscript editors. You must specify the character set of the file, that is, its number in the spool administration SPAD. The system then converts it to the system character set. Procedure Choose Text ® Upload.The dialog window Upload appears. Select ASCII and choose Upload. Enter the complete file path...
More About: Ascii
RTF Export and RTF Import
2008-02-11 19:59:00
RTF Export Use During the RTF export, an RTF file is created in which the character and paragraph formatting from the original text are mostly contained.Variable symbols of the ITF text are replaced. Includes and control structures are canceled and comments ignored.If a document template is specified, a format conversion of the relevant SAPscript formats (style or form) to the Word document template takes placeFor more information, see SAPscript Format Conversion. Prerequisites Import ing RTF files to modern text processors is straightforward, but some preparation is necessary with the older DOS programs.For example, in Microsoft Word (from Version 5.0) under the operating systems MS DOS or OS/2 the RTF file has to be converted to a Word text file together with a document template with the following command:Importing RTF files to Microsoft Word Operating system Conversion command MS-DOS Rtf_dos file1.rtf file2.txt file3.dfv /o/crtf_dos file1.rtf file2.txt file3.dfv...
ITF Export and ITF Import
2008-02-11 19:58:00
ITF Export Use A leader is placed in front of the output file. From this leader a text header is constructed if it is reimported. The text from the editor follows, with all character and paragraph markers, symbols, and commands. Procedure Choose Text ® Download.The dialog window Download appears. Select ITF and choose Download. Enter the complete file path and choose Download. ITF Import Use If a header with form and style specifications exists, then form and style are set to these values in the editor and in the clipboards.This does not apply for the documentation editor in the ABAP Workbench. Procedure Choose Text ® Upload.The dialog window Upload appears. Select ITF and choose Upload. Enter the complete file path and choose Upload.
Document Templates and Style Sheets
2008-02-11 19:58:00
Word 5.5 for DOS or OS/2 You can define character and paragraph formats in a style sheet (*.dfv). They are identified via the "hot key", a two character key, some of them via predefined descriptions such as "Outline 1". Word 2.0 In the document template (*.dot), you can define format templates for paragraph formats. Unlike in Word 5.5, their names can be longer than two characters. Word 6.0 and Higher In addition to the features in 2.0, you can now define format templates for character formats.
More About: Templates , Style , Document
Mapping Formats for Conversions
2008-02-11 19:58:00
Importing RTF FilesUse When importing RTF files, you should map the format templates of this file to character and paragraph formats of a SAPscript style or form. The maintenance of these conversions is divided into paragraph formats and character formats. You can map exactly one paragraph style to exactly one SAPscript paragraph format, but you can map one character style onto up to four SAPscript character formats. Procedure Choose Tools ® SAPscript ® Administration ® Format conversion.The dialog window SAPscript Format conversion appears. Select Import RTF files and choose Continue. Enter the name of the document template. Enter the name of the form or style onto which you want to map the format templates. Choose Format conversion ® Create/Change. Choose Paragraph formats and/or Character formats. Enter the target format for each source format. Choose Save.The system saves the format conversion. When loading the RTF file, specify the format conversion of the d...
More About: Mapping
Converting SAPscript Texts
2008-02-11 19:57:00
Use SAPscript texts are stored in Interchange Text Format (ITF). SAPscript offers conversion programs for the text file formats Rich Text Format (RTF) and ASCII as an interface to other word processors. And you can convert the edited text to HTML.RTF files contain all the formatting information for the text and can be both interpreted and generated by all common word processors.In ASCII files the text is not formatted. The only layout element is the line feed. Various character sets are possible.HTML files contain the entire formatting information of a text and can therefore be displayed using any HTML3.X browser (Netscape, MS Internet Explorer, and so on). Control commands, symbols, and include texts are resolved, provided that this can be done without processing the form (that is, without using the composer). Prerequisites When converting RTF files, you should execute a format conversion from the document template to the SAPscript paragraph and character formats or vice versa. T...
SAPscript Format Conversion
2008-02-11 19:57:00
Use The SAPscript format conversion allows you to assign and rename paragraph formats and character formats in the source and target texts when converting formatted texts. Prerequisites In releases 2.1 and 2.2, the format conversion was still controlled via the tables TTDCF and TTDCW. If you have already worked with format conversions at that time, you will now have to convert to the new procedure starting from release 3.0. To begin with, start report RSTXDUMS. This report puts all old conversions into the new form, so that you can now process them using the function Format conversion. Functionality Importing RTF Files Format conversion is devided into two parts. You can map one paragraph style onto exactly one SAPscript paragraph format, but you can map one character style onto up to four SAPscript character formats. Exporting RTF Files Maintaining these conversions is dedvided into paragraph formats and character formats. You can map one paragraph or character fo...
More About: Conversion
Comparing Client Contents
2008-02-11 19:56:00
Use Choose Compare clientsTo check whether a particular standard text, style, or form already exists in another client. To identify differences in the object attributes and definitions. You can mark single objects for a comparison, or generate comparisons of a whole set of objects. A comparison covers only the attributes and, if applicable, the formal definition of an object. A comparison does not extend to the text level of an object. A comparison can highlight differences in the author of an object or the formats used in a style or form. But a comparison cannot detect differences in standard texts nor in the texts used in forms. Procedure Comparing Standard Texts Choose Tools ® SAPscript ® Standard textChoose Utilities ® Compare clients. This takes you to the dialog window for displaying standard texts in two different clients. Make the following entries: Text name Enter the name of the standard text you want to check. You can enter a generic name such as ST* or...
More About: Contents , Client
Copying Client Contents
2008-02-11 19:56:00
Use To copy one or more standard texts, forms, or styles from one client to another client, choose Copy from client.It is not possible to copy styles or forms to client 000. Procedure Copying Standard Texts Choose Tools ® SAPscript ® Standard textChoose Utilities ® Copy from client. This takes you to the dialog window for copying texts between clients. Make the following entries: Text name Enter the name of the standard text you want to copy. You can enter a generic name such as ST* or *. Text ID Enter the text ID (type) of the text(s) you have selected. Language Enter the appropriate language key. Source client Specify the client in which the standard text was created. By default, this is client 000. Target name Specify the name of the new standard text. Action log Select to create an action log. No entry not to create an action log.Choose Execute. If you selected the field Action log, the system displays a log after the copy process. Copying For...
More About: Contents , Client
The Line Editor Numbering and Marking Headings and Paragraphs
2008-02-11 19:55:00
Use You can number or otherwise mark headings and other types of paragraphs in your text. You can also number headings hierarchically according to the heading level. For example, you can have heading levels 1, 2, and 3 numbered accordingly: 1; 1.1; 1.1.1; 1.2, and so on. Functionality There are several numbering and marking options:Letters Numbers Fixed characters, such as *, o, =, - Numbers can be represented as Roman or Arabic numerals. Letters can be written as uppercase or lowercase letters. You specify the numbering or marking you want to apply to a particular paragraph format. SAPscript automatically carries out the numbering or places the fixed character string that you have chosen before each such paragraph.Fixed character markings can consist of several characters. You can identify them by left or right delimiters. When number-chaining interdependent paragraphs (such as headings on different levels), a period is used to separate the paragraph numbering. Del...
More About: Editor , Line
Copying and Comparing Across Clients
2008-02-11 19:55:00
Use You can compare or copy the following kinds of objects across clients:Styles Forms Standard texts. Functionality With the client compare, you canCheck whether an object exists in both clients. Display the differences between the versions of an object. With the copy tool, you can copy an object from a source client to the client in which you are currently working. You can copy a style or form in all the languages in which it is available. Both the compare and copy tools support generic specifications, so that you can compare or copy sets of objects or all objects. Activities Depending on the object type you want to compare or copy, choose Tools ® SAPscript ® Form, Standard text, or Style. Choose Utilities ® Compare clients or Utilities ® Copy from client
More About: Clients
The Line Editor Tabs and Tables
2008-02-11 19:55:00
Setting Tabs To enter a tab in your text, you must enter two consecutive commas: ( ,, ). You cannot use the tab key on your keyboard. Define the tab positions in the paragraph format definition in the style or form you are using. If the paragraph format does not define any tabs, then the tab positions defined in the dialog box Change form header under Basic settings are used. Creating Tables To create a table in SAPscript, Select one of the predefined paragraph formats for tables, if available, in your style or form. A paragraph format for a table usually defines the correct tab settings for the table, since table formatting in SAPscript is done with tabs. Enter and format the header that you wish to use for the table. (Your style or form may provide a special paragraph format for the header, which already includes any special formatting.) Enter and format the text for the columns in the table. You must ensure that the text for each column fits in the column. Enter one o...
More About: Editor , Line
The Line Editor Suppressing Text Formatting
2008-02-11 19:54:00
You can suppress formatting of particular lines of text or text strings in the line editor or in the output. The following sections show what formatting you can suppress. Suppressing Automatic Blanks When Line s are FilledUse This function allows you to put together text from multiple lines in a single word or character string. It is intended for special formatting situations, for example, if you want to print the first part of a string only if a certain condition is met, but the second part of the string in any case.You can enterGo up to the sixth floor with the ele= vator. Then ring the bell. The output then looks like this:Go up to the sixth floor with the elevator. Then ring the bell. Suppressing Text Filling in the Text-Entry ScreenUse This function makes long lines in the text-entry screen easier to read. When you load or include text that covers the entire 72 columns of the standard text entry area, the text is easier to read if you preserve the original line stru...
More About: Editor
The Line Editor Setting Breaks Manually
2008-02-11 19:54:00
Use You can insert line feeds, page breaks, and blank lines manually into your document.When you insert a line feed or blank line, the attributes of the paragraph format and any active character format remain in effect.When you insert a page break, the form determines the page design for the new page. A form may define several different page designs. You can pick one of these page designs for your new page by name:To see a list of the available page designs, choose Format ® Pages.After NEW-PAGE, specify the page name. The form you use for your document defines a page layout called NEW-SECTION. The following command then starts a new page in your document. The page is laid out according to the design specified in the form under NEW-SECTION. /: NEW-PAGE NEW-SECTION For more information, see Explicit Page Break: NEW-PAGE. Procedure Function Procedure Manual line feed Enter the paragraph tag / into the format tag column (followed by the text in the text input l...
More About: Editor , Line , Breaks
The Line Editor Using Clipboards
2008-02-11 19:53:00
You can use four types of clipboards for cutting and copying text in SAPscript. The SAPscript ClipboardUse Use the SAPscript clipboard for copying text within one or between different SAPscript documents. Prerequisites You can use the SAPscript clipboard only within a single R/3 system and client. Procedure Choose Edit ® Select to select the text. Choose Edit ® Selected area ® Copy or Edit ® Selected area ® Cut and Edit ® Paste to copy text to the clipboard and to reinsert it. SAPscript User ClipboardsUse You use the SApscript user clipboard to copy "permanent" text areas. The "permanent" text persists in the clipboard until you overwrite it, even if you log off or the SAP System is restarted. Prerequisites You can use the SAPscript user clipboard only within a single R/3 system and client. Procedure Choose Edit ® Select to select the text. Choose Edit ® Selected area ® Copy to user clipboard and choose one of the five available clipboards. To ...
More About: Editor , Line
The Line Editor Finding and Replacing
2008-02-11 19:53:00
Use You can search for and replace both text in the text entry area and paragraph formats in the format tag column. Procedure To search or replace, choose Edit ® Find or Edit ® Replace. A search or replace action affects the text between the cursor position and the start or end of the document, depending upon the direction you choose. To accept all replacements without check, choose Replace all. To check each replacement, choose Confirm replace. In this case, you must choose Replace to carry out a replacement and Search forward or Search backward to continue the operation. To repeat a search, choose Search forward or Search backward. Including Blanks at the End of a Search or Replacement Term A search or replacement term usually ends with the last non-blank character. However, if you need to include blanks at the end of the search or replacement term, enclose the entire term in inverted commas. Search term = 'house ' The system searches for the term ...
More About: Editor , Line
The Line Editor Moving Around in the Line Editor
2008-02-11 19:52:00
In the line editor, you can scroll or position the cursor on a specific line number. Scrolling Use the scroll buttons or the slider bar in the SAP window to scroll forwards and backwards in the line editor. If you scroll ahead by one screen page, then the next screen page starts with the line on which the cursor is positioned. You can also scroll horizontally in a text with F20 Page left/right. Going to a Particular Line To go to a particular line in your document, choose Edit ® Position and specify the desired line number. In the line editor, this line then appears at the top of the screen. SAPscript puts the cursor on the line.
More About: Moving , Editor
The Line Editor Merging and Splitting Paragraphs
2008-02-11 19:52:00
In the line editor, you can merge two or more paragraphs into one paragraph. You can also split a paragraph into two or more paragraphs. Merging Consecutive Paragraphs Delete the paragraph tag in the format column of the second paragraph. Choose Format. The text of the second paragraph is added to the preceding paragraph. The paragraph format of the first paragraph applies to this newly created paragraph. If you delete the paragraph tag of several consecutive paragraphs, they are all added to the first paragraph. Merging Non-Consecutive Paragraphs Mark the text ? but not the paragraph tag ? of the paragraph you want to add to or insert into another paragraph. Copy it to the clipboard with Cut. Use the Backspace key to delete the paragraph tag of the now empty paragraph. The blank line disappears automatically the next time you choose Format or any other SAPscript function.Place the cursor on the target position and insert the text into the target paragraph with Edi...
More About: Editor , Line
The Line Editor Deleting Formats
2008-02-11 19:52:00
Deleting paragraph formats Put the cursor on the paragraph format in the format tag column. Delete the format or type it over with blank spaces. Choose Format to delete the paragraph format and add the text, if any, to the previous paragraph. Deleting Character Formats To delete a character format, delete the angle bracket tags that apply the format. sample text applies italic formatting to "sample text":Remove the italics formatting by deleting and . Be sure to remove both the start and end markers of the format. Leaving the end tag can cause unexpected formatting errors.
More About: Editor , Line
FREE OBJECT
2008-02-10 02:22:00
The ABAP key word FREE OBJECT releases the storage space required for the object obj. The object can then no longer be processed.The return value of SY-SUBRC specifies whether the desired object was released or not. SY-SUBRC = 0: Object successfully released. SY-SUBRC = 1: SAP GUI communication error. SY-SUBRC = 2: Error when calling function in SAP GUI. The OLE function modules are only implemented under Windows. FREE OBJECT belongs to a group of key words that allows you to process external objects with ABAP. At present, only the object model OLE2 is supported, i.e. all objects must be of type OLE2_OBJECT. This type and other necessary data are defined in the INCLUDE module OLE2INCL. Release an EXCEL object: INCLUDE OLE2INCL.DATA: EXCEL TYPE OLE2_OBJECT.CREATE OBJECT EXCEL 'Excel.Application'.FREE OBJECT EXCEL.
More About: Free
GET PROPERTY
2008-02-10 02:21:00
The ABAP key word GET PROPERTY copies the property p of the object obj to the field f. The object obj must be of type OLE2_OBJECT. Basic form: GET PROPERTY OF obj p = f. Normally, all consecutive OLE statements are buffered by the ABAP processor and sent to the presentation server in bundled form. But it is still possible for a statement to refer to the results of preceding statements. In debugging, however, you should remember that the values of the return parameters cannot be displayed until directly before execution of the first ABAP non-OLE statement. A command that refers to an object not yet generated by any OLE statement terminates the automatic bundling. The return code value of SY-SUBRC indicates whether all the bundled commands have been successfully executed. The return code value can be as follows:SY-SUBRC = 0: All commands were successfully executed. SY-SUBRC = 1: When communicating with the presentation server, a system error occurred. The field S...
More About: Property
CALL METHOD
2008-02-10 02:21:00
The ABAP key word CALL METHOD calls the method m of the object obj. m can be a literal or a variable.Basic form: CALL METHOD OF obj m. Additions:... = f ... EXPORTING p1 = f1... pn = fn NO FLUSH. Normally, all consecutive OLE statements are buffered by the ABAP processor and sent to the presentation server in bundled form. This means that it is possible for a statement to refer to the results of preceding statements. In debugging, however, you should remember that the values of the return parameters cannot be displayed until directly before execution of the first ABAP statement external to OLE. Even a command that refers to an object not yet generated by any OLE statement terminates the bundling. The return code value of SY-SUBRC indicates whether all the bundled commands have been successfully executed. The return code value can be as follows:SY-SUBRC = 0: All commands were successfully executed. SY-SUBRC = 1: When communicating with the presentation server, a system ...
More About: Call , Method
SET PROPERTY
2008-02-10 02:20:00
The ABAP key word SET PROPERTY sets the property p of the object obj according to the contents of the field f. The object obj must be of type OLE2_OBJECT. Basic form: SET PROPERTY OF obj p = f. Addition: NO FLUSH Normally, all consecutive OLE statements are buffered by the ABAP processor and sent to the presentation server in bundled form. But it is still possible for a statement to refer to the results of preceding statements. In debugging, however, you should remember that the values of the return parameters cannot be displayed until directly before execution of the first ABAP non-OLE statement. A command that refers to an object not yet generated by any OLE statement terminates the automatic bundling. The return code value of SY-SUBRC indicates whether all the bundled commands have been successfully executed. The return code value can be as follows:SY-SUBRC = 0: All commands were successfully executed. SY-SUBRC = 1: When communicating with the p...
More About: Property
More articles from this author:
1, 2, 3, 4
111703 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2012 - Supported by Web Catalog - SEO by FeWorks
eXTReMe Tracker