Data source enhancement. for COPA
I want to enhance the datasource for CO-PA extraction.The enhancement I want ot do is to add a field for sales document date and load the data from AUDAT fields from VBAK tables in the SD.
To enhancing this, which user exit should I use ? Transaction data or master data or test or heirarcy.
Since I am learning BW, I am asking these fundamental questions .
Please help me to get answers to this
Thanks
hi Srini,
take a look this thread
COPA Enhancement and Reinit of Delta
and
Enhance Standard COPA Extractor
copa
user exit zxrsau01 - transaction data is used.
hope this helps.
Similar Messages
-
Data Source Enhancement for 2LIS_06_INV
Hi BW Experts,
We got a requirement. We have to work on Data Source Enhancement.
2LIS_06_INV is a LO Data Source. 3 extra fields required in existing Data Source.
That 3 Fields are available in single Table only.
I never worked on Data Source Enhancement.
Please can anyone tell me the steps.
I have read the forums but i did not understand it.
Thanks in advance
Regards,
Anjalihi anjali,
Every organisation has different structures so, the standard structure dosnt fit for all, in this situation u need to go for enhancement. based on your need u have add some field to std structure.
Check out this link...this z the best pdf for enhancing data source....
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
pdf 'enhancements in sap bw' with steps
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
Enhancement
User exit
hope it helps... -
Data source Enhancement for Sales Item
Dear SDN Mates,
We are enhancing the data source 2LIS_11_VAITM, when i try to enchance extraction structure it is not allowing to enhance. Showing a message :"2LIS_11_VAITM does not allow enhancing or append structure"
Mates if you came across these difficulties please let me know and suggest any ideas.
Thanks and Regards
Arun SHi,
Have a look at these links:
[SAP BW Data Source Enhancement|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16]
[Data Source Enhancement|Data source Enhancement Code Samples;
Hope it helps...
Regards,
Ashish
Edited by: Ashish Tewari on May 11, 2009 12:16 PM -
Data source enhancement for text
Hi,
I have a datasource 0customer_attr and it has also zfield .now requirement is to load the text of that zfield also in BW. I have a doubt about that whether I have to enhance ocustmer_attr ie add new field into it or I have to create a generic data source for it.
Thanks,
SaurabhHi,
customer_attr is fetching data from extract structure and this is based on kna1 table and kna1 table has some z fields . for those zfields we have custom table and in custom table(ztable ) we get the data from there respective r table . ie we have acq code in custom table(and in also data source and extract structure and kna1 table) and we require acq description also in BW. and acq code & desc is maintain in its respective table(its a z table ).
i also see the enhance abap code which is fetching data for acq code .
i have a doubt whether i add one more field to 0cust_attr or create generic data souce as it is Zfield.
Thanks,
Saurabh -
Text not visible for the new fields created for Data Source Enhancement
Hi .... I am working on Data Source Enhancements. I created few fields and append then to the Data SourceStructure . I also have populated the fields with data. The problem with a field is that I am not getting the text displayed in RSA3 ..Instead I am getting the field name itself.
Example:
FieldName DataElement Datatype length dec Text
ZZDOCTY AUART CHAR 4 0 Sales Document Type
ZZNOODL ZD_NODL NUMC 1 0 Number of Deliveries
In the above example the field ZZDOCTY is showing me the description in RSA3 i.e. Sales Document Type whereas the field ZZNOODL is not showing the text. Instead it is directly giving the fieldname ZZNOODL. Is it because of the fact that I created a Data Element for that field ??? and as I did not use the predefined data element as I did for ZZDOCTY???? Please reply me soon.....I need to display the text as "Number of Deliveries" instead of ZZNOODL........I am working on 7.0.....May be the fields are hidden.
Go to RSA6 select your data source and on the tool bar there will be a pencil butonto change. Click that and at the bottom, you will lots of check boxes.
You go the field that you have enhanced and see whether the HIDE boxes are checked. If so, uncheck them, save and execute RSA3.
Ravi Thothadri -
Master Data Source Enhancement
Hi Gurus
I have a table in SAP which has customer, Sales Organization, Distribution Channel, Language (which is in EN always) and Customer Sales Text...
The Customer Sales Text is maintained at Sales Organization and Distribution Channel level..below is the example of one record...
Customer Sales Org. Distr. Channel Lang. Customer Sales Text
123 01 01 EN Blank (No text here)
123 01 02 EN Blank (No text here)
123 01 03 EN Blank (No text here)
123 01 04 EN Blank (No text here)
123 01 05 EN John Mathwes (Text appears here)
123 01 06 EN Blank (No text here)
so when i pull the data to BI i need to see only one record with Customer and text only (no Sales org and distr. Channel necessary) which has the Customer text value (5th record in above example)..
I created Data source in SAP and pulling the data to BI in DSO with customer and customer text....it's sorting and getting the latest distribution channel record (6th record in above example0
Can yo uplease tell me is there any way that i can get the record which has customer text in it..(any possibilities of writing abap routine in info package) or any data source enhancement with abap code...
can you pelase tell me the abap code that needs to be performed to solve the issue...
Thanks in advance
sailendraSort the RESULT_PACKAGE by customer and customer text in the endroutine of your transformation.
After the sort, the record with text for customer will be the last record and it will overwrite the other records in the DSO which has blank values.
Just add the below sort statement in your end routine.
SORT RESULT_PACKAGE[] BY CUSTOMER CUSTOMER_TEXT.
As per the sample records mentioned in your post, after the sort, 5th record will become the last record and this will overwrite the other records which has blank value in the DSO.
--- Thanks... -
How to findout the data source information for the perticular tables
Hi,
Can you please tell me the process to findout the data source information for the perticular tables .
For ex.. T2503 ,T2507 ,T25A1,T25A2 etc ..
I am doing a reverse engineering to find out the data sources build on the above SAP Tables.
Thanks.Hi,
Still we haven't get the field level information ,before they send us we should first give them the corresponding data sources for the COPA tables which they have given .
I have searched in help.sap.com but I didn't find any information on this .
Please let me know is there any way to know the data source details for SAP Tables.
Thanks -
HI SDNers,
I have done data source enhancement with 6 key fig and added those key fig to DSO in DEV and I need to move it to QA. Do I need to delete the data of DSO in QA before move. Do I get any issue with transportation? Actually this is most sencitive data for my client is it possible without deleting data?
Thanks,
SwathiHi Swathi,
You need not delete data from the ODS if you have only added fields to this object. If the no of records in the ODS are more the import of the changes will take a little longer. There should not be any problem.
Best Regards,
Murali. -
Data source enhancement thru function module
Folks,
I am trying to figure relation between data source enhancement, package, function module etc?
I see a function module where enhancement is done. when I go and try to see master data exit EXIT_SAPLRSAP_0002 ... I see include but I do not see reference of function module in this include?
All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap* - include inside and function module attached?
Can somebody give very simple connection for all these components?
Thanks,
-SMHi,
All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap - include inside and* function module attached?
Please note that for enhancing certain standard objects for meet customer needs, SAP provides different customer exits where we can code as per our requirements.
These customer exits starting with EXIT********* will be grouped by Enhancements e.g. RSAP0001
Thanks for your response. In RS02 it is clear that we can mention function module name for data source - that is good for generic extraction. But what do we do when we are enhancing SAP extractor?
When you want to enhance SAP extractors, you go for customer exits.
EXIT_SAPLRSAP_001 for Transactional datasources
EXIT_SAPLRSAP_002 for Master datasources
EXIT_SAPLRSAP_003 for Text datasources
EXIT_SAPLRSAP_004 for Hierarchy datasources
in se37 screen in table tab - sometime we see extract structure - that will establish which functional being called for which data source, but in my case - I do not see anything in table tab?
If your datasource is function module based, then the function module which is mentioned in RSO2 for your datasource would surely have e_t_data in tables tab with its associated type.
Only if the datasource is standard one and is processed by function module e.g. 2lis_18_i0notif which is processed by MCEX_BW_LO_API function module, these would not have associated type mentioned for them. To get their structure, you can go to RSA5/ RSA6 -
Data source Enhancement with Function Module
Hi all!
I have a requirement like I have to enhance my Generic Data source.
Let me make it clear!
I have 10 field in R/3 which I am able to get into extract structure using Generic Data Source on the corresponding Table.
I have another field on my extract structure, say ZEXMFLD1 which is updated by a function module ZZ_FUNC_MODULE_SAMPLE.
I came to know that Data source Enhancement can be done, but don't know how.
Request your guidance in this. Can u please let me know how I can achieve this?
Thanks,
SriHi Sri,
You can enhance generic datasources also.
For that you have to use below function modules based on your datasource type.
EXIT_SAPLRSAP_001 - Transactiona data
EXIT_SAPLRSAP_002 - Master
EXIT_SAPLRSAP_003 - text
EXIT_SAPLRSAP_004 - Hier
First check in CMOD(TCODE) whether component RSAP0001 is assigned to any project. If it is not assigned to any project(fresh system), assign it to a project by creating it.
Ex. ZBW. If it is already assigned, go SE37.
For transaction data go to function module EXIT_SAPLRSAP_001(Trans data) and start your logic.
CASE i_datasource.
WHEN 'your data source name'.
call you Function module - CALL 'ZZ_FUNC_MODULE_SAMPLE'.
pass the imported value from above FM to c_t_data.
close case with ENDCASE.
Let me know if you need more info.
- Kalyan. -
Data source enhancement using BADI
Hi,
We had a 2LIS_* extractor which is enhanced with ZZ fields.
I look for the sode in CMOD which i couldn't able to find any
My assumption is the data source is enhanced using BADI.....As i am not familiar with BADI's how can i create for my data source enhancement code in BADI
ThanksHi ,
Not sure on your question.
Is the Enhancement already done and you want to check whether it is done in BADI/CMOD.
Or
You want to populate the Data using BADI/CMOD.
In any case you can use CMOD or BADI to populate the data ,the recomendded is BADI which can be created in SE24..you can google for some Docs on its creation and steps to be followed.
And if tis CMOD you have to create a project and then write the code and for that also there are DOcs avaliable.
Rgds
SVU -
Data source Enhancements Using Badis
HI gurus,
Can you please let me know the process in detail to implement the data source enhancements using badi's.
Please provide me the step by step proceedure.
Appropriate answer will be highly rewarded.
Thanks,
Shashikanth.http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
I have a few links for u! Just download the documents and have a reading. You will get an idea:
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4493c4a6-0301-0010-62a2-efd6ded61e04
Reward points if helpful
Regards
Edited by: Aadil on Jan 23, 2008 8:42 AM -
What are the Non SAP data sources supported for Analysis workbooks?
AO 1.4 SP6
BO 4.1 SP2
What are the Non SAP data sources supported for Analysis workbooks?
Thanks.HANA is a data source (which could contain non-SAP data)
For other Excel front-ends that may connect to "non-SAP" data look at Live Office or Power BI by Microsoft - see Excel and Power BI connectivity to SAP BusinessObjects Universes | Power BI -
Data source value for data source reportData was null
hi i'm using struts 2 and jasperreports my problem is
it generate a pdf file with labels but no data in it..
and when i try to look at the logs of my sun application server
it says Data source value for datasource reportData was null.
reportData is an ArrayList of Personnel object.
here is my code..
public class EIS_HR_004_JASPER extends eisSupport {
private String reportId;
private String dateStart = null;
private String dateEnd = null;
private String pdfFile;
private final static String _REPORT_FOLDER = "EIS_HR_003";
private Report thisReport;
private String dateRange;
private ArrayList<Personnel> reportData;
public String execute(ActionMapping mapping,ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
ReportBean reportBean = new ReportBean();
setThisReport(reportBean.getReport(getReportId()));
reportData=new ArrayList<Personnel>();
Personnel p1=new Personnel();
p1.setSurname("Dela Cruz");
p1.setFirstname("Juan");
p1.setExamcode("CSC111");
p1.setExamdate("January 1,2003");
Personnel p2=new Personnel();
p2.setSurname("Cruz");
p2.setFirstname("Miguel");
p2.setExamcode("CSC222");
p2.setExamdate("December 2,2003");
reportData.add(p1);
reportData.add(p2);
try {
JasperCompileManager.compileReportToFile(
"apps/reports/templates/hr004.jrxml",
"apps/reports/templates/hr004.jasper");
} catch (Exception e) {
e.printStackTrace();
return ERROR;
return SUCCESS;
public ArrayList<Personnel> getReportData() {
// setReportData();
return reportData;
here is part of my struts.xml
<action name="EIS-HR-004_JASPER" class="eis.report.EIS_HR_004_JASPER">
<result name="error">/apps/reports/ReportNotFound.jsp</result>
<result name="success" type="jasper">
<param name="location">apps/reports/templates/hr004.jasper</param>
<param name="dataSource">reportData</param>
<param name="format">PDF</param>
</result>
</action> i dont know why it doesnt retrieved the data from the ArrayList?
please help me..Thanks in advance.Hi,
Looking at the code, it seems you are compiling a JRXML and that is all.
Instead, you should fill it with data and then export the result to PDF.
No wonder you don't see any result.
You need to learn more about how JasperReports work. For a start, I can tell you that you could compile JRXML files as part of the application build process using an Ant task, and not dynamically, like you did. But no matter how you compile the report template, you actually need to fill it with data, using the JasperFillManager and then export it to PDF using the JasperExportManager.
You can see all this in our samples in the /demo/samples folder that is part of our project distribution package. There is even a sample Web application in the /demo/samples/webapp folder.
I hope this helps.
Teodor -
Data source creation for service contract configuration
Hello all,
I have to create a data source for extraction of service contract configuration. I think this could work like data source creation for sales order creation, but I don't know waht to enter in transaction CTBW. Anyone here has done this previously? Any pointers and/or the strategy you've used will be useful.
Kind regards,
SimonHi,
If you are asking about "CRM sales contracts", The following help gives the info about standard ODS and Datasource.
http://help.sap.com/saphelp_nw2004s/helpdata/en/d5/9fcd3b869e7d72e10000000a11402f/frameset.htm
With rgds,
Anil Kumar Sharma .P
Maybe you are looking for
-
Purchase order scenario ------Pls clarify about the scenarios in SAP
Hi MM Gurus all, pls clarify the following: 1.Purchase Order given to a vendor & material received from multiple vendors i.e. B or C or D with payment to A. 2.Purchase order to vendor A & B vendor & other vendoru2019s material received from either A
-
hi there is there any other way for direct download or all programs now used creative cloud? i put my old serial number is not working
-
iPod does not appear in iTunes and also does not appear as a disk drive in My Computer (Windows XP)
-
Hi All, Need to close the process orders which are in TECO ststus. There is no batch number assigned to the process order so no consumption of materials. The activities are in CRTD WRCE status which are not allowing the process order to close. Regard
-
Jre1.3.1_19 no lib
I download jre1.3.1_19 from http://java.sun.com. I install it on my PC with default location I checked folder C:\Program Files\JavaSoft\JRE\1.3.1_04\lib\ext do not exist any lib My application can not launch. When I install jre1.4.2_12, check folder