Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDT Flexible real estate

Former Member
0 Kudos

Hello all,

I would like to know how to add user defined <b>tables</b> (grid) to SAP standard applications in Flexible Real Estate using BDT (Business Data Toolset).

I know how to add <b>fields</b> using BDT but i need to add tables.

suggestions / examples will be appreciated.

King regards,

Michal.

13 REPLIES 13

Former Member
0 Kudos

As it happens - I'm facing the same problem myself...

It seems like the documentation is too general and refers mostly to fields and not tables.

I've asked a lot of developers but nothing came up...

PLEASE HELP!

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 3, 2008 4:28 PM

Manohar2u
Active Contributor
0 Kudos

4.2.3 New Table

An application wants to extend the dialog with its own tables. The following activities are necessary:

· Create table in DDIC

· Define application if you have not already done so (see section 3.13)

· Enter table in the table directory (see section 3.2.4)

· Extend screen layout/screen sequence with new fields (see section 4.4)

· Create program logic for events (see section 3.2.5)

· ISSTA Initialize

· ISDAT Read data

· XCHNG Were changes made?

· DTAKE Transfer data

· DSAVC Complete data

· DSAVE Save data

· DLVE1 Initialize current memory

· DLVE2 Initialize global memory.

· Integrate table in change document lists

This was as per the BDT manual. Do give your email-id I will send you the manual to you to explore.

Regds

Manohar

Former Member
0 Kudos

Thank you for your answer.

The problem is that in the documention of the Flexible real estate (not the classic real estae in which the events are used), it is mentioned that "To implement user-defined checks or save additional data in user-defined tables, DO NOT use BDT events but the specific enhancement method for the real estate master data.

It seems like these events should no longer be used.

?

Former Member
0 Kudos

Manohar,

I'm having the same issues noted in this thread regarding adding custom z-tables to the Flexible Real Estate contract screen (t-code RECN). Could you please e-mail me the BDT manual you referred to in this post? My e-mail address is

<REMOVED BY MODERATOR>

Thanks,

Donna Dircz

Edited by: Alvaro Tejada Galindo on Apr 3, 2008 4:30 PM

Former Member
0 Kudos

Hello Manohar,

I am trying to add custom field to the RECN transaction (we are using Flexible RE), I followed OSS note 690900 instructions with no success. Can you please email me the BDT manual as well?

Thanks very much.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 3, 2008 4:31 PM

Former Member
0 Kudos

I created a class that inherits from the CL_RECA_STORABLE_EXT class.

When saving the object, the check_all method isn't called,

It is only called after pressing the check button.

Any ideas?

<b>ANY help will be appreciated!!</b>

0 Kudos

Hi,

For a table control in transaction BUS2, double click on the your field group which is a table control and check the check box table control.

And also, If your subscreen contains a table control, transfer the data relating to the table control to the BDT using parameter C_TC1 when calling BUS_PBO.

also have a look at the note 585191.

Smita.

Former Member
0 Kudos

Hello all,

have you tried the Easy Enhancement Workbench yet ? Since the SAP Business PArtner is now part of the Netweaver Stack you can use this for adding new fields and tables.

We have tested it in connection with CRM and MySAP ERP and it work pretty fine, even during upgrades.

Pretty amazing tool, especially for technical consultants.

Kind Regards from Mannheim,

Guido

Former Member
0 Kudos

Hi,

I have added a field in RE Flexible but the problem is I am unable to send the Custome Include data to the main object, since you have worked on fields with RE FLEX so please send me the document if you can, or I would appreciate any help

my email id is <REMOVED BY MODERATOR>

Khusro Habib

Edited by: Alvaro Tejada Galindo on Apr 3, 2008 4:29 PM

Former Member
0 Kudos

Hi Michal,

Could be a bit late, yet may still be helpfull:

To add a table in REFX you take the following steps

1. Define your Z-table in SE11, using INTRENO as key

2. Copy example class CL_RECN_TABLE_EXT_EXM (May need to implement note 970343 for this). You use this class to retreive and save your data

3. Copy REGC_EXT_TABLE_EXAMPLE, use RE+GETBUSOBJ to get a handle to your object (+ = REFX-object, like BE, BU, PR, ...). Use this FUNC to present your data. The example displays a editable alv grid, edit to your needs

4. Implement BADI_RECA_STORABLE_EXT, may want to add som extra checks in methods CHECK_ALL or STORE_PREPARE / STORE_WRITE

5. Make the BDT Customizing:

5.1 Create application,

5.2 Create view with SAPL<<FUNC>> as program name and screennr (901, if you used the example),

5.3 Create Section with your screen, screenseq with your screen

Done!

Regards,

B E R T

0 Kudos

Was just digging through the forum and found this thread. I am currently adding 2 tables (on new tabs) in the REFX module. Did any of you run into this problem:

If I go to Tab A and display Table A then switch to Tab B, Table A is displayed (rather then Table B). The same happens in reverse if I select Tab B first.

It seems to be loading the corrct subscreen, just the wrong info is being sent to the ALV, I have been through the debugger may times and cannot see where it is failing. It looks to me like it has the right table when it calls set for first display and refresh etc.

Ideas??

0 Kudos

...I needed to rename the container that came along with the Function Group, also need to change the reference to it in the Top Include.

0 Kudos

Hi,

Do you have psuedo code I have same requirement ,  or can you explain in detail?

Thanks a lot in advance.

srinu.pocha@gmail.com