P. 1
ABAP HR- Benefits

ABAP HR- Benefits

|Views: 13|Likes:
Published by Shiva Annaldas

More info:

Published by: Shiva Annaldas on Jun 06, 2013
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less






Benefits :- Mainly used in USA and maintain third party. Considered as EE and ER contributions. EE dependents like (father,mother,spouse,son,daughter).. Simply called as , Insurance or Corporate medical proposes (TTK,Mediassist..) In SAP we have to configure with different plans. 1-Health plan 2-Saving Plan 3-Insurance Plan 4-Cobra Plans 5-Flexible Spending Accounts (FSAs) 6-Stock Purchase Plans 7-Credit Plans 8-Miscellaneous Plans SAP Configuration path :-SPRO-PM-Benefits (have to do backend config.) Main infotypes are , IT167(Health plan),IT168(Saving plan),IT169 (Insurance plan)and IT171(General Benefits Information). We have to the enrollments.

more generous than legislation requires, and to allow regular plan participation to continue even when certain events occur. If you do not select a particular event type, the system will not collect qualified beneficiaries who experience that event. 2. If non-resident aliens who receive no income from US sources are excluded from qualifying for COBRA, enter the appropriate residence status. The residence status is stored on the Residence Status (infotype 0094) record.

If the health insurance plan administrator receives notice from an individual of a qualifying event. Divorce. such as domestic partners and their children. as determined by the plan's termination rule. is not relevant for a domestic partner. 5. predefined in the system. rather than all COBRA-relevant plans for which they were eligible. Indicate whether the legally required COBRA coverage continuation period begins when a COBRA qualifying event occurs or when regular health coverage ends. for other persons. including that the notice of the qualifying event was incomplete or not furnished in a timely manner. 4. you can determine whether or not certain types of persons can be COBRA-qualified beneficiaries for certain types of COBRA qualifying events.3. spouses. This Notice must be provided regardless of the reason for denying the request for COBRA coverage. Standard settings Certain potential COBRA-qualified beneficiaries are predefined in the system (as explained above). therefore. the administrator must notify the individual of the unavailability and explain why COBRA coverage is not available. your company policy will determine which events qualify a person for COBRA coverage. Use the indicator Restrict offer to last participation to specify whether you want to offer qualified beneficiaries only those COBRA-relevant plans and plan options in which they were enrolled prior to the qualifying event. children. The Notice of Unavailability of COBRA Coverage must be sent within the time frame specified for the COBRA Election Notice. For any additional types of person that you want to specify as potential qualified beneficiaries. The types of events for which these types of person can be qualified beneficiaries are. For each type of event. or of a Social Security disability determination and the administrator determines that COBRA coverage or an extension of COBRA coverage is not available. Define Additional Qualified Beneficiary Subtypes Use In this step. The types of person who can be qualified beneficiaries are determined by the subtype of theFamily/Related Persons infotype (0021). the system only allows you to specify those events that make sense for the type of person that you have selected. Use the indicator Offer only FSAs with positive balance to specify whether you want to offer COBRA coverage continuation only for those FSAs that have a positive balance on the date of the COBRA event or for all FSAs regardless of their balance. Example Examples of reasons for the unavailability of COBRA coverage include: Voluntary Drop of Coverage There has been no loss of group coverage Coverage was previously terminated for non-payment of premiums The SSA disability determination was not provided within 60 days of receipt The disability did not occur during the first 60 days under COBRA The company terminated the group plan and no alternative plan is available The person moved from the insurer's service area. you enter and store the Unavailability Reasons for COBRA coverage. Define Unavailability Reasons Use In this IMG activity. for example. This is the case for employees. and stepchildren. However. COBRA legislation prescribes which types of person can become qualified beneficiaries. a second qualifying event. You therefore need to specify in this step any such additional persons who can qualify. no alternate is available Define Early Termination Reasons .

