" 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
Similar Messages
-
How to combine two Info provider data matained at different line items?
Hello Friends,
I have a requirement in which they want to combine the invoice line item data with the GL line item data , in which both are maintained at different line items.......
For e.g:
DSo 1:
Invoice no Inv line item Net price
5100000674 10 300
5100000674 20 400
5100000674 30 200
5100000674 40 100
DSO2:
Acc Doc no Line item GL account Invoice number amount
9480000000 1 21110000 5100000674 100
9480000000 2 31110000 5100000674 200
I tried Infoset, but multiple lines are generating..... as both the line items are maintained at different line items..... Please help me with some ideas and suggestions.......
Thanks for your time..............................................................................Hi,
You should maintain the InfoObejcts (Charecteristcis) in both DSO's other wise it will disiplay # in reports.
1. While loading the data to DSO's use LOOKUPs in transformations and load teh full fledged data to DSO-2, (in sequence if it will come in second place.)
2. Check with InfoSet Innrr/Outer Joins option.
Else use FM based on both DSO's and cretae DataSourcea nd load the data to another DSO/Cube and build report on that.
Thanks
Reddy -
How to combine two datatable in c#}
Hi Everybody,
I have two datatables I want to combine single output.
First datatable1 result
A1 A2
10 15
Second datatable2 result
B1 B2
5 10
The final result should be in datatable3
A1 A2 B1 B2
10 15 5 10Hi,
SQL Server do not have datatables but tables. Datatables
(datatable)
is a dot.Net object. You can read more about DataTable class here: http://msdn.microsoft.com/en-us/library/system.data.datatable(v=vs.110).aspx
Are you talking about DataTable or tables in database?
>> Combining two DataTables objects in dot.net can be done with the DataTable.Merge Method.
>> combining two tables in SQL Server database can be done using the Merge operation in T-SQL (as other mentioned before me)
[Personal Site] [Blog] [Facebook] -
Accomodating date and time in a single Info object
Hi Gurus,
We are getting an R/3 field(2 fields) as "YYYY.MM.DD HH:MM:SS". And we have mapped that fields to a Two IO (CHAR).Data is getting loaded fine,but not getting it in the same format (with required DOTS and COLONS).Is there any routine that I can write for this IO.If any one have it ,please pass it on.
The two info objects are : ZCREATE & CHANGEDAT are mapped to "created_at" & "changed_at".
Please tell me step by step code.
Points wil be assured.
No idea on how to write a routine .
Urs,
Rakesh.Hi
i am getting an error after doing that.
E:Field "COMM_STRUCTURE-/BIC/ZCREATE" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
Below is my Code.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
data l_ZCREATE LIKE COMM_STRUCTURE-/BIC/ZCREATE.
data l_ZCREATE1 LIKE COMM_STRUCTURE-/BIC/ZCREATE.
data : l_year(4) type c,
l_mon(2) type c,
l_day(2) type c,
l_hh(2) type c,
l_mm(2) type c,
l_ss(2) type c.
$$ end of global - insert your declaration only before this line
$$ begin of routine - insert your code only below this line -
IF NOT COMM_STRUCTURE-/BIC/ZCREATE IS INITIAL.
l_/bic/ZCREATE = COMM_STRUCTURE-/BIC/ZCREATE.
l_year = l_ZCREATE+0(4).
l_mon = l_ZCREATE+4(2).
l_day = l_ZCREATE+6(2).
l_hh = l_ZCREATE+8(2).
l_mm = l_ZCREATE+10(2).
l_ss = l_ZCREATE+12(2).
concatenate l_year '.' l_mon '.' l_day ' ' l_hh ':' l_mm ':' l_ss
into l_ZCREATE1.
RESULT = l_ZCREATE1.
ELSE.
RESULT = COMM_STRUCTURE-/BIC/ZCREATE.
ENDIF.
RETURNCODE = 0.
Please Correct me where its wrong.
Urs,
Rakesh.
null -
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
JayaHI 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 -
How two join two ODS objects in an Infoset
I have an infoset that is created on two ODS object, one ODS is a business content that contains more than 30 fields and 2 Key Fields, the second one that i created contains the 2 key fields plus one additional field which was initially missing in the original ODS. Then i created a Infoset with these two ODS, now the problem is i do not know how to link these two info objects and where to specify the join condition. i right clicked and selected left join, inner join etc. whatever i did and when i try to activate the infoset i keep getting this error "Not all objects are linked with ON conditions". How can i get rid of this please help
Thanks
Akila.Ru will need to set the join between the key fields..
place mouse on the key field in one ODS..hold mouse button and drag..and then drop cursor..on same key field in the 2nd ODS..u will see a line joining the key fields b/w the 2 ODS's..
do same for other key fields too..
the connected lines are the join condition..
now activate..should work..
cheers,
Vishvesh -
Removing the compounding info objects
Hi Experts,
I am having a problem with large master data tables in the production system. There are 2 custom info objects ZPCA_Doc and ZPCA_item for PCA document number & item number. ZPCA_DOC is compounded with doc_typ and ZPCA_Item is compounded with ZPCA_DOC info obejcts. The number of entries in the two info objects ZPCA_DOC and ZPCA_Item is growing everyday. The number of entries in the ZPCA_Item is nearing 20 million records. I think this is due to the compounding of the info objects. As this was developed few years back I am not sure why the compounding was done.
I need advice on:
Is it a good practice to compound the document number & document item info Objects?
Is it possible to remove the compounded info object on these info objects without deleting the infocube data?
Is there any other way to control the number of entries in these info objects?
Thanks in advance,
ShilpaHi,
It depends on requirements of queries. But, without compounding, if you have doc no and item no seperately in transactional data, then you will be able to report data as you wish.
My opinion is, if you have both of them in the infocube, then you can remove compounding. However, removing compounding object will require deletion of master data. you have to be careful
Regards, -
Finding list of reports with diff info objects
Hi,
I have two info objects. I want to know the list of the reports which contain these two info objects. Please let me know how can I proceed further.
Thanks:SMSHi,
Goto RSA1 --> Metadata Repository --> Infoobject catalog and find the required infoject and just click on the object, in next screen you can see all the reports which are using this infoobject.(InfoObject Directly Used in These Queries:List of Queries )
hope it helps...
regards,
Raju -
To Join two SAP fields into one info object
Hi All,
Can you please suggest the best method to concatenate values from two R/3 fields into one info object master data table?
The requirement is to create a Sales report where I need to report on sales against sales type.
Sales type is a list of joint values of item category ( 0ITEM_CATEG) and bill type (0BILL_TYPE).
So, I need a list of all item categories and billing types in a single object and report sales value against it.
Please suggest.
Thanks,
SharmishthaHi Venkat,
In DSO any case you will not be having more than 16 Keys. I am surprised seeing requirement of more than 16 keys, but anyways you need to go with some workaround.
You can concatenate multiple Fields and map to one Dummy InfoObject which will be Key in DSO so in actual you have more than 16 Keys but have 16 Keys in system.
But analyze requirement in detail because this will increase data redundancy and time for load will get increased.
Also for new issues start new discussion otherwise people will not able to help you in this forum.
Regards,
Ganesh -
ADDING TWO FIELDS TO MASTERDATA 0MAT_PLANT AND MAKE THEM AS INFO-OBJECTS.
Hi Bw Experts,
I have a Problem , I.e. How to add Two filelds i.e. reorderpoint and maximum stock level in Standard data source 0MAT_PLANT_ATTR for Master data 0MAT_PLANT.
If Extract structure doesnt contain these fields then I Can go for Data source enchancement. Its ok.
But this Extract structure(BIW_MARC_S) is having these fields reorderpoint and Maximumstock level and not showing me in Data source 0MAT_PLANT_ATTR and also not showing me in Hide and selcetions, if it shows me in Hide (selected ) then I can able to change it. (By unselcet check box from Hide).
These fields reorder point and maximum stock level should be maintianed as attributes of 0MAT_PLANT. (IN BW SIDE)
Friends another Problem is in Bw side my client want it should display as info-objects. Is it possible ?
Because these attributes are key-figure attributes and K.F. attributes cant be maintain as navigantional attributes.
Any help would be really appreciated.
Thanks in advance for your support.Hi vinod,
My doubt is these fields already available in Extact structure biw_marc_s but not available in data source 0mat_plant_attr.
I can go for data source enhancement when there is no fields availble in Extract structe right.
but fieds reorder point (mabst) & maximum stock level (minbe) are available in Extract Structure.
2) IN bw side i can create these two infoobjects (reorder point and maximum stock level) as key figure infoobjects but they can't be maintained as navigatinal attributes to act as info object individually right.
Please help me out or Please pass through this message to your freinds .
It's urgent Please.
Thanks in advance,
Kumar. -
Can I combine two objects into one?
Hi all:
I got a problem here: I just wonder if anyone knows how to combine the informations which I grabed from a SQL database to an object I obtained from an OO database at runtime.
I look forward to your reply and appreciate your concern!
regards
David
at [email protected]Thanks for you reply, but the combined two objects can not be pre-defined because it is defined at runtime, say, there are a number of objects in database, only when you select the one for combining, you know what it is!
Cheers
David -
Which info object should be used for Financial statement line (BPS and BCS)
Hi experts.
A rather easy and straightfoward questions for someone out there.
In BPS as we know, we use the info object '0SEM_POSIT' (account groups, or financial statement line) to summamrize and store amounts from groups of accounts or for example data from COPA's value fields, and which is already an attribute of the info object '0ACCOUNT'.
I am told that there is another BCS related info object called '0CS_ITEM' that serves the same purpose, and uses it for the same reason for the purpose of consolidations.
We'd obviously like to use just the one of these info objects because of planning and reporting.
Can someone out there with knowledge in BCS recommend which one to use, and from their experience in the past how they combined the use of both (if you in fact did use both).
Also, is it true that in BCS you cannot use a two characteristic BW hierarchy for consolidations, and it can only consolidate a one characteristic BW hierarchy?
Thanks dearlyHi Eugene,
I kind of understood what you said, but just incase, let me explain my situation a little clearer. In BPS I'm using 0SEM_POSIT for two reasons:
1) To create hierarchy based on 0SEM_POSIT info object, and making each node postable. This is because on this project we don't plan at account level. Only at a kind of account group/financial statement line level. So each node is postable so that they roll up to the higher levels.
2) I will have 0SEM_POSIT as an attribute of 0ACCOUNT (which is standard delivered as an attribute in BW). This will ensure that I derive the actuals at that the same level as the planned. This is required for two reasons:
a) I can have the actuals as comaprison column in the Planning
layout.
b) I can report on the Actuals vs. Plan at the postable node
level in BW queries.
So having explained this, what I understood from your explanation is:
a) I can continue to 0SEM_POSIT as my info object for my postable node hierarchy, and
b) I can also use 0CS_ITEM as a consolidation unit specifically for BCS only.
So what I really didn't understand is:
1) your explanation of the mapping of 0SEM_POSIT to 0CS_ITEM, and what this mapping actually does. For example does 0CS_ITEM derive the values from 0SEM_POSIT because of this mapping? Can you explain this a bit? Is Datastream a tool in BCS by which BCS readinf financial data from other components?
2) Can BCS use a 2 characteristic postable nodes hierarchy as a consolidation unit? For example, if I create ONE hierarchy using 0SEM_POSIT, and 0ACCOUNT. Both will be postable at any level of the hirarchy.
Can BCS consolidate using this 2 characteristic hierarchy structure? OR, must it use 0CS_ITEM info object?
3) How does both 0SEM-POSIT, and 0CS_ITEM co-exist together, in terms of planning, consolidation, and reporting. For example if I report using the 0CS_ITEM hierarchy, then I will not be able to read plan data, because plan data is posted on the 0SEM_POSIT? and vice versa......? This question kind of ties in with 1).
Sorry for the long message, but I wanted to make sure I explained it better.
Thanks for your help -
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 -
Two response objects within one servlet...
Heya guys, quite new to java and got stuck for the whole day on this.
I need to combine two responses inside one servlet. One response retrieves picture from the database and it works fine. Another one retrieves text from database also works fine on its own. Second i try to use both end up with hundreds of exceptions.
Any idea what to do, not how...but what???
ThanksCompiling 1 source file to F:\gopal\weba\WebApplication6\build\web\WEB-INF\classes
F:\gopal\weba\WebApplication6\src\java\NewServlet.java:48:
processRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletResponse) in NewServlet cannot be applied to (javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
processRequest(request, response);
F:\gopal\weba\WebApplication6\src\java\NewServlet.java:57: processRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletResponse) in NewServlet cannot be applied to (javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
processRequest(request, response);
2 errors
F:\gopal\weba\WebApplication6\nbproject\build-impl.xml:295: The following error occurred while executing this line:
F:\gopal\weba\WebApplication6\nbproject\build-impl.xml:149: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 2 seconds)
You cannot use two response object. -
Two cost objects Sales order , OKB9 business area +order
Hi All,
While posting intercompany IR system thronging below error messageu2026
Enter only one true account assignment
Message no. KI249
Diagnosis
You made assignments to several objects in CO (cost center, order, project etc.). 2 of these have been created as true objects.
System Response
You are allowed only one account assignment for each cost-relevant account.
What we found in our system:
Conflict: Actual Sales Order 3487909 is linked to PO via account assignment category 4& IC dummy sales order (OKB9 config Business area 3000 + order 807898 assigned.
Due Two cost objects cannot be linked to one IR G/L account booking.
What is the best solution for this to post Intercompany IR with conflict two cost objects.
Regards,
AdiHi All,
we facing an issue with sales order cost objective vs OKB9 cost object.
For IC PO service material, we assigned account assignment category 4.Reasonis Service material was not showing on G\R account.
The G\L account 7898788, we assigned to Service Item (material type DIEN) , for G\Cost 7898788 cost element is assigned in OKB9. Combination business + order 3478787.
Now conflict with sales order cost objective vs OKB9 internal order cost object.
While posting intercompany IR posting system thronging below error messageu2026
Enter only one true account assignment
Message no. KI249
Diagnosis
You made assignments to several objects in CO (cost center, order, project etc.). 2 of these have been created as true objects.
System Response
You are allowed only one account assignment for each cost-relevant account
How to resolve this issue.. Do I make any config changes in the system to overcome this issue?
Or any sub account to assinment in VKOA config for internal orderu2026
Regards,
Adi
Maybe you are looking for
-
How big was the update? I updated my 1080p TV2 in my bedroom which is connected via wifi and it took well over an hour, I'd say closer to 2. I put this down to it being on a different level of the house to the router and that my daughter was watching
-
Online backup client eats CPU!
I have an online backup client from Mozy installed on my Mac Mini, and the actual backup process is scheduled to run daily at 23:00. The automatic backup is switched off. However, the backup client process is running at all times, and sometimes takes
-
Hi All, As i am new to this concept of supplier self service,So plz let me know the basic concept along with the technical requirements and also some link to get the related configuration guide. I have to implement the same .Any of the input is highl
-
Like in iPhoto, can I adjust the duration of a slideshow in Keynote to the duration of the chosen soundtrack???
-
Accessing private fields from an subclass whoes parent is abstract.
I seem not to be able to access some private fields from a subclass who's parent is abstract... here is some code to demonstrate this: (based on yawmark's code) import java.lang.reflect.*; import java.net.URLClassLoader; import java.io.*; import java