Change 7.0-InfoSource
Hi,
I'm looking for a ABAP-program to change a 7.0-InfoSource. I want to sort the infoobjects in my own direction - for excample by:
- infoobject typ
- datatype of the infoobjects
- by description.
I found
- the class CL_RSKS_TRCS
- the methods FACTORY, GET_INFO, IF_RSTRAN_TARGETGET_LIST, IF_RSO_TLOGO_MAINTAIN_INTCOPY_VERSION, IF_RSO_TLOGO_MAINTAINSET_OBJSTAT, IF_RSO_TLOGO_MAINTAIN_INTSAVE_INTERNAL, UPDATE_ACT and IF_RSO_TLOGO_MAINTAIN~ACTIVATE.
- and the function module ENQUEUE_E_RSISOURCE to set a SAP lock.
With the method IF_RSTRAN_TARGET~GET_LIST I get the list of the InfoObjects. Then I sort the internal table L_T_FIELD in my way - and change the field POSIT. And I think I can save it with UPDATE_ACT. But after the activation the InfoSouce is not in the new version.
Can everybody helps me to write the correct ABAP?
Sven
* Lesen der Felder der InfoSource *
CALL METHOD cl_rsks_trcs=>factory
EXPORTING
i_structure = p_isour
RECEIVING
r_r_trcs = l_trcs.
CALL METHOD l_trcs->get_info
EXPORTING
i_objvers = rs_c_objvers-new
IMPORTING
e_s_info = l_s_info
e_s_info_txt = l_s_info_txt.
CALL METHOD l_trcs->if_rstran_target~get_list
EXPORTING
i_objvers = rs_c_objvers-active
IMPORTING
e_t_field = l_t_field
e_t_segtxt = l_t_segtxt.
IF NOT l_t_field[] IS INITIAL.
* Felder neu durchnummerieren
LOOP AT l_t_field ASSIGNING <l_s_fields>.
MOVE-CORRESPONDING <l_s_fields> TO l_s_rsksfieldnew.
l_s_rsksfieldnew-isource = p_isour.
l_s_rsksfieldnew-objvers = 'M'.
l_s_rsksfieldnew-keyflag = <l_s_fields>-is_key.
l_s_rsksfieldnew-posit = sy-tabix.
APPEND l_s_rsksfieldnew TO l_t_field_new.
ENDLOOP.
CALL METHOD l_trcs->if_rso_tlogo_maintain~activate
EXPORTING
i_objvers = rs_c_objvers-modified
i_force_activation = rs_c_true
i_show_check_protocol = rs_c_true
IMPORTING
e_t_tablnm_cnv = l_t_tablnm_cnv
e_subrc = l_subrc.
hi Voodi,
We created the InfoSource in BI 7.0.
SAP_ABA level 0010
SAP_BASIS level 0010
PI_BASIS level 0010
ST-PI level 0003
SAP_BW level 0010
BI_CONT level 0003
Then what's the patch level are we using now?
Thanks
Similar Messages
-
Hi Gurus
I made some changes in info source in BW DEV with some infoobjects. unfortunately those fields are not there in data source . So removed those changes from info source.
now when I have activated it again the routines written in original info source were deleted. so I wrote them again and deleted all the transport request generated for that infosource.
So whenevr I will transport the infosource now , will it give me some problem? I deleted all the transport request as the modification were not correct and i didn't want to transport them.
if i change some object and the request is generated then again i modify the object another transport request is poping up so can I delete the previous one or it will be overlapped?Eric/Sidhartha
My problem is I made changes to infosource and deleted the changes .as I deleted the changes I have also deleted the request which was carrying those changes.
so now the infosource is in its original state( As I have included the required routines etc which were deleted).
So if i will make any change in the infosource tomorrow , then will it work fine? I am just worried about the transport I deleted . will it make some difference when i will transport the infosource again? -
Hello,
I added cost center field to the standard profit center cube, 0PCA_C01. I need to make changes to the infosource. Can you please list the steps to change the infosource and the datasource. Thank you.1. If the Cost Center field data will be coming from R/3, add the field in data source (check/uncheck with rsa5 if you found the field in existing source, otherwise use user exit)
2. Add the field in Transfer structure /transfer rules and activate it.
3. Re-create the update rules using modified InfoSource. It should automatically collect the new field.
That's it. Try loading data and check if every data is loaded in correct order.
Reward points if it helps.
Regards,
Ashok -
Change the datatype of the Keyfigure
Dear all
I have a Keyfigure which was earlier defined as Decimal with 3 decimals places.But now with the change in the Customer's requirement , I need to make it with 8 decimal place. the way out is to either increase the decimal places supported ( but this is not working , i tried ) or to change the datatype to FLTP , but again this option is non-editable , so i am not able to change it either.
I also tried to create a new InfoObject , but then i would have to change evrything from infosource to update rules.
BI-Guru's , Is there any way out here ?
Thanks
RameshHi,
you won't be able to change your KeyFig without reloading your target with your new key figure setting. Indeed changing to floating point will change your figures...
You have to create a new KeyFig, map your URules... an reload your data in your target; you could use a copy of your cube in order to do so.
hope this helps...
Olivier. -
Not able to EDIT the data in PSA
Hi Experts,
I had created cube and it has following seeting
1) Three dimensions i.e. Employee_No, Employee_name and Time
2) Key figures i.e. Salary and Tax
Procedure What I have followed
=======================
1. Created one CSV file and it contains ten records
2. I created one file interface source system
3. I had created one infosource
4. In the change button of infosource I have included four objects i.e.
Employee_No,Employee_name, Salary and Tax
5. I assigned data source to the above infososurce
6. By creating data package with the selection of PSA and Infoobject parallel in
the processing button I loaded 10 records into the cube
7. Next time I tried to use same infopackage with the selection of Only PSA in
processing button
8. Than I tried to Edit the data, but pop's with warning message "An internal error
occured in maintenance module"
I hope some one reply to this issue.hi,
i think it is becqause u HAVE CHANGED TO only psa option .
also u can create another infopackage and load the data
or else u can edit the data in source system instead in ps.
regards
pls assign popints if helpful. -
Error while loading hierarchies in sap bw
Hi All,
Iam getting the below error while loading hierarchy from flat file. While scheduling infopackage iam getting ....
Error 8 when compiling the upload program: row 657, message: A newer version of data type /BIC/B0014446000 was...
Can any one please resolve the issue....
Regards,
KalyaniIt wasn't any issue with Hierarchy load actually. He might have done some changes to the InfoSource and activated it. But some time you need to refresh the complete tree or run \nrsa1 to refresh the widow otherwise it gives error.
It shows to the system both the copies of the infosource new and the modified and so throws this error.
This is also the case in case of time stamp error, where you do some changes to DS again and the time stamp in system metadata
for this DS (re-activated) dosen't matches witht the one expected as it's creation time stamp preiously. So in this case also you need to re-activate and refresh/re-login into the system again. -
Hello all,
We have a situation where the client did a system refresh in our BW Q/A from BW Prod. They didn't change the logical system name back to LSYST01300 (R/3 Q/A) from LSYSP01300 (R/3 Prod.). This has been like that since Dec. 04 until recently, when a system refresh was done again, BASIS changed the logical system name back to LSYST01300 without running BDLS. Now, BW doesn't connect to R/3 and fails on transfer IDOCs. Can the IDOC error issue be fixed without running BDLS now or if BDLS is run, will it change all the InfoSources in BW that carry LSYSP01300 back to LSYST01300? Please advise. Thank you.
Praveen Punnamhi Praveen,
you need to run the BDLS to change the logical system names in order to esatblish the communication between R/3 and BW.
after running the BDLS you need to replicate the source system in BW. Change the contents of the target host fields for all R/3 and Data Mart Note 184754
source systems RFC connections to a nonexistent address. (also 184971)
Update the target BW system name in table T000 using SM30.
Change logical system name in all BW tables using BDLS.Note 325525
SAPPRD600 -> SAPQAS100 121163)
(Note: logical system name may be displayed using SCC4).
hope this might help
thanks
qandeel -
Error while trying to Change an Infosource
I get the following error while trying to change an Infosource. I am not able to get to the change screen and it displays the following message 'Infoobject MPVPOPR not available in the Active Version'.
I did the following to try and debug the issue...but with no luck..
1) I checked for the Infoobject MPVPOPR and did not find it anywhere (Metadata, Transport Connection, Infobjects)
2) I am able to load the data using an infopackage into the ODS.
3) Communication structure and all is Active...
I just cannot get to the Change Screen for this Infosource and it displays the error 'Inobject MPVPOPR not available in the Active Version'.
Please provide any Suggestions
Thanks and Regards
AndyAndy,
For the confirmation whether your infosource contains MPVPOPR or not.
Just goto RSA1 > InfoObjects > search MPVPOPR > double click on found > there is an option "Where used" , just click and check whether your infoobject is present in the infosource or not.
And let me know for the solution.
Thanks
Ramu -
Change source system in Infosource
Hi
I am working on BI7. I have one isse. For an infosource source system has been assigned to client 100. I would like to change it to 200. Pl let me know how to make this change.Hi
I didn't get your question,how a infosource is assigned to source system,your data source will be assigned to source system and your infosource and data sourece will be assigned to each other..
delete the datasource from source system 100 and create a data source in 200 and assign it to your infosource(i am considering both 100 and 200 source systems are assigned linked to your BW system via RFC(SM59))..
Hope it helps
Thanks
Teja -
Change comm struct in InfoSource
Hi All,
I am having real trouble trying to enter change mode in an InfoSource.
I want to add an object to the communication structure but it is greyed out and cannot be changed. I have also released all transports which had changes in them related to this info source.
What else could be locking changes to the comm structure?
Any help much appreciated.
Cheers,
Sean.hi Sean
if that IS is not a Flexi update so .. u U just go to the ZCUSTOMER infoobject and add the new Infoobject as Attribute or Nav attribute
Regards
AK -
Cannot connect Datasource to Infosource (Change protected)
Hi,
I have a custom defined Infosource (with custom defined Info Objects) currently in class $tmp.
I want to connect a (previously) custom created datasource to it (which is tranported from another BW 3.5 system). Then it gives me the error:
RSAR 771 Objects can only be displayed (change protected).
The datasource is still not connected to any other Infosource.
Any idea what is happening here?
And (2) How to loose the 'Change protection'?
Best regards,
JJ
(Netherlands)Hi Jos,
Hope some changes have happened on that data source, so please save and activate once again... after that do post processing of the data source...
Then Replicate the data source at BW system side and try to connect assign your custom define info source to that data source.
Regards,
PRK -
What should BASIS do for an InfoSource transport for Souce System change?
We just create a change request for an InfoSouce. Now we transport this change request from DEV system to TEST system. But when this change request was imported on TEST system, got the "Method Execution" red error which can be checked through STMS in log. The red error msg is "Source system A does not exist", where A is our R3 DEV server. Actually we need the source system B which is R3 TEST server in the InfoSouce transported into BW TEST system, but the problem is that the change request was created on BW DEV which uses A as Souce System in the InfoSouce, then how to make the InfoSouce has B on BW TEST after the transport?
Thankshey Roberto,
I think this setting should be conducted on DEV system other than the target TEST system as you said, am I right. Since we conduct the transport on DEV through the Transport Connection and the settings of the mapping of the source system should be set on DEV, right?
Our BASIS know nothing about BW that we can't depend on them even if this is BASIS work.
Thanks -
How change the infosource of all objects
Hi,
We did a copy homogeneous BWPRD to BWDES with backup off line our database oracle 9.2, the system source its SAP_PRO of all objects,we needed change the system source a SAP_DES with of all objects and rules of transfer.
Thanks.Hi,
Welcome to SDN!
There is a bunch of OSS Notes:
325470 Activities after client copy in BW source systems
325525 Copying and renaming systems in a BW environment
121163 Converting logical system names
524554 Storing destinations in the BW environment
184322 Procedure after DB copy of BW source systems
131018 Client Copy in the BW
116432 Copying productive client 000 in the BW System
131018 Client Copy in the BW
And also a Howto: How To System Copy in SAP Business Intelligence System Landscapes.
Best regards,
Eugene -
Start routine error - infosource 2LIS_13_VDITM
Hello,
During the activation of the standard InfoCube 0SD_C03 (Sales: Overview), I have encountered a problem in a transformation between the infosource 2LIS_13_VDITM and the afrementioned Cube (this transformation has been transferred during the activation of Business Content).
The transformation is inactive after the installation (other dataflow structures, for other datasources attached to this Cube have been automatically activated). When I try to active it, an error message appers, informing that:
a) Initial update has been set for some of the key rules (e.g. for target field 0VERSION) - but that is a minor obstacle; the bigger problem is that
b) there is a syntax error in the start routine for this transformation
Checking that start routine results with the following error:
E:In PERFORM or CALL FUNCTION "ROUTINE_9998", the actual parameter
"SOURCE_PACKAGE" is incompatible with the formal parameter
"DATA_PACKAGE".
Since I'm not an ABAPer, that info is a bit vague to me.
I have tried to find an answer in the forums but with no success. So if anyone could provide a solution this problem or point me to a thread where it has been answered, I would be very grateful.
I can provide more details should those be needed.
Best Regards,
AlekThanks for the info Umesh,
Just to be sure - I should simply change "SOURCE_PACKAGE" to "DATA_PACKAGE" in the code of the start routine? "Source_Package" is present in two places in that code:
METHODS
start_routine
IMPORTING
request type rsrequest
datapackid type rsdatapid
EXPORTING
monitor type rstr_ty_t_monitors
CHANGING
SOURCE_PACKAGE type tyt_SC_1
RAISING
cx_rsrout_abort.
and then after that in:
Migrated update rule call
Perform routine_9998
TABLES
SOURCE_PACKAGE
CHANGING
l_abort.
Or should I revert to the 3.5 version? (as a side note, that Data Source (2LIS_13_VDITM) has been activated in 7.0 version by default, when I replicated data sources in BW).
Praveen, as to your remarks, I have the datasource 2LIS_13_VDITM (in version 7.0) active, along with the appropriate Infosource. Transformation between the DataSource and InfoSource is active, and only the transformation between the InforSource and the Cube poses problems.
BR,
Alek -
Error While loading data for LIS InfoSources.
Hi All,
I am repeatedly receiving load failure errors while loading data using 2lis_01_s001 (This is the case with all the InfoSources).
The error message is:
An error occurred in the source system.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
in our Quality system, we disabled the LIS Updation to No Update(R3) and loaded data and then again changed the Update Mode for No Updating to Asynchronous Update(R3). But now we are doing dataloading in Production. How to proceed. Should we have to disable the LIS Updating whenever we have to load the loads from R3 to BW.
Regards
JayHi Jayanthy,
Pls. check the order of the fields in the two set up tables for the S001 structure. The order of fields in both the tables should be the same.
You can see the structure in the TCode - SE11.
If the order is different, then you bneed to ask the BASIS person to change the order so that the order of fields in both the setup tables is same. This should fix the issue.
Thanks,
Raj
Maybe you are looking for
-
Itunes 10 error 7 (windows 127)
I keep trying to install the new itunes and i have tried everything and an error keeps popping up, how can i get my itunes to work right
-
Video Alongside A Powerpoint (like in Apple's Keynote video): How?
Hello all, At work I've been asked to come up with a way to display a video of someone presenting at an event alongside the matching PowerPoint deck they're using for their presentation. I've got FPC on a Macbook Pro along with a Windows XP setup, so
-
White space below footer due to Relative Positioning?
I'm pretty new to coding. I'm learning how to do a responsive website and everything is working, EXCEPT for the huge blank space below the footer at the largest screen resolution. I know it is because of the relative positioning I used for the "sampl
-
Hello Could you please assist me with such issue I am using a Canvas object like a container for images (Image class). My application loads 500-1000 images (tiles) dynamically and then displays them. Everything works fine but the memory grows up to 3
-
Qosmio X500 - Midi not found in Windows 7 64bit
Ive just bought Cakewalk its not finding any midi output for Windows 7 64bit, in my Qosmio X500. Can anyone help?