COBRA enrollment form. COBRA confirmation forms. COBRA confirmation form. the beneficiary notifies the employer that she is no longer disabled. a reason is automatically recorded on the COBRA-Qualified Beneficiary infotype (0211). you define the possible reasons for early termination of COBRA coverage. you set up the SAPscript templates for COBRA letters. The employer terminates COBRA coverage and the reason Non-payment of premium is recorded on infotype 0211. Set Up SAPScript Forms In this section of the IMG you set up the form layout for COBRA letters and prepare the standard COBRA letters using SAPscript. When COBRA coverage is terminated early in the COBRA Participation tool. for example. Form Setup In this section of the IMG. Standard settings In the standard system a number of SAPscript forms are provided as templates for printing the COBRA letter. as required in your organization. and COBRA invoices. Microsoft Word®. Set Up SAPScript Templates In this step. The standard letter for a COBRA-qualifying event is generated from two SAPscript templates: Template Short Description HR_BEN_COB_LET01 COBRA eligibility notification HR_BEN_COB_ENRO COBRA enrollment form If you intend to use the COBRA Administration module only up to the point of letter generation. You copy these forms from client 000 to your customizing client. The following table shows the characteristics of form printing using SAPscript or office templates.In this step. and may help you to decide which technology you want to use: SAPscript Office Suitable for efficient mass processing Recommended for a smaller set of forms only Stability depends on front end installation Works on all platforms supported by Works only in connection with a front end running the SAP GUI for SAP Windows and the corresponding office application Supports printing in background Background printing not supported (*) Knowledge of SAPscript and/or ABAP Knowledge of Microsoft Word® and/or VBA® required for required for customizing customizing (*) Background printing cannot be supported technically with office forms. A disabled beneficiary is granted 11 months additional coverage on top of the basic 18 month continuation period. However. Within this 11 months. if you also want to enroll COBRA-qualified beneficiaries in plans and generate invoices for them you require copies of the following additional templates in your customizing client: Template Short Description . since no SAP front end is available to run the office application. you only need to copy and modify only these two templates. and COBRA invoice. you set up form/letter templates for COBRA using either SAPscript or office applications. Example A beneficiary fails to make payments within the specified payment period. These entries are freely definable. where you can modify their layout as required. The employer terminates COBRA coverage and the reason No longer disabled is recorded on infotype 0211. respectively. COBRA enrollment forms.

The windows and their contents are listed below. The enrollment form lists all COBRA-relevant plans for which the person in question is eligible plus the possible dependents who may be covered by these plans. Depending on what persons actually qualify for COBRA. NEXT. a single notice of continuation rights is printed. the spouse or divorced spouse. The election form layout varies for employee. The notice of continuation rights and the COBRA election form are both generated from your copy of SAPscript template HR_BEN_COB_LET01. whereas the COBRA enrollment form is generated from your copy of SAPscript template HR_BEN_COB_ENRO. NEXT. These symbols are replaced at run time by their values on the given letter date. In addition. If the relevant dependent address has not been maintained. For each COBRA-qualified beneficiary. ELECTION PAGECNT Page numbering NEXT QBADDR COBRA beneficiary address FIRST In each window. COBRA Letter Generation The subroutine SAP_GENERATE_EVENT_LETTER of program RPUCOB02 generates letters as follows: 1. For each qualifying event. ELECTION MAIN COBRA notification FIRST. COBRA Eligibility Notification The format and text of the eligibility notification parts of the standard COBRA letter must be contained in your copy of SAPscript form HR_BEN_COB_LET01: Part 1 (notice of continuation rights) is printed on several pages whose layout is defined by the form pages FIRST and NEXT. if applicable. or a dependent child (in this order). with an indication of the pages on which they will be positioned when a form is printed: Window Content Printed on page DATE Letter date FIRST. a COBRA election form is printed. ELECTION HEADER Header lines FIRST. SAPscript symbols are used as placeholders for data stored in or produced by the SAP System. On the standard SAPscript form HR_BEN_COB_LET01. and dependent children.HR_BEN_COB_CONF COBRA confirmation form HR_BEN_COB_INVO COBRA invoice The features and use of all standard templates are addressed in more detail in the following sections. 2. 3. NEXT EVDATA COBRA event data FIRST FOOTER Footer lines FIRST. allowing not only the choice of individual COBRA coverage. the system uses the employee's permanent address instead (subtype '1' of the Addresses infotype 0006). spouse or divorced spouse. Part 2 (COBRA election form) is printed on a separate page ELECTION. but of family coverage as well. The following data structures from the ABAP Dictionary can be read and data inserted by the COBRA Letter Generation program (RPUCOB02): Data Structure Short Description P0006 Address (subtype 1 = Permanent address) P0021 Family / related persons P0106 Related persons (North America) RPCOBLET01 COBRA letter variables . NEXT COBRA election form ELECTION MAINFRM Frame for window MAIN FIRST. text is inserted into a number of text windows. a COBRA enrollment form is printed for each qualified beneficiary. the notice is addressed either to the employee.

