Convert the Spool into PDF and send to External ID

Size: px
Start display at page:

Download "Convert the Spool into PDF and send to External ID"

Transcription

1 Convert the Spool into PDF and send to External ID Applies To: SAP 4.7/Above Article Summary This report program will execute the given program with the specified variant in background and convert the spool request into PDF and send it as attachment to the specified ID. By: Elini.P Title: ABAP Date: 29 Apr 2005 This is the code: report zpp430_report_in_pdf no standard page heading line-size 255. *& Report ZPP430_REPORT_IN_PDF * *& * *& Converts spool request into PDF document and s it to * *& recipicant. * *& * *& Execution * *& * *& This program must be run as a background job in-order for the write * *& commands to create a Spool request rather than be displayed on * *& screen * tables: tsp01. parameter: p_ 1 like somlreci1-receiver default 'me.report@domain.co.in', p_sender like somlreci1-receiver default 'you.report@domain.co.in', p_repid like sy-repid, " Report to execute p_linsz like sy-linsz default 132, " Line size p_paart like sy-paart default 'X_65_132', " Paper Format p_slset like sy-slset, "Variant name p_odescr like sodocchgi1-obj_descr, p_adescr type so_obj_nam, p_delspl as checkbox. *DATA DECLARATION data: gd_recsize type i. * Spool IDs types: begin of t_tbtcp.

2 include structure tbtcp. types: end of t_tbtcp. data: it_tbtcp type standard table of t_tbtcp initial size 0, wa_tbtcp type t_tbtcp. * Job Runtime Parameters data: gd_eventid like tbtcm-eventid, gd_eventparm like tbtcm-eventparm, gd_external_program_active like tbtcm-xpgactive, gd_jobcount like tbtcm-jobcount, gd_jobname like tbtcm-jobname, gd_stepcount like tbtcm-stepcount, gd_error type sy-subrc, gd_reciever type sy-subrc. data: w_recsize type i, mc_valid(1) type c. data: gd_subject like sodocchgi1-obj_descr, it_mess_bod like solisti1 occurs 0 with header line, it_mess_att like solisti1 occurs 0 with header line, gd_sender_type like soextreci1-adr_typ, gd_attachment_desc type so_obj_nam, gd_attachment_name type so_obj_des, mi_rqident like tsp01-rqident. * Spool to PDF conversions data: gd_spool_nr like tsp01-rqident, w_spool_nr like tsp01-rqident, gd_destination like rlgrap-filename, gd_bytecount like tst01-dsize, gd_buffer type string. data: mstr_print_parms like pri_params. * Binary store for PDF data: begin of it_pdf_output occurs 0. include structure tline. data: end of it_pdf_output. constants: c_dev like sy-sysid value 'DEV', c_no(1) type c value ' ', c_device(4) type c value 'LOCL'. ************************************************************************ *START-OF-SELECTION. start-of-selection. * Write statement to represent report output. Spool request is created * if write statement is executed in background. This could also be an * ALV grid which would be converted to PDF without any extra effort * WRITE 'Hello World'. * NEW-PAGE. * COMMIT WORK. * NEW-PAGE PRINT OFF. * IF SY-BATCH EQ 'X'. * PERFORM GET_JOB_DETAILS. * PERFORM OBTAIN_SPOOL_ID.

3 ************************************ *** Alternative way could be to submit another program and store spool *** id into memory. *submit ZSPOOLTOPDF2 * to sap-spool * spool parameters %_print * archive parameters %_print * without spool dynpro * and return. ************************************ call function 'GET_PRINT_PARAMETERS' exporting authority copies = '1' cover_page data_set department destination expiration = '1' immediately * in_archive_parameters * in_parameters layout mode new_list_id = 'X' no_dialog = 'X' user = sy-uname importing out_parameters = mstr_print_parms valid = mc_valid exceptions archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 others = 4. if mstr_print_parms-pdest. mstr_print_parms-pdest = 'LOCL'. mstr_print_parms-linsz = p_linsz. mstr_print_parms-paart = p_paart. submit (p_repid) to sap-spool without spool dynpro spool parameters mstr_print_parms using selection-set p_slset and return. * Get spool id from program called above perform get_spool_number using sy-repid sy-uname changing mi_rqident. * IMPORT w_spool_nr FROM MEMORY ID SY-REPID. perform convert_spool_to_pdf. perform process_ .

