Skip to Content
avatar image
Former Member

*enhancement to CAA2* , without using screen -exit , no BADI available

Hi ALL,

Please help ,

I need to enhance the transaction CAA2 , without using screen-exits and till now I am not able to find any BADI for the same. I need to add two fields

1) Collective invoicing date.

2) collection frequency.

Can we do it with the help of BDT.

Hoping to see the responses Its critical,

Regards

saket

Edited by: saket dabi on Sep 30, 2008 8:58 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 30, 2008 at 10:07 AM

    Business Add-in

    BUPA_RELATSHP_UPDATE Business Partner Relationships

    BUPA_PCARD_CHECK Additional Checks for Payment Cards

    BUPA_LOCK Locking of a Business Partner

    BUPA_INTCOMP_IMPORT SAP BP:Imports Detailed Data for Rel.Type Investment in Firm

    BUPA_INTCOMP_EXPORT SAP BP:Exports Detailed Data for Rel.Type Investment in Firm

    BUPA_INDSEC_UPDATE SAP BP: Industry Code Data

    BUPA_INDSEC_IMPORT SAP BP: Imports Industry Data

    BUPA_INDSEC_EXPORT SAP BP: Exports Industry Data

    BUPA_INDSEC_CHECK Additional Checks for Business Partner - Industry Sector

    BUPA_IDENT_UPDATE SAP BP: Identification Numbers

    BUPA_IDENT_CHECK Additional Checks for Business Partner - Identification

    BUPA_GENERAL_UPDATE Business Partner General Data

    BUPA_GENERAL_IMPORT SAP BP: Data Import for Check Mode

    BUPA_RELSHP_EXPORT SAP BP: Export of Managment Table of the BP Relationships

    PARTNER_UPDATE Business Partner

    BUPR_FILTER_RELTYP Filter Relationship Types

    BUPR_FILTER_RELSHP When Reading,Filter Rel'ships using BUB_BUPR_BUT050_LM_READ

    BUPR_CHNG_DATE_APPL BAdI : Validity Dates Change in Relationships for Applcn

    BUPR_CHNG_DATE_API BAdI : Validity Dates Change in Relationships

    BUPA_STATUS Business Partner: Exits for Status Management

    BUPA_SHLP_CONTROL BADI for F4 Help Event SELONE

    BUPA_SAVE_CONTROL Defining the Time of Saving at the BAPIs

    BUPA_ROLE_IMPORT SAP BP: BAdI for Import of Role Data

    BUPA_ROLE_EXPORT SAP BP: Exports Role Data

    BUPA_ROLE_CHECK Additional Checks for Business Partner - Role

    BUPA_ROLES_UPDATE Business Partner Roles

    BUPA_RELSHP_IMPORT SAP BP: Import of Relationship Data - Management Table

    BUPA_BANK_IMPORT SAP BP: Import of Bank Data

    BUPA_BANK_EXPORT SAP BP: BAdI for Export of Checked Bank Data for BP

    BUPA_BANK_CHECK Additional Checks for Business Partner - Bank

    BUPA_AUGRP SAP GP: Exit for Authorization Check > B_BUPA_GRP

    BUPA_APP_MNT_IMPORT SAP BP: Import Indicator for Exchange of Business Hours

    BUPA_APPLI_CHECK BDT: BAdI for Changing Activity Status of the Applications

    BUPA_ADRREL_IMPORT SAP BP: Imports Address References for Relationships

    BUPA_ADRREL_EXPORT SAP BP: Exports Address References for Relationships

    BUPA_ADDR_UPDATE Business Partner Addresses

    BUPA_ADDR_IMPORT SAP BP: Imports Address References (BUT020) and Usages

    BUPA_ADDR_EXPORT SAP BP: Exports Address References (BUT020) and Usages

    BUPA_ADDR_CHECK Additional Checks for Business Partner - Address

    BDT_GUI Changes to Texts/Icons for BDT GUI Additional Functions

    BUPA_BANK_UPDATE Business Partner Bank Data

    BUPA_GENERAL_EXPORT SAP BP: BAdI for Export of General Data for BP

    BUPA_FURTHER_CHECKS Business Partner: Additional Checks

    BUPA_EXTINCL_CHECK BP: Check Data of the BUT000 Extension Include

    BUPA_DO_NOT_CALL BP: Exit for Not Setting the FLG_NOUSE Flags in ADR2

    BUPA_DESCRIPTION_GET Description of SAP BP

    BUPA_DELETION Exit for Archiving/Deleting Business Partners

    BUPA_DA_PREPARE Business Partner: Selection of Data to Be Deleted

    BUPA_CONTPREL_IMPORT SAP BP:Imports Detailed Data for Contact Person Relationship

    BUPA_CONTPREL_EXPORT SAP BP: Exports Detailed Data for Contact Person Rel.

    BUPA_CENTR_CI_CHECK SAP BP: Check Data of the BUT000 CI Include

    BUPA_CCARD_IMPORT SAP BP: BAdI for Import of Payment Card Data for BP

    BUPA_CCARD_EXPORT SAP BP: BAdI for Export of Payment Card Data

    BUPA_CARDS_UPDATE Business Partner: Payment Cards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hey

      thanks for the list of BADI in ISU,

      It would be great if you could guide me through it and tell the stpes to be followed.

      As I could only search the search help badi , in the program of CAA2.

      Regards

      Saket

  • avatar image
    Former Member
    Sep 30, 2008 at 11:49 AM

    Please suggest

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 01, 2008 at 08:41 AM

    Hi brother ,

    I have searched the transaction , there is no BADI and screen exit is not recommended. I am trying to use the EEWB concept and BDT concept but not able to do it , as in EEWB concept there are only 3 business objects and we need to config the business object for CAA2. Can you tell me how to do it ?

    thanks for such and elaborated help for the links provided

    regards

    saket 😊

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      There is no screen enhancement for adding custom fields to CAA1,2,3.... the procedure is as follows.

      1.Add custom fields to structure CI_FKKVKP of the table FKKVKP

      2. Go to Tcode CAWM.

      3. Double Click on Field Groups or Tcode CAS2. Add on New Entries Button and add your field group.

      4. Now click on New Entries Tab and add your custom fields.

      5. Go to SE80 and create a new function group ZCSACCTRTACC.

      Add a new Screen 0100.

      Click on the Layout Button and design the screen by adding the new fields.

      6. Uncomment the modules STATUS_0100 and USER_COMMAND_0100.

      Write the code in PBO (STATUS_0100) and PAI(USER_COMMAND_0100) modules as given below.

      In the PBO Module.

      CALL FUNCTION u2018BUS_PBOu2019.

      In the PAI Module.

      CALL FUNCTION u2018BUS_PAIu2019.

      7. Create two new function modules under the same function group ZCSACCTRTACC for the PBO and PAI modules with the names as Z_CSAC_CONTRACT_ACC_PBO and Z_CSAC_CONTRACT_ACC_PAI

      8. Define internal tables and work areas globally in the TOP include as specified below.

      TABLES: ci_fkkvkp.

      • Structure for FKKVKP

      TYPES: BEGIN OF ty_fkkvkp.

      INCLUDE STRUCTURE fkkvkp.

      TYPES: END OF ty_fkkvkp.

      • Structure for FKKVK

      TYPES: BEGIN OF ty_fkkvk.

      INCLUDE STRUCTURE fkkvk.

      TYPES: END OF ty_fkkvk.

      • Data Declaration

      • Internal Table declaration

      DATA: gt_fkkvkp TYPE STANDARD TABLE Of ty_fkkvkp.

      • Work Area declaration

      DATA: gw_fkkvkp TYPE ty_fkkvkp,

      gw_fkkvk TYPE ty_fkkvk.

      9. Get the contract account category, partner specific details and assign the new fields.

      Write the code in FM Z_CSAC_CONTRACT_ACC_PBO.

      Get the contract account category. Use FM u2018VKK_FICA_FKKVK_GETu2019.

      CALL FUNCTION 'VKK_FICA_FKKVK_GET'

      IMPORTING

      e_fkkvk = gw_fkkvk.

      Get the Contract Account Partner Specific details. Use FM u2018VKK_FICA_FKKVKP_GETu2019.

      CALL FUNCTION 'VKK_FICA_FKKVKP_GET'

      TABLES

      t_fkkvkp = gt_fkkvkp.

      Read the contract account partner as below.

      Read the table GT_FKKVKP into GW_FKKVKP INDEX 1.

      If the data is read correctly assign the values of the field that are added newly in the structure CI_FKKVKP to the fields in the workarea.

      ci_fkkvkp-zcontractacctyp = gw_fkkvkp-zcontractacctyp.

      ci_fkkvkp-zebsctrctacc = gw_fkkvkp-zebsctrctacc.

      ci_fkkvkp-zretctstrtdate = gw_fkkvkp-zretctstrtdate.

      ci_fkkvkp-zretctenddate = gw_fkkvkp-zretctenddate.

      ci_fkkvkp-zsdexempt = gw_fkkvkp-zsdexempt.

      ci_fkkvkp-zsdexemptstrtdt = gw_fkkvkp-zsdexemptstrtdt.

      ci_fkkvkp-zsdexemptenddt = gw_fkkvkp-zsdexemptenddt.

      Get the activity type, contract account specific details, and fill the values in the internal table.

      Write the code in FM Z_CSAC_CONTRACT_ACC_PAI.

      Gets the activity type using FM u2018BUS_PARAMETERS_ISSTA_GETu2019 importing gv_aktyp.

      Check that the activity type is not display. Gv_aktyp <> u201803u2019.

      Get the Contract Account Partner Specific details. Use FM u2018VKK_FICA_FKKVKP_GETu2019.

      CALL FUNCTION 'VKK_FICA_FKKVKP_GET'

      TABLES

      t_fkkvkp = gt_fkkvkp.

      Check that gt_fkkvkp is not initial.

      Assign the values from the screen back to the workarea. Finally modify the Internal table with the values from the screen.

      gw_fkkvkp-zcontractacctyp = ci_fkkvkp-zcontractacctyp.

      gw_fkkvkp-zebsctrctacc = ci_fkkvkp-zebsctrctacc.

      gw_fkkvkp-zretctstrtdate = ci_fkkvkp-zretctstrtdate.

      gw_fkkvkp-zretctenddate = ci_fkkvkp-zretctenddate.

      gw_fkkvkp-zsdexempt = ci_fkkvkp-zsdexempt.

      gw_fkkvkp-zsdexemptstrtdt = ci_fkkvkp-zsdexemptstrtdt.

      gw_fkkvkp-zsdexemptenddt = ci_fkkvkp-zsdexemptenddt.

      MODIFY gt_fkkvkp FROM gw_fkkvkp INDEX 1.

      Collect the values from the screen. Use FM 'VKK_FICA_FKKVKP_COLLECT' This FM updates the Table FKKVKP.

      CALL FUNCTION 'VKK_FICA_FKKVKP_COLLECT'

      EXPORTING

      i_subname = 'CI_FKKVKP'

      TABLES

      pt_fkkvkp = gt_fkkvkp.

      10. Go to Tcode CAS3. A view needs to be created to hold your field group 252.Once the View is created click on View->Field Groups and add the field group 252 to the view.

      11. Go to Tcode CAS4 to add your additional fields to specific sections on the Contract account screen.

      12. Execute the Transaction CAA1, CAA2, CAA3 and check for the fields on the screen.

      Click on Sections. To add the data to the Account Management data section of the screen, select VKK110 and double click on Sections->Views. Now add your custom ZVIEW to the list of views.