respectively. The windows and their meanings are listed below. respectively. and it is indicated on which pages they will be placed on form output: Window Meaning Printed on DATE Form date All pages FOOTER Footer lines All pages HEADER Header lines First page MAIN COBRA plans All pages MAINFRM Frame for window MAIN All pages PAGECNT Page numbering All pages except first QBADDR COBRA beneficary address First page QBDATA COBRA beneficiary data First page QBDATA2 COBRA beneficiary data All pages except first In each window. only a single text is printed in each of the text windows.RPCOBQBDAT COBRA benefit data With the exception of the window MAIN. HR_BEN_COB_CONF. These symbols are placeholders for data stored in the SAP system and will be replaced at run time by their values as of the given form date. and COBRA invoice. Other COBRA Forms In the standard system. On the standard SAPscript forms. there are two text elements COBRA_NOTICE and COBRA_ELECTION. The following data structures from the ABAP Dictionary are supported in this way by the standard COBRA form driver (function module HR_BEN_COB_FORM_PRINT_SAPSCR ): Data Structure Short Description P0001 Organizational assignment P0002 Personal data P0006 Address (subtype 1 = Permanent address) P0021 Family / related persons P0106 Related persons (North America) RPCOBLET01 COBRA letter variables RPCOBQBDAT COBRA benefit data T001P Personnel area/subarea T500P Personnel area T501T Employee group text T503T Employee subgroup text T549T Payroll area text T5UC3 Benefit area text T5UC9 Second program grouping text T5UCT First program grouping text . SAPscript symbols are used. copies of SAPscript forms HR_BEN_COB_ENRO. each window contains a default SAPscript text element. This procedure is described in the next IMG step. in the case of the window MAIN. which are used to print the notification of continuation rights and the COBRA election form. COBRA confirmation letter. Both of these text elements are composed of standard text modules. in other words. which also need to be copied from client 000 to your customizing client. and HR_BEN_COB_INVO are used for printing the COBRA enrollment form. text and benefits data are printed into a number of text windows. However.

