RE-FX: BADI_RECN_CONTRACT

Hi all,
in re-fx one can creata a new contract, in there one can create a new Businesspartner (debtor).
My requirement is to alter the address of the (newly created) Business Partner (master Tennant) of that new Contract.
In the badi method BADI_RECN_CONTRACT~CHECK_ALL i' have a reference to the (newly created) Contract: IO_OBJECT.
With API_RE_RC_GET_DETAIL i can get the master tennant.
But only with a temporary partner id since it has not been commited to teh DB yet
How do i reach the address information of that BP?
It is still only in memory..
Thansk for the help
Joris Bots

Hi Sivaprasad,
contract data can be read using function module API_RE_CN_GET_DETAIL.
Coding example:
get rental objects from contract
  CALL FUNCTION 'API_RE_CN_GET_DETAIL'
    EXPORTING
      io_object     = io_object
    IMPORTING
      et_object_rel = lt_object_rel
    EXCEPTIONS
      error         = 1
      OTHERS        = 2.
  IF sy-subrc <> 0.
    ls_error-msgty = sy-msgty.
    ls_error-msgid = sy-msgid.
    ls_error-msgno = sy-msgno.
    ls_error-msgv1 = sy-msgv1.
    ls_error-msgv2 = sy-msgv2.
    ls_error-msgv3 = sy-msgv3.
    ls_error-msgv4 = sy-msgv4.
    APPEND ls_error TO lt_error.
  ENDIF.
You may find more information in the online documentation of the BAdI BADI_RECN_CONTRACT. There are also example implementations available.
class: CL_EXM_IM_RECN_SINGLE_BE_CHECK
method: CHECK_ALL
I hope this helps you further.
Regards, Franz