4 if p_delspl eq 'X'. perform delete_spool. if sy-sysid = c_dev. wait up to 5 seconds. submit rsconn01 with mode = 'INT' with output = 'X' and return. * ELSE. * SKIP. * WRITE:/ 'Program must be executed in background in-order for spool' *, * 'request to be created.'. * ENDIF. * FORM obtain_spool_id * form obtain_spool_id. check not ( gd_jobname is initial ). check not ( gd_jobcount is initial ). select * from tbtcp into table it_tbtcp where jobname = gd_jobname and jobcount = gd_jobcount and stepcount = gd_stepcount and listident <> ' ' order by jobname jobcount stepcount. read table it_tbtcp into wa_tbtcp index 1. if sy-subrc = 0. message s004(zdd) with gd_spool_nr. gd_spool_nr = wa_tbtcp-listident. message s004(zdd) with gd_spool_nr. else. message s005(zdd). "OBTAIN_SPOOL_ID * FORM get_job_details * form get_job_details. * Get current job details call function 'GET_JOB_RUNTIME_INFO' importing eventid = gd_eventid eventparm = gd_eventparm external_program_active = gd_external_program_active jobcount = gd_jobcount jobname = gd_jobname stepcount = gd_stepcount exceptions no_runtime_info = 1 others = 2.

5 "GET_JOB_DETAILS * FORM convert_spool_to_pdf * form convert_spool_to_pdf. call function 'CONVERT_ABAPSPOOLJOB_2_PDF' exporting src_spoolid = mi_rqident no_dialog = c_no dst_device = c_device importing pdf_bytecount = gd_bytecount tables pdf = it_pdf_output exceptions err_no_abap_spooljob = 1 err_no_spooljob = 2 err_no_permission = 3 err_conv_not_possible = 4 err_bad_destdevice = 5 user_cancelled = 6 err_spoolerror = 7 err_temseerror = 8 err_btcjob_open_failed = 9 err_btcjob_submit_failed = 10 err_btcjob_close_failed = 11 others = 12. check sy-subrc = 0. * Transfer the 132-long strings to 255-long strings loop at it_pdf_output. translate it_pdf_output using ' ~'. concatenate gd_buffer it_pdf_output into gd_buffer. endloop. translate gd_buffer using '~ '. do. it_mess_att = gd_buffer. append it_mess_att. shift gd_buffer left by 255 places. if gd_buffer is initial. exit. enddo. "CONVERT_SPOOL_TO_PDF * FORM process_ * form process_ . describe table it_mess_att lines gd_recsize. check gd_recsize > 0. perform send_ using p_ 1. * perform send_ using p_ 2. "PROCESS_

6 * FORM send_ * * --> p_ * form send_ using p_ . check not ( p_ is initial ). refresh it_mess_bod. * Default subject matter gd_subject = p_odescr. gd_attachment_desc = p_adescr. * CONCATENATE 'attach_name' ' ' INTO gd_attachment_name. it_mess_bod = 'This is an automated report from SAP.'. append it_mess_bod. it_mess_bod = 'Please do not reply to this mail id.'. append it_mess_bod. *IT_MESS_BOD = 'For any clarification on the details of this report' *. * APPEND IT_MESS_BOD. * IT_MESS_BOD = 'please contact Business Planning. Thank you'. * APPEND IT_MESS_BOD. * If no sender specified - default blank if p_sender eq space. gd_sender_type. else. gd_sender_type = 'INT'. * Send file by as.xls speadsheet perform send_file_as_ _attachment tables it_mess_bod it_mess_att using p_ p_odescr 'PDF' gd_attachment_name gd_attachment_desc p_sender gd_sender_type changing gd_error gd_reciever. "SEND_ * FORM delete_spool * form delete_spool. data: ld_spool_nr type tsp01_sp0r-rqid_char. ld_spool_nr = gd_spool_nr. check p_delspl <> c_no. call function 'RSPO_R_RDELETE_SPOOLREQ' exporting spoolid = ld_spool_nr. "DELETE_SPOOL