in the case of the window MAIN.Type Plan Option Dep. The driver then formats these text elements and prints them in window MAIN in the order given above. This design gives you a high degree of flexibility when formatting the list of COBRA plans. HR_BEN_COB_INVO). The list of plans therefore contains six entries. It then processes the list entry by entry and successively moves the plan data to either the dictionary structure RPBEN_OA (COBRA offer. with three dependent coverage levels each: EE.Cov Text Element 1 MEDI MED1 OPT1 EE COBRA_AT_FIRST COBRA_AT_NEW_PLTYP COBRA_AT_NEW_BPLAN COBRA_AT_NEW_LEVEL1 COBRA_AT_NEW_LEVEL2 2 MEDI MED1 OPT1 EE+1 COBRA_AT_NEW_LEVEL2 3 MEDI MED1 OPT1 EE+F COBRA_AT_NEW_LEVEL2 4 MEDI MED1 OPT2 EE COBRA_AT_NEW_LEVEL1 COBRA_AT_NEW_LEVEL2 5 MEDI MED1 OPT2 EE+1 COBRA_AT_NEW_LEVEL2 6 MEDI MED1 OPT2 EE+F COBRA_AT_NEW_LEVEL2 .With the exception of the window MAIN. which are printed from the standard text elements in as follows: Entry Pl. However. EE+1. in other words. There are two options for this plan: OPT1 and OPT2. each window contains a default SAPscript text element. the form driver determines the text elements that need to be accessed according to the logic implied by the element names. the window text is distributed across a whole set of text elements. the COBRA health plan MED1 is offered to a qualified beneficiary. For example. only a single text is printed in each of the text windows. and EE+F. forms HR_BEN_COB_CONF. form HR_BEN_ENRO) or RPBEN_DA (COBRA plan display. The following text elements are used to format the output of health plans on a benefits form: Text Element Short Description HEALTH_AT_FIRST Start of COBRA health plans HEALTH_AT_NEW_PLTYP New plan type HEALTH_AT_NEW_BPLAN New plan within given plan type HEALTH_AT_NEW_LEVEL1 New option within given plan HEALTH_AT_NEW_LEVEL2 New dependent coverage within given option HEALTH_AT_END_OF_BPLAN End of given plan HEALTH_AT_END_OF_PLTYP End of given plan type HEALTH_AT_LAST End of COBRA health plans The following text elements are used to format the output of flexible spending accounts on a benefits form: SPENDA_AT_FIRST Start of COBRA flexible spending accounts SPENDA_AT_NEW_PLTYP New plan type SPENDA_AT_NEW_BPLAN New plan within given plan type SPENDA_AT_END_OF_BPLAN End of given plan SPENDA_AT_END_OF_PLTYP End of given plan type SPENDA_AT_LAST End of COBRA flexible spending accounts The form driver HR_BEN_COB_FORM_PRINT_SAPSCR first creates the list of offered or current COBRA plans (forms HR_BEN_COB_ENRO and HR_BEN_COB_CONF / HR_BEN_COB_INVO) and stores it internally. For each entry in the list of plans.

Customizing of windows on the SAPscript form templates When you create your own copies of the SAPscript COBRA forms you can modify the name. The following are the standard text elements used for printing dependent data: Text Element Short Description DEPEND_AT_FIRST Begin of dependent data for given plan DEPEND_AT_EACH_PERSON Data of single dependent DEPEND_AT_LAST End of dependent data for given plan Recommendation The following recommendations apply when changing the layout and contents of SAPscript forms: Naming conventions for SAPscript COBRA forms When you copy the standard SAPscript templates from client 000 to your customizing client. as described in the next points. Customizing of text elements in the window MAIN: COBRA eligibility notification (copy of form HR_BEN_COB_LET01) On the standard form HR_BEN_COB_LET01. The list of supported data structures which may be used as text variables is given above in the sections "COBRA Eligibility Notification" and "Other COBRA Forms". or contents of standard windows. For example. you must not change the names of these text elements. For every possible or current dependent of the plan. size. In the window MAIN the text is broken down into several text elements. or you can . window MAIN contains two text elements: Element COBRA_NOTICE for the notice of continuation rights. if you wish to follow the standard procedure for COBRA eligibility notification. This is true for all windows which contain a single text only. The COBRA form driver infers the SAPscript templates to be used for a particular benefit area from the form names entered in the step Assign Templates to Form Types. For this reason. respectively. to set up COBRA eligibility notices and COBRA enrollment forms with different layouts for each benefit area that you administer in your system. and element COBRA_ELECTION for the COBRA election form. is filled. Keep in mind that the printing program only supplies a limited number of infotype and table work areas with data at run time. You can therefore create several copies of each SAPscript template in your customizing client. Therefore. for example. Processing of these text elements as described above in section "COBRA Eligibility Notification" is hardcoded in subroutine SAP_GENERATE_EVENT_LETTER of the COBRA letter generation program RPUCOB02. the dictionary structure RPBENODP or RPBENDDP. or the COBRA form driver HR_BEN_COB_FORM_PRINT_SAPSCR). but requires the help of a printing program (either subroutine SAP_GENERATE_EVENT_LETTER of program RPUCOB02. you can use your own COBRA text modules instead of the standard ones. customizing of the window MAIN is more restricted. you can save your copies under using any names that meet the naming conventions for SAPscript forms. and this data is inserted into a set of SAPscript text elements. The COBRA form driver produces the list of dependents basically in the same way as the list of plans. layout. all standard windows except MAIN. a list of possible (form HR_BEN_COB_ENRO) or current dependents (forms HR_BEN_COB_CONF. position on page. You can use multiple copies.(***list of dependents***) COBRA_AT_END_OF_BPLAN COBRA_AT_END_OF_PLTYP COBRA_AT_LAST As you can see from entry 6 in the above table. SAPscript therefore cannot automatically generate the text for output. you are free to modify the elements in any other way. HR_BEN_COB_INVO) is printed for a plan before text element COBRA_AT_END_OF_BPLAN is output. However. in other words.

3. Customizing of text elements in window MAIN: Other COBRA forms (copies of forms HR_BEN_COB_ENRO. and COBRA invoice template. etc. return to the Form Painter initial screen. . Repeat the steps 2 and 3 above to create copies of the COBRA enrollment form template. choose Utilities -> Copy from client. you may replace both standard text elements with a single. In this case. Alternatively. Help -> Example The following example shows the steps that you need to follow to change the header on a COBRA enrollment form: 1. For example. The names of these text elements are hardcoded in the COBRA form driver HR_BEN_COB_FORM_PRINT and therefore must not be changed or augmented. In particular. Select Windows and choose Change. just drop text element COBRA_AT_FIRST from your copy of the SAPscript COBRA forms. choose Application help. as described above. For each copy specify a different name in the field "Target form".) The text to be printed in window MAIN. b) Enter HR_BEN_COB_LET01 as the form to be copied in the field Form name. a) From the Form Painter.determine the text modules that are to be printed for a particular COBRA event and beneficiary according to your own logic. HR_BEN_COB_CONF for the COBRA confirmation form. Remember that you need to create copies of the confirmation form and invoice templates only if want to administer COBRA enrollment. the SAPscript composer can print the text of window MAIN without the help of the COBRA printing program. and ensure that the field Source client contains the value 000. Activities 1. Copy the SAPscript templates HR_BEN_COB_LET01 for the COBRA eligibility notification. A copy of the COBRA eligibility notice is created in your customizing client with the name that you specified. HR_BEN_COB_ENRO for the COBRA enrollment form. take into account the data structures supported by the COBRA form driver and the procedure by which the data are supplied at run time. You therefore have the option of deviating from the two-piece layout of the standard COBRA eligibility notification. a qualified beneficiary's COBRA offer (form HR_BEN_COB_ENRO) or overview of current COBRA plans (forms HR_BEN_COB_CONF. and HR_BEN_COB_INVO for the COBRA invoice from client 000 to your customizing client. when you customize text elements. Enter the name of your copied form in the Form field. HR_BEN_COB_INVO). COBRA confirmation form template. 2. is composed of a set of standard text elements. unnamed text element (SAPscript default). However. Repeat steps 2 and 3 above if you require more copies of the COBRA eligibility notification template. 2. Return to the Form Painter initial screen and modify your copies of the standard SAPscript templates as required. c) Choose Execute. you may delete those text elements which you deem as being unnecessary to print the list of current or offered benefits. After you have copied the form HR_BEN_COB_ENRO from client 000. a name for your copy in the field Target form. Note For detailed information about the Form Painter and SAPscript form editing. in other words. Within each standard text element you may choose the format and content freely. See the section "Other COBRA Forms" for details. if you do not need to print additional information at the top of the list.