Similar Messages

  • All BAdIs of Real Estate Management

    Thought this list would help you as helped me guys...
    Name of a BAdI Definition       Description
    BADI_REAJ_ADJUSTMENT          Rent Adjustment
    BADI_REAJ_ADJUSTMENT_RLRA     Adjustment of Conditions - RLRA Procedure
    BADI_REAJ_ADJUSTMENT_TASK     Adjustment Measure
    BADI_REAJ_COMPARE_GROUP          Comparative Group of Apartments
    BADI_REAJ_EXPENSE_CALC_RULE     Calculation of Current Expenses
    BADI_REBD_ARCH_OBJECT          Architectural Object
    BADI_REBD_BUILDING          Building
    BADI_REBD_BUSINESS_ENTITY     Business Entity
    BADI_REBD_MEAS_AOHIER          Switch Off Hierarchical Measurements on AO
    BADI_REBD_MEAS_CUST          Measurements Allowed Based on Customizing
    BADI_REBD_PROPERTY          Land
    BADI_REBD_RENTAL_OBJECT          Rental Object
    BADI_REBP_ACCTASS_DETERMINE     Business Partner: Determination of Account Assignment Object
    BADI_REBP_ADD_FIELDS          Business Partner: Own Fields
    BADI_REBP_ATTRIB_DETERM          Business Partner: Specification of Attributes for Partner C
    BADI_RECA_ARCHIVING_OBJECT     Archiving Object
    BADI_RECA_AUTH_CHECK          Authorization Check
    BADI_RECA_BDT               Enhancements in BDT Environment
    BADI_RECA_BUSINESS_DATE          Determination of Working Days in RE-FX
    BADI_RECA_CAD_PROVIDER          Determination of CAD Provider Instance
    BADI_RECA_GUI_TABLE_EXT          Interface Extension of Table Master Data
    BADI_RECA_INTERFACE_IMPL     Implementation of Interfaces
    BADI_RECA_MESSAGE          Change Characteristics of Messages
    BADI_RECA_PROCESS          Intervention in Control of a Process
    BADI_RECA_RANGE_EXT          Change to the Range
    BADI_RECA_RESUBMISSION          Reminders
    BADI_RECA_SEARCH_METHOD          Search Methods for a Search Strategy
    BADI_RECA_STORABLE_EXT          Enhanceable Object
    BADI_RECA_WB               RE Navigator
    BADI_RECA_WB_LIST          Lists on Objects
    BADI_RECD_CALC_RULE          Calculation Formula for Conditions
    BADI_RECD_CASHFLOW          Cash Flow
    BADI_RECD_CONDITION          Condition
    BADI_RECD_DIST_RULE          Distribution Formula for Conditions
    BADI_RECN_CONTRACT          Real Estate Contract
    BADI_RECP_OI               Correspondence with office application
    BADI_RECP_SF               Correspondence with PDF-Based Forms or Smart Forms
    BADI_REEX_AL_ACROBJ          Processing of Accrual Object
    BADI_REEX_FI_BAPI          Before Call of FI BAPI for Document Posting
    BADI_REEX_FI_DUNNING          Dunning
    BADI_REEX_FI_GET_GLACCT          BAdI for FI Account Determination
    BADI_REEX_FI_MM_CAPITAL          COA: Statement of Reserve Fund
    BADI_REEX_FUNC_LOC          RE Functional Location: Create and Change Data
    BADI_REIS_LIST               Info System: ALV Reporting.
    BADI_REIS_RM               Integration of Records Management
    BADI_REIT_DATE_OF_SERVICE     Derivation of Date of Service
    BADI_REIT_DIST_EXCLUDE          Exclusion from Input Tax Distribution
    BADI_REIT_OPTION_RATE          Option Rate Determination
    BADI_REIT_POSTING_RULE          Account Determination for Input Tax Distribution
    BADI_REIT_TAX_CORR_OBJ_ASSIGN     Default Correction Object for Line Item
    BADI_REIT_TAX_CORR_OBJECT     Correction Object
    BADI_RELM_JOINT_LIABILITY     Joint Liability
    BADI_RELM_LAND_REGISTER          Land Register
    BADI_RELM_NOTICE_ASSESSMENT     Notice of Assessment
    BADI_RELM_NUMBER_LRPAGENO     Conversion Exits for the Page Number of Land Register
    BADI_RELM_NUMBER_LRREGNO     Conversion Exits for Numbers in the Real Estate Register
    BADI_RELM_NUMBER_PLNO          Conversion Exits for Parcel Number
    BADI_RELM_NUMBER_SECNO          Conversion Exits for Numbers in Sections II and III
    BADI_RELM_PARCEL_OF_LAND     Parcel of Land
    BADI_RELM_PUBLIC_ENCUMBRANCE     Other Public Registers
    BADI_RELM_RECORD_CHANGE          Parcel Update
    BADI_REMM_MANDATE          Mandate
    BADI_REMM_OBJ_ADOPT          Conversion to Condominiums
    BADI_REOR_COST               Costs of Reservation/Continuous Occupancy
    BADI_REOR_COST_DERIV          Price Derivation for Reservation/Continuous Occupancy
    BADI_REOR_OFFER               Contract Offer
    BADI_REOR_OFFER_OBJECT          Offered Object
    BADI_REOR_PO_OCCUPANT_OBJECTS     Edit Assigned Objects for Move Planning
    BADI_REOR_PO_PARTNER_TREE     Determine Partner Using Hierarchy
    BADI_REOR_PO_SUGGEST_POSITIONS     Determine Possible Available Desk Assignments
    BADI_REOR_POSITIONS          BAdI: Desk Assignments on Reservation Object
    BADI_REOR_RENTAL_REQUEST     RE Search Request
    BADI_REOR_RESERVATION          Reservation
    BADI_REOR_REVERSAL_COST          Costs of a Cancellation
    BADI_REOR_SEARCH          BAdI for Real Estate Search
    BADI_REOR_SERVICE_COST          Costs of a Service
    BADI_REOR_SERVICE_COST_DERIV     Price Derivation for Service
    BADI_RERA_ACCT_SHEET          Overview of Tenant Account
    BADI_RERA_ADVPAY          Determination of Advance Payment
    BADI_RERA_DOC               Creation of RE Document
    BADI_RERA_INVOICE          RE Invoice
    BADI_RERA_OP               Create One-Time Posting
    BADI_RESC_ACCRUAL          Accrual/Deferral of Apportionable Costs
    BADI_RESC_INFO_SYSTEM          SCS: Reports
    BADI_RESC_PARTICIP_GROUP     Participation Group
    BADI_RESC_SETTL_UNIT          Settlement Unit
    BADI_RESC_SETTLPARTICIP          Settlement Participation

    Hi,
    For tables in real estate:
    Just do like this to know about your tables,
    go to se11,
    give table name as DD03L(which is a table for table fields),
    display,
    excute,
    under the field name input u can VIOROO and VIBPOBJREL
    then excute, u can get the table names for your fields.
    Please refer to this link:
    http://www.sapmaterial.com/
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • SAP REFX – Usage of (RECN - Condition Tab ) Formula : E1 – Percentage Share in a condition.

    Dear Experts,
    I would like have a clarification on the usage of Formula: E1 – (Percentage Share in a condition) for a contract type in Refx  - contract ( In conditions Tab ).
    Lets take the scenario as below for example :
    Whenever I am adding a condition    ZREN - Basic Rent : XXXXXX  Rs/ month.
    System has to pick a second condition ( Over head charges ) as default and it should be calculated 20% of the amount as overheads on BASIC RENT amount.
    This 20% should come as default ( Because user cant change this % for anything while creation of contract).
    So I have adopted the config changes as below.
    SPRO - Flexible Real Estate Management (RE-FX) -- Conditions and Flows -- Default Conditions -- Define Default Conditions – selected my condition group – added new entries- assigned a new condition type as my over heads –
    Unit price as – 20 %
    Formula: E1
    Formula Parameter: selected - BASIC RENT condition ( ZREN )
    Is there any other config to be done ( Like adding the Derivation rules - if need Pls Clarify) to fulfill my requirement, B cas after  doing above config my overhead charges condition is not flowing by default, even after manual insertion of Over head charges condition its not taking 20 % as default.( Its asking to enter manually).
    Kindly advise to get the same.
    Regards,
    Subbarao.Narne

    Hi Mr. Narnei,
    If both the conditions are added manually, the condition with E1 as the calculation formula, say ZE1- Perc Share can automatically pick up the value from ZREN - Basic Rent and do the calculation.
    For this you just need to specify the condition in the parameter field in the path: Flexible Real Estate Management (RE-FX) -> Conditions and Flows -> Condition Types and Condition Groups -> Define Condition Types. Also specified in the pictorial below.
    For populating default conditions at contract creation based of different parameters, you would need to implement the badi BADI_RECN_CONTRACT. You can also add additional validation such as, if ZREN - Basic Rent is added to the contract it is mandatory to add ZE1.
    Hope this helps.
    Best Regards,
    Hardik Sharma

  • Automatic creation of Service RequestContract upon saving of Lease Contract

    Good day Gurus,
    Is there a way in SAP wherein when I create a Lease contract in Real Estate module (meaning clicking the SAVE icon), Service Request Contract will also be created? Is there a BTE available for this? I need it since same information created in Lease contract will also be inputed in service Contract.
    Thanks a lot.

    Hi,
    please check if BAdI BADI_RECN_CONTRACT, method AFTER_STORE, is helpful for your requirement.
    Regards,
    Franz

  • Exits or oss notes for tcode RECN

    Hi all
    can u pls let me know exits or OSS notes for the tcode RECN

    Hi Shwetha,
    There are no user exits for RECN.
    Instead there is a badi associating this transaction(RECN) -- <b>BADI_RECN_CONTRACT</b>
    Reward if useful.
    Thanks
    Aneesh.

Maybe you are looking for

  • Facebook notification and emails

    i just recieved the motorola droid 2 today. i previously had the motorola droid. since i have gotten the phone i have not recieved any email notifications for comments and or facebook notifications on the phone for any comments. anyone have any sugge

  • Free software to convert video on mac?

    When looking for free software to convert some MTS and WMV files to play on my blackberry Z10, I found two software talked about most by people online, Handbrake and MacX Video Converter Free Edition. Handbrake, I know it is popular among people, cou

  • I am unable to get my decently new Imac to recognize or charge my brand new ipod nano.

    I am unable to get my decently new Imac to recognize or charge my brand new ipod nano.  I have tried to restart my computer and the ipod, neither have worked. Running itunes 10.7.  Please help.

  • Iphone and garmin gps

    Hello, Does anyone know if any of the garmin gps units, specifically the 680, work with the bluetooth on the iphone?

  • Some init scripts disappeared?

    Hi I upgraded using pacman -Syu yesterday, then I found some init scripts(/etc/rc.d/nginx  /etc/rc.d/postgresql) disappeared. I searched about it but found nothing.