Converting SAP Script outputs to PDF file
|
|
- Jemimah Martin
- 5 years ago
- Views:
Transcription
1 SDN Contribution Converting SAP Script outputs to PDF file Applies to: SAP R/3 46C ABAP / SAPSCRIPTS Summary These code snippets explain how to convert single as well as multiple SAP Script output into a single PDF file to be downloaded in the local system In the case of multiple SAP Scripts, the outputs are merged into a single OTF data and then converted to PDF data This is done without creating any spool request Author(s): Indrajit Chakraborti Company: Wipro Technologies Created on: 3 August 2006 Author Bio I am an SAP ABAP consultant in Wipro Technologies 2006 SAP AG 1
2 Table of Contents Author Bio 1 Converting Single SAP Script output into PDF file 3 Methodology 3 Code Snippet 3 Output 12 Converting Multiple SAP Script outputs into single PDF file 15 Methodology 15 Code Snippet 15 Output 26 Disclaimer and Liability Notice SAP AG 2
3 Converting Single SAP Script output into PDF file Methodology The SAP Script output is internally represented in OTF format which is normally not visible to the user This internal format is accessed in this program by setting the TDGETOTF field of the structure of type ITCPO and passing the structure to the OPTIONS parameter of the function module OPEN_FORM To suppress the dialog box in SAP Script asking for Printer details, the DIALOG parameter of OPEN_FORM is assigned to SPACE The SAP Script is generated using the Function modules START_FORM, WRITE_FORM and END_FORM In the function module CLOSE_FORM, the OTF output for the SAPscript is obtained in the Tables parameter OTFDATA by assigning an internal table of structure type ITCOO This internal table data is converted to PDF data using the function module CONVERT_OTF, which will also return the size of PDF data This PDF data is generated in an internal table of Structure type TLINE The PDF data is downloaded into a PDF file in the local system using the Function module GUI_DOWNLOAD The path where the file will be downloaded is taken as user input using the method FILE_SAVE_DIALOG of the class CL_GUI_FRONTEND_SERVICES Code Snippet REPORT Z1SCRIPT_TO_PDF ****************************DECLARATIONS******************************** DATA: BEGIN OF ITAB OCCURS 0, CARRID TYPE SFLIGHT-CARRID, CONNID TYPE SFLIGHT-CONNID, PRICE TYPE SFLIGHT-PRICE, END OF ITAB DATA: struct TYPE ITCPO DATA: PDFTAB TYPE TABLE OF TLINE WITH HEADER LINE, DATAB TYPE TABLE OF ITCOO WITH HEADER LINE, DATA: BINFILESIZE TYPE I, FILE_NAME TYPE STRING, FILE_PATH TYPE STRING, FULL_PATH TYPE STRING 2006 SAP AG 3
4 ****************************END OF DECLARATIONS******************************** *To specify Printer name* struct-tddest = 'LP01' *To specify no Print Preview* struct-tdnoprev = 'X' *To access the SAP Script output in OTF format* struct-tdgetotf = 'X' ***************************SAPSCRIPT GENERATION******************************** CALL FUNCTION 'OPEN_FORM' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = * ARCHIVE_PARAMS = DEVICE = 'PRINTER' DIALOG = space FORM = 'ZSCRIPT' * LANGUAGE = SY-LANGU OPTIONS = struct * MAIL_SENDER = * MAIL_RECIPIENT = * MAIL_APPL_OBJECT = * RAW_DATA_INTERFACE = '*' * SPONUMIV = * LANGUAGE = * NEW_ARCHIVE_PARAMS = * RESULT = CANCELED = 1 DEVICE = 2 FORM = SAP AG 4
5 OPTIONS = 4 UNCLOSED = 5 MAIL_OPTIONS = 6 ARCHIVE_ERROR = 7 INVALID_FAX_NUMBER = 8 MORE_PARAMS_NEEDED_IN_BATCH = 9 SPOOL_ERROR = 10 CODEPAGE = 11 OTHERS = 12 IF sy-subrc <> 0 CALL FUNCTION 'START_FORM' EXPORTING * ARCHIVE_INDEX = FORM = 'ZSCRIPT' * LANGUAGE = ' ' * STARTPAGE = ' ' * PROGRAM = ' ' * MAIL_APPL_OBJECT = * LANGUAGE = FORM = 1 FORMAT = 2 UNENDED = 3 UNOPENED = 4 UNUSED = 5 SPOOL_ERROR = 6 CODEPAGE = 7 OTHERS = SAP AG 5
6 IF sy-subrc <> 0 CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'ELEM1' FUNCTION = 'SET' TYPE = 'BODY' WINDOW = 'MAIN' * PENDING_LINES = ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 CODEPAGE = 9 OTHERS = 10 IF sy-subrc <> 0 SELECT CARRID CONNID PRICE FROM SFLIGHT INTO TABLE ITAB LOOP AT ITAB CALL FUNCTION 'WRITE_FORM' 2006 SAP AG 6
7 EXPORTING ELEMENT = 'ELEM2' FUNCTION = 'SET' TYPE = 'BODY' WINDOW = 'MAIN' * PENDING_LINES = ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 CODEPAGE = 9 OTHERS = 10 IF sy-subrc <> 0 ENDLOOP CALL FUNCTION 'END_FORM' * RESULT = UNOPENED = 1 BAD_PAGEFORMAT_FOR_PRINT = 2 SPOOL_ERROR = 3 CODEPAGE = 4 OTHERS = SAP AG 7
8 IF sy-subrc <> 0 CALL FUNCTION 'CLOSE_FORM' * RESULT = * RDI_RESULT = TABLES OTFDATA = DATAB[] UNOPENED = 1 BAD_PAGEFORMAT_FOR_PRINT = 2 SEND_ERROR = 3 SPOOL_ERROR = 4 CODEPAGE = 5 OTHERS = 6 IF sy-subrc <> 0 ***************************END OF SAPSCRIPT GENERATION******************************** ***************************CONVERTING OTF DATA TO PDF DATA**************************** CALL FUNCTION 'CONVERT_OTF' EXPORTING FORMAT = 'PDF' * MAX_LINEWIDTH = 132 * ARCHIVE_INDEX = ' ' 2006 SAP AG 8
9 * COPYNUMBER = 0 * ASCII_BIDI_VIS2LOG = ' ' * PDF_DELETE_OTFTAB = ' ' IMPORTING BIN_FILESIZE = BINFILESIZE * BIN_FILE = TABLES otf = DATAB[] lines = PDFTAB[] * * ERR_MAX_LINEWIDTH = 1 * ERR_FORMAT = 2 * ERR_CONV_NOT_POSSIBLE = 3 * ERR_BAD_OTF = 4 * OTHERS = 5 IF sy-subrc <> 0 *****************TAKING THE DOWNLOAD FILE PATH AS USER INPUT************************* CALL METHOD cl_gui_frontend_services=>file_save_dialog * EXPORTING * WINDOW_TITLE = * DEFAULT_EXTENSION = * DEFAULT_FILE_NAME = * FILE_FILTER = * INITIAL_DIRECTORY = * WITH_ENCODING = * PROMPT_ON_OVERWRITE = 'X' CHANGING 2006 SAP AG 9
10 filename = FILE_NAME path = FILE_PATH fullpath = FULL_PATH * USER_ACTION = * FILE_ENCODING = * * CNTL_ERROR = 1 * ERROR_NO_GUI = 2 * NOT_SUPPORTED_BY_GUI = 3 * others = 4 IF sy-subrc <> 0 ****************************DOWNLOADING THE PDF DATA********************************** CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING BIN_FILESIZE FILENAME FILETYPE = binfilesize = 'D:\myfilepdf' = 'BIN' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' * CONFIRM_OVERWRITE = ' ' * NO_AUTH_CHECK = ' ' * CODEPAGE = ' ' 2006 SAP AG 10
11 * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * WRITE_BOM = ' ' * TRUNC_TRAILING_BLANKS_EOL = 'X' * WK1_N_FORMAT = ' ' * WK1_N_SIZE = ' ' * WK1_T_FORMAT = ' ' * WK1_T_SIZE = ' ' * FILELENGTH = tables data_tab = PDFTAB[] * FIELDNAMES = FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = SAP AG 11
12 OTHERS = 22 IF sy-subrc <> 0 Output Pop up asking user to specify location where the output PDF file is to be stored 2006 SAP AG 12
13 File stored in the path provided by the user 2006 SAP AG 13
14 Single SAPScript output in PDF format 2006 SAP AG 14
15 Converting Multiple SAP Script outputs into single PDF file Methodology The methodology adopted for this is similar to previous case except that multiple SAPScript outputs are merged into a single OTF data which is then converted to PDF file Between function modules OPEN_FORM and CLOSE_FORM, for each SAP Script a set of 3 function modules START_FORM, WRITE_FORM and END_FORM is used In the function module START_FORM the name of corresponding SAPScript is specified The merged OTF data for multiple SAPScripts is obtained in the Tables parameter OTFDATA of the function module CLOSE_FORM This is converted to PDF data using similar method as explained in the previous case Code Snippet REPORT ZMULTIPLE_SCRIPT_TO_PDF ****************************DECLARATIONS******************************** DATA: BEGIN OF ITAB OCCURS 0, CARRID TYPE SFLIGHT-CARRID, CONNID TYPE SFLIGHT-CONNID, PRICE TYPE SFLIGHT-PRICE, END OF ITAB DATA: struct TYPE ITCPO DATA: PDFTAB TYPE TABLE OF TLINE WITH HEADER LINE, DATAB TYPE TABLE OF ITCOO WITH HEADER LINE, DATA: BINFILESIZE TYPE I, FILE_NAME TYPE STRING, FILE_PATH TYPE STRING, FULL_PATH TYPE STRING ****************************END OF DECLARATIONS*************************** *To specify Printer name* struct-tddest = 'LP01' 2006 SAP AG 15
16 *To specify no Print Preview* struct-tdnoprev = 'X' *To access the SAP Script output in OTF format* struct-tdgetotf = 'X' ***************************SAPSCRIPTS GENERATION******************************** CALL FUNCTION 'OPEN_FORM' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = * ARCHIVE_PARAMS = DEVICE = 'PRINTER' DIALOG = space * FORM = * LANGUAGE = SY-LANGU OPTIONS = struct * MAIL_SENDER = * MAIL_RECIPIENT = * MAIL_APPL_OBJECT = * RAW_DATA_INTERFACE = '*' * SPONUMIV = * LANGUAGE = * NEW_ARCHIVE_PARAMS = * RESULT = CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 MAIL_OPTIONS = 6 ARCHIVE_ERROR = 7 INVALID_FAX_NUMBER = SAP AG 16
17 MORE_PARAMS_NEEDED_IN_BATCH = 9 SPOOL_ERROR = 10 CODEPAGE = 11 OTHERS = 12 IF sy-subrc <> 0 ************************GENERATION OF FIRST SAP SCRIPT*********************************** CALL FUNCTION 'START_FORM' EXPORTING * ARCHIVE_INDEX = FORM = 'ZSCRIPT1' * LANGUAGE = ' ' * STARTPAGE = ' ' * PROGRAM = ' ' * MAIL_APPL_OBJECT = * LANGUAGE = FORM = 1 FORMAT = 2 UNENDED = 3 UNOPENED = 4 UNUSED = 5 SPOOL_ERROR = 6 CODEPAGE = 7 OTHERS = 8 IF sy-subrc <> SAP AG 17
18 CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'ELEM1' FUNCTION = 'SET' TYPE = 'BODY' WINDOW = 'MAIN' * PENDING_LINES = ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 CODEPAGE = 9 OTHERS = 10 IF sy-subrc <> 0 SELECT CARRID CONNID PRICE FROM SFLIGHT INTO TABLE ITAB LOOP AT ITAB CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT FUNCTION TYPE = 'ELEM2' = 'SET' = 'BODY' 2006 SAP AG 18
19 WINDOW = 'MAIN' * PENDING_LINES = ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 CODEPAGE = 9 OTHERS = 10 IF sy-subrc <> 0 ENDLOOP CALL FUNCTION 'END_FORM' * RESULT = UNOPENED = 1 BAD_PAGEFORMAT_FOR_PRINT = 2 SPOOL_ERROR = 3 CODEPAGE = 4 OTHERS = 5 IF sy-subrc <> SAP AG 19
20 ***********************END OF GENERATION OF FIRST SAPSCRIPT************************ ************************GENERATION OF SECOND SAP SCRIPT**************************** CALL FUNCTION 'START_FORM' EXPORTING * ARCHIVE_INDEX = FORM = 'ZSCRIPT2' * LANGUAGE = ' ' * STARTPAGE = ' ' * PROGRAM = ' ' * MAIL_APPL_OBJECT = * LANGUAGE = FORM = 1 FORMAT = 2 UNENDED = 3 UNOPENED = 4 UNUSED = 5 SPOOL_ERROR = 6 CODEPAGE = 7 OTHERS = 8 IF sy-subrc <> 0 CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT FUNCTION TYPE WINDOW = 'ELEMENT1' = 'SET' = 'BODY' = 'MAIN' 2006 SAP AG 20
21 * PENDING_LINES = ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 CODEPAGE = 9 OTHERS = 10 IF sy-subrc <> 0 CALL FUNCTION 'END_FORM' * RESULT = * * UNOPENED = 1 * BAD_PAGEFORMAT_FOR_PRINT = 2 * SPOOL_ERROR = 3 * CODEPAGE = 4 * OTHERS = 5 IF sy-subrc <> 0 ***********************END OF GENERATION OF SECOND SAPSCRIPT************************ 2006 SAP AG 21
22 CALL FUNCTION 'CLOSE_FORM' * RESULT = * RDI_RESULT = TABLES OTFDATA = datab[] UNOPENED = 1 BAD_PAGEFORMAT_FOR_PRINT = 2 SEND_ERROR = 3 SPOOL_ERROR = 4 CODEPAGE = 5 OTHERS = 6 IF sy-subrc <> 0 *******************END OF SAPSCRIPTS GENERATION************************************* ***************************CONVERTING OTF DATA TO PDF DATA************************** CALL FUNCTION 'CONVERT_OTF' EXPORTING FORMAT = 'PDF' * MAX_LINEWIDTH = 132 * ARCHIVE_INDEX = ' ' * COPYNUMBER = 0 * ASCII_BIDI_VIS2LOG = ' ' * PDF_DELETE_OTFTAB = ' ' IMPORTING BIN_FILESIZE = BINFILESIZE * BIN_FILE = TABLES 2006 SAP AG 22
23 otf = DATAB[] lines = PDFTAB[] * * ERR_MAX_LINEWIDTH = 1 * ERR_FORMAT = 2 * ERR_CONV_NOT_POSSIBLE = 3 * ERR_BAD_OTF = 4 * OTHERS = 5 IF sy-subrc <> 0 *****************TAKING THE DOWNLOAD FILE PATH AS USER INPUT************************* CALL METHOD cl_gui_frontend_services=>file_save_dialog * EXPORTING * WINDOW_TITLE = * DEFAULT_EXTENSION = * DEFAULT_FILE_NAME = * FILE_FILTER = * INITIAL_DIRECTORY = * WITH_ENCODING = * PROMPT_ON_OVERWRITE = 'X' CHANGING filename = FILE_NAME path = FILE_PATH fullpath = FULL_PATH * USER_ACTION = * FILE_ENCODING = * * CNTL_ERROR = 1 * ERROR_NO_GUI = 2 * NOT_SUPPORTED_BY_GUI = 3 * others = SAP AG 23
24 IF sy-subrc <> 0 ****************************DOWNLOADING THE PDF DATA********************************** CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING BIN_FILESIZE = binfilesize FILENAME = full_path FILETYPE = 'BIN' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' * CONFIRM_OVERWRITE = ' ' * NO_AUTH_CHECK = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * WRITE_BOM = ' ' * TRUNC_TRAILING_BLANKS_EOL = 'X' * WK1_N_FORMAT = ' ' * WK1_N_SIZE = ' ' * WK1_T_FORMAT = ' ' * WK1_T_SIZE = ' ' * FILELENGTH = tables 2006 SAP AG 24
25 data_tab = PDFTAB[] * FIELDNAMES = FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22 IF sy-subrc <> SAP AG 25
26 Output Pop up asking user to specify location where the output PDF file is to be stored File stored in the path provided by the user 2006 SAP AG 26
27 Multiple SAPScript outputs in PDF format 2006 SAP AG 27
28 First Page Second Page 2006 SAP AG 28
29 Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP Changes made based on this information are not supported and can be overwritten during an upgrade SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document 2006 SAP AG 29
Combining Multiple Smartform Outputs Into One PDF File
SDN Contribution Combining Multiple Smartform Outputs Into One PDF File Applies to: SAP R/3 46C ABAP / SMARTFORMS Summary This program code would help those who want to combine multiple smartform outputs
More informationMass Upload Documents to BW
How to Mass Upload Documents to BW BUSINESS INFORMATION WAREHOUSE ASAP How to Paper SAP (SAP America, Inc. and SAP AG) assumes no responsibility for errors or omissions in these materials. These materials
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationCreation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports
Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports Applies to: This Article is intended for all those ABAPers who are interested in creating SAP-SETS and use them in ABAP. For more information,
More informationThis article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.
Applies to: SAP IS-Utilities 4.6 and above. Summary This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts. Author: Company: Hiral M Dedhia L & T Infotech Ltd.
More informationFinancial Statement Version into PDF Reader
Financial Statement Version into PDF Reader Applies to: SAP release 4.7EE, ECC 5.0 and ECC 6.0. For more information, visit the Enterprise Resource Planning homepage Summary: The objective of this article
More informationLinking Documents with Web Templates
Linking Documents with Web Templates Summary This article explains certain ways to link documents with our Web-Templates which is a useful way of attaching information with a query. When the enduser runs
More informationSAP BW Copy Existing DTP for Data Targets
SAP BW Copy Existing DTP for Data Targets Applies to: SAP BI Consultants with ABAP Knowledge. For more information, visit the EDW HomePage. Summary Copy existing DTP to a new one in not possible in SAP
More informationRoutines in SAP BI 7.0 Transformations
Routines in SAP BI 7.0 Transformations Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage. Summary This paper gives an overview about the different routines available
More informationEasy Lookup in Process Integration 7.1
Easy Lookup in Process Integration 7.1 Applies to: SAP NetWeaver Process Integration 7.1 For more information, visit the SOA Management homepage. Summary Unlike previous version of PI (7.0) / XI (3.0,
More informationIntegration of Web Dynpro for ABAP Application in Microsoft Share Point Portal
Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal Applies to: Web Dynpro ABAP. Summary This tutorial explains how to display Web Dynpro ABAP Application in Microsoft Share
More informationUsing Drop Down By Index in Table UI Element in WebDynpro ABAP
Using Drop Down By Index in Table UI Element in WebDynpro ABAP Applies to: Enterprise portal, ECC 6.0, Web Dynpro ABAP. For more information, visit the Web Dynpro ABAP homepage. Summary This article would
More informationDownload SAP Query Output to Local/ Network Folders in Background
Download SAP Query Output to Local/ Network Folders in Background Applies to: SAP release where SQUE0001 enhancement (SMOD) available For more information, visit the ABAP homepage. Summary This article
More informationA Simple search program for Dictionary objects
A Simple search program for Dictionary objects Applies To: ABAP Programming Article Summary This Code sample is a simple search utility for the dictionary objects. This has three kinds of search functionality
More informationHow to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP
How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP Applies to: SAP Netweaver 2004S: Web Dynpro for ABAP. For more information, visit the User Interface Technology homepage.
More informationDynamically Enable / Disable Fields in Table Maintenance Generator
Dynamically Enable / Disable Fields in Table Maintenance Generator Applies to: SAP ABAP. For more information, visit the ABAP homepage. Summary This article demonstrates on how to Enable / Disable fields
More informationPOWL: Infoset Generation with Web Dynpro ABAP
POWL: Infoset Generation with Web Dynpro ABAP Applies to: WebDynpro ABAP Developer. For more information, visit the Web Dynpro ABAP homepage. Summary: This document explains how to create an Infoset, generate
More informationMDM Syndicator: Custom Items Tab
MDM Syndicator: Custom Items Tab Applies to: SAP NetWeaver Master Data Management (MDM) SP04, SP05 and SP06. For more information, visit the Master Data Management homepage. Summary This article provides
More informationDisplaying SAP Transaction as Internet Application in Portal
Displaying SAP Transaction as Internet Application in Portal Summary This article explains how we can display SAP transaction as Internet Application Components (IAC) in portal to make it simpler for the
More informationGraphical Mapping Technique in SAP NetWeaver Process Integration
Graphical Mapping Technique in SAP NetWeaver Process Integration Applies to: SAP NetWeaver XI/PI mappings. For more information, visit the Repository-based Modeling and Design homepage. Summary This guide
More informationHow to Configure User Status in mysap SRM
How to Configure User Status in mysap SRM Applies to: mysap SRM 5.5 For more information, visit the Supplier Relationship Management homepage. Summary There had been quite a few instances in SRM Forum
More informationSelection-Screen Design
Applies To: SAP R/3, ABAP/4 Summary This program illustrates some of the selection-screen design features, simple use of field symbols and the various events associated with a report program. And one good
More informationApplies To:...1. Summary...1. Table of Contents...1. Procedure..2. Code... Error! Bookmark not defined.0
Applies To: Usage of Table Control in ABAP Summary Normally we use wizard if we are working with table control. This document helps us how to create a table control without using a wizard and how to manipulate
More informationSMT (Service Mapping Tool)
Applies to: This document applies to SAP versions ECC 6.0. For more information, visit the ABAP homepage. Summary This article contains the guidelines for using the SMT (Service mapping Tool) Mapping.
More informationLimitation in BAPI Scheduling Agreement (SA) Create or Change
Limitation in BAPI Scheduling Agreement (SA) Create or Change Applies to: SAP ECC 6.0.For more information, visit the ABAP homepage. Summary The article describes the limitations in standard SAP BAPIs
More informationABAP Program to Read/Populate Selection Screen Parameters Dynamically
ABAP Program to Read/Populate Selection Screen Parameters Dynamically Applies to: SAP 4.6c Summary The main purpose of this article is to focus on dynamic read and dynamic population of selection screen
More informationALV Object Model Hierarchical Sequential List The Basics
ALV Object Model Hierarchical Sequential List The Basics Applies to: SAP NetWeaver 2004 and SAP NetWeaver 2004s Summary In this tutorial, you will learn the basic steps to create a hierarchical-sequential
More informationAbout ITAB Duplicate_Key (SAP lrsaods) Runtime Error
About ITAB Duplicate_Key (SAP lrsaods) Runtime Error Applies to: SAP NetWeaver BW 3.x.For more information, visit the Business Intelligence homepage. Summary This article explains about the Runtime Error
More informationWorking with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP
Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP Applies to: Adobe Live Cycle Designer 8.0- Web Dynpro ABAP Summary This article would help ABAP developers, who are faced with
More informationHow to Create and Schedule Publications from Crystal Reports
How to Create and Schedule Publications from Crystal Reports Applies to: SAP BusinessObjects Enterprise. For more information, visit the Business Objects homepage. Summary This white paper describes how
More informationOpen Text DocuLink Configuration - To Access Documents which are Archived using SAP
Open Text DocuLink Configuration - To Access Documents which are Archived using SAP Applies to: Open Text DocuLink for SAP Solutions 9.6.2. For more information, visit http://www.opentext.com Summary Open
More informationALV with Dynamic Structure in Web DynPro
ALV with Dynamic Structure in Web DynPro Applies to: Web DynPro ABAP. For more information, visit the Web Dynpro ABAP homepage. Summary Though it s always better to give all the design to your WDC before
More informationCustom Process types Remote Trigger and End Time
SDN Contribution Custom Process types Remote Trigger and End Time Applies to: SAP BW 3.1C and Above. Summary Development 1: We sometimes have loads in our process chains whose status and runtime don t
More informationDB Connect with Delta Mechanism
Applies to: SAP BI/BW. For more information, visit the EDW homepage Summary This Article demonstrates the steps for handling Delta mechanism with Relational Database Management System (RDBMS) like SQL,
More informationUsing Radio Buttons in Web Template
Using Radio Buttons in Web Template Applies to: SAP BW 3.5. For more information, visit the Business Intelligence homepage. Summary One of the ideal requirements in the BW Web Reporting is the user wants
More informationTable Row Popup in Web Dynpro Component
Table Row Popup in Web Dynpro Component Applies to Web Dynpro for ABAP, NW 7.0. For more information, visit the Web Dynpro ABAP homepage. Summary This document helps to create Table Rowpopin in a Web Dynpro
More informationE-Sourcing System Copy [System refresh from Production to existing Development]
E-Sourcing System Copy [System refresh from Production to existing Development] Applies to: SAP Netweaver 7.0 and E-Sourcing 5.1/CLM 2.0 Summary This document discusses about the steps to do an E-Sourcing
More informationHow to Create Tables in MaxDB using SQL Studio
How to Create Tables in MaxDB using SQL Studio Wipro Technologies January 2005 Submitted By Kathirvel Balakrishnan SAP Practice Wipro Technologies www.wipro.com Page 1 of 11 Establishing a connection to
More informationMaterial Master Archiving in Simple Method
Material Master Archiving in Simple Method Applies to: This article is applicable for SAP MM Module of SAP Version SAP 4.7 till SAP ECC 6.0 Summary This article describes a process called Material Master
More informationExtracting Missing Fields of Data Source Which Are Present In Their Extract Structure
Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure Applies to: ECC 6.0 and BI 3.x and 7.0 For more information, visit the Business Intelligence homepage. Summary Many
More informationException Handling in Web Services exposed from an R/3 System
Exception Handling in Web Services exposed from an R/3 System Applies to: SAP WAS 6.2 onwards Summary We expose an RFC enabled function module as web service in R/3. While creating the function module,
More informationTable Popins and Business Graphics in Web Dynpro ABAP
Table Popins and Business Graphics in Web Dynpro ABAP Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary Table Popins are the additional feature to a Table UI element.
More informationABAP Code - Recipients (Specific Format) SAP BW Process Chain
ABAP Code - Email Recipients (Specific Format) SAP BW Process Chain Applies to: This article is applicable to all the SAP BI consultants who are accustomed with SAP ABAP skills. For more information, visit
More informationTriggering the Process Chains at Particular Date using Events
Triggering the Process Chains at Particular Date using Events Applies to: SAP BW 3.5, Will also work on SAP BI 7 For more information, visit the Business Intelligence homepage Summary This document discusses
More informationIntegrating POWL with WebDynpro ABAP
Integrating POWL with WebDynpro ABAP Applies to: WebDynpro ABAP Developer. For more information, visit the Web Dynpro ABAP homepage. Summary This document explains how to make personnel object worklist,
More informationFreely Programmed Help- Web Dynpro
Freely Programmed Help- Web Dynpro Applies to: SAP ABAP Workbench that supports Web dynpro development. For more information, visit the Web Dynpro ABAP homepage. Summary In addition to the Dictionary Search
More informationAdd /Remove Links on ESS Home Page in Business Package 1.5
Add /Remove Links on ESS Home Page in Business Package 1.5 Applies to: SAP ECC EHP5. For more information, visit the Enterprise Resource Planning homepage. Summary Customizing links on ESS Overview page
More informationWorking with Tabstrip in Webdynpro for ABAP
Working with Tabstrip in Webdynpro for ABAP Applies to: SAP ECC 6.0 (Release 700, SP 12). For more information, visit the Web Dynpro ABAP homepage.. Summary This tutorial explains about Step-By-Step procedure
More informationecatt Part 6 System Data Container
\ ecatt Part 6 System Data Container Applies to: SAP 5.0 Summary In the Part I of ecatt series, we covered the introduction to ecatt, its prerequisites, features, when to go for SAP GUI mode recording
More informationPurpose of Goods Receipt Message indicator in Purchase Orders
Purpose of Goods Receipt Message indicator in Purchase Orders Applies to: This article is applicable for SAP MM Module of SAP for version SAP 4.7 till SAP ECC 6.O. For more information, visit the Supply
More informationCreating, Configuring and Testing a Web Service Based on a Function Module
Creating, Configuring and Testing a Web Service Based on a Function Module Applies to: SAP EC6 6.0/7.0. For more information, visit the Web Services homepage. Summary The article describes how to create
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationRecreating BIA Indexes to Address the Growth of Fact Index Table
Recreating BIA Indexes to Address the Growth of Fact Index Table Applies to: Software Component: SAP_BW.Release: 700 BIA version: 53 Summary In this article we would learn the application of recreating
More informationUsing Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed
Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed Applies to: SAP BW 3.X & BI 7.0. For more information, visit the Business Intelligence homepage. Summary This article
More informationWeb Dynpro ABAP: Dynamic Table
Applies to: SAP ECC 6.0 Summary Normally ABAP consultants might be aware of how to create internal table dynamically. This article aims to help the consultants how to display the dynamic table using Web
More informationOpen Hub Destination - Make use of Navigational Attributes
Open Hub Destination - Make use of Navigational Attributes Applies to: SAP BI 7.0. For more information visit the Enterprise Data Warehousing Summary This paper tells about usage of Open Hub Destination
More informationZebra/bar One Label Printing through Scripts and Adjusting the Coordinates VAI a SAP-Script.
Zebra/bar One Label Printing through Scripts and Adjusting the Coordinates VAI a SAP-Script. Applies to: ABAP. For more information, visit the ABAP homepage. Summary: This Article is intended for all those
More informationWeb Dynpro: Coloring Table Conditionally
Web Dynpro: Coloring Table Conditionally Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary This article is designed for the beginners in Web Dynpro who have ABAP
More informationInternationalization in WebDynpro ABAP Applications
Internationalization in WebDynpro ABAP Applications Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary The article describes the concept and procedure of developing
More informationReporting Duplicate Entries
Applies to: SAP BI 7.0 and above. For more information, visit the Business Intelligence Homepage. Summary It is a common reporting requirement to display duplicate entries based on a characteristic. This
More informationA Step-by-Step Guide on IDoc-ALE between Two SAP Servers
A Step-by-Step Guide on IDoc-ALE between Two SAP Servers Applies to: All modules of SAP where data need to transfer from one SAP System to another SAP System using ALE IDoc Methodology. For more information,
More informationMaterial Listing and Exclusion
Material Listing and Exclusion Applies to: Applies to ECC 6.0. For more information, visit the Enterprise Resource Planning homepage Summary This document briefly explains how to restrict customers from
More informationStep by Step Procedure for DSO Creation
Step by Step Procedure for DSO Creation Applies to: SAP BI 7.0. For more information, visit the EDW homepage. Summary This article discusses about the step by step procedure for creating a DSO. Author:
More informationMaintaining Roles and Authorizations in BI7.0 - RSECADMIN
Maintaining Roles and Authorizations in BI7.0 - RSECADMIN Applies to: SAP Business Intelligence 7.0. For more information, visit the Business Intelligence homepage. Summary This paper will take you through
More informationWorking with the Roadmap UI Element in Web Dynpro ABAP
Working with the Roadmap UI Element in Web Dynpro ABAP Applies to: Web Dynpro ABAP Summary This tutorial shows the use of the Roadmap UI element in Web Dynpro ABAP applications. The tutorial shows navigation
More informationStandalone BW System Refresh
Applies to: Software Component: SAP_BW. For more information, visit the EDW homepage Summary BW relevant steps/scenarios during refresh of an existing non-productive BW system from productive BW system
More informationMaterial Master Extension for New Plant
Material Master Extension for New Plant Applies to: SAP ECC 6.0. For more information, visit the ABAP homepage. Summary There is a need of extending the material of an existing plant in a company code
More informationMDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3
MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3 Applies to: SAP NetWeaver Master Data Management (MDM) SP3, SP4, SP5. Summary This article provides a step-by-step procedure for manually
More informationHow to Default Variant Created for Report Developed In Report Painter/Writer
How to Default Variant Created for Report Developed In Report Painter/Writer Applies to: Any business organization having reports developed using Report Painter/Report Writer. This is applicable from R/3
More informationProcedure to Trigger Events in Remote System Using an ABAP Program
Procedure to Trigger Events in Remote System Using an ABAP Program Applies to: SAP BW 3.x, SAP BI 7.x, SAP ECC, APO Systems. Summary This document gives the procedure to trigger events in a Remote System
More informationHow to Create and Execute Dynamic Operating System Scripts With XI
Applies To: SAP Exchange Infrastructure 3.0, SP 15, Integration Repository and Directory Summary This document describes how to create, store and execute a non static operating command script. In this
More informationCustomizing Characteristic Relationships in BW-BPS with Function Modules
Customizing Characteristic Relationships in BW-BPS with Function Modules Applies to: BW-BPS (Ver. 3.5 and BI 7.0) SEM-BPS (Ver 3.2 onwards) Summary This paper discusses the definition of a exit type characteristic
More informationValidity Table in SAP BW/BI
Applies to: Applicable for SAP BI 3.x and above Summary To maintain the cubes non cumulative Key figures. Author: Om Ambulker Company: Cognizant, Pune Created on: 15 July 2011 Author Bio Om Ambulker is
More informationGenerating Self-Defined Functions for ALV in Web Dynpro for ABAP
Generating Self-Defined Functions for ALV in Web Dynpro for ABAP Applies to: SAP NetWeaver 2004s Web Dynpro for ABAP. Summary This tutorial explains how to generate custom defined functions in ALV. It
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationCustomized Transaction to Trigger Process Chain from Failed Step
Customized Transaction to Trigger Process Chain from Failed Step Applies to: SAP BW 3.x & SAP BI NetWeaver 2004s. For more information, visit the Business Intelligence homepage. Summary There are multiple
More informationList of Values in BusinessObjects Web Intelligence Prompts
List of Values in BusinessObjects Web Intelligence Prompts Applies to: This solution is implemented for a combination of SAP NW BI 7.0 and SAP BO XI 3.1. For more information visit Business Objects Home
More informationTotals in Adobe forms
Applies to: Adobe Print forms designer version 8.0 in ECC6 For more information, visit the ABAP homepage. Summary This tutorial explains about Step-By-Step procedure to display subtotals and grand totals
More informationData Extraction & DS Enhancement in SAP BI Step by Step
Data Extraction & DS Enhancement in SAP BI Step by Step Applies to: SAP BI 7.0, SAP ABAP, For more information, visit the Business Intelligence homepage. Summary The objective of the article is to outline
More informationHow to Create your Own Rule in Workflow?
How to Create your Own Rule in Workflow? Applies to: SAP NetWeaver / ABAP, Workflow. Summary The article emphasis the rule creation in workflow, the rule is used to pick the right agent at the runtime.
More informationImplementing Customer Exit Reporting Variables as Methods
Implementing Customer Exit Reporting Variables as Methods Applies to: SAP BI 7.0 For more information, visit the Business Intelligence homepage. Summary This article describes how we can implement customer
More informationCommon Queries/Errors while working with Adobe Print PDF Forms
Common Queries/Errors while working with Adobe Print PDF Forms Applies to: SAP Adobe Forms (Print-based forms) Summary This document lists common queries and errors while working on Adobe Print Forms.
More informationStep By Step Procedure to Implement Soap to JDBC Scenario
Step By Step Procedure to Implement Soap to JDBC Scenario Applies to This scenario is implemented in PI 7.0 server, service pack: 14. For more information, visit the SOA Management homepage. Summary This
More informationHow to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3
How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3 Applies to: SAP NetWeaver Portal 7.3, NWDS 7.3. For more information, visit the Portal and Collaboration homepage. Summary This
More informationExtraction of Hierarchy into Flat File from R/3 and Loading in BW System
Extraction of Hierarchy into Flat File from R/3 and Loading in BW System Applies to: This article applies to SAP R/3 (any version) and SAP B/W (any version).for more information, visit the Business Intelligence
More informationSAP QM-IDI Interface. SDN Contribution. Applies to: Summary. Author Bio. SAP QM Interfaces
SDN Contribution SAP QM-IDI Interface Applies to: SAP QM Interfaces Summary A description of the steps needed to activate a communication between Quality management and an external system using the QM-IDI
More informationDialog Windows in WebDynpro ABAP Applications
Dialog Windows in WebDynpro ABAP Applications Applies to: WebDynpro ABAP For more information, visit the Web Dynpro ABAP homepage. Summary This document explains how to create popup dialog windows, external
More informationHow to use Boolean Operations in the Formula as Subsidiary for IF Condition
How to use Boolean Operations in the Formula as Subsidiary for IF Condition Applies to: SAP BW 3.5 & BI 7.0. For more information, visit the EDW homepage. Summary This paper will explain you how to use
More informationProgram to Find Where used List of a Query for Web Template (3.5), Work Books and RRI
Program to Find Where used List of a Query for Web Template (3.5), Work Books and RRI Applies to: SAP BW (3.5) / SAP BI(7.0) For more information, visit Business Intelligence Homepage. Summary This article
More informationStep by Step Guide to Enhance a Data Source
Step by Step Guide to Enhance a Data Source Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage Summary This article provides a step by step guide to enhance a Standard
More informationCreating Custom SU01 Transaction Code with Display and Password Reset Buttons
Creating Custom SU01 Transaction Code with Display and Password Reset Buttons Applies to: All versions of SAP. Summary This article will explain you the process of creating custom SU01 transaction code
More informationExplore to the Update Tab of Data Transfer Process in SAP BI 7.0
Explore to the Update Tab of Data Transfer Process in SAP BI 7.0 Applies to: SAP BI 2004s or SAP BI 7.x. For more information visit the Enterprise Data Warehousing. Summary This article will explain about
More informationDatabase Statistics During ODS Activation
Database Statistics During ODS Activation Applies to: SAP BW (3.5) / SAP BI (7.0). For more information, visit the EDW homepage Summary ODS Activation step periodically recalculates the statistics. This
More informationMDM Syndication and Importing Configurations and Automation
MDM Syndication and Importing Configurations and Automation Applies to: SAP MDM SP 05 Summary This document was written primarily for syndication and import of records into SAP NetWeaver MDM from different
More informationDeveloping Crystal Reports on SAP BW
Developing Crystal Reports on SAP BW Applies to: SAP BusinessObjects Crystal Reports. Summary This white paper explores various methods of accessing SAP BW data through Crystal Reports. Author: Arka Roy
More informationSYNDICATING HIERARCHIES EFFECTIVELY
SDN Contribution SYNDICATING HIERARCHIES EFFECTIVELY Applies to: SAP MDM 5.5 Summary This document introduces hierarchy tables and a method of effectively sending out data stored in hierarchy tables. Created
More informationHow to Write Inverse Routine with Expert Routine
How to Write Inverse Routine with Expert Routine Applies to: Development and support based on SAP BI 7.0 For more information, visit the Business Intelligence homepage. Summary The article shows the example
More informationHow to Create View on Different Tables and Load Data through Generic Datasource based on that View
How to Create View on Different Tables and Load Data through Generic Datasource based on that View Applies to: SAP Business Intelligence (BI 7.0). For more information, visit the EDW homepage Summary This
More informationAdding Custom Fields to Contract Account Screen
Adding Custom Fields to Contract Account Screen Applies to: This article applies to ISU-FICA & ABAP. For more information, visit the ABAP homepage. Summary This article explains how to add custom fields
More information