SAP ABAP IMG Activity ALV_PRINT01 (Create RFC Destination in AS Java)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-CUS-TOL (Application Component) Customizing Tools (Techniques)
⤷
S_UI_CUSTOMIZING (Package) UI Customizing

⤷

⤷

IMG Activity
ID | ALV_PRINT01 | Create RFC Destination in AS Java |
Transaction Code | S_BCE_68002253 | (empty) |
Created on | 20050531 | |
Customizing Attributes | ALV_PRINT01 | Create RFC Destination in AS Java |
Customizing Activity |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | ALV_PRINT01 |
Use
The SAP List Viewer creates a PDF version of the table, optimized for printing. There are two ways of generating the PDF document:
- Adobe Document Services (ADS)
This requires a connection to an AS Java. It must have Usage Type BI Java (and thus also Usage Type EP).
This AS Java must have a Web Service connection to ADS, whether or not this service is on the same AS Java or another. - SAP BI Export Library (SAP)
In this case, the destination must be an AS Java with Usage Type BI Java. This option is available in AS Java release 7.02 or 7.2.
NOTE: For more information, see SAP Note 1413938.
If you have no AS Java, you can deactivate print version display, centrally. See: Maintain Web Dynpro ABAP-Specific Settings.
Requirements
Standard settings
Activities
To generate the PDF version, you need a connection between the AS ABAP on which your Web-Dynpro applications run, and the AS Java. Maintain the destinations in both systems:
- Create RFC destination in AS Java
To be able to use the RFC connection to AS Java, in the ABAP system, the destination must exist in the AS Java. Proceed as follows, depending on the AS Java release: - Up to SAP NetWeaver 7.00, 7.01 or 7.02 (including SPs):
See the section below: Create RFC destination in AS Java (in Visual Administrator) - From 7.2 (including SPs)
See the section below: Create RFC destination in AS Java (in SAP NetWeaver Administrator) - Create RFC Destination in AS ABAP (transaction SM59)
You have instantiated an RFC server in the AS Java, in which you can now register as RFC client in AS ABAP, in step 1. Do this by creating an RFC connection. - Set up Web service destination for the Adobe Document Services
Adobe Document Services (ADS) requires an additional connection between the AS Java and the AS JAVA on which ADS runs.
Create RFC destination in AS Java (in Visual Administrator)
To create an RFC destination in the in AS Java:
- Open the Visual Administrator. Choose:
- under Windows, the directory <drive>:\usr\sap\<SID>\JC<INSTANCE>\ j2ee\admin
- under Unix the directory /usr/sap/<SID>/JC<INSTANCE>/j2ee/admin.
Double-click on the file go.bat. - In the Visual Administrator logon screen, choose a connection, and choose Connect.
- Enter the password for the connection. You are now connected to the Visual Administrator.
- In the directory, choose <SID>/server<#>/services/Jco RFC provider.
- Update an RFC destination:
- Program ID: <PORTAL_HOSTNAME>_PORTAL_<SID>
Enter a unique program ID. - Gateway host: <GATEWAY_HOST>
Enter the AS ABAP gateway on which your Web-Dynpro applications run. - Gateway service: sapgw<SYSTEM_NUMBER>
- Number of processes (1..20): 20
- Application server host: see Gateway host
- System number: <SYSTEM_NUMBER>
- Client: <CLIENT>
- Language: EN
- User: <USER>
(user in application system with authorization S_RFC) - Password: <PASSWORD>
- Copy the RFC destination to the available RFC destinations with Set.
- Start the RFC Server using Start.
Create RFC destination in AS Java (in SAP NetWeaver Administrator)
To create an JCo RFC destination in the in AS Java:
- Call the SAP NetWeaver Administrator with http://<Server>:<Port>/nwa.
<Server> is the AS Java in which the SAP NetWeaver Administrator is installed, and <Port> is the HTTP port of AS Java. - Choose Configuration Management -> Infrastructure -> JCo RFC Provider.
You go to the JCo RFC destination maintenance. - Choose Create.
- Enter the server configuration data in step 1:
- Program ID: <PORTAL_HOSTNAME>_PORTAL_<SID>
Enter a unique program ID. - Gateway host: <GATEWAY_HOST>
Enter the AS ABAP gateway on which your Web-Dynpro applications run. - Gateway service: sapgw<SYSTEM_NUMBER>
- Number of servers (1..20): 20
- Enter the repository configuration data in step 2:
- Application server host: see Gateway host
- System number: <SYSTEM_NUMBER>
- Client: <CLIENT>
- User: <USER> (user in application system with authorization S_RFC)
- Password: <PASSWORD>
- Language: EN
- Enter the security setting data in step 3.
You can use Secure Network Connection (SNC), and enter its data. - Enter other options in step 4.
You can specify the instance for the servers, and whether RFC traces are to be recorded. - Choose Complete, to confirm your entries.
The destination now appears in the initial screen in the table, with the status Running.
Example
Business Attributes
ASAP Roadmap ID | 262 | Technical and Graphical Settings |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | ALV_PRINT01 | 0 | B200001577 | Web Screen Tools - ABAP |
Maintenance Objects
Maintenance object type |
History
Last changed by/on | SAP | 20140819 |
SAP Release Created in | 710 |