Update Concatenated Info-Object
Dear Experts,
C1 and C2 are info-objects (characteristics) that have their own data and update rules directly from source (ERP). I have a third info-object animal C3 which is structurally C1-C2 (C1 hyphen C2).
What is the easiest/neat/straightforward/standard way to update C3 without using Excel ?
Thanks
BS.
Hi Borat
If you ask me, I will follow below steps.
1. With first step, I will load the C1 and C3 infobject.
2. As I 2nd set up, I will start loading the data into C2 infobject. Together with BI expert, you can create logic i.e. C1-C2 = C3 in the transformation. so ideally I would use C1 and C2 as source data for my C3 infobject.
At least we are following similar kind of process in our area which still works :-).
Thanks
Amol
Similar Messages
-
Hi All,
We are implementing BW. The Vendor and Document date info objects are not mapped directly to SAP R/3. Hence the data is not updating directly fromR/3 for these info objects. So I have written a small transfer routine to update the info object. But it is not getting updated with this routine. I am not sure where the problem is. Any ideas why?
The following is the code of transfer routine. There are two infosources: communicaoin structure and Transfer structure. I wrote the routine in transfer structure. This routine is written for the info object Vendor.
PROGRAM CONVERSION_ROUTINE.
Type pools used by conversion program
TYPE-POOLS: RS, RSARC, RSARR, SBIWA, RSSM.
Declaration of transfer structure (selected fields only)
TYPES: BEGIN OF TRANSFER_STRUCTURE ,
InfoObject SL_ACTIV: CHAR - 000004
ACTIV(000004) TYPE C,
InfoObject SL_AWORG: CHAR - 000010
AWORG(000010) TYPE C,
InfoObject SL_AWTYP: CHAR - 000005
AWTYP(000005) TYPE C,
InfoObject 0ACDOC_NO_F: CHAR - 000010
BELNR(000010) TYPE C,
InfoObject 0PSTNG_DATE: DATS - 000008
BUDAT(000008) TYPE D,
InfoObject 0ITEM_NUM: NUMC - 000003
BUZEI(000003) TYPE N,
InfoObject 0CHRT_ACCTS: CHAR - 000004
CHARTACCTS(000004) TYPE C,
InfoObject 0CREATEDON: DATS - 000008
CPUDT(000008) TYPE D,
InfoObject SL_CPUTM: TIMS - 000006
CPUTM(000006) TYPE T,
InfoObject 0CREDIT: CURR - 000017
CREDIT(000009) TYPE P,
InfoObject 0CURRENCY: CUKY - 000005
CURRUNIT(000005) TYPE C,
InfoObject 0CURTYPE: CHAR - 000002
CURTYPE(000002) TYPE C,
InfoObject 0DEBIT: CURR - 000017
DEBIT(000009) TYPE P,
InfoObject SL_DOCCT: CHAR - 000001
DOCCT(000001) TYPE C,
InfoObject SL_DOCLN: CHAR - 000006
DOCLN(000006) TYPE C,
InfoObject SL_DOCNR: CHAR - 000010
DOCNR(000010) TYPE C,
InfoObject SL_DOCTY: CHAR - 000002
DOCTY(000002) TYPE C,
InfoObject 0FISCPER: NUMC - 000007
FISCPER(000007) TYPE N,
InfoObject 0FISCVARNT: CHAR - 000002
FISCVAR(000002) TYPE C,
InfoObject SL_LINET: CHAR - 000005
LINETYPE(000005) TYPE C,
InfoObject SL_LOGSYS: CHAR - 000010
LOGSYS(000010) TYPE C,
InfoObject SL_POPER: NUMC - 000003
POPER(000003) TYPE N,
InfoObject 0QUANTITY: QUAN - 000015
QUANTITY(000008) TYPE P,
InfoObject 0UNIT: UNIT - 000003
QUANUNIT(000003) TYPE C,
InfoObject 0GL_ACCOUNT: CHAR - 000010
RACCT(000010) TYPE C,
InfoObject 0COMP_CODE: CHAR - 000004
RBUKRS(000004) TYPE C,
InfoObject 0COSTCENTER: CHAR - 000010
RCNTR(000010) TYPE C,
InfoObject SL_REFACT: CHAR - 000004
REFACTIV(000004) TYPE C,
InfoObject SL_RFDCCT: CHAR - 000001
REFDOCCT(000001) TYPE C,
InfoObject SL_RFDCLN: NUMC - 000006
REFDOCLN(000006) TYPE N,
InfoObject SL_RFDCNR: CHAR - 000010
REFDOCNR(000010) TYPE C,
InfoObject SL_REFRYR: NUMC - 000004
REFRYEAR(000004) TYPE N,
InfoObject SPL_CUR1: CUKY - 000005
RTCUR(000005) TYPE C,
InfoObject 0VERSION: CHAR - 000003
RVERS(000003) TYPE C,
InfoObject SPL_CUR2: CUKY - 000005
RWCUR(000005) TYPE C,
InfoObject 0FISCYEAR: NUMC - 000004
RYEAR(000004) TYPE N,
InfoObject 0CO_AREA: CHAR - 000004
RZZKOKRS(000004) TYPE C,
InfoObject 0PROFIT_CTR: CHAR - 000010
RZZPRCTR(000010) TYPE C,
InfoObject 0PACCOUNT: CHAR - 000010
SACCT(000010) TYPE C,
InfoObject 0PCOMP_CODE: CHAR - 000004
SBUKRS(000004) TYPE C,
InfoObject 0PART_CCTR: CHAR - 000010
SCNTR(000010) TYPE C,
InfoObject 0POSTXT: CHAR - 000050
SGTXT(000050) TYPE C,
InfoObject SL_PPRCTR: CHAR - 000010
SZZPRCTR(000010) TYPE C,
InfoObject SL_TMSTMP: DEC - 000015
TIMESTAMP(000008) TYPE P,
InfoObject 0SALES: CURR - 000017
TURNOVER(000009) TYPE P,
InfoObject 0RECORDMODE: CHAR - 000001
UPMOD(000001) TYPE C,
InfoObject 0USER_NAME: CHAR - 000012
USNAM(000012) TYPE C,
InfoObject 0VTYPE: NUMC - 000003
VALUETYPE(000003) TYPE N,
InfoObject 0VALUATION: NUMC - 000001
VALUTYP(000001) TYPE N,
InfoObject SL_WSDAT: DATS - 000008
WSDAT(000008) TYPE D,
InfoObject SL_SPLTMD: CHAR - 000001
XSPLITMOD(000001) TYPE C,
InfoObject 0ASSET_MAIN: CHAR - 000012
ZZANLN1(000012) TYPE C,
InfoObject 0ASSET: CHAR - 000004
ZZANLN2(000004) TYPE C,
InfoObject 0DEBITOR: CHAR - 000010
ZZKUNNR(000010) TYPE C,
InfoObject SL_ZZLFNR: CHAR - 000010
ZZLIFNR(000010) TYPE C,
InfoObject SL_ZRPRCR: CHAR - 000010
ZZREPPRCTR(000010) TYPE C,
InfoObject SL_ZTCDE: CHAR - 000020
ZZTCODE(000020) TYPE C,
InfoObject 0REF_DOC_NO: CHAR - 000016
ZZXBLNR(000016) TYPE C,
END OF TRANSFER_STRUCTURE .
Global code used by conversion rules
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
FORM COMPUTE_CREDITOR
Compute value of InfoObject 0CREDITOR
in communication structure /BIC/CSSPL_LINE
Technical properties:
field name = CREDITOR
data element = /BI0/OICREDITOR
data type = CHAR
length = 000010
decimals = 000000
ABAP type = C
ABAP length = 000010
reference field =
Parameters:
--> RECORD_NO Record number
--> TRAN_STRUCTURE Transfer structure
<-- RESULT Return value of InfoObject
<-> G_T_ERRORLOG Error log
<-- RETURNCODE Return code (to skip one record)
<-- ABORT Abort code (to skip whole data package)
FORM COMPUTE_CREDITOR
USING RECORD_NO LIKE SY-TABIX
TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
G_S_MINFO TYPE RSSM_S_MINFO
CHANGING RESULT TYPE /BI0/OICREDITOR
G_T_ERRORLOG TYPE rssm_t_errorlog_int
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel datapackage
$$ begin of routine - insert your code only below this line -
DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
SELECT SINGLE CREDITOR FROM /BIC/AAPOSLVEN00
INTO RESULT
WHERE /BIC/SL_RFDCNR = TRAN_STRUCTURE-REFDOCNR.
IF SY-SUBRC NE 0.
CLEAR RESULT.
ENDIF.
returncode <> 0 means skip this record
RETURNCODE = 0.
abort <> 0 means skip whole data package !!!
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
FORM INVERT_CREDITOR
Inversion of selection criteria for InfoObject 0CREDITOR
This subroutine needs to be implemented only for SAP RemoteCubes
(for better performance) and for the Report/Report Interface
(drill through).
--> I_RT_CHAVL_CS Ranges table for current InfoObject
--> I_THX_SELECTION_CS Selection criteria for all other InfoObjects
<-- C_T_SELECTION Selection criteria for fields of
transfer structure
<-- E_EXACT Flag: Inversion was exact
FORM INVERT_CREDITOR
USING I_RT_CHAVL_CS TYPE RSARC_RT_CHAVL
I_THX_SELECTION_CS TYPE RSARC_THX_SELCS
CHANGING C_T_SELECTION TYPE SBIWA_T_SELECT
E_EXACT TYPE RS_BOOL.
$$ begin of inverse routine - insert your code only below this line-
DATA:
L_S_SELECTION LIKE LINE OF C_T_SELECTION.
An empty selection means all values
CLEAR C_T_SELECTION.
L_S_SELECTION-FIELDNM = 'REFDOCNR'.
Selection of all values may be not exact
E_EXACT = RS_C_FALSE.
$$ end of inverse routine - insert your code only before this line -
ENDFORM.
Thanks for the great help,
Sobhan.Hi manoj,
Welcome to SDN!!
Check this blog:
/people/sap.user72/blog/2005/09/05/sap-bw-and-business-content-datasources-in-pursuit-of-the-origins
Bye
Dinesh -
Installing a New Language- Mass Updating Info Object Descriptions ?
We recently installed a new language in our BI 7 system (Patch 16). But the Active SAP delivered info objects (namespace 0nnnn...) did not 'inherit' the SAP provided translations into the new language.
I can update each info object one by one with descriptions in the new language.
I can use the translation utility (once I figure it out) to updated the descriptions.
I can activate standard business content which seems to contain the new language.
But I'm hoping for something easier and less intrusive. I'm hoping there is a hidden SAP program that merely adds the description in the new language to my existing info objects from the Standard Business Content, without any reverse engienering, redesign, and so forth.
Is anyone aware of anything like that ?Here's the answer from our discussion with SAP.
There is a program RSDG_LANGUAGE_AFTER_IMPORT that you can run. This program replaces the object description texts in your active SAP Delivered objects with the text description from the Delivered version in the language that you just installed. Here are OSS notes that are relevant to this issue : OSS Note 562436 and 877049.
We executed this report using these criteria to replace default English descriptions with the business content descriptions in Polish for our implementation:
Langauge Key "PL"
Do not Overwrite Texts turned OFF
It worked rapidly (150 CPU seconds) and flawlessly. I will say that the program looks for and changes the desription of EVERY object that it can find, and there is no control over changing just query elements or info objects. So step carefully. We plan on running this program in each system (after unlocking) so that we do not have to transport every single standard content object through our development / tests / production environment.
Once you are finished with this, you will, of course, need to use the translation tools to translate your custom objects. I've personally found the BI 7 translation tools to be much easier to work with than the earlier versions, but that may simply be a symptom of our upgrade process (we just upgraded to BI 7 from BW 3.5) -
Program to activate update rule for master data (info objects)..very urgent
Hi all,
I have an info provider(A0CUSTOMN). For this the update rules are not active.In production system i am not able activate.Please let me know if there is any program to activate the update rule for masterdata(info object).
Thanks=points
ManjulaHi Manjula,
Leave the id and infocube field blank. Just provide the infosource name.
BTW is this a direct update master data object? In that case all this is not relevant.
Check if it appears as an Infoprovider.
I did not ask enough questions to start with.
BR/
Mathew. -
Master Data Info Object is not updating Attribute data
Dear Sdns,
We are loading master data to ZCOMP_GL Info object through flat file extraction... ZOMP_GL have four attributes.. Leaving three of the attributes Only one of the attribute which is CS_ITEM holds the data.
We loaded data ffrom flat-file.. It laoded sucessfully upto the PSA and data is available... And when we runned DTP the load was successfull.. In the manage screen of the Info object it shows the records are added successfully.. But when we see the data in ZOMP_GL. We are not able to see the Data for CS_ITEM which is attribute.... Also we runned Attribute change run..
Kindly Advice me..
Warm Regards,
AluriActivate the data in the info object.
Ravi Thothadri -
Error while activating the info object.
Hi,
While activating one of the info objects, i am getting the following error message:
Characteristic 0BP_GRP: Cannot switch off InfoProvider property
Message no. R7B289
Diagnosis
The characteristic receives master data from other objects (for example, transformations or update rules). Therefore it is necessary to select the characteristic as an InfoProvider.
Procedure
If you want to deselect the Characteristic Is InfoProvider indicator, delete the corresponding objects in the data flow.
Thanks and Regards
Niren.Hi Niren,
Check the below thread..
Howto Remove 0Employee Char from my InfoArea
Hope it helps..
Regards,
Ramki. -
Info-Object data not appearing in Multiprovider
Guys,
I got a problem here. I have created a multiprovider based on master data and cube. My master data has certain attributes which are not present in the cube. I want to display data for those fields in the multiprovider.
I can see cube data in the multiprovider view but i don't see any data coming from the master data info-object. 0INFOPROV shows only cube name.
Is there something i am missing or any setting that i need to do ?
Points will be awarded to the helpful answers.
Thx,
SoumyaHi All,
Multiprovider always has issues when you are trying to link two objects vary in their structure. Lets say if you are creating a multi-provider on a ODS object & Cube or Cube & Info-object. Lets say CHAR X is available in Cube and not in ODS or master data.
Any selection on char X will not fetch you any record from ODS / master data as it is not available in ODS / master data. You need to add the characteristic to ODS / master data and update the same way as you are updating it in the cube. Otherwise don't make any selections based on this characteristic.
Hope it helps.
Thanks
Soumya -
" COMBINING TWO INFO-OBJECTS ! "
Hai Friends ,
I am having 2 info-objects : Info-object1 - length 60, Info-objec2 - Length -30. I have to combine these two Info-objects . Let anyone know me the procedure forcombining these two Info-objects : Info-object1,Info-object2 .
Waiting for your reply .Hi,
Create the infoobject which contain the string.
if CHAR1 is 30 and CHAR2 is 60, your new infoobject should be 90.
In the transformation/update rule you concatenate the two infoobject.
Concatenate is a function which is available in the formula builder, no ABAP needed
In the Routine you reference at the uploaded Data with:
concatenate COMM_STRUCTURE-infoobject1
COMM_STRUCTURE-Infoobject2
into RESULT.
Thanks & Regards,
Vipin -
Upgrade to SCM7.0 DP info objects (Characteristics) long/short text issue
Hi All,
We have upgraded from SCM4x to SCM7.0. The info objects characteristics customized long and short text is not updated in SCM 7.0.
Example: Info object 9ALOCNO standard long/short text is APO location. But in SCM4x they have changed to Plant. After upgrade this text is set to APO location, not the plant. Like this many chars text have been changed to SAP standard.
When I try to change text of info object creates transport request.
Is this standard behavour when we upgrade?
Please share your thoughts and let me know for more information.
Thanks,
SreeniSreeni,
With every upgrade the customization is lost. We will have to make a list of all customized objects and make the change again in the upgraded system.
Hope this helps.
Thanks
Mani -
Hi All,
While creating info object under info object catalog (for characteristics only but i can able to create for key figure with out any issue)i am getting below error
InfoObject 0LANGU does not exist in version A
Message no. R7245
Pls update me how to solve this issue.
Regards
RameshDear Ramesh
I think you are getting the issue with Language conversion.
In case you are creating info object for characteristics , always use the SAP standard info object as reference. This will help to avoid this issue. Is it possible to share which reference SAP standard Info object which you are using. ??
Thanks
Amol -
Item text in Purchase Order getting updated with info. record Purchase Order Text
Hello All,
I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
Issue:
Item text in Purchase Order getting updated with info. record Purchase Order Text
01) PO Text is maintained in the material master under "Purchase Order Text" tab
02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
03.1) this behavior is not observed in the Plants/ Company code that is already Live
Configurations in the system:
The copying rules for the "Texts for Purchase Orders" is
Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
We have modified the Purchase Order form to print one of the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
Am I missing any configuration or where can I look in what is causing this error.
Request help from the experts in the forum.
with Regards,
Dhandapani RThere is no company/purchasing/plant specific customizing for purchase order text.
The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract) -
How to load data from info object to ODS
Hello BW Gurus,
Is their any way to load data from info object to ODS and I am unable to fine the Info source for that particulate info object master data.
For ex: we have 0PROFITCENTER as info object which is getting loaded everyday. We want same data in ODS too but I don't find any info source related to this info object to create update ruled.
Please advise me how to proceed with this,
Thanks,
Swathi.hi Swathi,
as mentioned, if you just need the master data text or attribute update, then it's sufficient to load 0PROFITCENTER master data. (don't forget to 'apply hierarchy/attribute change' - rsa1->tools)
if you are going to update attribute in ods with attribute from 0PROFITCENTER, you can choose look up master data attribute method in update rules.
if the requirement is really need 0PROFITCENTER to assign to update rules, then first you have to 'generate export datasource' for infoobject 0PROFITCENTER, right click the infoobject and 'generate export datasource', then do 'replicate datasource' from bw myself, after that it will available. to display it you may go to rsa1->infosource, and menu settings->display generated objects.
hope this helps. -
Urgent::::Data is not loaded for a perticular info object in ods
Hi All,
We have loaded data into an ODS( 0PRC_DS01) in development server. It was successfully loaded into it all info objects.Reports were working well.
When we transported it to production, data loading was taking longggg time (15000 for 9 hours).So, we have done two things to improve the loading speed.
1) we have created an index based on the fields in the where clause RCLNT,RLDNR,RYEAR, DOCNR, POPER in JVSO1 table.
(JVSO1 is an R/3 table from where key data coming to datasource 0EN_JVA_2.)
2)We have updated the optmizer statistics.
Now the problem is, data is not loaded to one perticular info object JOINT VENTURE PARTNER in dso. Which was loaded successfully in development.
Please help us........We will assign points for helpful answersHi Chek in the transfer and update rules whether u mapped the fields with target and also check whether u have routine. and check whether the data is coming for that object from the source.
Khaja -
Restricting Authorization for a specific Info-object
Dear All,
I have a scenario where I have to restrict the account managers by specific channels.
I have 2 info-objects, Sold-to party and Sales Channel. Sales Channel is defined as attribute of the the Sold-To Part info-object.
I was exploring the BI authorizations concept in SCM 2007.
I created a authorization called "Test" and assigned the info-object Sales Channel in the authorization and restricted it for one value. This authorization along with 0BI_ALL I have added to the role under BI authorizations.
However in interactive demand planning, I cannot restrict by the sales channel. It allows me to load data for all the channels.
If I remove 0BI_ALL object, then I cannot load anything in interactive planning.
Does anyone have a step by step proceedure for using the BI authorization concept?
Regards,
KedarYes, 0TCAACTVT (activity), 0TCAIPROV (InfoProvider) and 0TCAVALID (validity) have to be made authorization relevant. For the info objects you want to use to control security, also make them authorization relevant in RSD1, imagine the object you want relevant is ZZ_VKORG (sales organization).
Then use RSCEADMIN transcation and 0BI_ALL will include the objects from above, copy 0BI_ALL into a object such as Z_1000 and then change the value for the specific info object that you want to control, imagine that you want sales org 1000 only to be allowed within Z_1000.
Now, you have 2 choices: You can use the normal security maintenance (SU01, PFCG) and you can asssign RSRS_AUTHBIAUTH and set BIAUTH requal to Z_1000 or you can use user maintenance directly within RSCEDAMIN and assign Z_1000 to the user. Either way, it becomes part of the authorization of the user.
You may find that you need to introduce colon authorization concept ( for mixed levels of data and that is just a matter of adding a second line to the allowable values and setting it like "EQ :".
Things to consider:
1. This authorization concept is water tight and will do everything you need, but will do at the expense that if you don't model it first, you will kill yourself trying to make it right. This becomes evident when you trace a security issue (via RSCEADMIN) because the way BI7.0 works is that it will build a minimized superset of authorizations, so it is best to know where you want to get to, rather than starting off by where you know you need to go.
2. To control change or display mode, you will need to influence 0TCAACTVT, even though you might think to use C_APO_SEL3 for ACTVT, the BI7.0 concept works within the BI space and 0TCAACTVT doesn't impact it.
3. If you activate more info objects, 0BI_ALL will get updated automatically but your custom authorization objecst will not. So, it is best to activate them all at the same time so that you don't have to manually change them.
4. Do the work in development and transport it to the TEST/QA/PROD environments, there are transprt tools within the RSCEADMIN.
This is probably enough to get you going, reply back if you have specific questions or issues.
I've been thru this in a painful way, sometimes the best things learned are learned the hard way -
To switch on the Navigational attribute feature in the info object
Hi there,
I have a sceanario where I created an info-object to extract the KNKK table information.
I am using the datasource 0fi_ar_9 to do flexible update to this info-object.
The issue is that: I am adding the required infoobects as attributes to this infoobject.
I want to switch on these attributes as navigational attributes.
But to some of them I am getting the option to switch it on as Nav and not all. Like 0C_CTR_AREA has got the icon Navigational attr on/off. Also 0CRED_GROUP has got this icon across it.
But objects like
0LST_INT_RV -Last Internal Review
0LST_REVIEW -Last Review (external)
0REPR_GROUP -Credit management representatives group
0NXT_REVIEW-Next Review
do not have the Navigational attribute on/off icon across them. So I am unable to change them to Nav.
Any advise why is the behaviour different for different objects ?
Thanks in advance.
Kind Regards,
KateHi There,
Many thanks for the answer.
It really solved my doubt about this.
This means that I need to create customised info objects
to add them as navigational attributes.
Just wanted to know what is the advantage of creating infoobjects as reference charateristics of standard infoobjects.
Thanks once again.
Kind Regards,
Message was edited by: Kate Smith
Maybe you are looking for
-
Hi, I have CS6 and am wondering how to create a white ("comic style"?) border around figures in an image, as in the examples below. I don't wish to include the black shadow of the border, just the white part. Examples: Here's the image I'd like to al
-
Dreamweaver CS4 has stopped working
*** Bug Report *** "Dreamweaver crashes when trying to open it." April 19th - 8:00 PM Reproduce Error: Launch Dreamweaver CS4 from start menu. What happens: Does not load. Error message appears: Notes: Has been working fine for past 3 days. Errors o
-
Getting a table from XI to SAP through RFC
Hi Experts, I created a RFC function to get data from XI. I created a structure and defined a table in the Tables tab in the function. When the function is called fron XI, I can see that the function is working, but i get no data in the table. Any id
-
Menu for multi selection (Safari)
I brought this issue up in a previous discussion but wanted to open up a new one just for this. After updating to iOS 8, I found an issue using drop-down menus that have the option for selecting multiple items. I use a menu like this often on my job
-
if my iphone 5 have problems , apple is going to change this iphone for a new iphone 5 or 5c 5s?