If this logic and the texts provided do not suit your needs. You do this as follows: 1. if you require. 1. Enter 'EN' in the field language. Select 'Process'. An enrollment form is printed per COBRA-qualified beneficiary. 6. 8. Enter 'EN' in the field Language. Set Up Notification Text In this step. enter an asterisk (*) in the field Text name. In the following screen. Custom letterswhere you can Activities First copy the COBRA texts to the client you are currently customizing. 4. and you should always copy these to your customizing client and modify them there. Change the text as required. new versions may be delivered by SAP to client 000. 5. Double-click on the HEADER window to select it. 11. spouse or children. Choose Forms -> Activate to activate your modifications. you set up the notification texts printed on the standard COBRA letters using SAPscript. you set up templates for your COBRA letters using office applications. Depending on whether it is for the employee. You modify the copied templates to meet your requirements. For more detailed instructions on copying. proceed to implement your own user exit for this purpose. 12. Choose Edit -> Text elements to access the text element editor. 5. Return to the form windows list. 2. Enter 'PACO' in the field Text ID. The master copies of the notification texts are always delivered in client 000. 9. but your modified texts are not overwritten. Select the menu path Utilities -> Copy from client. . 10. 9. The SAP letter generation logic is as follows. as you require. comparing and modifying texts. 8.A list of form windows is displayed. enter the name of the text you want to modify. select the menu path Help -> Extended help. Then modify the texts. You can now modify and save your text. 6. Enter 'PACO' in the field Text ID. Save your changes. 4. Select 'Process'. One of the following letters is always generated: Notice_Of_Continuation_Rights Notice_of_Second_Event Notice_of_Bancruptcy 2. 7. Thus from release to release. In the first screen 'Standard Text: Request'. 7. one or more additional enrollment letters are generated: Election_By_Employee Election_By_Spouse Election_By_Dependent_Child 3. You copy the sample form templates in the Business Document Service (BDS). Set Up Office Templates In this section.

