cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancing standard datasource, small clarification.

former_member182467
Participant
0 Kudos

I have gone thru Robert's blog it says

*"One method of adding user-defined fields is the following: add the required fields to the communication structures (MCVBAK, MCVBAP and so on ) using the append method (via SE11) and then use the LIS customer exits to fill the field.

For information on enhancing the communication structures, you can see the documentation for the enhancements MCS10001, MCS50001 and MCS60001 provided in transaction SMOD.

After you enhance the communication structures you can then enhance the extract structure with the relevant field in the customizing cockpit (transaction LBWE), provided that the communication structure is available in the selection. Then you can proceed with the steps described before in the previous bullet."*

See if in one DS 2LIS_11_VASCL he want to add a field AUDAT and my doubt is how can he add that field to the communication structure so that he can select it from that DS communication structure to the left side, Is it possible can we add what ever fields to the communication structure. I thought we should append the datasource and then enhance the respective function exit rite. Why are we talking about append method via SE11, can anyone please guide what do we mean by appending it throug se11 to the communication structure. What i know is if we do not find the required filed in any standard ds we can append the ds and edit the related include program or use 2 DS's to get the required fields to a single cube on BI side after activating those fields if we know those field names. What is the concept of adding fields to the communication strucute using append method via SE11. Please guide me in detail. Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182467
Participant
0 Kudos

clear

Former Member
0 Kudos

HI,

I havent seen the blog but initially I guess you are confusing extract structure in R/3 with the communication structure in BW.

MCVBAK and MCVBAP etc. are not exactly extract structure for the data source its a communication structure for the tables which will be used to extract data from the VBAK and VBAP and can be used by anyone.

A data source can be based on more then one tables and therefore may use more then one structure based on this table.This can combine MCVBAK and MCVBAP and many more structure together.

This is the extract structure you see in LBWE for a particular data source.

I think to differentiate between these two type structure he would have used the term communication structure and through these structure the extract queue communicates with the tables.

I guess In 3.5 the point was of giving the look of BW flow same as r/3 for better understanding.

So one communication structure can be updated by many transfer rules in BW..similary one extract structure can be updated with many rules or structure below it in R/3.

Dont confuse it with the communication structure in the BW.

You cannot do any thing related to communication structure in BW in CMOD.

Thanks

Ajeet

former_member181964
Active Contributor
0 Kudos

Hi,

2LIS_11_VASCL

Goto SE11 and give MC11VA0SCL and then append structire and add ZZAUDAT and then give Dataelemet and Activate it and come back, And goto CMOD, if the project is already there you can giv ethat name change then components and select EXIT_SAPLRSAP_001 an dul click, and inside you can find INCLUDE ZXRSAU01 then double click and then you can write the code, the sample code is..

Data: l_s_data6 LIKE mc13vd0itm,

CASE i_datasource.

WHEN '2LIS_13_VDITM'.

LOOP AT c_t_data INTO l_s_data6.

l_tabix = sy-tabix.

SELECT SINGLE auart INTO l_s_data6-zzprdtyp FROM vbak

WHERE vbeln = l_s_data6-aubel.

IF sy-subrc = 0.

MODIFY c_t_data FROM l_s_data6 INDEX l_tabix.

ENDIF.

ENDLOOP.

Activate and test in RSA3.

Thanks

Reddy

Edited by: Surendra Reddy on Nov 10, 2008 5:08 AM

former_member182467
Participant
0 Kudos

So adding the required ZZfield in se11 to the respective communication structure of the related Datasource and adding the same ZZfield to the related Datasource in the transaction RSA6( append structure) are both one and the same is it. Please confirm.

former_member181964
Active Contributor
0 Kudos

Hi,

Yes both are same you can add in that way also.

Thanks

Reddy

varma_narayana
Active Contributor
0 Kudos

Hi Daniel...

Adding the Append Structure in RSA6 refers to the Extract Structure MC11VA0SCL etc... But not to the Communication structures like MCVBAK, MCVBAP..etc.

Plz go thru the SAP Notes on LIS Communication structure enhancement to understand this difference fully..

Note: Enhancement RSAP0001 used in the case of Extract Structure enhancement in RSA6.

cheers..

Varma