cancel
Showing results for 
Search instead for 
Did you mean: 

MCMSEG Enhancement for 2LIS_03_BF

Former Member
0 Kudos

Hello Gurus,

I want to enhance MCMSEG with the following fields:

LABST

SPEME

INSME

MATKL

SPART

MTART

BISMT

XAUTO

XBLNR

LBKUM

SALK3

VERPR

to have them available in communication structure in LBWE for the enhancement of 2LIS_03_BF.

I have 2 questions:

1. Where should I put my append structure in MCMSEG (in which include)?

2. I have 2 fields that are already available in MCMSEG: MTART and MATKL but are not visible in LBWE. Also XLABST, XSPEME, XINSME are similar to my requirements but not visible as well in LBWE. How should I handle this situation? Do I still need to make an append structure for these fields to have them with different names (ZZXXXX) and in component type (XXXX)?

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello and thanks again for reply!

So in conclusion, to enhance 2LIS_03_BF and to have these fields delta relevant I have to append MCMSEG (acording to the article provided by me)?

And in this direction I have to write 2 aditional codes:

1. for initializing

2. for delta.

Can you please tell me for the 2nd code, where should I insert it? Which is the exit that I can use for 2LIS_03_BF?

Thank you very much!

Former Member
0 Kudos

Hi,

So in conclusion, to enhance 2LIS_03_BF and to have these fields delta relevant I have to append MCMSEG (acording to the article provided by me)?

Correct

And in this direction I have to write 2 aditional codes:

1. for initializing

2. for delta.

This is also correct.

Can you please tell me for the 2nd code, where should I insert it? Which is the exit that I can use for 2LIS_03_BF?

There are multiple exits available for Goods Movement. Not sure which one is correct one.

Former Member
0 Kudos

Many thank!

Points awarded!

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you for your reply!

Can you provide me with some details about the extraction logic for delta process.

I read this article:

http://wiki.sdn.sap.com/wiki/display/BI/How-toenhanceLO-CockpitDataSourceswithdelta-relevantfields

But to be honest I'm quite new to ABAP and I don't know how to handle delta process in my case.

Many thanks!

Former Member
0 Kudos

Hi,

This article talks about how we can enhance the datasource with additional fields such that these fields are delta relevant as well.

If you only want to enhance your datasource, and are not bothered about whether these appended fields would act as delta relevant fields, you may refer to the article that I have suggested in my previous post. The deltas would still continue to come for fields which were part of standard datasource.

Else, you should refer the link that you have put up.

As you would see, 2 exits have been used in this blog.

EXIT_SAPLMCS1_001 (Header)

EXIT_SAPLMCS1_002 (Line item)

These exits are not customer exits for SAP BI. These are the exits for Sales Document Header & Sales Document Line item. Please be careful if you are going to use these exits as any mistake in this may have implications in actual SD transactions in your R/3 system. Take help from some senior ABAPer to code into these exits based on the blog.

Former Member
0 Kudos

Hi,

1. Where should I put my append structure in MCMSEG (in which include)?

You have to append these fields to structure MC03BF0 & not in MCMSEG. In LBWE, search your datasource and click on Maintenance. You would find two areas. Selection criteria and Pool. See if your field exist in pool. If yes, then move it to other side. If not, append your required field to MC03BF0. This can be appended in any include. You may create your own include and append it in that one as well.

To find which structure to be appended for any datasource, go to RSA5 and double click on the datasource. It would show you extract. structure. This is the structure that has to be appended.

2. I have 2 fields that are already available in MCMSEG: MTART and MATKL but are not visible in LBWE. Also XLABST, XSPEME, XINSME are similar to my requirements but not visible as well in LBWE. How should I handle this situation? Do I still need to make an append structure for these fields to have them with different names (ZZXXXX) and in component type (XXXX)?

As already mentioned in my reply to first point, its not MCMSEG that you need to enhance but MC03BF0. Enhancing MCMSEG would not solve your problem, as the fields that appear in your datasource come from MC03BF0. So, you need to append it. So, again, if your field does not exist in Pool area as well, you would have to append it in MC03BF0.

How to enhance your datasource (coding part), you can refer the below documentation.

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a

Edited by: Rahul K Rai on Nov 18, 2010 2:29 PM