Extract a/c assignmnet group KVGRM from MVKE table
Hi Gururs!
I would like to add a field KTGRM in my query which uses MAST and STPO tables . This si an additional field that I am trying to add. When i just relate the material to material with the fileds form MAST or any other material table I am able to get the values in the fields populated , but on checking the MVKE table I find that there are cases where there are two values in teh table for different sales org so that will contraditc the output as it can be either . I am not sure which table or tables I should realte that field with and extract the KTGRM in my query with the tbales MAST and STPO.
Could some please help me out with this extraction .
Thanks
Hi,
Try with table VBAP
Regards
Krishna
Similar Messages
-
How to delete the articles from MVKE table.
hi all,
i want to remove articles from MVKE table. but at that time artciles articles are not removal from other table.
how to set deletion flag on sales organisation level.
we want to set deletion flag on sales organisation level. but at that time i do not want to set deletion flag on site leve.
thanx in advance874823 wrote:
delete from table1 partition (P_2008_1212)This approach is wrong - as Andre pointed, this is not how partition tables should be used.
Oracle supports different structures for data and indexes. A table can be a hash table or index organised table. It can have B+tree index. It can have bitmap indexes. It can be partitioned. Etc.
How the table implements its structure is a physical design consideration.
Application code should only deal with the logical data structure. How that data structure is physically implemented has no bearing on application. Does your application need to know what the indexes are and the names of the indexes,in order to use a table? Obviously not. So why then does your application need to know that the table is partitioned?
When your application code starts referring directly to physical partitions, it needs to know HOW the table is partitioned. It needs to know WHAT partitions to use. It needs to know the names of the partitions. Etc.
And why? All this means is increased complexity in application code as this code now needs to know and understand the physical data structure. This app code is now more complex, has more moving parts, will have more bugs, and will be more complex to maintain.
Oracle can take an app SQL and it can determine (based on the predicates of the SQL), which partitions to use and not use for executing that SQL. All done totally transparently. The app does not need to know that the table is even partitioned.
This is a crucial concept to understand and get right. -
How to group data from two tables ?
Hello,
I have two tables and i want to group data from them but two table not linked.
Table TEXT_IN : ID_IN (primary_key), DATE_IN
Table TEXT_OUT : ID_OUT(primary_key),DATE_OUT
Example :
Result :Group Date and Order by IN,OUT
And It seems a bit
confusing because we do not link
.You can give me solutions.
Thank you.SELECT MAX(CASE WHEN Rn = 1 THEN [IN] END) AS [IN1],
MAX(CASE WHEN Rn = 1 THEN [OUT] END) AS [OUT1],
MAX(CASE WHEN Rn = 2 THEN [IN] END) AS [IN2],
MAX(CASE WHEN Rn = 2 THEN [OUT] END) AS [OUT2],
MAX(CASE WHEN Rn = 3 THEN [IN] END) AS [IN3],
MAX(CASE WHEN Rn = 3 THEN [OUT] END) AS [OUT3],
MAX(CASE WHEN Rn = 4 THEN [IN] END) AS [IN4],
MAX(CASE WHEN Rn = 4 THEN [OUT] END) AS [OUT4],
MAX(CASE WHEN Rn = 5 THEN [IN] END) AS [IN5],
MAX(CASE WHEN Rn = 5 THEN [OUT] END) AS [OUT5],
FROM
SELECT COALESCE(m.DATE_IN,n.DATE_IN) AS DATE_IN,
COALESCE(m.Seq,n.Seq) AS Seq,
ID_IN AS [IN],
ID_OUT AS [OUT],
ROW_NUMBER() OVER (PARTITION BY Seq ORDER BY COALESCE(m.DATE_IN,n.DATE_IN)) AS Rn
FROM
SELECT ROW_NUMBER() OVER (PARTITION BY DATE_IN ORDER BY DATE_IN) AS Seq,*
FROM TEXT_IN
)m
FULL OUTER JOIN
SELECT ROW_NUMBER() OVER (PARTITION BY DATE_IN ORDER BY DATE_IN) AS Seq,*
FROM TEXT_OUT
)n
ON n.Seq = m.Seq
AND n.DATE_IN = m.DATE_IN
)t
GROUP BY Seq
to make it dynamic see
http://sqlblogcasts.com/blogs/madhivanan/archive/2007/08/27/dynamic-crosstab-with-multiple-pivot-columns.aspx
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
LDAP in weblogic. Need additional GROUP from External Table
I have the LDAP authentication in weblogic & I need to get the GROUP information from external table also since I have some more groups in table apart from LDAP groups.So how can I get that.
I tried using GROUP variable in RPD but it didn't work.
Please let me know if anyone has faced this issue in OBIEE11gHI,
As per my knowledge OBIEE user should be authenticated from only one source. it should be either database authetication or LDAP authentication. we cant associate multiple initilization blocks for single system variable USER. so you should convey client to insert groups/users in LDAP.
I hope this help you and understand it.
Thanks
Jay. -
Extract group owners from group
How can you extract group owners from a group? ver. 3.0.9.8.5. I want to do two things; extract all groups that a user is the owner of, and find all the owners of a group.
The code below will extract out all the users of a group, but how do you get the owners? I can't figure out where the group owner flag is being set. There are two deprecated functions (get_list_members, user_in_group), which I've used and is extra coding than what's necessary, but we're also migrating to version 2 soon.
Thanks,
Rick
SELECT b.name,
a.user_name,
a.last_name,
a.first_name
FROM portal30.wwsec_person$ a,
portal30.wwsec_group$ b,
portal30.wwsec_member$ c
WHERE a.id = c.member_person_id
AND b.name = 'my_group'Sorry, I got timed out and posted this to the wrong forum accidently. Is there a way to delete your own message?
-
How to extract data from multiple tables (always got errors)
Dear Experts,
I have a simple mapping to extract data from multiple tables as a source (A, B, C) to a target table (X). Below is the picture:
(Sources)....(Target)
A----------------***
B----------------X
C----------------***
Sample Source Data:
Table A:
ColA1
100
200
etc
Table B:
ColB1 ColB2 ColB3
10 Y Ten
20 Y Twenty
30 Y Thirty
etc
Table C:
ColC1 ColC2
11
12
13
etc
Target table (X) should be (just has 1 group INGRP1):
ColA1 ColB1 ColB3 ColC1
100 10 Ten 11
100 10 Ten 12
100 20 Twenty 21
etc
Scenarios:
1. Directly map from A, B, C to X. Unable to map with error message: "API8003: Connection target attribute group is already connected to an incompatible data source. Use a Joiner or Set operator to join the upstream data first before connecting it into this operator."
2. Map each source to Expression Operator and then map from each Expression to target table. I am able to map all attributes successfully but got error when validating it with message: "VLD-1104: Attributes flowing into TEST.EXPR_SRC.INGRP1 have different data sources."
How can I achieve the correct mapping for this purpose?
Use Joiner? I have no key to join the sources
Use Set? The sources have different number of columns
Thanks in advance
PratThanks Nico,
I think it will results data like this:
100 10 Ten 11
200 20 Twenty 12
300 30 Thirty 13
etc
and not the expected:
100 10 Ten 11
100 10 Ten 12
100 20 Twenty 21
etc
But it inspired me to solve this by adding key expression in each source table (B & C) to be joined to table A with this formula:
100+TRUNC(INGRP1.COLB1,-2)
Regards
Prat -
How to get the user and groups information from http header
Hi All,
In my current scneario, we are using Siteminder for SSO setup.. And in this process, after authentication and authorization, they are going to append the user information and group information of the user into a HTTP header and it will be sent back to our presentation services.. We have to extract the user information and group information from the http header.
My HTTP header will look like as follows..
SM_USER XYZ
SM_USERDN CN=Firstname\, Lastname\, xyz, OU=GPO-Low Level Security,OU=Domain Users,OU=BU FDT,
SM_USERGROUPS CN=GG-CA-SiteminderAdmins, OU=Global,OU=Domain Groups, DC=com^CN=GG-ServiceDeskAdmin-TCCORPCEFS
And also if anyone explain me the overall working of SSO in detail like how presentation services will make a connection to BI server( I guess using Impersonator User), and also how our BI server will read the URL from presentation services and the over all working flow in our OBIEE..
Thanks a lot....Please use the search! this topic has come up lots of times already.
-
Extract a value of a fields from an internal table
hello everyone,
i need to extract a value of a fields from an internal table, the fields is in a postion "sy-tabix" that i know, so i need to pick this value without using a loop
thank you.Like this?
DATA: FIELD1 TYPE C,
FIELD2 TYPE C.
READ TABLE T_TAB INDEX 3.
FIELD1 = T_TAB-FIELD1.
FIELD2 = T_TAB-FIELD2.
Greetings,
Blag. -
Start Routine to Populate Account Group Field from Master data of 0Customer
Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
during the load from source DSO to Target DSO.
Error Explicit length specifications are necessary with types C, P, X, N und
DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: l_S_comp type comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
IF L_th_COMP[] IS INITIAL.
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
ENDIF.
LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
IF SY-SUBRC = 0.
L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
ENDIF.
ENDLOOP.
soniya kapoor
Message was edited by:
soniya kapoorHello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
so Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer.
No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
***SOURCE DSO Table
types: begin of typ_tgl1.
include type /BIC/AZDAFIAR000.
types: end of typ_tgl1.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
INITIAL SIZE 0.
data: wa_itab type COMP.
data: wa_zdtg type typ_tgl1.
IF L_th_COMP[] IS INITIAL.
***Master Data Table
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
FIELDS OF TABLE L_th_COMP.
sort L_th_COMP by CUSTOMER.
ENDIF.
LOOP AT L_th_COMP into wa_itab.
select * from /BIC/AZDAFIAR000 into wa_zdtg
where DEBITOR eq wa_itab-CUSTOMER. *** SOURCE DSO Table
IF SY-SUBRC = 0.
wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
ENDIF.
endselect.
endloop.
soniya kapoor -
How to extract the values from WPBP table
Hi experts,
We are in preparation of a custom report.
In the report we want to have a value from WPBP table.
We want to extract the value of Capacity utilization level from WPBP table.
Could you please let me know the way to extract the value.
Please advice.
Regards,
Sairam.Hi Sairam,
Why do you try to get capacity utilization level from WBPB. Even if there is split in payroll capacity utilizatian level in WPBP shows the value in IT0008 basic pay.
So instead you can get the required information from table PA0008 Field for capacity utilization level is BSGRD
Regards;
Okan -
I have an iPhone 4S and use the group texting feature ALL THE TIME. I recently updated my iPad to the latest software and made the colossal mistake of continuing my group messaging from my iPad while connected to wifi. Doing this has successfully screwed but every group text thread I am in, to the point where its very hard for those involved in the thread to keep up. When I initially messaged those I was already engaged in text threads with it created a new thread in their phones replacing my name in their phones with my email. At first this was not a big deal but ever since then the people I am messaging have become increasingly frustrated with how my messages come through. If I am messaged in a group text and respond to it, sometimes when I respond it will create an entirely different thread in my recipients phones. So at that point they have to switch threads in order to read what I wrote. The new thread that my phone creates will send the message under my email not my name (related to the contact they have me saved as in their phones). The worst part about it is that there seems to be no rhyme or reason to why or when my phone will send the message as normal or under my email like it did with my iPad. I haven’t messaged from my iPad since these problems immediately began a month ago but the issues still continue. I have tried everything to get this to stop, I’ve turned off my wifi, I’ve had my friends delete the threads that my messages create in their phones. I’ve had them delete my email in their contact lists and nothing has worked. Can you help me? Any info you could provide would be greatly appreciated.
Note: My phone message no different whatsoever. All the threads have remained the same. The issue is what it is doing to the people that I am messaging.
Best Regards
Rick Mulhern
Message was edited by: Rickapplehelp19I have this identical problem. For a while my group texts didnt show up on my ipad. Then one day they did, maybe everyone in the group started using the same os version or something. Ever since my first reply to the group there have been complaints of multiple threads. I can not find a pattern for when my group text's decide they want to create a new thread. (it doesnt happen every time) Everyone in the group has deleted the thread, we've all toggled imessage on/off etc. There still hasn't been a solution.
Any help would be appreciated.
Thanks -
How can we retrieve the Group name from oid?
Hi:
In following request object, we can get all the user related information from oid except group name where a particular user belongs to.
For instance user id, first name, last name and email etc but we could not get the group name.
PortletRenderRequest pReq = (PortletRenderRequest)
request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
pReq.getUser()……
Please advice, how I we get the hold of group name from orcldefaultprofilegroup (oid)?
I would really appreciate your reply.
Thank you.
- Ali Raza.I am not sure about the PDK API to get the group name. But using LDAP API its easy to get the User Group.
If you find the answer to get the group name using PDK API, Please update in forum. It will really help others.
--Balaji S -
Can I send a group email from my iPod?
Occasionally I need to send email to my Sunday School class. It is easy to compose a group email from my computer, but the group names don't show up in my email address list on the iPod. I can select the group name and manually select each individual, but that is quite time consuming on a list of 40 people.
Is there a way to select the entire group on the iPod Touch?You need an app to do that. There are a number of them, such as Speed Names.
-
Unable to remove the redundant group header from the bottom of page
Hi,
In one of my projects in I am facing a problem.
I need to display the details of all available products of the company. While displaying the details, I need to group the products based on some criteria (like type of product, release date) and the grouping is upto 4 level grouping. Grouping criteria can se said as, I need to firstly group all the products based on the type, then on the Release Date and then on two of the client specific values on the Product.
Along with this, the view of product details is a thumbnail view (Image on top with all details below that line after line) due to which I need to display multiple (5) products in one row.
The problem which I am facing is:
The most important criterion for the customer is that there should not be any wastage of space.
Secondly, they also donu2019t want to see partial data like only the header data in one page and the Product related Data (Image and Info) on the next page.
In my case, when first page has insufficient space for the next grouped products, it simply displays the group header on the first page. On the second page, it again displays the group header along with the data.
For reference, images are available at:
Image1: http://farm4.static.flickr.com/3454/3224626688_aa3cfb8236_m.jpg
Image2: http://farm4.static.flickr.com/3373/3224626782_0501cf566f_m.jpg
My requirement is to remove the redundant group header from the first page as it does not make sense without having any data below it.
I have tried the following options:
1. I tried to apply setting "Keep Group Together" on the group and "Repeat Group Header On Each Page". But when I apply this, when my second group has more than 5 products (two rows of data) and space on first page can accommodate only 1 row of data, it moves the data on to the second page instead of keeping the 1st row on first page and 2nd on second page. This solution is not acceptable to the customer as it wastes space.
2. If I remove setting "Keep Group Together" on all the groups, but keep the "Repeat Group Header On Each Page" and remove the "Keep Object Together" in the details section, I can save space. But this is not acceptable to the user as it leaves dangling headers (Orphaned Header Information).
Need some pointers to overcome this issue as it is very critical for me.
Thanks in advance,
Vibhav AgrawalThanks Raghavendra for your reply.
These solutions provided on the link are not useful for me because of the peculiar layout of my report.
In my report I am supposed to show details of multiple items (upto 5/6) in a single row.
All solutions suggest about adding additional header (below group header) and use the formula to use that header to put the data for initial first object and details section for the subsequent objects.
But, since i need to display multiple items in same row...and data cannot be set as 'format with multiple columns' in the header, hence this solution does not work for me
Thanks,
Vibhav Agrawal -
How to Extract data from Cluster table and transperant table
Hello BW Experts ,
I want to extract the data from cluster table BSEG and a transperant table BKPF .
The primary fields are BELNR , GJHAR and BUKRS.
the fields of table BKPF to extarct is BUDAT and fields of BSEG table is HKONT , BSCHL , ZUONR and POSID.
I can not create a view over these two tables as BSEG is a Cluster table.
Please guide me.
Regadrs ,
Amol.hi Amol,
take a look Sigg's weblog
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
you can use RSAX_BIW_GET_DATA_SIMPLE as sample, there specified import parameters
FUNCTION RSAX_BIW_GET_DATA_SIMPLE.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE SFLIGHT OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Maybe you are looking for
-
I recently changed my email address and updated my Apple ID name to the new address. It worked for iTunes and apps, but when I bring up iCloud, my old ID name shows. I can'tr access it to change it since my security questions don't work and when I
-
Ipad 2 doesn't save apple id and password
Hi all, I bought my parents an ipad2 so that I can use facetime with them. they are computer illiterate, but they do know how to turn the computer on! It is becoming very frustrating that their ipad does not automatically hold their ID and password
-
Anyone know of a fix for blue screen of death
-
HOW TO ASSIGN F4_VALUE_HELP FOR A REPORT OUTPUT FIELD???
Hi Gurus, Can you please help me out in assigning F4_VALUE_HELP for a report output field where it is taking value as the input parameter....... If possible please help me out with some sample code .... Regards, Santosh Intelligroup
-
Hi, my iPhone has a small dark spot on my screen. If I tap it with a little bit of pressure, it leaves a mark for about a second. You can only see the spot on white and really light colors. On some games if a tap anywhere near it, I can see the spot