7 *& Form SEND_FILE_AS_ _ATTACHMENT * Send * * form send_file_as_ _attachment tables it_message it_attach using p_ p_mtitle p_format p_filename p_attdescription p_sender_address p_sender_addres_type changing p_error p_reciever. data: ld_error type sy-subrc, ld_reciever type sy-subrc, ld_mtitle like sodocchgi1-obj_descr, ld_ like somlreci1-receiver, ld_format type so_obj_tp, ld_attdescription type so_obj_nam, ld_attfilename type so_obj_des, ld_sender_address like soextreci1-receiver, ld_sender_address_type like soextreci1-adr_typ, ld_receiver like sy-subrc. data: t_packing_list like sopcklsti1 occurs 0 with header line, t_contents like solisti1 occurs 0 with header line, t_receivers like somlreci1 occurs 0 with header line, t_attachment like solisti1 occurs 0 with header line, t_object_header like solisti1 occurs 0 with header line, w_cnt type i, w_sent_all(1) type c, w_doc_data like sodocchgi1. ld_ = p_ . ld_mtitle = p_mtitle. ld_format = p_format. ld_attdescription = p_attdescription. ld_attfilename = p_filename. ld_sender_address = p_sender_address. ld_sender_address_type = p_sender_addres_type. * Fill the document data. w_doc_data-doc_size = 1. * Populate the subject/generic message attributes w_doc_data-obj_langu = sy-langu. w_doc_data-obj_name = 'SAPRPT'. w_doc_data-obj_descr = ld_mtitle. w_doc_data-sensitivty = 'F'. * Fill the document data and get size of attachment clear w_doc_data. read table it_attach index w_cnt.

8 w_doc_data-doc_size = ( w_cnt - 1 ) * strlen( it_attach ). w_doc_data-obj_langu = sy-langu. w_doc_data-obj_name = 'SAPRPT'. w_doc_data-obj_descr = ld_mtitle. w_doc_data-sensitivty = 'F'. clear t_attachment. refresh t_attachment. t_attachment[] = it_attach[]. * Describe the body of the message clear t_packing_list. refresh t_packing_list. t_packing_list-transf_bin. t_packing_list-head_start = 1. t_packing_list-head_num = 0. t_packing_list-body_start = 1. describe table it_message lines t_packing_list-body_num. t_packing_list-doc_type = 'RAW'. append t_packing_list. * Create attachment notification t_packing_list-transf_bin = 'X'. t_packing_list-head_start = 1. t_packing_list-head_num = 1. t_packing_list-body_start = 1. describe table t_attachment lines t_packing_list-body_num. t_packing_list-doc_type = ld_format. t_packing_list-obj_descr = ld_attdescription. t_packing_list-obj_name = ld_attfilename. t_packing_list-doc_size = t_packing_list-body_num * 255. append t_packing_list. * Add the recipients address clear t_receivers. refresh t_receivers. t_receivers-receiver = ld_ . t_receivers-rec_type = 'U'. t_receivers-com_type = 'INT'. t_receivers-notif_del = 'X'. t_receivers-notif_ndel = 'X'. append t_receivers. call function 'SO_DOCUMENT_SEND_API1' exporting document_data = w_doc_data put_in_outbox = 'X' sender_address = ld_sender_address sender_address_type = ld_sender_address_type commit_work = 'X' importing sent_to_all = w_sent_all tables packing_list = t_packing_list contents_bin = t_attachment contents_txt = it_message receivers = t_receivers exceptions too_many_receivers = 1 document_not_sent = 2 document_type_not_exist = 3

9 operation_no_authorization = 4 parameter_error = 5 x_error = 6 enqueue_error = 7 others = 8. * Populate zerror return code ld_error = sy-subrc. * Populate zreceiver return code loop at t_receivers. ld_receiver = t_receivers-retrn_code. endloop. "SEND_FILE_AS_ _ATTACHMENT *& Form GET_SPOOL_NUMBER * text * * * -->P_SY_REPID text * -->P_SY_UNAME text * <--P_MI_RQIDENT text * * form get_spool_number using f_repid f_uname changing f_rqident. data: lc_rq2name like tsp01-rq2name. concatenate f_repid+0(9) f_uname+0(3) into lc_rq2name. select * from tsp01 where rq2name = lc_rq2name order by rqcretime descending. f_rqident = tsp01-rqident. exit. endselect. if sy-subrc ne 0. clear f_rqident. " GET_SPOOL_NUMBER Disclaimer & Liability Notice This document may discuss sample coding, which does not include official interfaces and therefore is not supported. 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 of the code and methods suggested here, and anyone using these methods, is doing it under his/her own responsibility. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of the technial article, including any liability resulting from incompatibility between the content of the technical article and the materials and services offered by SAP. You agree that you will not hold SAP responsible or liable with respect to the content of the Technical Article or seek to do so.

