Report Output for Currency Field--EKBE-WRBTR
Hello ABAP Experts
Since the Issue is related with Related Report output. Thought ABAP General Forum would be right place to post.
If not Suggest an appropriate forum for the same. I shall post them in Correct Forum.
Currently the report display Currency value From EKBE- WRBTR field
Actual Record Stored in EKBE is like this
0,00
400,00
1.600,00
client requirement is
0, 00
400,00
1600, 00
Option-1
I have tried option for conversion to CHAR & printing in Output, the issue I face is when I export to Excel I am getting an ABAP Error CONVT_NO_NUMBER(Short Dump)-This dump is due to conversion while exporting to excel.
Option-2(from SDN)
Give a logic based on T005 table i.e. this table has the decimal place setting for a each country (this I need to Verify)u2014But the I fear that report output can be confusing.
Expecting all your expert inputs!!
BR
Bharath
Hi Bharat,
You can set it using user--profile I guess.
For own data go to
system>user profile>own data---> defaults.
There you can select the currency format.
Hope this helps you.
Thanks,
Arun
Similar Messages
-
Validation of data in editable ALV report output for particular field
Hi Experts,
I have one input enabled field in ALV output. How to validate the data once user enters in that field and press enter? Is it possible to capture the value, hit the enter after user enters the data?
Thanks,
Surya PrakashHalo Prakash,
1 First you should registeer the ENTER Event.
call method g_grid->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_enter.
2 Declare event handler method for Event data_changed of cl_gui_alv_grid.
handle_data_changed
for event data_changed of cl_gui_alv_grid
importing er_data_changed.
3 Inside the Event handler method , you get the event parameter er_data_changed type ref to CL_ALV_CHANGED_DATA_PROTOCOL.
loop at er_data_changed->mt_good_cells into ls_good.
case ls_good-fieldname.
when 'FIELD1'.
call method check_FIELD1.
when 'FIELD2 '.
call method check_FIELD2
endcase.
endloop.
4 Inside the Method check_FIELD1 and check_FIELD2 you can do the validation check .
call method er_data_changed->get_cell_value( Passing the row no and field name).
if the check fails you can use add_protocol_entry to write the error.
5 Finally call
er_data_changed->display_protocol.
Regards
Arshad -
Any Orjinal SAP Reports which has currency field and currency key
Hi Friends,
I am looking for a report which has currency field and currency key at selection screen. I want to learn how SAP do selection with currency. Can you say a transaction deal with my desire?
Thanks.try report RFSSLD00
A. -
Negative sign for Currency fields
Hello experts,
If a currency field containt -Ve sign (86.47-) then, i have to move it this sign to Left sinde. I have do this as follow by moving the currency field value to Charractor field
DATA: w_total1 (18).
MOVE w_total To w_total1.
IF w_total1 CA '-'.
SHIFT w_total1 RIGHT CIRCULAR.
ENDIF.
CONDENSE w_total1 NO-GAPS.
But don't want to move this to Chanddacter field for other pupepose. Now how can i **** the -Ve sign to left side for currency field, IF bsid-shkzg EQ 'H'.
Thanks.Hi sandhya ,
Try this :
DATA: w_total type string ,
w_total1 type string.
w_total = '1,4567.7-'.
MOVE w_total To w_total1.
IF w_total1 CA '-'.
SHIFT w_total1 RIGHT CIRCULAR.
ENDIF.
* CONDENSE w_total1 NO-GAPS.
write : / w_total1.
Hope all your issues are fixed now .
Regards ,
lokesh
Edited by: Lokesh Pattnayak on Oct 11, 2010 10:23 AM -
Search help for currency field
I am not able any search help for currency field , CUKY of lenght 5
If anyone knows it please tellYou can use the data element WAERS / refer to field BKPF-WAERS. The search help will show up automatically as the field BKPF-WAERS, has check table TCURC.
Also see the "Origin of Input help" column in "Entry help/ check" tab in SE11 for table BKPF, it says - "Input help implemented with check table".
For example in tcode FB01, the currency field on the selection screen is BKPF-WAERS. The search help is displayed
Hope it helps -
Summary report treats a currency fields as text
In the summary report I have three charts with the currency field. The two charts show 'average' and 'total' but the other chart shows 'percentage' of responses - in other words the report treats that field not as a number but as text. The filed is designated as a currency in the desing view. Why is it treated as text?
Hi,
The percentage of responses is a reference for the responses of that field. If you don't want it to show, you can disable it.
Hope this help,
Perry -
Dynamic displaying of decimal points for currency field in ALV
Hi,
In ALV output there is a currency field and displaying data of different countries. It should display decimal point according to the country's currency. But at a time it can display data of different countries.Hi Dilip,
I think your question is about currencies with different number of digits after decimal point. If you have the currency field in the ALV row, you have to give it's name as currency reference for the value field in the field catalog.
After creating the field catalog, call a form and do something like this (change fielnames accordingly).
<pre>
*& Form alv_fieldcat_enhance
Individual Enrichment of field catalog
FORM alv_fieldcat_enhance
CHANGING pt_alv_fieldcat TYPE slis_t_fieldcat_alv.
FIELD-SYMBOLS:
<alv_fieldcat> TYPE slis_fieldcat_alv.
LOOP AT pt_alv_fieldcat ASSIGNING <alv_fieldcat>.
IF <alv_fieldcat>-fieldname(5) = 'KBETR' OR
<alv_fieldcat>-fieldname(5) = 'SKBTR' OR
<alv_fieldcat>-fieldname(5) = 'DMBTR'.
Company code currency
<alv_fieldcat>-cfieldname = 'BWAER'.
Document Currency for conditions, net value and taxes
ELSEIF <alv_fieldcat>-fieldname(5) = 'KWERT' OR
<alv_fieldcat>-fieldname = 'NETWR' OR
<alv_fieldcat>-fieldname = 'NPAX_MWST_AMNT'.
Document Currency
<alv_fieldcat>-cfieldname = 'WAERK'.
ENDIF." <alv_fieldcat>-fieldname(5) = 'KBETR' or
ENDLOOP." at pt_alv_fieldcat assigning <fieldcat_alv>.
ENDFORM. " alv_fieldcat_enhance
</pre>
Regards,
Clemens -
How to avoid zeros in output for a field with Decimal type
Hi Friends
In a Report one output field is declared with decimal type.
Whenver that field is not filled with any values zeros will be displayed in the output.
I tried to change the data type to char but i am facing some issues in calculations and shwoing only 2 decimal places.
So is there any way to hide the zeros in the output if we the field is not filled with any value.Hi Sandeep,
If required field type is declared as type p decimals 2 , if for that field in internal table there is no value - then automatically output will get display in ALV as 0.00.
To remove 0.00 in the output screen and to be displayed in blank then in the field catalogue add wa_fieldcat-no_zero = 'X'. in that particular field. then if no value for that field then it will display space in the output.
wa_fieldcat-fieldname = 'ZQUAN'.
wa_fieldcat-seltext_l = 'Quantity'.
wa_fieldcat-outputlen = '13'.
wa_fieldcat-no_out = ' '.
wa_fieldcat-no_zero = 'X'. wa_fieldcat-hotspot = ' '.
wa_fieldcat-key = ' '.
wa_fieldcat-do_sum = 'X'.
wa_fieldcat-qfieldname = ' '.
wa_fieldcat-ref_tabname = ' '.
wa_fieldcat-just = ' '.
Regards,
Priya -
Delivery report output for'Ship-to party address and Sold-to party address'
Hi Experts,
We have an report output generated upon delivery creation.
We need print following fields:
Ship-to party #
Ship-to party Name
Ship-to Party Address
Sold-to party #
Sold-to party Name
Sold-to Party Address
As per i understand, we could get those field according to partner function....
So experts, could please advise me from which table and field and logic to get above information....
Thank you very much!!Hi,
Are you changing partner details in delivery document?
This partner address details will be updated in VBPA table.
E.g change the partner street no. in delivery document manually.
Now goto VBPA table, enter correspondence sales document number for that delivery and execute.
Click on partner function AG / WE get the address number (ADRNR) .
Now goto ADRC table, enter this address number in ADRNR field and execute. you will get partner details.
Regards,
Chandra -
Report output delimited all fields by semicolon.
Hi friends,
I want report output in a text file delimited all fields by ;.
Thankx
Nishit
nullHi,
There might be some mistake in your layout. the print direction should be down.
Look at the below link for more information:
http://oracleapps4u.blogspot.com/2011/03/layout-mode-print-direction.html
Some guide lines in developing the report layout:
http://oracleapps4u.blogspot.com/2011/03/layout-guidelines-to-increase-report.html
If this didnt help you. detail more about your problem -
How to get blank records at the start of report output for label sheet?
Hello -
What is the best way to get an arbitrary # of blank records at the start of report output?
I am writing a report that will be printed out on label sheets -- some of which might already be used. For example, there might be 3 labels per page but the first 2 have been used the last time the report was run.. so the report needs to display 2 blank records first so that the first record that gets printed on a label is in the 3rd position on the page. (the user would indicate - through a parameter - what the starting postion would be)Hi Scott
Create a user parameter that reads in the number of blanks you need to 'print' before starting the actual printing.
In the Format trigger of the outermost frame of your report write code using SRW.SET_BEFORE_PRINTING_CODE.
Loop this method based on the user parameter and call this method with skip-line-command of your printer as its argument.
Regards
Sripathy -
GRC PC 10.0 business rule creation: Wildcard for Currency field
Hi,
Currently I am designing a business rule that has standard price as a deficiency. I am using a blank check. But the system wants me to choose a specific currency. I want it to retrieve all records with the deficiency, regardless of currency.
I've tried using "*" in the currency field, but it retrieves nothing. I am only able to retrieve records when I add a specific currency.
Why is that? And what can I do to fix this problem?
Thank you.Hi Raphael,
Have you defined the Currency field as a filter criteria? If yes, can you please remove the field from filter selection and try to execute the rule again.
Just make sure it comes under output format section.
regards,
Rajeshwari -
Problem in output for date field
Hi experts...
i have one requirement like if string is initial i need to display blank for date field in out put...
but it is showing 00.00.0000..
My code is...
data: V_TEMP TYPE sy-datum,
V_TEMP1 TYPE sy-datum,
v_str type string,
v_str1 type string.
v_str1 = '2008091123457'.
v_str = '0'.
REPLACE ALL OCCURRENCES OF ',' IN v_str WITH SPACE.
CONDENSE v_str NO-GAPS.
v_TEMP1 = v_str1+0(8).
if v_str <> 0.
v_TEMP = v_str+0(8).
else.
v_temp = ''.
endif.
write:/ v_temp1 ,V_TEMP.
output is: 11.09.2008 00.00.0000(BUt i want space here just blank...)
can any body plz help me.....Hi,
You can use something like that:
WRITE: date NO-ZERO.
Best regards. -
Remving Default Zeros for Currency Field
Dear All,
I have one attaribute in context with type CPET_PRICEQUOT. This is the currency field. When the application is executed in portal it appears as 0.00 . How do I hide this 0.00 . I need this field for further calculation.
Regards,
Raghvendra.Hi,
type this code in WDDOINIT
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
** get single attribute
lo_el_context->set_attribute_null(
EXPORTING
name = `NEW` ). " NEW is the name of attribute
Your problem will be definitely solved
Regards,
Rohit -
Hi Experts,
I have prepared filed catalog for a currency field as given below, Is this correct or anything need i pass it.
Program is going into dump.
Total Actual Costs
ADD 1 TO WC_COLUMN.
FS_FIELDCAT-REF_TABNAME = 'ZCO_VALUES'.
FS_FIELDCAT-FIELDNAME = 'TOTACTCSTS'.
FS_FIELDCAT-CFIELDNAME = 'TWAER'.
FS_FIELDCAT-CTABNAME = 'COSS'.
FS_FIELDCAT-JUST = 'R'.
FS_FIELDCAT-KEY = 'X'.
FS_FIELDCAT-DO_SUM = 'X'.
FS_FIELDCAT-COL_POS = WC_COLUMN.
FS_FIELDCAT-ROW_POS = 1.
FS_FIELDCAT-HOTSPOT = SPACE.
FS_FIELDCAT-SELTEXT_L = 'Tot Act Var'.
FS_FIELDCAT-TABNAME = 'INT_REPORT_HEADER'.
APPEND FS_FIELDCAT TO INT_FIELDCAT.
CLEAR FS_FIELDCAT.
Thanks,
Sekhar.JHi Sekhar,
No need to fill somany fields.
Just fill it like this.
w_fcat-fieldname
w_fcat-tabname
w_fcat-ref_fieldname
w_fcat-ref_tabname
w_fcat-seltext_m
w_fcat-cfieldname--->Field with currency unit
append w_fcat to t_fcat.
clear w_fcat.
Try this and get back to me incase of any queries.
Dont forget to reward points if found useful.
Thanks,
Satyesh
Maybe you are looking for
-
Can a Field in an iBooks be Updated on the Fly? (Dynamically)
I have a very specific question about iBooks Author, and the iBook 2 format. Here is what I need to do... Lets say I have a field (either in a text box, a table, or any other required medium that has a specific piece of data. Can that data be updated
-
Is it possible to pre-order the iPhone 5 and schedule pick up at an Apple Store on 09.21.2012?
-
I cannot update my MBA. Get this mesage: "thhe operation couldn't be completed. (NSURLErrorDomain error -1100.)" Advice please
-
PI_BASIS ugrade error in CRM
We are trying to upgrade the PI_BASIS plug-in on our CRM 4.0 server. But we get the foolowing error message: "when you apply a support package further processing steps may be necessary." And it refers to OSS Note 543841. But when I search for this no
-
We are running Acrobat Prof 8.1.5 for Windows XP Prof. When we create a PDF through INDCS3 and hand tag the original document in Acrobat (which also contains form fields), all is fine. When we try to update the PDF file and maintain the complete tag