Populating Characteristics with the values or other characteristics
Hai All,
I have a report that has four Chars and is run on specific data target that doesnot contain three of the four chars. The requirement is to populate the three chars with values of the four char present in the data target.
Any ideas on the issue.
Naren
OK. The values of all the four obejcts are same?
If the values are same, then you have these options:
Option 1: Create 1,2,3 info objects with referance to the 4th object. Thats all, they will have same values.
Option2 : If 1 is not workable for you, then write a routine in update rules / transformation like this:
data_package (source_package) -first field = data_package (source_package) -fourth field.
Repeat that for all other fields.
But option 1 is better one.
Ravi Thothadri
Similar Messages
-
How to populate a filter field in one page with the value from other page
Take the classic report with form application.
on page 1 (report) I have a filter (dbname) for the records that will appear in the report. Say that, I enter "ap02" in the filter and all records where dbname starts with "ap02" will display. It works ok.
Then I click on "create" button and page 2 appears. I enter all fields except the dbname. This field is generated, at "pre-insert trigger on the table".
What I want is when I press the button "create" on page 2 to pass the value of the generated dbname field into the filter in page 1 so when that page refreshes I will have only one record on the report page (1). I understand that the dbname at the page 2 level still empty because it is generated by the trigger. How do I have access to that info to populate the filter.
Thanks for your assistanceJoe - Work backwards from the value generated during the execution of the trigger. You have the value there so you could save it into a package variable right then (create a package with a variable and assign the value to the variable). Then create a process on the page (after the DML process) to assign the value of your package variable to a page item. Then in the branch back to page 1, pass the item. (Or without messing with the branch, the process could simply assign the package variable directly the the page 1 item -- :P1_ITEM := my_package.my_var; ).
An alternative would be to use the "returning into" feature of DML to capture the PK of the created record into an item. Then the next page process could use the PK to fetch the new row and get the dbname value for passing to page 1.
Another option would be to update session state directly in the trigger.
Scott -
How to display characteristics with filterd values in WebReports
Hi
we use webreporting (BI 7.0) for our endusers and have designed a very simple webtemplate. All the characteristics you can see in the "selection window" are displayed in a header section with the values set for each variable. Due to the simplicity of the template we do not want to display all characteristics in the header with all possible filtered values set on any charateristic which are available on the report.
There is a standard webitem to display these filtered values but we can not use it as it is too large.
Is it possible to change the apperance of a characteristic (make it bold, or red, or underline if a filter is set) so that the user can see that he have set a filter on any characteristic?
If not, is it possible to simply display any text on the webtemplate indicating that a filter has been set?
Any Ideas?
Best Regards
MarkusHi Anita,
did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
Is there an ALV function similar to the TABLE Row grouping?
Thanx in advanced!!!
Kind Regards,
Gerardo J -
Pre-populating a date/time column with the value entered in the last added item
I have a list with a column called "expected finish date". Whenever the user adds the very first item in a list, he/she should have to enter a value for this column.
I want to make all new item entries to pre-poplate this field with the value entered in the previously added item. This way, he/she wont have to re-enter the date every time (which rarely changes). How can this be done?could create a second list ("state") with column ("default finish date")...
create a workflow on main list... if column is blank/empty, pull from second list... otherwise, update second list with the value that was entered.
Or, customize the form (InfoPath or JavaScript)
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
Call transaction in new session with the value at hotspot
Hi all,
As a hotspot functionality I would like to open a new transaction in a new session with the value at hotspot. For that reason, I am using the FM ABAP4_CALL_TRANSACTION with the option STARTING NEW TASK.
This FM is not working because Parameter ID is not Maintained for the field (Hotspoted). So no value is passing to new transaction.
Please suggest any other way to implement this.
ThanksHi Anil..
This is the Solution for ur Requirement. try this program and change as per ur need.
REPORT ZSEL_CALL_TCODE.
data : IT_KNA1 TYPE TABLE OF KNA1 WITH HEADER LINE.
DATA : IT_SPA TYPE TABLE OF RFC_SPAGPA WITH HEADER LINE.
SELECT * FROM KNA1 INTO TABLE IT_KNA1 .
LOOP AT IT_KNA1 .
WRITE:/ IT_KNA1-KUNNR HOTSPOT ON.
HIDE IT_KNA1-KUNNR .
ENDLOOP.
CLEAR IT_KNA1-KUNNR.
AT LINE-SELECTION.
CASE SY-LSIND.
WHEN 1.
IF IT_KNA1-KUNNR IS NOT INITIAL.
REFRESH IT_SPA.
IT_SPA-PARID = 'KUN'.
IT_SPA-PARVAL = IT_KNA1-KUNNR.
APPEND IT_SPA.
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'S1'
EXPORTING
TCODE = 'XD02'
SKIP_SCREEN = ' '
MODE_VAL = 'A'
UPDATE_VAL = 'A'
IMPORTING
SUBRC =
TABLES
USING_TAB =
SPAGPA_TAB = IT_SPA
MESS_TAB =
EXCEPTIONS
CALL_TRANSACTION_DENIED = 1
TCODE_INVALID = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDCASE.
<b>Reward if Helpful.</b> -
Hi ,
We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
"The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
Please let us know reason behind this error message.
Thanks,
MrudualaYou are kidding? It took me about 3 minutes to scroll down on my tab to get to the triplex button!
Habe you read the error message?
Quote:
java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
Check the trigger and it should work again.
Timo -
How can I get the variable with the value from Thread Run method?
We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
How can I get the variable with the value?
This is sample code:
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run method "+sathr.x);
// I should get Inside the run method::: But I get only Inside
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to read it from external method. This I dont want to doWe want to access a variable from the run method of a
Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
Even
though I make the variable as public /public static, I
could get the value till the end of the run method
only. After that scope of the variable gets lost
resulting to null value in the called method/class..
I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
public class SampleSynchronisation
public static void main(String[] args)
SampleSynchronisation app = new SampleSynchronisation();
public SampleSynchronisation()
MyRunnable runner = new MyRunnable();
new Thread(runner).start();
// yield this thread so other thread gets a chance to start
Thread.yield();
System.out.println("runner's X = " + runner.getX());
class MyRunnable implements Runnable
String X = null;
// this method called from the controlling thread
public synchronized String getX()
return X;
public void run()
System.out.println("Inside MyRunnable");
X = "MyRunnable's data";
} // end class MyRunnable
} // end class SampleSynchronisation>
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run
method "+sathr.x);
// I should get Inside the run method::: But I get
only Inside
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to
read it from external method. This I dont want to do -
How can I get the variable with the value from Thread's run method
We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
How can I get the variable with the value?
This is sample code:
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run method "+sathr.x);
/* I should get:
Inside the run method
But I get only:
Inside*/
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to read it from external method. This I dont want to doYour main thread continues to run after the sathr thread is completed, consequently the output is done before the sathr thread has modified the string. You need to make the main thread pause, this will allow sathr time to run to the point where it will modify the string and then you can print it out. Another way would be to lock the object using a synchronized block to stop the main thread accessing the string until the sathr has finished with it.
-
How to fill an empty cell with the value above
Hello,
Please help me on the following issue related to BEx query and it's output in BEx analyzer as well as on Web.
I am trying to modify a query output where the empty cells are to be filled with the value in the above cell.
e.g. there is a column for transaction number, and this transaction number is the same for three rows, so it turns out to be two empty cells and only appears as if the transaction number applies to the first row only.
not sure how to paste screenshot or attach document but would love to provide more information if the above isn't suffice.
Please advise on what and where to modify in BEx designer.
Thank you for your help!Thanks a lot...yes, now it works in BEx Analyzer but for some reason doesn't work in the Web view.
Any ideas why is that?
Thanks again for your prompt help.
Edited by: One Idea on Jan 15, 2009 12:17 AM -
Task Total Slack Calculated values mismatching with the values in reporting database
Hi,
We require 'Task Total Slack' as one of the items in a report for Project Server 2010. We're developing the reports using SSRS wherein the SQL Queries are fired on the reporting database of Project Server 2010.
We've come across a situation wherein the total slack values from reporting database for tasks are mismatching with the values that are seen in either PWA or Project Professional for total slack field. We also could not find a consistent factor by which
the slack is multiplied for reflecting in the database in case the Slack in days was being converted into Hours in reporting databse.
Is there a definite way that these values are being represented in reporting database which is quite different from the way these values are seen in Project Professional? Please help resolving this issue.Hi Abhijit PS,
Can you give an example of the mismatch? Also you could tell us if this is happening for all tasks and all projects. Your concern may be seen from 2 different points of view:
Either this is indeed a bug with a slack of 2 days for example in Project Pro and 4 days in your report from the reporting DB. In this case, you should check if the projects have been published correctly and if the Reporting DB is correctly sync'ed with
the draft DB.
Or it could be the normal behavior and it is just a matter of finding why. For example, the durations are stored in the DB in minutes, meaning that a 1day duration might be stored as 480 if you have 8 working hours in a day (8*60).
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
How to dynamically populate a listbox with the values in the database
Hi,
How do dynamically populate the list box with the values in the oracle database. I want to load the list box at run time.Plz anybody help me out to find a solution for this problem.
Thanks in advance...
Regards,
Shiva.u can wite code like this..on jsp page
<%
ResultSet rs = stmt.executeQuery("select vender_name from vendors");
%>
<select name = "vendorlist">
<%
while(rs.next()){
String vname = rs.getString(1);
%>
<option value="<%=vname%>"><%=vname%></option%>
<%
rs.close();
%> -
Setting the footer with the value of a cell - Excel 2010-2013
Hi,
is it possible to set the footer of a workbook with the value of a cell without using VBA code or macro?
ThanksNo; it is not possible to enter a formula that refers to cells in the header or footer. A VBA macro is the only way to set the header or footer to the value of a cell.
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Calculate a measure depending on the value of other dimension
HI,
I would like to know if it’s possible to calculate a measure depending on the value of other dimension. I want to calculate this measure in the Business Model and Mapping. I show you how I am trying to do it:
http://img338.imageshack.us/img338/2496/imagenjp.png
But when I try to make an aggregation of this measure then I get an error of consistency.
I think a good example to make you to understand me is the function TODATE which calculates an aggregation depending on one time dimension. I would like to do the same thing but regarding to the value of other dimension.
Can someone help me? Thanks a lot.Hi,
Do you have that dimension table as a "Sources" in that BMM folder? if yes, then you can use the "Data Type" option and click on "show all logical sources". Then click on your fact table using which you want to do the calculation and then use this formula. After that you can have the aggregation.
It should work.
Thanks,
Rohit -
I have an issue with the alignment of my characteristics BEX on web.
Hi Xperts,
i have posted this query on 10th of March.But till now i have not received exeact soluation for this issue.
*As ther is no more soluation for it or u need more elaboration regarding this issue .
Currently the texts alignment in my report is in Center but i need all in left alignment.
i searched in SDN and got to know that we can do it through MIME repository where all the Style sheets are maintained.
So i went to se80(MIME Repository) and searched the style sheet for my report when i double click on the style sheet it takes me into MS visuals.intel Dev but ther i could not found where i have to do the settings.
Could any one please tell me the steps how can i do this setting ther?
Regards,
satishHi Satish,
In the css file, you should have a 'text-align' property set to 'center' for the BEx Table cell element. I'm not sure of the exact element name, maybe you can check. Also check if you can open the file in notepad if the MS VS format is not ok with you.
--Priya -
Help. How to link the value on other spreadsheet with different path
The data is in the spreadsheet on path: Macintosh HD/Users/fridayge/work/list.xls
I want to link the value to Numbers sheet.
If in ecxel, I can express ='Macintosh HD:Users:fridayge:work:[list.xls]list'!A1, then get value of A1
In numbers, how can I get this?Friday,
If you can't combine documents for some reason, there are ways to mitigate the effects of having them separate.
I would give the Source and Receiving documents similar names such that reside next to each other in the Finder window when organized by FileName. Also, position the data you need to retrieve at the top of the Sheet that the Source document will display when opened - you could have a small summary table there.
Now when you are going to do edits, Select both files in Finder, Right-Click ond Select Open, opening both at once. Copy the source data from the convenient cells in the source document then close the Source document and Paste into the Receiving document. Now continue as though the data had transferred by formula.
Jerry
Maybe you are looking for
-
PL/SQL TABLE AS OUT ON PROCEDURE CALL AND JDBCTHIN(NEED HELP
How can I pass pl/sql record in and out and pl/sql tables in out thru a pl/sql procedure using jdbc with the zip file of 816classes12.zip... I have tried everything I know... I know the procedure is working, others are using it with in Oracle... I ne
-
Why do I have to keep restarting my hub several times a day? When I go to print something over wi fi it prints out a page but then doesn't print when I go to print something else without having to restart the hub again. I also have a message there i
-
i would like to print webpage content as I was previously able prior to upgrading to Firefox 8.0 i am using windows 7 and i have adobe acrobat 8.0 on my PC I would really appreciate any assistance...Ron
-
Appointment pop up at top of icloud web page
What is that appoinment pop up at the top of the icloud control panel and how do I get rid of it as it covers part of the calender menues for setting day, week month etc.?
-
Trying to set-up the network adapter in Solaris 11 under Hyper-V fails
I was using Virtual Box to run Solaris 11 for testing purposes, however VB was disappointing as my VM hanged too often so now I am evaluating Hyper-V under Windows 8 Pro. If I can get the network to work I will use Hyper-V even if it lacks seamless m