10 Copyright 2004 SAP AG, Inc. All Rights Reserved. SAP, mysap, mysap.com, xapps, xapp, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product, service names, trademarks and registered trademarks mentioned are the trademarks of their respective owners.

Tracking Zero Record Loads

Tracking Zero Record Loads Applies To: SAP BW 3.0 and Above. Summary Sometimes when we extract data from source systems such as R3, flat files, or databases, we see the load finish successfully but deliver no new records to BW.

More information

To Check the Files/Reports in Application Server and Trigger Mail Alerts

To Check the Files/Reports in Application Server and Trigger Mail Alerts To Check the Files/Reports in Application Server and Trigger Mail Alerts Applies to: SAP BW 3.0b, SAP BW 3.5, Will also work on SAP BI 7 For more information, visit the Business Intelligence homepage Summary

More information

ABAP Code - Recipients (Specific Format) SAP BW Process Chain

ABAP 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 information

Applies To:...1. Summary...1. Table of Contents...1. Procedure..2. Code... Error! Bookmark not defined.0

Applies 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 information

A Simple search program for Dictionary objects

A 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 information

How to Create Tables in MaxDB using SQL Studio

How 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 information

Procedure to Trigger Events in Remote System Using an ABAP Program

Procedure 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 information

Selection-Screen Design

Selection-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 information

Triggering the Process Chains at Particular Date using Events

Triggering 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 information

SDN Community Contribution

SDN 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 information

BW 3.1 Open Hub Extraction Enhancement: Using Literal Filename & Path

BW 3.1 Open Hub Extraction Enhancement: Using Literal Filename & Path BW 3.1 Open Hub Extraction Enhancement: Using Literal Filename & Path Applies To: SAP BW Open Hub Extraction Article Summary With the help of Open Hub, you can extract data from BW and save it to the application

More information

Function Module to Create Logo

Function Module to Create Logo Applies To: SAP 4.0-4.7 Summary Utilities Function Module to create a Logo on a Custom Control Container. By: Arpit Nigam Company and Title: Hexaware Tech. Ltd., SAP Consultant Date: 26 Sep 2005 Table

More information

Reporting Duplicate Entries

Reporting 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 information

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

Integration 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 information

ABAP Program to Read/Populate Selection Screen Parameters Dynamically

ABAP 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 information

Customizing Characteristic Relationships in BW-BPS with Function Modules

Customizing 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 information

Creation 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 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 information

Custom Process types Remote Trigger and End Time

Custom 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 information

Easy Lookup in Process Integration 7.1

Easy 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 information

SAP BW Copy Existing DTP for Data Targets

SAP 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 information

Routines in SAP BI 7.0 Transformations

Routines 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 information

Download SAP Query Output to Local/ Network Folders in Background

Download 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 information

SMT (Service Mapping Tool)

