How to print actual value on Yaxis
hi
I need help on Graphs,
I want to display value on Yaxis line such that it should not be any increment between value 1-250 like 0,50,100,150,200....
but the actual values are 2, 45, 77, 88,145
So I want to print actual values than max &min having increment
thanks
V E N K A T
Syed,
Chack this link hope helps u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_FORMS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYXXFORM/PYINT_FORMBUILDER.pdf
Similar Messages
-
How To Print Field Value in TOP-OF-PAGE During Line Selection.
How To Print Field Value in TOP-OF-PAGE During Line Selection when double click on field.
(If my memory serves me well (not used for long time ago)
Assign values to system fields sy-tvar0 - sy-tvar9, they will replace the placeholders "&0" through "&9" in the list headers and column headers.
TOP-OF-PAGE DURING LINE-SELECTION.
WRITE: / 'Interactive Report &3'.
WRITE record-vbeln TO sy-tvar3.
Regards,
Raymond -
How to get actual value from LOV list
Like Subject says: How to get actual value from LOV list. Any help will be appreciated.
Thanks.Thanks Shay, I did it with bind variable because I'm not using JSF. Is there any chance to post solution using standard JSTL or HTML expression. I have something like this: LOV displays some Companies names:
<html:select property="UserJobCompanyId"
disabled="${!bindings[\'UserJobCompanyId\'].updateable}"
onchange="submitform();">
<html:optionsCollection label="prompt" value="index" property="UserJobCompanyId.displayData"/>
</html:select>and I want to get CompanyID of selected Company.
Thanks, again. -
How to print Jtable values in one A4 size paper
Hi,
i am having JPanel , this panel have Jtbale, Jtextfield, Jlable, i search the code for Printing Jpanel, its work fine and print whole JPanel including, jtable, textbox, everything.
my Jtable have Scroll bar to see all the values in the table,my problem is when i was print the JPanel the Jtable print only the display values in Jtable, cannot print all the values from Jtable,(eg. Jtable have 50 rows, screen display 20 rows only, move the scrollbar to see remaining,) .
i want to print 50 rows how to print the values anyone can help me
thanks in advance.Duplicate post. Mods please do your duty.
-
How to print the value of a field of type FLTP
hi experts,
pls tell me how to print the value of a field of type FLTP. i.e in decimal format not in exponential format.
thankyou.
krishnaHi ,
I dont think in Floating point u can able to go for the decimal point display as it is for the minimum precission display..
Define the variable as the 'packed' type and then u can able to define the decimal point...
Cheers,
SImha. -
How to print the values of type Object?
Hi All,
I am not able to print values of the following can anyone telme where i am wrong and what i can do in this regard.
Object one = request.getAttribute("values");
When i try to print these values as following
System.out.println("one ="+one);
am not getting the values in a different format something like [Ljava.lang.String;@1234f. I tried to convert the following Object to String still its not working. Can some one please suggest me what i can do in this regard.
Thanksferrari_sun wrote:
I am getting a Null pointer exception if i typecast it to a string array. Not sure what to do nowThe hell you are. You don't get Null pointers out of casting. However you might be accessing null elements of the array afterwards.
You really should throw away the code, go fetch some "How to learn basic Java with Wiggles The Bear" ebook and then start learning the basics instead of tripping on every single line of your code which is too complicated for you. -
How to print the value if a condition is satisfied
Hi,
Please suggest me how to print a text as 'Do not print' when a field in the selection screen is entered.
If in the selection screen (s_field1) we have entered a value as ZESM then the value filed of
wa_vbak-auart should check the the values in s_field1 then it should just print the text "'DO NOT PRINT''.
we have written the folowing code, but the condition is not working.
DATA: V_FIELD1 type z_field1. "(zdata element).
ranges: r_fIELD1 for v_field1.
SELECT-OPTIONS: S_field1 FOR v_field1 default 'ZESM'.
loop at s_field1.
r_field1-sign = 'I'.
r_field1-option = 'EQ'.
r_field1-low = s_field1-low.
append r_field1.
clear r_field1.
endloop.
if wa_vbak-auart in r_field1.
wa_final-v_text = 'DO NOT PRINT'
else.
wa_final-v_text = ' '.
endif.
Please suugest what can be done.
Thanks in advanceHi,
if wa_vbak-auart in r_field1.
wa_final-v_text = 'DO NOT PRINT'
else.
wa_final-v_text = ' '.
endif.
Have you writtent he above code with in loop enloop on the internal table.If yes then simply add append statement after assignment.
if wa_vbak-auart in r_field1.
wa_final-v_text = 'DO NOT PRINT'
append wa_final into it_final.
clear wa_final.
else.
wa_final-v_text = ' '.
append wa_final into it_final.
clear wa_final.
endif.
Hope this will solve your problem.
Pooja -
How to Print all values stored in an Associative array
DB version:10gR2
There can be multiple results(multiple rows) for the below query. So, i'll have to declare the variables v_sid_serial, v_orauser, v_objectname,v_objecttype as associative arrays.
SELECT l.session_id||','||v.serial# sid_serial, l.ORACLE_USERNAME,o.object_name,o.object_type,
into v_sid_serial, v_orauser, v_objectname,v_objecttype
FROM dba_objects o, v$locked_object l, v$session v
WHERE o.object_id = l.object_id
and l.SESSION_ID=v.sid;But I want to store the results from the above query in flat file. I want the result set to look like
SID_SERIAL ORA_USER OBJECT_NAME
742,32914 SCOTT EMP
873,49832 HR EMPLOYEES
893,9437 mytestschema emp_dtls
. .How can i print the values in Associative arrays in the above manner so that i can spool the result set to a flat file?
Edited by: user10373231 on Sep 29, 2008 5:19 AMuser10373231 wrote:
is there any way to print all values stored in an Associative arrayPrint to where?
You could use DBMS_OUTPUT to get the output on the screen within SQL*Plus.
You could also output (pipe) the data from PL/SQL using a pipelined function that you select from SQL. An example of a pipelined function...
SQL> CREATE OR REPLACE TYPE myrec AS OBJECT
2 ( col1 VARCHAR2(10),
3 col2 VARCHAR2(10)
4 )
5 /
Type created.
SQL>
SQL> CREATE OR REPLACE TYPE myrectable AS TABLE OF myrec
2 /
Type created.
SQL>
SQL> CREATE OR REPLACE FUNCTION pipedata(p_str IN VARCHAR2) RETURN myrectable PIPELINED IS
2 v_str VARCHAR2(4000) := REPLACE(REPLACE(p_str, '('),')');
3 v_obj myrec := myrec(NULL,NULL);
4 BEGIN
5 LOOP
6 EXIT WHEN v_str IS NULL;
7 v_obj.col1 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
8 v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
9 IF INSTR(v_str,',')>0 THEN
10 v_obj.col2 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
11 v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
12 ELSE
13 v_obj.col2 := v_str;
14 v_str := NULL;
15 END IF;
16 PIPE ROW (v_obj);
17 END LOOP;
18 RETURN;
19 END;
20 /
Function created.
SQL>
SQL> create table mytab (col1 varchar2(10), col2 varchar2(10));
Table created.
SQL>
SQL> insert into mytab (col1, col2) select col1, col2 from table(pipedata('(1,2),(2,3),(4,5)'));
3 rows created.
SQL>
SQL> select * from mytab;
COL1 COL2
1 2
2 3
4 5... which you can easily adapt to output whatever data you want e.g. you could loop through your associative array and pipe out the values within it. -
How to print a value in text format
hello,
I want to print a value for eg. 1083.00 in word like one thousand eighty three only......can anybody tell me is there any function module present in SAP to do same.......<removed by moderator>
Edited by: Mike Pokraka on Aug 4, 2008 6:42 PMHi hav a luk @ below code,
REPORT zmdamountwords.
TABLES: spell,
komk.
*& Form get_amt_words
* text
* -->AMT text
* -->WORDS text
FORM get_amt_words TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
DATA : value1 LIKE bseg-dmbtr.
DATA : value(18).
DATA : t_value(18).
DATA : value_s1(18).
DATA : value_s2(19),
value_s3(19),
value_s4(19),
rs_str(256),
len TYPE i,
words LIKE spell.
CLEAR : value,value1,t_value.
READ TABLE in_tab WITH KEY 'KOMK-FKWRT'.
REPLACE ALL OCCURRENCES OF ',' IN in_tab-value WITH space.
CONDENSE in_tab-value.
value = in_tab-value.
value1 = value.
CALL FUNCTION 'Z_SPELL_AMOUNT_INR'
EXPORTING
amount = value1
IMPORTING
rupees_str = rs_str
EXCEPTIONS
OTHERS = 1.
CONDENSE rs_str.
READ TABLE out_tab WITH KEY 'RS_STR'.
IF sy-subrc = 0.
out_tab-value = rs_str.
MODIFY out_tab INDEX sy-tabix.
ENDIF.
ENDFORM. "GET_AMT_WORDS
Let me know if you have any doubt.
Reward if useful.
Warm Regards,
Mohandoss P. -
How to Print the Value of a variable inside a PL/SQL package
Hi Friends,
Here is my Scenario
I have a PL/SQL Package. Let us call it Baseline Package.
This Package includes a dynamically built merge Statement.
Execute Immediate v_merge_query.
I have a procedure which replaces which few Keywords from the Package Text and Creates a new one depending on Inputs I provide. (This is something like a Code generator)
Now while Creating the new package, I need to print the Value of v_merge_query.... I Need s Static Query to be Printed inside the new package and not a dynamic query.
My Question is "Is there a way to print the value of the variable inside a different PL/SQL package?
Thanks in Advance,
MohitPrint where?
That PL/SQL code is server-side code. It runs in an Oracle server process.
That server process does not have a keyboard. Or a screen/monitor. Or display canvas. Or an attached printer.
That server process is incapable of "printing" as that is not its job or responsibility and not part of its environment.
What is can do is record data for the client to look at afterwards. This can be done using static PL/SQL session variables. Or a SQL table.
The former is done by DBMS_OUTPUT - a very primitive interface for writing text into a static PL/SQL string array. That btw resides in expensive private process server memory. The client can query the array after a database call and render the contents.
PS. Also keep in mind that bind variables are critical for performance and server robustness - especially when (ab)using dynamic SQL. -
How to print actual size in CS3
Hi I am interested to print my figure which is fully scaled to millimeters units. When I open my figure in photoshop it looks perfectly scaled. but when I sent this figure to print, first I uncheck SCale to Fit Media and scale to 100% so that no further scaling will be done... Now when I send this to print , it gives me very small size.
Scaling is critical in my case as I MUST have to print what is the actual scale.. Even decimals in millimeters cause error to me..How can I do this help me please
Please please please help me
ThanksIt was the 3rd "please" that pushed me over the edge. Just kidding.
How far off from proper size is your print coming out (actual measurements vs. expected)?
Are there any settings in the printer driver itself (available through the [Print Settings...] button) such as "borderless print" or other scaling options that have inadvertently been set?
Are the values for Height and Width exactly what you expect, considering the type of unit (e.g., cm or mm) displayed in the Units field? For me, an image listed as 4.75 x 5 with Units: inches prints exactly at that size.
What kind of printer is it? Are any updates available for the driver from the manufacturer (e.g., on their web site)?
-Noel -
How to print extract value in dbms_output.put_line
CREATE OR REPLACE PROCEDURE pr_srch_data
AS
xml_data_val xmltype:=null;
vPropertyName clob;
vstr varchar2(1000);
operation varchar2(1000);
vQuery VARCHAR2(4000):=NULL;
vQry VARCHAR2(4000):=NULL;
vPartyid VARCHAR2(2000):=NULL;
vPerson varchar2(4000);
BEGIN
FOR I IN (SELECT EAPP_XML_DATA
FROM binary_xml
WHERE extractvalue(eapp_xml_data,'/OLifE/Party[@id="Party1"]/Person/LastName') Like 'Rajesh%'
LOOP
BEGIN
SELECT extractvalue(value(t),'/Relation/@RelatedObjectID')
INTO vPartyid
FROM TABLE (XMLSEQUENCE (EXTRACT (xml_data_val,'/OLifE/Relation'))) t
WHERE extractvalue(value(t),'/Relation/RelationRoleCode')='Owner'
AND existsnode(value(t),'/Relation/@RelatedObjectID')=1 ;
END;
SELECT extract(value(t),'/OLifE/Party[@id='''||vPartyid ||''']/Person')
INTO vPerson
FROM TABLE (XMLSEQUENCE (EXTRACT (I.EAPP_XML_DATA,'/OLifE')))t;
dbms_output.put_line('vPerson'||'--'||vPerson);
END LOOP;
END;
But when i am printing vPerson i am getting error. I need to print that extract value.Things to remember (that you should know by now)
Please remind us of which version of 11g you are using in this post and all future posts.
Look at the FAQ under your sign-in name to see how to use the tag to retain formatting of your code as you have seen our examples to you look like.
We can't see your screen or your data so how about the error message and some data from your table?
Please start using either XMLTable or XMLCast/XMLQuery as odie_63 as shown you.
What are you trying to do? -
How to print Excise values in Purchase Order Smartform
Hi, Experts,
I am developing the Purchase Order Smartform as per the my client requirment. For this i took the copy of standard Smartform for PO. The name of the standard smartform is 'YBIN_MMPO'. My requirment is to print all the excise values {BED,CESS,ECESS and VAT/CST} of every item. How to get these conditions to print in PO. I serched the table KONV, but the conditions which are under the taxes button are not stored in this table.
For this I found one FM "CALCULATE_TAX_FROM_AMOUNT'. This is also not helpful if client goes to manual excise to create PO.
Is there any other table to get these conditions? or is there any function modules to get these conditions?
Please give me the solution.
Thanks & regards,
Jagadeesh.Hi,
I used this piece of code to get the excise values in PO.
SELECT SINGLE * FROM EKPO INTO
W_EKPO
WHERE EBELN EQ IS_EKKO-EBELN AND
EBELP EQ <FS>-EBELP.
CALL FUNCTION 'J_1I4_COPY_PO_DATA'
EXPORTING
Y_EKPO = W_EKPO
EXCCOM =
CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT'
EXPORTING
i_bukrs = <FS>-BUKRS
i_mwskz = <FS>-MWSKZ
I_TXJCD =
i_waers = IS_EKKO-WAERS
i_wrbtr = <FS>-NETWR
I_ZBD1P = 0
I_PRSDT =
I_PROTOKOLL =
I_TAXPS =
I_ACCNT_EXT =
IMPORTING
E_FWNAV =
E_FWNVV =
E_FWSTE =
E_FWAST =
tables
t_mwdat = ITAB_TAXDATA
EXCEPTIONS
BUKRS_NOT_FOUND = 1
COUNTRY_NOT_FOUND = 2
MWSKZ_NOT_DEFINED = 3
MWSKZ_NOT_VALID = 4
KTOSL_NOT_FOUND = 5
KALSM_NOT_FOUND = 6
PARAMETER_ERROR = 7
KNUMH_NOT_FOUND = 8
KSCHL_NOT_FOUND = 9
UNKNOWN_ERROR = 10
ACCOUNT_NOT_FOUND = 11
TXJCD_NOT_VALID = 12
OTHERS = 13
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.
regards,
Jagadeesh T. -
How to print filed value in vertical direction
I have some requirement to print the field value in vertical direction.How can I do that.
Hi,
you cannot rotate a field. But you can reference the field in a boilerplate text with &myfield_name and rotate the boilerplate. The value of the field inside the boilerplate is not shown, if you try the hide the field with a format trigger (as you normally don't want to show vertically and horizontally. Because of that, color your field white. So it's there, but not seen.
Regards
Rainer -
In Scripts how to print the values in currence format
Dear abap guru's,
I am working on Purchase Order Script, copy from the standard script, after that wrote a one perform , in that added one new field to script, but value is printed like this formate : 1000.00, but i want to print 1,000.00 like this currence format. let me know the any solution
thanks to all
raj.Hi ,
When you are populating the value in perform instead of assigning the value (using = ) pass it using WRITE TO.
Like : WRITE lw_total TO output-value.
Declare lw_total as currency field.
Regards,
Rajitha.
Maybe you are looking for
-
Can't get sub vi to process button pushed in main vi.
I'm trying to control whether or not data will be written to a spreadsheet through the use of buttons on my main panel. I have 5 sets of data and want to be able to tell the program when to save them by pressing a button. To do this, I created 5 sub
-
Hi, When I boot my 2010 MacBook Pro I get a gray screen, when I try to do a Restore, the Mac partition is nowhere in sight, it sees my Windows Partition. When I in Windows I can see all the files in the Mac Partition and I've backed up my Mac files o
-
Solved: message "You are not connected to the Internet" after idle sleep
Summary: What worked for me was to turn off IPv4 and IPv6 on my unused interface. The problem was that after my computer had been in sleep mode, Safari would say: "You are not connected to the Internet." or "softwareupdate -l" would say: "This comput
-
How do I get Aperture 3 when purchased before the App Store?
In 2010, I had downloaded the Trial verion of Aperture 3. I decided to buy it digitally and paid the $99.00 (at that time.) I still have the email from Apple confirming the purchase of the Aperture 3 Trial Upgrade. It worked fine and had all the nece
-
How to access function in extended class
I have a quick java question if you have the time to work it out - I've been doing some C# recently and wondered what the Java equivalent would be. If I have a base class, that inherits another class, which also inherits another class, how do you acc