on 10-22-2013 5:03 PM
Hi,
While doing enhancement for adding fields in data source through CMOD (for any project) faced few problems :
1) On what basis we should select the "Enhancement assignments" ?
2) After reading few documents I choose RSAP0001 as Enhancement for project XYZ and I mentioned the code as per my requirement, it works fine. but when I used the same enhancement for different project it was giving error:
ERROR: SAP Enhancement RSAP0001 already belongs to project XYZ ...
Should we use always same Project and enhancement type for every data source enhancement??
Hi Priyanka,
You no need to create new project. You can use existing project XYZ. We have only one component RSAP0001. need to sue for all enhancements. but need to sue different exits.
1. Your enhancement code will work based on your data source. Depend on the master data attribute/text/hier and transaction data sources.
We have 4 exit functions need to use as per requirement.
EXIT_SAPLRSAP_001 - Transaction data source
EXIT_SAPLRSAP_002 - master data attribute data source
003 and 003 are Text and hierarchy respectively.
2. Exactly where your mentioning your code.
As stated above, you need write your logic inside the include program.
INCLUDE ZXRSAU01/02/03/04 respectively for transaction data source/attributes/text and hier data sources.
Whats your data source?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Example 0PROJECT_ATTR DS. I append this from above enhancement RSAP0001 in include ZXRSAU01 and its working fine.. Now I want to enhance 0PLANT_ATTR then where should I mention the code..
Condition 1: Should I write code for new data source in same INCLUDE ZXRSAU01 or can we make more include statements..
Condition 2: Why should we use the same project if there is any requirement to do enhancement in some other project then what we suppose to do?
Additional Support : I can see many enhancement types (EXIT Name) in "enhancement assignments. on what basis we can choose them. Please provide the example for more clarification.
Hi,
You need to use RSAP0001 for enhancements. i didn't see another component to do.
May for BADI there will be another one. not sure.
If we do enhancement thru CMOD, we need to use component RSAP0001
ZXRSAU01 - for transaction data source
ZXRSAU02 - for attribute data source. DS name : *ATTR (which ends with attr)
ZXRSAU03 - For text data source DS name: *TEXT (which ends with text)
ZXRSAU04 - for hierarchy data source DS name : *HIER (which ends with HIER).
SAP have lot exist. don't be confused with others. just focus on bw related exists only. as stated above.
1. You can use same include program.
2. You no need think about project/component. just you can write your directly at related include program. during info packager execution time data will pull into added filed as per the logic. BW related enhancement happens at one place. its standard procedure.
http://help.sap.com/saphelp_nw70/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
Thanks
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.