Skip to Content

Hi all,

While working on a project I got stuck on a development based on Print workbench.

The following document can help to understand this tool and can serve as step by step guide.

This document is based on a specific scenario in HR module ->Succession Planning -> Talent Review Meeting where Handouts are created to review talents.

Hopefully this helps to understnd the basic flow of development.

Thanks and regards,

Harshada Patil

Colagate Palmolive(I) Ltd.

  

Handout is the document generated through Talent Review Meeting as a part of Succession Planning.

Step 1. Analyze from where this document is triggered and the configurations / customization involved.

1.  Check where Talent review meetings are generated

/wp-content/uploads/2013/01/p2_171969.png

2. Click on any of the meeting which will launch the TRM …Here you will see option to generate Handout document.

/wp-content/uploads/2013/01/p3_172004.png

3.   Clicking on any one option above will create Handout – PDF document which generally consists of following pages

·                     Cover page

·                     Agenda of TRM

·                     Summurized calibration grid showing PP( Performance / Potential) of all the Talents which are part of this Talent Review Meeting

·                     Short profile display of individual talent

·                     Detail profile display of individual talent

Step2 : Now try to understand the technical flow how this document is generated

1.  This document is generated as result of method CREATE_HANDOUT_DOCUMENT from class CL_HRTMC_RM_UTILS (Available in Package PAOC_TMC )

2.  Just glancing through this method will explain how the document is generated

/wp-content/uploads/2013/01/p4_172005.png

3. Set a external debugging point for this method and  try to create handout

4. This will help you to find the formkey (application form name )for each page.

/wp-content/uploads/2013/01/p5_172006.png

5. This assignment is done in customization which is available at following path

/wp-content/uploads/2013/01/p6_172007.png

/wp-content/uploads/2013/01/p7_172008.png

Step 3: Understand what this Parameter value is

1. It is name of a application form – object developed as part of Print workbench

2. Follow steps given below to build your own applications.

Print workbench design consists of following components

1. Form class

2. Application form

3. Form used for layout design – Sapscript / Smartform / ADOBE form

To start with design refer tcode PWB as below

/wp-content/uploads/2013/01/t1_172009.png

Step 1: Create Form class

/wp-content/uploads/2013/01/t2_172013.png

Select the appropriate type of form which you want to create for layout.

/wp-content/uploads/2013/01/t3_172017.png

Now Form class is ready for design. Create child node

/wp-content/uploads/2013/01/t4_172019.png

For example if we are creating this application to represent talent profile of employee, the final output here is created as child node of form class.

Note following fields :

Name : any name for the child node

Table / Structure : This should be a existing reference from DDIC. Since we are creating employee talent profile , here reference is given as HRMC_S_PDF_TALENT ( can be categorized as input field)

Description : Description regarding node

DDIC structure: This structure will be auto generated based on the hierarchy which is created for the node. See next screen shot for details about how this structure is generated.

/wp-content/uploads/2013/01/q1_172020.png

Activate Form class and then follow following steps

/wp-content/uploads/2013/01/q2_172021.png

Now if you click on tree structure of node Result you will see additional 

/wp-content/uploads/2013/01/q3_172025.png

This shows that the read routine can be created to read values in structure. Also now if you double click on DDIC structure ZTEST_STR_TALENT the details will be available

/wp-content/uploads/2013/01/q4_172027.png

Now create child nodes for RESULT node – the way in which you want to derive the final structure. In this case we might want to retrieve employee personal details/ education / employment history etc.

First child node we will create as personinfo.  Decide the type based on whether there will be multiple values available or a single value for this structure. In personifo we can retrieve name / DOB / Nationality ..So its multiple value against this node , hence type selected as (1:n). Again the structure referred from dictionary can be used to create multiple entries as attribute name and attribute value.

Generated types will be created as shown in above step. Note the naming convention suggested is <prefix>_str_<node name> for structure and <prefix>_tt_<table type>

/wp-content/uploads/2013/01/w1_172028.png

Now activate your form class again. Generate DDIC objects and check structure ZTEST_STR_TALENT  now , the you can see the change

/wp-content/uploads/2013/01/w2_172029.png

In this way all the components can be added to our required object.

Add the required structures to Node RESULT using the same steps as discussed above.

/wp-content/uploads/2013/01/w3_172031.png

Now the class is ready to be used.  Activation of this class also generates the report and subroutines for handling data retrieval. This code can be viewed by clicking on below highlighted option or by double clicking on Library name

/wp-content/uploads/2013/01/w4_172034.png

Following code is generated by this class

a1.JPG

Change the routines as per required logic.

Create Interface based on the structure of form class root node ZTEST_STR_TALENT as  below

/wp-content/uploads/2013/01/z1_172037.png

Create a pdf form using this interface

/wp-content/uploads/2013/01/z2_172041.png

Now create application form based on this information as below – Goto tcode EFRM

/wp-content/uploads/2013/01/z3_172042.png

/wp-content/uploads/2013/01/z4_172043.png

Using this form redesign the layout and use the application form against customization as mentioned initially.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply