Enhancements on Datasources in R/3 System
Hi Experts,
Can anyone please tell me what kind of enhancements will be done in SAP BW and also please tell me the enhancements that can be done on the Datasources... Please let me the details including the techinical names, field names and also with the table names..
Thanks in Advance..
Chintu
9985301043
Hi
Enhancement means in the SAP given datasource If you want to add extra fields.
The procedure is like below.
Take the datasource in which you enhance.
1. If you enhancing in the LO datasaource, take the aprapriate communication strucute append the structure in that structure add the fields you wnat enhance.
If you are enhancing other than LO you take extract structure append the structure and add the fields in that structure.
2. Goto LBWE Tcode take the option called "Maintain Extract structure" take the fields which you enhanced from pool take push in to extract strucure.
If you enhancing other than LO no need to do this.
3. Goto RSA6, take datasource, goto change mode. The enhanced fields Hide option checked, reomove that tick and save it.
4. Goto "CMODE" tcode, If project is already created for that enhancement goto disply mode. If the project is not created give the project name created and give the enhancemet name as "RSAP0001" and save it.
in the component you can find 4 Function modules
EXIT_SAPLRSAP_001 -> Transaction Data
EXIT_SAPLRSAP_002 -> masterdata attributes
EXIT_SAPLRSAP_003 -> Master data Texts
EXIT_SAPLRSAP_004 -> Masterdata Hirarchies.
Take the apprapriate FM and double click on it
there you can find Include name. If you double click on it you can find ABAP editor.
there we have to write the code
example code will be like below.
data: l_s_icctrcst like icctrcst,
l_s_icctract like icctract,
l_s_icctrsta like icctrsta,
l_tabix like sy-tabix.
case i_datasource. */ in BW 1.2B case i_isource.
when '0CO_OM_CCA_1'.
loop at c_t_data into l_s_icctrcst.
l_tabix = sy-tabix.
select single * from z0001 where kokrs = l_s_icctrcst-kok
and kostl = l_s_icctrcst-kostl.
if sy-subrc = 0.
l_s_icctrcst-zfield1 = z0001-zfield1.
l_s_icctrcst-zfield2 = z0001-zfield2.
modify c_t_data from l_s_icctrcst index l_tabix.
endif.
endloop.
when '0CO_OM_CCA_2'.
when '0CO_OM_CCA_3'.
when others.
exit.
endcase.
This is example code.
Thaks
DST
Similar Messages
-
SAP BI tables / FM's to get datasource details of source system in BW system
Hi All,
Is it possible to trace the Datasource details of source system in BW system. For example if there a ECC Datasource 0FI_XX_XX, then is it possible to find below details in BW using some RFC FM's ot tables
1) If there is any enhancements for the Datasource
2)What is the name of extract sturcture and name of the enhancement.
3) Is it possible to get code written for that Datasource enhancement
Please let me know.
Thank You.
CPGHi,
Might be possible by using RFC. But you may face issues.
Because enhancement code is based on ecc fields. those won't be compatible at bw side.
Actually why you need to ecc details at bw side?
All below points need to check source system side.
1. You can check at CMOD, by using standard exits. or
at SE38. ZXRSAU01/02/03 depend on data source type you can use program and search for your data source you may know the code if your data source was enhanced by using cmod.
2.Data source extract structure name you can get from source system, RSA6, double click on your data source, open next screen you may see it. There is no specific name for enhancement. but all enhancement components under RSAP0001.
3. Yes, you can check program ZXRSAU01 - transaction data source, once you open thi program, you can search for your data source, you may see the relevant code for your data source enhancement.
As my guess your data source is transaction data source.
Thanks -
Replicate datasource from SRM source system
Hi,
I need to replicate datasource from SRM source system I am able to see datasource under application component in RSA6 when I tried to replicate those component In BI by selecting Replicate Tree Metadata I am not able to see any application component in RSA1 .
Thanks,
SenthilHi Senthil,
i know your issue. the problem is when you are going to do replication in first time you dont find any application components.
so what you have to do is go to the BI SYSTEM and go to your SRM Source system and select and right click and select Replicate Datasources.
if you are doing first time replication it takes a quite long time.
so once its replicated then u will b able to see the datasources as well as the corresponding application components.
next time in SRM if you enhance the datasource you can directly select the datasource and right click say replicate metadata.
once solved get back to me
HOPE THIS HELPS YOU
regards
vadlamudi -
How does an enhancement of datasource affect my production data
Hello All,
We have enhanced a datasource 2LIS_11_VAITM, I want to know what will happen to my existing data in the production after i move the enanced datasource to production???
will i need to clear the existing data in production after moving the same to another dummy cube O r will just running the deltas bring in the data for the enhanced fields as well without disturbing the existing data...
Please respond. The issue is very critical..Hi,
For all the historical data that already exists in your BI system, the data for the enhanced fields will not be populated but deltas would work absolutely fine and for all the new transactional changes, these fields will be filled. If you want to populate the data for historical data as well, you will have to carry out fill up of setup tables and reload the data to BI by initialising the data. If the data is being fed to DSO, I dont think that there is any need for deleting the data, as it would get overwritten by the new initialisation load.
As such, please note that deltas will not get triggered if the only changes to Sales Order are for enhanced fields. Deltas will only be captured for the fields that are part of main communication structure. The motive for adding the enhaned fields is only to bring information for these fields.
Edited by: Rahul K Rai on Sep 14, 2010 11:26 AM -
Message "Creation of DataSources for SAP source system is not permitted"
Hi,
I am in DW Workbench: Modeling and I need to copy a DataSource.
It's impossible, beacause I have this Message "Creation of DataSources for SAP source system is not permitted"!
What can I do?
ThksHii.
You can not copy the standard datasource to any other source system it will not allow you to do that.
But if you want to copy you can copy it to PC FILE source system.
It will allow you to copy there.
Right click in Datasource->Copy-> Give Target datasource name -
> intarget Source system tab -
>Give Source system for File.
Thanks
Mayank
Edited by: Mayank Chauhan on Sep 4, 2009 5:41 PM -
Creating DataSources for File Source Systems in csv format in sap bw 7.0
Hi,
Please explain how to Create DataSources for File Source Systems in csv format in sap bw 7.0. WITH SCREENSHOTS
Thanks
JINI
Edited by: Jini Jayan on Jun 11, 2008 11:36 AMStep 1. Select Source systems under Modelling in the left panel. In the right panel, right-click Source systems and select Createu2026.
Step 2. Select the FileSystem, manual meta data, data using file inte option, and then click to continue.
Step 3. Enter a name and a description for the source system, and then click to create the source system.
Now create an application component
Step 1. Select InfoSources under Modelling in the left panel. In the right panel, right-click InfoSources and select Create application componentu2026.
Step 2. Enter a name and a description for the application component, and then click to continue. (BW automatically adds a prefix of "Z" to the technical names of application components, unlike the naming system used for other BW objects.If u give the name as AC_DEMO it will be saved as ZAC_DEMO in the system.
Now create infosource
Step 1.Select InfoSources under Modelling in the left panel. Right-click the newly created Application Component , and then select Create InfoSourceu2026.
Step 2. Select the option Master data/texts/hierarchies, and then click to continue.
Step 3. Enter your infoobject name, and then click to continue.
Now you will be asked
Infosource(name) assigned to Appln component(name)?
Click continue
Now go back to workbench and see the Infoobject listed under the Application component name (under Infosource)
Right click the infoobject name and select Assign Datasource
Enter the Infoobject name as Infosource name and the source system name and continue
Now you ll get datasource assignment confirmations for Infosource_ATTR and Infosource_TEXT for master data and text.
Click yes and continue
Now you ll be taken to the Infosource(master data) change screen
Source system name will be given
Below that u need to give the datasource name u2026.._ATTR
Click Activate.
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
For ex if your infoobj are IO_MATNUM and IO_MATNAME (material number and material name) copy and paste as
IO_MATNUM IO_MATNAME
MAT001 TEA
MAT002 COFFEE
MAT003 SUGAR
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_ATTR.csv
Now back to the Infosourcechange screen
Source system name will be given
Below that u need to give the datasource name u2026.._TEXT
And activate
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_TEXT.csv
Now create Infoobject to load data
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_ATTR
Now take care to select the first item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
In the same way
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (text)enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_TEXT
Now take care to select the second item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
Click the icon below admn workbench to go to monitor and check the load
Or you go back to Infosourceu2014Appln Componentu2014InfoObju2014right clickmaintain master data
Click execute
You can see the data load
Hope this helps!!! -
Hi
I want to enhance 0STOR_LOC_TEXT datasource with 0COUNTRY and country key. but, can i use them as a navigational attribute in the report, after adding into 0STOR_LOC_TEXT ?
Regards
AnujaHi Anuja,
For making any infoobject as navigational you need to do following setting
1)Infoobject should be navigational as master data infoobject.
2)infoobject should be navigational at data target level(it can be your DSO,Cube,multiprovider).
Please do above setting at your data model then only you can use that infoobject as navigational at report level.
Hope it will helpful to you.
Regards,
Ganesh Bothe -
Steps to enhance a datasource from SAP CRM
Dear Forum,
Could you please provide me with some document to enhance a datasource from SAP CRM. Is it any different from enhancement of datasource from ECC datasources,
Thanks and regards,Hi,
please look this:
Business Intelligence How-to Guides for SAP NetWeaver 2004 [original link is broken]
or here: How-to Guides for SAP NetWeaver Business Warehouse 7.0 [original link is broken]
Creating a datasource for generic extraction
regards
CSM Reddy -
Datasources in a 3 system landscape and transformations
Hello,
I am working on a 3 system landscape on Netweaver 2004s. As I know, for every sourcesystem,
there is produced a different datasource. When I want to Test a transformation
between a datasource and a datatarget in the develpment system, quality system
and productiv system, does this mean that I have to implement a transformation for
each of these three systems?
Thank you.
Regards, Lars.Hi,
that you test your object in every system ist clear. The problem I have is, that
I don't want to implement the same transformation 3 times.
So if I understand your answers, I always have to implement 3 transformations
that have as source a datasource:
1. The first transformation references the datasource in the development system.
2. The second transformation references the datasource in the quality system.
3. The third transformation references the datasource in the producitv system.
The only alternativ I see ist to transport first the datasource from the development system
into the quality system and the producitv system and than reference in the
transformation only the datasource in the productiv system. In this case I need
only one transformation. Is this right?
Thanks.
Regards, Lars. -
Delta in enhanced 0HR_PT_1 DataSource
Hi gurus,
I have a problem with enhanced 0HR_PT_1 DataSource.
There are some fields added to the extractor structure and one of these fields (ZNIEOB) should be the base for delta queue.
Unfortunatelly the delta mechanism doesn't work as it should - the changes in ZNIEOB field don't generate delta records.
How should I modify the extractor to make the delta work?Hi,
Please check if pseudo delta helps:
dummy delta/pseudo delta
-Vikram -
Steps to Enhance Custom DataSource
Hello All,
I have one custom datasource ZZ_PROD. From which I am extracting data and populatd in a ODS and then in to Cube in BI 7.0
Now I have to enhance it and add about more 20 fields from two different ECC tables.
These two tables are custom tables for a particular departmens.
Can somebody explain me the steps how I can accomplish this?
Thanks in Advance
Kumar M.I would recommend to change the function Module or the program it generates the ZZ_PROD.
First Add the fields to the extract Structure.
Unhide the newly added fields in the data source.
Write the logic to grab the data from the two tables and assign it to proper extract structure fields.
We normally enhance the datasource using User Exit since we don't want to make changes to SAP Delivered programs that would be overwritten during upgrades.
Hope that helps.
thanks.
Wond -
How to enhance the datasource 0SRM_TD_PO using table BBP_PDIHP
In R3 when any PO is deleted at the header/item level the field LOEKZ is populated in tables EKKO(Header)/EKPO(item level).
Similarly in SRM when any PO is deleted at the header/item level the field DEL_IND is populated in tables BBP_PDHGP(Header)/BBP_PDIHP(item level). In current situation we have standard datasource 0SRM_TD_PO, this has a field as ITM_DEL_IND which is coming from table BBP_PDIHP(item level) and its always blank and its not getting populated , so we are not able to eliminate the deleted PO's in BW.
To overcome this, I have a following approach :
=====================================
Enhance the datasource 0SRM_TD_PO to include a "ZZDELIND" field and populate this field via CMOD from tables BBP_PDHGP(Header)/BBP_PDIHP(item level). The issue is I'm not able to determine the relation/join/data model between the datasource and the tables. The datasource 0SRM_TD_PO has a PO#(OBJECT_ID) but the tables BBP_PDHGP(Header)/BBP_PDIHP(item level) dont have a PO# instead these tables have a key as "GUID"which is HEXA decimal.
Can someone please help me out.two ways:
1. call FM bapi_po_getdetail and pass the PO number, you will get all your details
2. pass PO number to CRMD_ORDERADM_H to get the the GUID and use this GUID on BBP_PDHGP(if version control is active then you need to consider the active version only)
and for item guid, pass the GUID picked from CRMD_ORDERADM_H to CRMD_ORDERADM_I-HEADER, you will get all the item guids as CRMD_ORDERADM_I.
this can be passed to BBP_PDIGP.
there are beautiful views as well joining these tables(BBP_PDVIEW*).. which you can use as well -
Enhancement BC Datasource for Master Date - no data for new fields
Hello,
I have a problem. Maybe someone can provide a check list.
I made an enhancement for datasource 0COORDER_ATTR via SAP Exit. The problem is that i do not get data in BW for the new fields but no error occurs. the extractor checker delivers the new data.
the following points i already checked:
- datasource replicated and infosource activated
- "Hide field" and "Field only known in customer exit" are not checked for the new fieldsHi Stefan,
I guess you need to maintain your transfer structure. Edit your transfer rules and click on tab 'datasource/transfer structure'. Move the new fields from the right table (datasource) to the left table (transfer structure). Click on tab transfer rules and map the new field. Activate the transfer rules again.
regards
Siggi -
Correct/Changes in the data in DataSource in R/3 System
Can we make the changes in the DataSource which is there in R/3 from were the data is loading into BW System?
Friend..here it is..
In the source system...Create an append structure to the std datasource's extract structure..then add fields in the append structure.The Z-fields can be named like 'ZZ<field-name>'.
(For the data-element,use same data element as that of the fields from where you will pick the data..so that format problems are avoided)
Save and activate the append structure and also the datasource extract structure.
Added z-fields are hidden by default.Now go to tcode rsa6 and find the std datasource.Click on change button and unhide the added z-fields..but do not remove the checkbox for 'fields known in customer exit'.
Now u will have to write user exit in tcode CMOD.
Go to CMOD and enter the project name for BW.
Then choose radio button components.
4 user exits will come up.Use 2nd one for master data attributes enhancements.
You will have to loop on C_T_DATA(or I_T_DATA) and modify it with derived values for the z-fields.
Save and activate exit.
Then do extract check in rsa3.See that z-fields getting derived OK.
In BW,try to find if BC infoobjects available for the required additional attributes.
Go to change mode in the std main infoobject and add the new attr at the end.
Then replicate datasource in BW,map the transfer and update rules and then load data.
Done.Hope I havent missed anything.
cheers,
Vishu
iF..You dont have an existing project and u have to create one.
Select a good name for a project..say ZBIW..and then enter the name and click on create button.It will take u to new screen.There give short text for project name.
Above u will see 'enhancement assignments' button.Click it and in the new screen add enhancement RSAP0001.
Save and remember to activate project too..
(save in appropriate transport request)
Then if u click the components button u will see the 4 user exits..
Choose the documentation radio button and u will get purpose of all 4 exits. -
I need to enhance a COPA datasource but I cannot add fields in COPA structure as it is already full. So Need to write a code to populate the fields. We require partner function fields from VBPA table and populate the data.
I cannot create generic delta based on VBPA as this does not contain timestamp field.
When writing the code and populate the data, Will this fetch Delta data for COPA datasource? for ex. if someone changes the partner function for sales order will that be captured as a delta? If not then please suggest what should be the approach for above.
Regards,
GirishHi,
Look up will work. it will be another way for you.
but delta on partner function will won't work thru LO data sources.
LO data sources are standard one and will work on their own delta function.
You need to understand more functionally about partner function.
this won't be the unique for one record. same function will may have multiple records.
in such cases we don't have any option to make partner function as delta relevant field thru custom data source.
Another work around:
Create one custom data source on table VBPA with less fields along with partner function.
load custom data source data to bw DSO(xyz).
create multiprovider on custom DSO(xyz) and copa cube.
At data source - you need to run daily full load only(info pack and dtp)
Thanks
Maybe you are looking for
-
Trying to display an object in a cmbo box
i have a GUI that gets data from a MYSQL database and stores the data items in variables i defined. i wnat to load the data into text fields and combo boxes. the text fileds load and display the data fine but not in the combo box. i have the followin
-
Problem with ora_br_copy.sh
My source ABAP+Java based DBCI is in a UNIX cluster environment. When I run ora_br_copy.sh to create CONTROL.SQL file, it gives me the following error, <i>Required system resources are missing or not available: Oracle listener is not started on p
-
hi, can anyone tell me how accessible Adobe AIR is? eg is it accessible to screenreaders? i read on the bbc iplayer website that "Adobe AIR is currently not accessible to screen reader users" and i just wanted confirmation of this. it also says that,
-
Column view not Icon View?
This is most annoying. Every time I restart or startup my Mac Pro and I open my MacHD, the default Icon view appears. Once I have the MacHD window open, if I click on View/Show View Options I can click off "Always show in iCon View". Then I change th
-
Amarok 2.5.0-1 - no sound
Updated to Amarok 2.5.0-1 and now there is no sound, although the track appears to 'progress' normally. Going to Settings->Configure Amarok->Playback->configure Phonon I was able to select the preferred audio device and got sound when pressing the 'T