The following generation modes are possible: Print Display (print preview) Customize (the activities in this IMG step) . In the Business Document Navigator.Copy Templates in BDS In this step you copy the sample templates provided by SAP. Standard settings An interface between the application server and a word processor running on the front end enables you to generate forms using office applications. Repeat steps 2 and 3 until you have copied all the templates you need. 2. giving the copy a new name. and column C indicates the structure used for invoice forms. 3. texts HeaderData RPBENFORM_HEADER Data needed for header COBRAData RPCOBLET01 General COBRA data COBRAEvent RPCOBEVENT COBRA event data HealthPlan RPBEN_DA RPBEN_OA RPBEN_DA Health plans SpendaPlan RPBEN_DD RPBEN_OD RPBEN_DD Flexible spending accounts Dependents RPBENDDP RPBENODP Benefit dependents The number of forms that can be printed depends on the form generation mode. These characteristics are listed below: Column A indicates the structure used for confirmation forms. 5. Requirements You have copied the sample form templates in the previous step. The following macros are triggered by the application server: Macro Description InitDisplay() Initialization when form is displayed (print preview) InitPrint() Initialization when form is printed InitCustomize() Initialization when form is opened for customizing InsertData() Generates the form FinishedDisplay() Called after form is generated FinishedPrint() Called after form is generated FinishedCustomize() Called after form is generated DeleteCurrentData() Removes the data inserted by InsertData() (only used for customizing) EditMacro() Opens window to edit macros (only used for customizing) All data required for form generation is collected on the application server and exported to the front end in the form of tables. you set up the office templates for COBRA forms. expand the node for the relevant document and position your cursor on the template that you want to copy. 4. Each exported table is characterized by a public name and a structure that is defined within the SAP System. Save your changes. Activities 1. The interface consists of a set of macros within the form template and a set of tables used for transferring the data needed for generating forms. Modify Templates In this step. Enter a description and language for the document in the following dialog box and choose Continue. Choose Copy document. column B indicates the structure used for enrollment forms. Public Name A B C Description Texts TEXTPOOL Language dep.

