Application Development and Automation 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: 
Read only

Enhancing datasource

Former Member
0 Likes
427

Hello Gurus,

I am working on BW and i have requirement to write some coding in ABAP for enhancing datasource, adding fields and populating it. Also write routines. I dont know ABAP coding. How do i start.

Can anyone please send me steps with screenshots to magi.krishnan@gmail.com.

It would be much appreciated.

Points assured**

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
408

Hi Mahesh,

Check these posts

Also, go through this document:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e...

<b>Steps:</b>

Data Source Enhancement:

Enhancement field starts with "ZZ"

Go to SE11

Give the Structure name(Communication Structure)

Then click on Append structure

Give the name of Append

Now add the enhanced fields,which starts with"ZZ" and activate the Structure.

Now these fields will be available in Comm.Structure of that data source.

Go to LBWE move the enhanced fields from Comm.Structure to Extract Structure.

Go to CMOD give project name and click on create.

Select Enhancement Assignment option then

Click on change button

Now give the customer function call.

Then click on Components

It will display Four function Exits.

It will display Function builder

Then double click on Include

It will display ABAP Editor

Then click on Change button

Write your code before WHEN<Datasource name>link

Then Activate it.

<b>Reward Points if this helps,</b>

Satish

2 REPLIES 2
Read only

Former Member
0 Likes
408

Hi,

Check the below link.

http://abapcode.blogspot.com/

Regards,

Maha

Read only

Former Member
0 Likes
409

Hi Mahesh,

Check these posts

Also, go through this document:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e...

<b>Steps:</b>

Data Source Enhancement:

Enhancement field starts with "ZZ"

Go to SE11

Give the Structure name(Communication Structure)

Then click on Append structure

Give the name of Append

Now add the enhanced fields,which starts with"ZZ" and activate the Structure.

Now these fields will be available in Comm.Structure of that data source.

Go to LBWE move the enhanced fields from Comm.Structure to Extract Structure.

Go to CMOD give project name and click on create.

Select Enhancement Assignment option then

Click on change button

Now give the customer function call.

Then click on Components

It will display Four function Exits.

It will display Function builder

Then double click on Include

It will display ABAP Editor

Then click on Change button

Write your code before WHEN<Datasource name>link

Then Activate it.

<b>Reward Points if this helps,</b>

Satish