How to put column value in total by that particular column?
Hi All,
I am not able to put the column value in total by colunm in a pivot or table view.
Eg. like below
Total by Branch *1* 12345
Total by Branch *2* 45678
I can edit the caption and put "Total by Branch" but unable to display the coumn value 1 or 2.
Plz help
Thanks,
saurav
Edited by: 921872 on Mar 19, 2012 8:07 AM
Edited by: 921872 on Mar 19, 2012 8:07 AM
Hi ,
GO to pivot view and you can find column option like (no Total) click this option we can find none,before,After options.
You can apply after option in you pivot column.
I am not sure this is what your looking so far.
Award points it is helpful.
Thanks,
Satya
Similar Messages
-
I've got a wireless network with one iMac and a Vista PC, on the Vista PC is through USB a printer connected. How can i print from my iMac to that particular printer ?
You need to turn on Printer Sharing on both the PC and OS X. I can't help you on Vista but in OS X it's System Preferences - Sharing - check the Printer Sharing box.
-
How to put a value in a selection screen parameter
how do i forcefully put a value to a field in the selection screen.
i mean during runtime.
and it's a parameter not a selection-option.
thanksHi,
Check this sample code.It can help you.Basically you need to use 'DYNP_VALUES_READ' in at selection-screen on value-request for s_posnr-low.
tables : vbap. " Sales Document: Item Data
Constant Declaration *
CONSTANTS:
C_X TYPE C VALUE 'X'. " Translate to Uppercase
Variable Declaration *
Variable for Table index
data v_sytabix like sy-tabix.
Variable for Program name
data L_NAME LIKE SYST-REPID.
Range for getting values form selection screen
DATA: BEGIN OF range1 OCCURS 0,
SIGN(1),
OPTION(2),
LOW LIKE vbap-vbeln,
high like vbap-vbeln,
END OF range1.
Internal table for Report output
data: begin of i_vbap occurs 0,
vbeln like vbap-vbeln, " Sales Document
posnr like vbap-posnr, " Sales Document item
end of i_vbap.
Internal table for output to the F4 help
data: begin of I_DISPLAY occurs 0,
vbeln like vbap-vbeln, " Sales Document
posnr like vbap-posnr, " Sales Document item
end of I_DISPLAY.
Internal table for return value form function module
DATA: BEGIN OF I_RETURNVAL OCCURS 0.
INCLUDE STRUCTURE DDSHRETVAL. " Interface Structure Search
DATA: END OF I_RETURNVAL.
Internal table for F4 help field heading
DATA: I_FIELDTAB LIKE DFIES OCCURS 0 WITH HEADER LINE.
Internal table for getting screen values from selection screen
data L_SCR_FIELDS LIKE DYNPREAD OCCURS 1 WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME title text-001.
select-options:
S_VBELN for vbap-vbeln no intervals,
S_POSNR for vbap-posnr no intervals.
SELECTION-SCREEN end OF BLOCK B1.
at selection-screen on value-request for s_posnr-low.
clear: L_SCR_FIELDS, I_FIELDTAB, i_display, I_RETURNVAL.
refresh: L_SCR_FIELDS, I_FIELDTAB, i_display, I_RETURNVAL.
L_NAME = SYST-REPID.
MOVE 'S_VBELN-LOW' TO L_SCR_FIELDS-FIELDNAME.
APPEND L_SCR_FIELDS.
Call the Function module DYNP_VALUES_READ to get the values form
selection screen
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = L_NAME
DYNUMB = SYST-DYNNR
TRANSLATE_TO_UPPER = C_X " X
TABLES
DYNPFIELDS = L_SCR_FIELDS
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11
IF SY-SUBRC eq 0.
LOOP AT L_SCR_FIELDS.
range1-sign = 'I'.
range1-option = 'EQ'.
range1-low = L_SCR_FIELDS-FIELDVALUE.
range1-high = space.
append range1.
ENDLOOP.
ENDIF.
F4 help Field headings
I_FIELDTAB-TABNAME = 'I_DISPLAY'.
I_FIELDTAB-FIELDNAME = 'VBELN'.
I_FIELDTAB-POSITION = '1'.
I_FIELDTAB-OUTPUTLEN = '10'.
I_FIELDTAB-INTTYPE = 'C'.
I_FIELDTAB-INTLEN = '10'.
APPEND I_FIELDTAB.
I_FIELDTAB-FIELDNAME = 'POSNR'.
I_FIELDTAB-POSITION = '2'.
I_FIELDTAB-OFFSET = '10'.
I_FIELDTAB-OUTPUTLEN = '6'.
I_FIELDTAB-INTTYPE = 'N'.
I_FIELDTAB-INTLEN = '6'.
APPEND I_FIELDTAB.
Retrieve sales document, Sales document item from table Sales
Document: Item Data(VBAP).
Primary keys used for selection: VBELN
select vbeln posnr from vbap
into table i_display
where vbeln in range1.
Call the function module F4IF_INT_TABLE_VALUE_REQUEST for F4 values
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'POSNR'
WINDOW_TITLE = 'Line Item'
VALUE_ORG = 'S'
MULTIPLE_CHOICE = C_X " (for muliple selection)
TABLES
VALUE_TAB = I_DISPLAY
FIELD_TAB = I_FIELDTAB
RETURN_TAB = I_RETURNVAL
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ELSE.
Star for For single values
READ TABLE I_RETURNVAL INDEX 1.
S_POSNR-LOW = I_RETURNVAL-FIELDVAL.
End for the single values
Start For multiple selection
loop at i_returnval.
s_posnr-sign = 'I'.
s_posnr-option = 'EQ'.
s_posnr-low = I_RETURNVAL-FIELDVAL.
append s_posnr.
endloop.
sort s_posnr.
read table s_posnr index 1.
End for multiple selection
ENDIF.
Start-of-selection *
start-of-selection.
Retrieve sales document, Sales document item from table Sales
Document: Item Data(VBAP).
Primary keys used for selection: VBELN
select vbeln posnr from vbap
into table i_vbap
where vbeln in s_vbeln
and posnr in s_posnr.
if the above selection is successful continue the process else exit *
form the report
if sy-subrc ne 0.
message e002 with 'No data to display'.
endif.
end-of-selection.
if not i_vbap[] is initial.
loop at i_vbap.
write:/ i_vbap-vbeln, i_vbap-posnr.
endloop.
endif. -
Pnp selection screen 000 how to put default values
Hello everybody,
my question today is about PNP selection screen 000: How can i put default values in the fields w/o using variant.
or can i restrict the numbers of values returned by " get pernr" with conditions not on selection screens.
thank you in advance!
Eric.use this code to default fields on the event INITIALIZATION. you can modify as per you needs..
*----------------------------- INITIALISATION -------------------------------------------
INITIALIZATION.
pnpstat1-low = '0'.APPEND pnpstat1.
pnpstat2-low = '3'. APPEND pnpstat2.
pnptimed = 'I'.
* Default Dates
CONCATENATE sy-datum+0(4) '0101' INTO pnpbegda.
CONCATENATE sy-datum+0(4) '1231' INTO pnpendda. -
How to put Variable value into Labeltext of a subcomponent WIB
Hello
In our Web Based Planning tool we uses Tabstrib_control component and the Label-Text is filled like 'Plan 2008'. (Our BPS = 3.5 and Web interface builder)
I am looking for a way,how to put a variable into the Label field of the component. I am not sure if there is a possibility to enhance the labelfield with variable values.
Thanks a lof for any good idea.
Best regards
Christian
Our BPS = 3.5 and Web interface builderHello Christian,
Maybe I have a solution for your problem.
1. Create subcomponent "Selector variable" with your variable.
2. Hide this new subcomponent
3. Write in the Label-Text: <%=descr("Name of new subcomponent"/value)%>
If the variable will be selected by the user in the web interface, put the name of this selector in the field "Update upon Change of" in the properties of the new created subcomponent.
Hope this helps.
Friedrich -
How to put variable value in Alert window?
Hi, everytime I use:
Alert.show("this is the value of the variable: " +
theVariableName);
the alert stops working and no error message was given.
Does anyone know how to put the variable inside the Alert
window?Is theVariableName defined in the object that is opening the
Alert window?
If you can post your code it will help. -
I would like to know how to bring the value of total HC effort value into other report
Hi Experts,
I hope you are doing good...!
I need your great help in order to fix my issue, I have created HC planning input schedule first then the user enters inputs of each employee on each month by using time dimension at column axis.
Once the input schedule has been saved and they have to make another input schedule which is HC total Effort allocation report. ( In HC planning we will calculate total HC effort in column by using excel formula) in that they will distribute the total HC effort to the different asset (Total avg working days x no of days (fixed).
Now my client wants to add one more column in HC effort report there they want to see the total days of each employee which have been entered in the HC planning report and it can be saved.
Can any one plz tell me how to fix this issue.
Regards,
Satish.Sorry, but the description is not clear. Please, explain step by step with screenshots.
Vadim
P.S. Please, show on screenshots only meaningful data, not an empty space. -
JSP and JavaScript! How to put session values into html form?
I have a master form which goes to detail form to input data and back to master to Confirm submit operation. I want to put all the form data into request or session variable so it can be retrieved in both the forms. In master form i want to use it in the following way:
MasterForm-onLoad(){
check for form data Object in the session/request
if the data exists
populate the form fields (by getter methods of form data object)
Show the input from detail form
otherwise
show empty form
Now the problem is that it throws null pointer exception if the form data does not exist and i try to access it within an IF statement.
I beleive this is coz the JSP code will be executed on the server before the html page is loaded. Can any one please tell me how to solve this problem.
Thanks and Best Regards
Gulthats exactly what i m doing but the session variable is not a simple variable or objct, its a serializable object with getters and setters which i will call to retrieve its values. its like this
FormBean formData=(FormBean) session.getAttribute("formData");
now in javaScript i will have to check if the formData is null and than perform the getters or setters.
<script>
function getValues(){
if("<%formData%>"!="null"){
form1.SID.value="<%=formData.getIDVal()%>"
</script>
thats what i was trying to do but the problem is all jsp code will be executed before the page is loaded so it will try to execute inside of the if statement even when the object is null so NullPointerException.
The only way i have got it working so far is to retrieve all the values in the JSP scriptlet, and than use the individual variables as u also mentioned.... SO Far i havnt been successful in calling getter methods in JavaScript. you think it can be done?
Thanks for the reply
GUL -
While creating the parameter it doesnot pull all the data of that particular column
Post Author: pvds
CA Forum: Data Connectivity and SQL
Hi everyone.
i am using a sql query with a join condition to pull data in to crystal reports. I got that data which i want in to the report. but when i was trying to create a parameter with a dropdown of all the database values to a particular column it is not showing all the data from the report.
for example i have a column called state
the column has many states displayed in the report but when i select that column and select browse data it shows only 1 state. with this i am anable to create a parameter with a dropdown list of all the state. i can see different states in the report but y i am not able to see when i browse the data or create a parameter? can any one answer me?
i already created another report with a query on same table but i never faced this problem before.Post Author: V361
CA Forum: Data Connectivity and SQL
There is a limit to the number of Parameters that will show in a drop down... You can increase using the following.
Check this KBase article on how to increase the number.
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2017238&sliceId=&dialogID=19032644&stateId=1%200%2019034607 -
Need to update one column of all table in that particular schema
hi all,
i am using db10g.
my task is to update one particular column's value of all the table in that schema.
to acheive the above
do i have to write update statement for each table or is there any way to do it in bulk?
i hope my question make sense.
Thanks..Hi karthick,
I want to know something which is not related to this thread .
How to include formatted post while replying to thread .
I know using will be used format code before posting . But how can we do it for posted message .
I hope you understand my question .
Thanks in advance . -
How to Set column value in SO matrix , if the column is not visible.
Hi,
We are trying to set value in to a column from sales order matrix with the below mentioned code
((SAPbouiCOM.EditText)oMat.Columns.Item("U_TWBS_AC_BaseEntry").Cells.Item(pVal.Row).Specific).String
it will throw an u201CForm Item is not editable u201C error if the column ("U_TWBS_AC_BaseEntry") visible is set to false through form settings.
how can we solve the issue,can we use any DI object in order to reset the form settings.
Thanks & RegardsHi
Try and make the column visible then set the value and make it invisible then
Hope this helps
Regards
Vivek -
How to put the value in Header test while creating the sales order
Hi ,
I am creating the Sales order using the Idoc Orders05 .
I have to pass the value in the header text 1. the value is a transaction id which is a string value.
If anyone has an idea how to do this using the the Orders Idoc. it would be a great help
Thanks
NikhilIf you have access to idoc before calling the processing Function module, Adding header text segments E1EDKT1 and E1EDKT2 to the idoc will create the header text.
Regards
Sridhar -
How to put variable value inside ora:parseEscapedXML ?
Hi,
I am in a situation like I have a variable like temp that has value "runtime value". Now I want to put this temp variable like
ora:parseEscapedXML('<data><xd:name="a"> <xd:value>temp</dsml:value></xd:name> </data>')
But it shows temp as a String not its runtime value. I have also used bpws:getVariableData(temp) or bpws:getVariableData("temp") or bpws:getVariableData('temp') but useless .
Any help ?
ThanksI have pasted my XML into the Expression but its unable to pick the value of variable. When I used/paste the same xml in a XML Fragment its giving me error about literal invalid.
What should I do now ?
Thanks -
I need to set a field to be blank when another field is blank:
when [Return Date] is blank [when item has not been returned]
[Received by] should be set to blank
I tried this:
=IF(ISBLANK([Return Date]),ISBLANK([Received by]),TRUE)
But it failed.
Is this possible through list validation settings?Hi
you cannot reference another column in a formula that creates a default value for a column.
PF below link for the same.
http://ricardoramirezblog.wordpress.com/2013/05/02/calculated-field-formulas-for-default-value/
Regards,
Rajendra Singh
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
http://sharepointundefind.wordpress.com/ -
How to put a value into the Gauge object
Hi Experts
I would like to use the DS_1.getData() command to retrieve data from a query
and place it into a gauge (standard object in DS). What I understand is that
the getData command retrieves a float value and the gauge object expects an integer
value. I didn’t find a float to integer conversion so I tried a work around. It
looked something like this but it did not work:
GAUGE_1.setValue(Convert.stringToInt(Convert.floatToString(DS_1.getData("CKXYNLFBDHH0X2U91711DX83S",
{"ZQMSITEPD":'S999'}).value)));
The value from the float to string conversion holds the decimals like 49,937 and this creates an error in the conversion from
string to int.
Does anyone have an example on how to get data from a DS into a gauge?
Kind regards
ErikHI Erik, have you tried to use the Convert object?
float can be converted to string with argument "###", this will round all numbers after colon.
eg.
var fullNumber = Convert.floatToString(55.83, "###");
var numberInt = Convert.stringToInt(fullNumber);
APPLICATION.createInfoMessage("Value " + numberInt);
fullNumber = Convert.floatToString(55.23, "###");
numberInt = Convert.stringToInt(fullNumber);
APPLICATION.createInfoMessage("Value " + numberInt);
see for many examples
Design Studio 1.3 Scripting Example to Convert String Number to Date
Regards, Karol
Maybe you are looking for
-
How to use simple SQL instead of Connect By Prior
Currently, I am using "connect by prior" query in the application, but for reason I don�t want to use this connect by query so can any one please tell how does I get the same result by using SQL, I tried this by using procedure but unable to get the
-
Ii cant download netflix in my ipad.
I cant download netflix on my ipad and i dont know why. Everytime i go to itunes and serch for it it doesen't apear and if i go to the netflix web page and press the link it takes me to the app store and the screen stays white forever and never charg
-
Newbie-Size of video for export
I'm trying to finish my video. The problem is that after I exported it and made it into a video, the final product is too small. I was wondering if there are any settings to change the output size of my video so that people can see the details of t
-
Search Text incorrectly shows no results. Foxit Reader shows it correctly.
Doing a Text Search in Adobe Reader 11.0.09 incorrectly gives no results found. Opening the Same PDF in Foxit Reader correctly returns the results.
-
Source list Automatic with Info Record data ..ME05 ??
Hi experts, how to create source list automatic with inforecord data. i mean how to use T-code /ME05. what is the steps are involved. Thanks in Advance, Anthyodaya.