Reference info objects
Hi friends,
I am trying to create a cube. I created two info objects as fixed currency. When I am creating a data source after entering the fields it's adding reference field 0unit automatically, so my file format is getting changed. How can I avoid that? One more doubt is what is the difference between pc_file and our own file in source systems.
Thanks
Jaya
HI Jaya,
If the Keyfigure Info objects created by u are
1.Quantity then u should either give unit as fixed EG:EA,KG,LTS..or else 0unit
2.Price then u should either give fixed currency as EG:USD,INR..... or else 0currency
If in case u have given 0unit and 0currency as the reference for ur Quantity and Price fields respectively then u have to add these 2 fileds Unit and Currency in the flatfile
Flat file format
Material customer Quantity unit Price Currency
MAT001 CUST001 10 EA 20 INR
MAT002 CUST002 2 EA 10 USD
Here Material,Customer are Characteristics and Quantity,Price are KF
Now u can try creating ur Data source as usual.....
Here in the 2nd Question
u can create n number of sourcesystems for exacting flatfile
Regards
Madhavi
Similar Messages
-
Hi ,
I am trying to load the master data for Cost centre Accounting.
While creating the infosource i am getting an error like
InfoObject 0PART_ACTTY references InfoObject 0ACTTYPE.
A referencing InfoObject can not form the basis for a master data InfoSource, because it does not have its own master data table.
Please help me out on this issue.
Thanks
AravindaHi Aravinda,
A referencing infoObject doesn't contain its own master data, rather it shares the master data of the referenced InfoObject. Hence you need not (and can not) load master data for this object. If the referenced InfoObject has got master data, referencing object will use the same.
Regards,
Praveen -
" 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 -
Error while creating Info Object in Info object catelog
Hi experts,
I'm making few info object in info object catelog but while activating system giving error mesage as "Error when generating master data routines"
can any one tell what's the problem and what needs to be done.
SumantraHi
let me know weather r u using any reference object which contain the routinee.
regards,
chandra. -
Error while adding an Info Object in an Info Cube
Hi Experts,
I am trying to add one InfoObject to my info cube but I get following error:
"InfoObject GSMBUHR is only allowed as an attribute (not in InfoCubes)"
The Data Type of the InfoObject is TIMS.
The Reference Char. for it is 0TIME
And in other Properties Attribute only is checked.
but its not maintained as an attribute of any InfoObject as I checked in where used list for this InfoObject.
Please let me know to add it in cube.
Regards
Shubh Karanhi,
u will not be able to add an 'attribute only' info object as characteristic in the cube
it can only be added as an attribute in another master data characteristic. so if u still want to include this info object , u need to unchecck 'attribute only' flag.
hope it helps
Regards,
Rathy -
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 -
Spot color infomation not shown in Document info objects
Hi,
In the eps file, I have checked the Document info-->Objects menu in that spot color mentioned as "NONE"(refer img1.jpg). But in the same eps file Document info-->"Spot color Objects" menu its shows E(CMYK)(refer img2.jpg) that is spot color name. Could you please advise me why this difference occurs. Also I need to get this spot color object name via javascript, how to get this infomation?. I have attached the screen shot for your references.
Thanks for looking into this,
Maria prabudassHi.
TextFrame color informations included under textPath property.
app.activeDocument.selection[0].textPath.fillColor.gradient.gradientStops[0].color.spot.na me
If your selection is textFrames, add "textPath" after "selection[0]".
Ten. -
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 -
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 -
Authorization with standard info objects
Hi Guys,
I want a small clarification.
Is it true that Authorization cannot be done for the Standard Infobject, we need to create reference objecs to the standard objects, and the master data of the standard object would be passed to the reference object
When i went to the standard object, this option is actually available for them too.
Thanks..
Regards,
CharuMaking Authorization relevant to the Standard Info-objects are not recommendable.
Make these standard info-objects as references and create info-objects with Z or Y.
you could see the bussiness explorer tab in the info object properties. There is one option called Authorization relevant.
you should enable the authorization relevant tab. Once it done then it will reflect while creating authorization object.
Hope this would help you in understanding. -
Exception aggregation for info object
Hi all,
I have problem using exception aggregation for info object (zabarb) :
The data :
wbs element zabarb
1 100
1 100
In query i want to show the data wbs element: 1; zarbarb:100
But in fact i got in query wbs element 1; zabarb :200
I've tried to change info object exception aggregation : average all value with reference char. wbs_element, but still the result in query is 200.
I hope someone can help me.
Thanks.Hi,
Make these Changes to the Info Object
Aggregation--MAximum
Exception Agg-Summation
Agg Ref Char- wbs_element
Thry this..........
Rgds
SVU -
Info object creation and master data attributes
Hai All,
I have customerid, customer name, customer address, customer location. Similarly I have buyerid,buyer name, buyer address, buyer location. I have some more fileds like this for seller and vendor. I am thinking of creating a central location for all this master data creating a infoObject with name "personid" and making all the others attributes like "personname", "personaddress", "personlocation". I will load all the details of customer, buyer, seller and vendor to these objects.
The cental idea is to get all the master data to a central location and then create objects with reference to these objects and let all the data flow. so that I just load the central objects and everything takes whatever it wants from there.
Now my questions
1. Can I just create an object for customerid referencing personid and then as all the other attributes get copied, can I just report on it or do I need to again create all the info objects for the customer details? Also the same for all others buyer, seller and vendor.
2. Is this of any problem if I am reporting on customer or vendor or buyer or seller's details?
Please advise me if the above situation works and let me know if I am going wrong.
Thank you.hi Visu,
yes, you can do so, should no problem.
business content has this kind of approach,
0sold_to, 0ship_to reference to 0customer.
and also 0employee if i'm not wrong.
one thing to consider if the volume data is very high,
put it as line item dimension in infocube.
hope this helps. -
Reference HttpServlet object from webservice method ...
How to reference HttpServlet object from webservice method to access HTTP header?
Thanks
MarcelYou are correct.
I know that SOAP messages can be send not only via HTTP protocol.
Our solution is restricted to use only HTTP protocol for communication between client and server by customer, because there is implemented transparent proxy for users authorization and strong security of communication via HTTP protocol. Authorization server transparently modify HTTP request header with user identity (DN from user certificate - with this PKI solution it is not possible to use standard SSL because certificate is proprietary enhanced and cannot be accessed in standard way). That is why I need access HTTP request header.
Why I want to use webservices? I thing that webservice is flexible and perspective technology for integration and asynchronous communication between web clients and application (it is really more effective add new info in web page asynchronously from webservice than reload whole page).
Thanks
Marcel -
SPAU - Logical Info Objects (Client Specific)
My experience with handling patching conflicts in SPAU is minimal. We currently have a conflict with 3 objects under the category of "Without Modification Assistant - HR Objects - Logical Info Objects (client specific)".
I have no idea what do to properly resolve this so that we can finish patching. I am sure this is a simple thing for experienced people.
Furthermore, being client specific it suggests that whatever needs to be done should be done in our config client. True or False?
I am looking for some practical advice to get me looking in the right place for resolving this matter.
Any practical real-life references to SPAU problem resolution would be appreciated.Hi John,
I believe when faced with patch conflict, best way is to start with note corrections listed in SPAU which generates a transport request used in subsequent systems.
For objects under "Without the Modification Assistant", which I haven't encountered yet, SAP recommends use of versioning. Hope following link helps:
Link:[Without the Modification Assistant|http://help.sap.com/saphelp_nw70/helpdata/en/83/7a1913de6e11d195460000e82de14a/frameset.htm]
Please award points if found usefull.
regards, Shantanu -
Error while creating info object
error while creating info object a character
Info object may be a maximum of 000060 digits...... what would be the error?
Thanks ALLHi,
The maximum length supported by one CHAR type infoobject is 60. Check whether you have assigned more.
If you have to load more length ( more than 60) split the total thing into different infoobjects. Create different infoobjects and split the total thing into them - like 1st 60 char in 1st infoobject, char 61-120 in 2nd infoobject and so on. Then you can again concatenate them.
Thanks,
Indrashis
Maybe you are looking for
-
Creating a new option in MIRO credit memo
Hi All, I am working on MIRO transaction - Credit memo. In PO reference tab there is a drop down list where i could select the type of entry and create a credit memo accordingly Now in this list i was asked to add another option material document, wh
-
I need help to send idocs from 1 client to another , both in different systems
Hi all, I am new to Idoc. I am trying to use idoc to send some table records of a custom table created in client 800 to client 020, both clients are in different systems. I found examples of same scenario but for both clients in same system.. what ch
-
Backup to hard drive or NASA device
Does anyone know a way to backup to a hard drive instead of a cd on a PC?
-
Java.lang.OutOfMemoryError: GC overhead limit exceeded
We just installed Livecycle ES2 and we are getting the "java.lang.OutOfMemoryError: GC overhead limit exceeded" error when trying to deploy a new application. We are running on a Windows 2008 64bit OS. Any help to resolve this error (it is complete
-
Use of JOBS folder under root directory
Hi, We have Backup, Binn, DATA, Install, JOBS, Log, repldata directories under the instance root directory, as of now I heard the JOBS directory is used for jobs information, but I never see any jobs related information is captured under JOBS, Can so