SMT (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 information

Dynamically Enable / Disable Fields in Table Maintenance Generator

Dynamically 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 information

How 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 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 information

Easy Application Integration: How to use the Records Management Call Handler Framework

Easy Application Integration: How to use the Records Management Call Handler Framework Easy Application Integration: How to use the Records Management Call Handler Framework Applies to: SAP NetWeaver > 7.0 For more information, visit the Data Management and Integration homepage. Summary

More information

Web Dynpro ABAP: Dynamic Table

Web 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 information

Creating Alerts for Process Chains

Creating  Alerts for Process Chains Creating Email Alerts for Process Chains Applies to: SAP BW 7.0. For more information, visit the Business Intelligence homepage. Summary The standard alerting system for process chains can only send alerts

More information

POWL: Infoset Generation with Web Dynpro ABAP

POWL: 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 information

ABAP Code Sample to Attach F1 and F4 Help Fields in ALV Grid

ABAP Code Sample to Attach F1 and F4 Help Fields in ALV Grid ABAP Code Sample to Attach F1 and F4 Help Fields in ALV Grid Code samples are intended for educational use only, not deployment They are untested and unsupported by SAP SAP disclaims all liability to any

More information

How to Create and Schedule Publications from Crystal Reports

How 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 information

Table Row Popup in Web Dynpro Component

Table 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 information

SDN Community Contribution

SDN 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 information

Creating a Development Component

Creating a Development Component Applies To: SAP WAS 6.40 SP9, NWDS 2.0.9 Summary This blog attempts to develop a reusable utility component which can be used in WebDynpro development using NWDS and there by reducing the development time.

More information

SDN Community Contribution

SDN 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 information

ABAP Code Sample to Display Data in ALV Grid Using Object-Oriented Programming

ABAP Code Sample to Display Data in ALV Grid Using Object-Oriented Programming ABAP Code Sample to Display Data in ALV Grid Using Object-Oriented Programming Code samples are intended for educational use only, not deployment. They are untested and unsupported by SAP. SAP disclaims

More information

SDN Community Contribution

SDN 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 information

MDM Syndicator: Custom Items Tab

MDM 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 information

How 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 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 information

ABAP Code Sample for Data Browser Using ALV Grid

ABAP Code Sample for Data Browser Using ALV Grid ABAP Code Sample for Data Browser Using ALV Grid Applies To: ABAP Summary : Here is a code sample that performs the operation similar to Data Browser. This adopts the simplest way to display any table

More information

Customized Transaction to Trigger Process Chain from Failed Step

Customized 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 information

Common Queries/Errors while working with Adobe Print PDF Forms

Common 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 information

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

This 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 information

Freely Programmed Help- Web Dynpro

Freely 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 information

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers

A 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 information

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

Open 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 information

SAP BW - PSA/Change Log Deletion Governance

SAP BW - PSA/Change Log Deletion Governance SAP BW - PSA/Change Log Deletion Governance Applies to: SAP Net Weaver 2004s BI 7.0 Ehp1 SP 05. For more information, visit EDW homepage Summary This article suggests importance of PSA/Change log deletion

More information

Step by Step Guide to Enhance a Data Source

Step 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 information

Implementing Customer Exit Reporting Variables as Methods

Implementing 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 information

Custom BADI Using Function Module UJQ_RUN_AXIS_QUERY

Custom BADI Using Function Module UJQ_RUN_AXIS_QUERY Custom BADI Using Function Module UJQ_RUN_AXIS_QUERY Applies to: SAP Business Planning and Consolidation for NetWeaver 7.0. Summary This Guide covers how to use Custom BADI and the functionality of the

More information

Using Radio Buttons in Web Template

Using 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 information

Extracting 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 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 information

Material Master Archiving in Simple Method

Material 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 information

Dialog Windows in WebDynpro ABAP Applications

Dialog 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 information

A Simple Web Dynpro Application to Locate Employee s Location into Google Map

A Simple Web Dynpro Application to Locate Employee s Location into Google Map A Simple Web Dynpro Application to Locate Employee s Location into Google Map Applies to: SAP Net Weaver 7.0, ABAP. For more information, visit the Web Dynpro ABAP homepage. For more information, visit

More information

Add-ons performance analysis using.net Profiler tool

Add-ons performance analysis using.net Profiler tool Add-ons performance analysis using.net Profiler tool Summary In the article B1TE: B1 Test Environment tools a set of profiling tools for SAP B1 add-ons is presented. You can use these tools to profile

More information

Financial Statement Version into PDF Reader

Financial 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 information

Program 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 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 information

How to Write Inverse Routine with Expert Routine

How 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 information

Step by Step Method for File Archival in BW

Step by Step Method for File Archival in BW Step by Step Method for File Archival in BW Applies to: SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the EDW homepage. Summary This document will give the reader step by step approach

More information

Working with Tabstrip in Webdynpro for ABAP

Working 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 information

Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP

Working 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 information

Add /Remove Links on ESS Home Page in Business Package 1.5

Add /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 information

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

MDM 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 information

Step by Step Guide to Creating a Process Type to Close an Open Request in a Cube in BI 7.0

Step by Step Guide to Creating a Process Type to Close an Open Request in a Cube in BI 7.0 Step by Step Guide to Creating a Process Type to Close an Open Request in a Cube in BI 7.0 Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage. Summary You want to create

More information

SDN Community Contribution

SDN 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 information

How to Extend an Outbound IDoc

How to Extend an Outbound IDoc Applies to: Developing and configuring SAP Intermediate Documents (IDocs) for data transfer. Related till version ECC 6.0. For more information, visit the Idoc homepage and the ABAP homepage. Summary This

More information

How to Create and Execute Dynamic Operating System Scripts With XI

How 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 information

Totals in Adobe forms

Totals 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 information

Web Dynpro: Coloring Table Conditionally

Web 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 information

DB Connect with Delta Mechanism

DB 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 information

Internationalization in WebDynpro ABAP Applications

Internationalization 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 information

SDN Community Contribution

SDN 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 information

Exposing the XI monitoring functionality as a Web Service

Exposing the XI monitoring functionality as a Web Service Exposing the XI monitoring functionality as a Web Service Applies to: SAP Exchange Infrastructure (SAP NetWeaver Process Integration 7.0) Summary The document shows you a way to fetch the XI monitoring

More information

How to Attach Documents to Any Custom Program Using Generic Object Services

How to Attach Documents to Any Custom Program Using Generic Object Services SDN Contribution How to Attach Documents to Any Custom Program Using Generic Object Services Applies to: SAP R/3 4.6C Summary This sample code describes the steps needed to easily add file attachment feature

More information

Web Dynpro ABAP: Changing ALV Contents and Saving in Database

Web Dynpro ABAP: Changing ALV Contents and Saving in Database Web Dynpro ABAP: Changing ALV Contents and Saving in Database Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary The article is aimed to help beginners in Webdynpro

More information

Developing Crystal Reports on SAP BW

Developing 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 information

Material Listing and Exclusion

Material 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 information

How to Create your Own Rule in Workflow?

How 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 information

How to Default Variant Created for Report Developed In Report Painter/Writer

How 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 information

Restricting F4 (Input Help) Values While Running a SAP BW Query

Restricting F4 (Input Help) Values While Running a SAP BW Query Restricting F4 (Input Help) Values While Running a SAP BW Query Applies to: SAP BI 7.01 Summary This article briefs out the way to restrict F4 values (Input help values) while running a SAP BW query with

More information

Graphical Mapping Technique in SAP NetWeaver Process Integration

Graphical 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 information

Data Extraction & DS Enhancement in SAP BI Step by Step

Data 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 information

Validity Table in SAP BW/BI

Validity 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 information

Material Master Extension for New Plant

Material 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 information

How to Configure User Status in mysap SRM

How 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 information

Role and Scope of ABAP in SAP BI

Role and Scope of ABAP in SAP BI Role and Scope of ABAP in SAP BI Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage Summary The document provides a detailed description of the usage of APAP in SAP BI. Author:

More information

Limitation in BAPI Scheduling Agreement (SA) Create or Change

Limitation 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 information

Displaying SAP Transaction as Internet Application in Portal

Displaying 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 information

How to Download Multiple Files in ZIP using WebDynpro Java

How to Download Multiple Files in ZIP using WebDynpro Java How to Download Multiple Files in ZIP using WebDynpro Java Applies to: SAP NetWeaver 7.0 SP15 and onwards, For more information, visit the Web Dynpro Java homepage. Summary The document provides the core

More information

Information Broadcasting Part 3 Scheduling the First Report

Information Broadcasting Part 3 Scheduling the First Report Information Broadcasting Part 3 Scheduling the First Report Applies to: SAP BW 3.5 Summary This is part-3 article in the Information broadcasting (IB) series. Some things have already been discussed like

More information

ecatt Part 6 System Data Container

ecatt 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 information

How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name

How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name Applies to: This document applies to SAP ECC 6.0, SAP Netweaver 2007 and above. For more information, visit the Web Dynpro

More information

Open Hub Destination - Make use of Navigational Attributes

Open 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 information

Using Drop Down By Index in Table UI Element in WebDynpro ABAP

Using 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 information

Linking Documents with Web Templates

Linking 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 information

Recreating BIA Indexes to Address the Growth of Fact Index Table

Recreating 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 information

Custom Body through Action Configuration

Custom Body through Action Configuration Email Custom Body through Action Configuration Applies to: SAP CRM 7.0. For more information, visit the Customer Relationship Management homepage. Summary This document helps in implementing the custom

More information

SDN Community Contribution

SDN 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 information

Table Properties and Table Popin

Table Properties and Table Popin Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary This article is designed to explain for setting the properties of Table at runtime based on condition and also

More information