in which case you need to set up a translated copy of the template for each language . the macro InsertData() generates a form. amounts. The plan part contains the current or offered benefit plans.Tables("HealthPlan"). Program Flow for Mode "Print" Application Server Front End Open template Word processor opens template with startup macro InitPrint() Loop at "set of selected personnel numbers" -> Read data from database -> Export tables to front end -> Call macro InsertData() InsertData() reads tables. generates form and prints it Endloop Call macro FinishedPrint() Close template Program Flow for Modes "Display" and "Customize" Application Server Front End Read data from database Export tables to front end Word processor opens template with startup macro InitDisplay() or InitOpen template Customizing() which calls InsertData() InsertData() reads tables. and so on. This part has to be generated dynamically by macros. you simply need to change these styles accordingly. Consequently. and so on) are based on styles. formatting the text. All sections and parts of the plan list (for example. You can access the tables via an object model using the public name of the table. These styles start with SAP_A for paragraph styles and SAP_Z for character styles.Container. In the "Customize" mode. This part has a fixed layout and uses fields for inserting the data.table The sample templates use two different techniques to insert data into the two parts of the form: The header part contains the address window and the personnel header data. for example: set table = ThisDocument. generates form Call macro FinishedDisplay() or FinishedCustomizing() In all of these modes. If you want to change the structure or the order of the plan list. or indentations. The "Print" mode can generate forms for a set of personnel numbers. Further notes In order to keep the sample templates language independent. The macro therefore reads the data from the exported tables and inserts it into the template. you need to adjust the macros. the template becomes languagedependent. Note that if you add any coded text to the template or the macros. In order to adapt the header part and the page header and footer to your own needs you can easily modify the template by moving the fields. for example the fonts. all language-dependent texts are read from the exported table 'Texts'. the sample templates do not contain any language-dependent strings. inserting text and pictures.While the modes "Display" and "Customize" generate one form only (for a particular personnel number). which contains all text elements starting with a 'F' from the function group HRBENUSCOBRA. it also prints them. font sizes. plan type. You can change the plan part as follows: If you only want to change the visual appearance of the plan list.

Create a project for the user exit. specify the name of the relevant template and the version number. If you want to use an office template. Before you save the template. Select a form type. Enter a test personnel number and a key date. Custom Letters In this step. if desired. 7. 2. 6. This user exit is called PCOB0001. the form is automatically generated. . You also determine whether you want to use a SAPscript template or an office template. you can access detailed information about each user exit when you assign it to your project (see step 2. Save the template. you assign the form templates to the form types. SAP recommends that you disable visual notification of successfully processed print jobs to prevent repeat messages. Recommendation In order to avoid a virus warning each time a document is opened. Indicate whether you want to use a SAPscript or an office template. Choose Execute. below). see the previous IMG step). Note that the sample templates are always printed to the default printer installed on the front end. Note You should carry out this step only if both of the following apply: The SAP standard processes does not suit your needs. you can check your changes by choosing Refresh to regenerate the form. specify the name of the relevant template. Activities 1. You are a competent ABAP programmer. The text processor appears within the SAP screen. and that each form creates its own print job. In addition. 4. you implement the user exit to set up your own COBRA letters of notification. 5. choose Reset form. a template becomes corrupted if you insert a document variable into the header or footer of a page. see the SAP Library ( Basis Components -> ABAP Workbench (BC-DWB) -> Changing the SAP Standard (BC) -> Customer Exits ). 4. 2. the system uses the corresponding personnel data and plan data to generate a test form so that you can immediately check your changes. you should deactivate the macro virus protection in Microsoft Word® (Tools -> Options -> General). 3. Therefore. if you are printing a large set of forms. b) Choose Create. One possible workaround is to use CustomDocumentProperties as in the sample templates. Specify the form template and form type that you want to modify on the selection screen. If you provided test data in step 2. Activities 1. 3. Due to a bug in Microsoft Word®. Activities 1. Otherwise the template is retrieved from the database. If you provided test data in step 2. If you make these entries. a) Enter a name for your project. For general information about user exits. This removes the test data from the form. You can do this by creating language variants in the Business Document Navigator (for more information. Modify the template. If you want to use a SAPscript template. Assign Templates to Form Types In this step. You need to do this for each frontend (Microsoft Word® installation).required.

c) Select the user exit you want to write code for. . see the exit documentation. c) Choose Save. Assign the user exit(s) to your project. and you can continue to write your coding in it. in this case. 4. Make your coding modifications. d) Choose Back. a) Choose Components. d) Select the include ZXPBCO01.c) Enter the details of your project and choose Save. The system prompts you to create this include. b) Choose Change. 2. Activate your project by returning to the initial screen and choosing Activate project. b) Enter the name of the user exit to implement. PCOB0001. 3. For more information on a user exit. a) Choose Enhancement assignments.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->