Hierarchy infopackage not fetching all data
Hi All,
i am loading hierarchy from R/3, in R/3 there are 93 records but am getting only 3 records.
the same source system was mapped to another BW system in that we are getting all 93 records.
i have checked transfer rules and infoobjects everything is fine, but dont know why its not coming in another system.
When i run the query i can see hierarchy in another BW system but this system is showing no hierarchy, all are falling under not assigned.
Can you please help.
Regards,
Tom
Edited by: tomhann on Jul 29, 2011 3:37 PM
Hi Tom,
Please check your IP, if you maintain any selections(on source system) and check the update methods once
Please check the below link
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/content.htm
Hope this helps
Regards,
Venkatesh
Edited by: Venky1903 on Jul 29, 2011 7:14 PM
Similar Messages
-
Select Single * is not fetching all Data
Hi,
I have a peculiar problem, when i am extending the customer to a new company code, we are getting Dump saying 'ASSERTION_FAILED'
when i debugg i am geeting issue with following Code of a FM 'KNA1_SINGLE_READER'
IF NOT i_bypassing_buffer IS INITIAL.
*SELECT SINGLE * FROM kna1*
INTO o_kna1
WHERE kunnr = i_kunnr.
IF sy-subrc <> 0.
MESSAGE e300(vs) WITH 'KNA1' RAISING not_found.
ENDIF.
i am passing customer number (i_kunnr), this code is executed 2 times first time it is fetching all columns but second time it is only fetching customer number and no other information regarding customer. But in data base all information is present. Can any one help me in this.
Thanks a lot...
Reddy
Edited by: JAGAN MOHAN REDDY on Jun 2, 2010 11:30 AMHi Jagan,
It'll be helpful to others if you can please post how and what was done to resolve the issue.
Thanks!
Sandeep -
SQD3 select options not fetching all the data?
Hi abapers,
standard SDQ3 tcode is not fetching all the data?
In this standard t.code how to find that for different Select-options, different data retrieval queries have been written?
where to find the select options conditions are written?
thans in advanceThis could be an issue as ROWTERMINATOR and FIELDTERMINATOR are not well placed.
Use FORMAT FILE while using BULK INSERT. -
Report is not fetching the data from Aggregate..
Hi All,
I am facing the problem in aggregates..
For example when i am running the report using Tcode RSRT2, the BW report is not fetching the data from Aggregates.. instead going into the aggregate it is scanning whole cube Data....
FYI.. Checked the characteristcis is exactely matching with aggregates..
and also it is giving the message as:
<b>Characteristic 0G_CWWPTY is compressed but is not in the aggregate/query</b>
Can some body explain me about this error message.. pls let me know solution asap..
Thankyou in advance.
With regards,
HariHi
Deactivate the aggregates and then rebuild the indexes and then activate the aggregates again.
GTR -
Lookup in transformation not fetching all records
Hi Experts,
In the routine of the transformation of a DSO (say DSO1), i have written a look-up on other DSO (say DSO2) to fetch records. I have used all the key fields of DSO2 in the Select statement, Still the look-up is not fetching all the records in DSO1. There is difference in the aggregated value of the Key Figure of both the DSOs. Please suggest, how can i remove this error.
Thanks,
Tanushreehi tanushree,
The code which yu have written in the field routine for lookup is not fetching the data. you can debug the field routine code in the simulation mode of execution of DTP by keeping a break point after the transformation.
you can test the routine with out actually loading the data..
double click rule where you have routine and in the below you have option called test routine.
here you can pass input parameters..
i hope it will give you an idea.
Regards
Chandoo7 -
People Picker JS Control not fetching all the users...
Hi,
I am using Java Script people picker control. It fetching information for users but not all. I used following code block to get the control working. Why is not fetching all the users?? Where as OOTB people picker fetches same user. This does not make sense.
My environment is SharePoint online.
// Run your custom code when the DOM is ready.
$(document).ready(function () {
// Specify the unique ID of the DOM element where the
// picker will render.
initializePeoplePicker('peoplePickerDiv');
// Render and initialize the client-side People Picker.
function initializePeoplePicker(peoplePickerElementId) {
// Create a schema to store picker properties, and set the properties.
var schema = {};
schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup';
schema['SearchPrincipalSource'] = 15;
schema['ResolvePrincipalSource'] = 15;
schema['AllowMultipleValues'] = true;
schema['MaximumEntitySuggestions'] = 50;
schema['Width'] = '280px';
// Render and initialize the picker.
// Pass the ID of the DOM element that contains the picker, an array of initial
// PickerEntity objects to set the picker value, and a schema that defines
// picker properties.
this.SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema);
Here is the link from Microsoft explaining it.
How to: Use the client-side People Picker control in SharePoint-hosted apps: https://msdn.microsoft.com/en-us/library/office/jj713593.aspx
Appreciate any help or workaround here.
Thanks.Hi,
In my case im usign customize people picker. it is better to use in delelopement since you have the control and customization.
I have used select2 (https://select2.github.io/examples.html) drop down control and create a people picker
You can use the same REST call to populate data.
function initApproversPicker(success, fail) {
var data = { results: [] };
var executor = new SP.RequestExecutor($$.getAppWebUrlUrl());
executor.executeAsync(
url: $$.getAppWebUrlUrl() + "/_api/web/siteusers",
method: "GET",
contentType: "application/json;odata=verbose",
headers: { "Accept": "application/json; odata=verbose" },
success: function (dt) {
$.each(JSON.parse(dt.body).d.results, function (i, ele) {
data.results.push({ id: ele.Id, text: ele.Title });
executor.executeAsync(
url: $$.getAppWebUrlUrl() + "/_api/web/sitegroups",
method: "GET",
contentType: "application/json;odata=verbose",
headers: { "Accept": "application/json; odata=verbose" },
success: function (dt) {
$.each(JSON.parse(dt.body).d.results, function (i, ele) {
data.results.push({ id: ele.Id, text: ele.Title });
$("#WFApprovers").select2({ data: data, multiple: true });
if (success) {
success();
error: function (d, errorCode, errorMessage) {
if (fail) {
fail();
utils.log(errorMessage);
error: function (d, errorCode, errorMessage) {
utils.log(errorMessage);
Melick Rajee http://melick-rajee.blogspot.com -
Stop ADF from fetching all data on startup
Hi all,
I have built an ADF page with a search form on it. Goal here obviously is to search the DB for certain user entered criteria. The problem now is that ADF fetches all data before the user has enetered anything. Pretty annoying, as it takes about 5 minutes to fetch the 1 mil records over VPN. And not very performant either...
How can I stop ADF from doing this?
Thanks,
Stijn.Hi,
2 topics here that I'll address one after the other
1. ADF fetches nothing. The business Service layer does. If you use ADF BC for example then you can define the number of records that are fetched initially. If you use EJB then this kind of intelligence is all yours to implement. Same then for POJO and Web Service. If you are working with a million of records, think about using query hints in your query to boost performance.
2. To solve your issue
- assuming you use ADF BC: Set the iterator to find mode or set the query condition to where it finds no hits. If your query uses bind variables then it is enough to not provide a default value for the bind variable. Another option is to use a invokeAction method and set the iterator into findMode upon page load
- If you use EJB, make sure the initial query also doesn't return any hits
Note that for the refresh property on teh iterator there are other conditions like "deferred" that you may want to try out
Frank -
Why the 2LIS_08TRTK extractor can not get all data
Hello, BW Gurus.
Why the 2LIS_08TRTK and 2LIS_08TRTLP extractors can not get all data. I had used the RSA3 and get 10 registers, when a check at the VTTK table I had 20 registers, I didnt use filters at RSA3, could you help to know what happen o correct it.Is it because
<i>
Shipment documents and their dependent objects (shipment stages as well as shipment items [deliveries in the shipment]) are only extracted into BW when the Shipment completion status has been set.
This is necessary because the numeric values that result from the delivery documents are only established at the time. If the data were already stored earlier in BW, the shipment data would not be updated if the delivery notes were changed in BW.
</i>
- from oss note 573470. -
Fetching all data from MS access PROBLEM !!!
Hi all,
I am having problem of fetching all data from MS ACCESS, ie, I have 112 rows of data, yet when executing query SELECT * ... only 70 items are retrieved. Don't know why, but the retrieval prcess stops on item 69 and want get the rest of the data.
I am executing the query in a WHILE loop, don't specify the number of loops !!! so I should be able to get all of the data. Why then I always only get 69?
Second q.
What is the right SYNTAX for retrieving specific data. ie. SELECT id from images WHERE size = 58
is this correct? ie. size is declared as number?
ANy help would be much appreciated.
Thanks1. Where from you are fetching the data? Is it from bean or JSP or servlet? Can you post the code?
2. Yes. the sql syntax is correct. -
Sys_refcursor not fetching any data although query returns value
hi!!!
I am using sys_refcursor to return columns,and using below procedure to do so.Although data is there in table_1 and table_2.
PROCEDURE test_pro(abc_date N DATE,
cur_get_data OUT sys_refcursor
OPEN cur_get_data
for
select A.col1,B.col2
from table_1 A
where A.dis_date=abc_date
left outer join
table_2 B
on
A.dis_date=B.dis_date;
IF cur_get_data%rowcount=0
then
raise e_error;
END if;
EXCEPTION
when e_error
then
------no_data_found;
when others
then
--------(giving SQL error with error code);
END test_pro;
while running below sql in sql window of pl/sql developer fetching
data
select A.col1,B.col2
from table_1 A
where A.dis_date=abc_date
left outer join
table_2 B
on
A.dis_date=B.dis_date;
but while testing the test_pro in test window of pl/sql developer it is
not fetching any data and raising e_error each time
is there any problem arising using IF cur_get_data%rowcount=0 as each time it is going to exception block..
so can somebody please put some ideas what cud be the possible reason for this??Welcome to the forum!
Unfortunatley you posted to the wrong forum. This question belongs in the SQL and PL/SQL forum.
PL/SQL
>
sys_refcursor not fetching any data although query returns value
but while testing the test_pro in test window of pl/sql developer it is
not fetching any data and raising e_error each time
is there any problem arising using IF cur_get_data%rowcount=0 as each time it is going to exception block..
>
A cursor doesn't fetch data - your code has to do that. The code you posted doesn't have any FETCH statements so no data will be fetched.
There is no problem using 'IF cur_get_data%rowcount=0' but it will always be 0 in your code because you are not fetching any data.
I'm guessing that you are trying to determine if there are any rows for the query. That isn't going to work since a cursor doesn't fetch rows.
You just have to return the cursor to the caller and the caller will have to perform at least one fetch to see if there are any rows.
If the above answers your question the just mark the question ANSWERED. Otherwise, since you have posted in the wrong forum
1. repost the question in the SQL and PL/SQL forum
2. Edit this post to add a link to the new thread in the other forum
3. Mark this question ANSWERED so people will follow up in the other forum.
Thanks. -
2lis_11_VAITM not inserting all data in ODS
Hello Gurus.
I'm using extractor 2lis_11_VAITM, when I test the extractor in RSA3, it is bringing me all registers of table VBAP, but when I load this extractor into an ODS in BW, It is not inserting all registers into the cube, some "return orders" are missing, how can i solved this problem ???? I'm using in ODS key Doc number and position.
THANKS IN ADVANCED.Hi Sudheer, ther is no selections during data load, and also ther isn't any routine(either in transfer or update rules). It's supposed that all registers have to be loaded to the ODS no ?? because i'm using key Doc number and positions, so I want all documents with all positions to be loaded, but this is not happening, there are missing the "'return orders'".
Any other idea of why this is happening ?? -
FDM export to HFM - 2nd export did not clear all data from 1st export?
Has anyone experienced exporting a replacement FDM file to HFM where the 2nd file did not contain an account that was present in the original file and that account/value in the 1st file then remained in the HFM trial balance and caused it to be out of balance? Does the replace export option not clear all the prior file data? The only unusual part of it might be that the problem account was derived using logic group script? Thanks.
Thanks Hensen - Sure, it was easy enough to fix once I deduced what the problem was - although my solution was just to use the data clear function and reload. The real question is how to prevent it from happening again and it sounds like I can't do much about it - other than trying to train the users to watch out for do-over files that have fewer accounts than the original load?? Am I wrong to think that HFM should try to fully clear all previous data from a load file if there is a replacement or at least try to validate whether or not all prior accounts have been repopulated?? There's plenty of good validation in the validation step of FDM. Why not during the export step? If this makes sense, I'll put in another "enhancement request" to support.
-
Help: Not getting all data from text data type
Hi there
I have a stored procedure that returns a couple of fields and one of the fields is of datatype TEXT. In my ResultSet, I do not get all the data back that is stored in the TEXT datatype. I have say about 600 charactors in this field, but only 30 charactors are returned. Is there a reason why this is happening and how can I fix it?
Please help?
ThanksI set that field to have a normal string of about 50 charactors. Namely: "this is a note that is about 49 charactosrs long." (exclude the quotes). And I still got 30 charactors back only.
I set a shorter text value of 21 charactors and that returned all 21 charactors.
The text that is usually in this field is:
"URL=SubsidiaryNarrative.html�BABY_CARE_PRODUCTS=false�AIDS_FOR_PHYSICALLY_DISABLED=false�SPORT_SUPPLEMENTS=true�NATURAL_REMEDIES=false�COSMETICS_FRAGRANCE=false�WOMANS_HEALTH=false�ADDITIONAL_CARDS=No�EXERCISE_ROUTINE=Yes�NUMBER_OF_CHILDREN=0"
And I got out "URL=SubsidiaryNarrative.html�B" -
Ical not storing all data & cant initialize lists
okay so im trying to store all ical data in seperate lists for hours months years and the actual event ect....it worked fine for a while but now its not storing all the events....and then when it did it would carry over from one run to another. I figured out that was probably because they were properties but when i make the lists global i get a "this variable is not initialized" problem. and even if i somehow managed to fix that its still not reading in all the data. ive been at this for 2 hours and cant see the problem. please help:
variable defs:
(*System Variables*)
global running_processes
global _weekday
global _date
global _month
global _year
global _hours
global _minutes
global _seconds
global time_ofday
(*iCal Variables*)
global iCal_Open
global iCal_Run
global iCal_Calendars
global iCal_Events
global icaleventsstore
global icaleventslast
global iCalEvents_StartMonth
global iCalEvents_StartDate
global iCalEvents_Startyear
global iCalEvents_Starthours
global iCalEvents_StartMinutes
global iCalEvents_EndMonth
global iCalEvents_EndDate
global iCalEvents_Endyear
global iCalEvents_Endhours
global iCalEvents_EndMinutes
global iCalEventsStart
global iCalEventsEnd
code to split up dates and date:
on Ref_Events()
proc()
if running_processes contains "iCal" then
(*if iCal is open do the code as normal*)
set iCal_Run to 1
set iCal_Open to 1
tell application "iCal"
set iCalEventsStart to the start date of every event in every calendar
set iCalEventsEnd to the end date of every event in every calendar
set iCal_Events to the summary of every event in every calendar
set x to 1 --holds calendar to be used
set y to 1 --holds event to be used
repeat while x is less than or equal to the number of items in iCal_Events
repeat while y is less than or equal to the number of items in item x of iCal_Events
get item y in item x in iCalEventsStart as string
set temp_date to the result
--start dates
set iCalEvents_StartMonth to iCalEvents_StartMonth & the second word of temp_date
set iCalEvents_StartDate to iCalEvents_StartDate & the third word of temp_date
set iCalEvents_Startyear to iCalEvents_Startyear & the fourth word of temp_date
set iCalEvents_Starthours to iCalEvents_Starthours & the fifth word of temp_date
set iCalEvents_StartMinutes to iCalEvents_StartMinutes & the sixth word of temp_date
--end dates
get item y in item x in iCalEventsEnd as string
set temp_date to the result
set iCalEvents_EndMonth to iCalEvents_EndMonth & the second word of temp_date
set iCalEvents_EndDate to iCalEvents_EndDate & the third word of temp_date
set iCalEvents_Endyear to iCalEvents_Endyear & the fourth word of temp_date
set iCalEvents_Endhours to iCalEvents_Endhours & the fifth word of temp_date
set iCalEvents_EndMinutes to iCalEvents_EndMinutes & the sixth word of temp_date
--event description
get item y in item x in iCal_Events as string
set temp_event to the result as string
set icaleventsstore to icaleventsstore & temp_event
set y to y + 1
end repeat
set x to x + 1
end repeat
end tell
else
(*if iCal is not open do the code then close it*)
if iCal_Run is 0 then
set iCal_Run to 1
tell application "iCal"
set iCalEventsStart to the start date of every event in every calendar
set iCalEventsEnd to the end date of every event in every calendar
set x to 1 --holds calendar to be used
set y to 1 --holds event to be used
repeat while x is less than or equal to the number of items in iCalEventsStart
repeat while y is less than or equal to the number of items in item x of iCalEventsStart
get item y in item x in iCalEventsStart as string
set temp_date to the result
--start dates
set iCalEvents_StartMonth to iCalEvents_StartMonth & the second word of temp_date
set iCalEvents_StartDate to iCalEvents_StartDate & the third word of temp_date
set iCalEvents_Startyear to iCalEvents_Startyear & the fourth word of temp_date
set iCalEvents_Starthours to iCalEvents_Starthours & the fifth word of temp_date
set iCalEvents_StartMinutes to iCalEvents_StartMinutes & the sixth word of temp_date
--end dates
get item y in item x in iCalEventsEnd as string
set temp_date to the result
set iCalEvents_EndMonth to iCalEvents_EndMonth & the second word of temp_date
set iCalEvents_EndDate to iCalEvents_EndDate & the third word of temp_date
set iCalEvents_Endyear to iCalEvents_Endyear & the fourth word of temp_date
set iCalEvents_Endhours to iCalEvents_Endhours & the fifth word of temp_date
set iCalEvents_EndMinutes to iCalEvents_EndMinutes & the sixth word of temp_date
--event description
get item y in item x in iCal_Events as string
set temp_event to the result as string
set icaleventsstore to icaleventsstore & temp_event
set y to y + 1
end repeat
set x to x + 1
end repeat
end tell
quit application "iCal"
end if
end if
if icaleventsstore is not icaleventslast then
say "new events stored in I Cal. Would you Like to View a List of all events?"
display dialog "View List of Events?" buttons {"Yes", "No"} default button 2
if the button returned of the result is "Yes" then
choose from list icaleventsstore with prompt "All the Current Events"
else
-- action for 2nd button goes here
end if
set icaleventslast to icaleventsstore
end if
end Ref_EventsYou need to be careful when using conditional statements to set global variables (the global declaration does not set any values). I can't tell from the just the one handler you posted, but an example would be the iCal_Run variable - unless it is declared somewhere else, it won't have a value if there isn't an iCal process.
-
Hi
I create view object for entity, the query of view object not return all record from database. Is there any option for fitch all record from database?JDev version?
Technology you use?
Where do you look for the all(?) rows?
If you are using ADF there is a fetch size defined by the iterator (normally 25) which limits the number of rows returned for one round trip. To see more records you have to scroll.
Timo
Maybe you are looking for
-
Report can't fix all in HTML format
Hi all, I got the report 6i patch 15 installed and try to generate the report into html format. But when generated, it seem like what you see is not what you get on print out. The report can' fix all in html format. But the same report I can view in
-
Error while trying to register user to iFS 9.0.1
Hi , We are getting following error while trying to register user with our custom application. When I checked the forums it says the unique constraint might be the problem but I don't see any unique constraint violation in my exception trace. We are
-
I brought an iPod off eBay, second hand a few weeks ago. The first week I had it everything was working fine. Then suddenly when I plugged it in to charge the battery logo didn't appear, so I left it overnight and it still charged but there was still
-
Hello folks, I was trying to have a little fun with QEMU, so I installed Arch and Xorg in it, but after starting X then twm through startx, my mouse pointer shows only until I click for the first time, then becomes ad stays invisible even if I reboot
-
SAPScript - moving standard texts inside a window
Hi! I have a standard text (logo image) in Header window and I would like to move it right, how to do it? Should I create a separate window just for logo or it is ok to move it inside Header window? Seems so that by default it is aligned left. Will r