Currency with Sign in ALV
Hi,
How to display left justified sign with currency field in ALV grid (eg: - 1,055.25)? The refernce filed or field type (data element type) should be currency field.
Regards,
Ramesh.
I don't find a reference to this in my Controls Technology manual. Personally, I would put the value into a character field, the do shift circular up to '-'.
Similar Messages
-
Display totals with currency sign in ALV
Hi,
I have to display totals with currency sign in ALV.
column1 colums2
10 USD
20 USD
30 USD
40 USD
100 USD
Can anybody help on this.
Regsrds,
Zak.Hi,
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-do_sum = 'X'. "Display column total
fieldcatalog-datatype = 'CURR'. "
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
Thanks
Vikranth -
Display Currency symbol with value in ALV Report
Hi Experts,
I need to display currency symbol with value in ALV Report like if currency type is dollar then $200.
Here I am using field catalog type slis_t_fieldcat_alv and suing field merge catalog FM: 'REUSE_ALV_FIELDCATALOG_MERGE'
I tried like this
IF <fs_fieldcat>-fieldname = 'STPRS'.
<fs_fieldcat>-seltext_s = 'Std Cost '.
<fs_fieldcat>-seltext_m = 'Std Cost'.
<fs_fieldcat>-seltext_l = 'Std Cost '
<fs_fieldcat>-tabname = 'MBEW'.
<fs_fieldcat>-ctabname = 'T001'.
<fs_fieldcat>-cfieldname ='WAERS'.
<fs_fieldcat>-datatype = 'CURR'.
ENDIF.
Please any one can suggest the solution for this.
Advance Thanks.
Regards,
Bala AchariHİ,
Check this link.
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=24379571
Take care.
Çağatay -
ALV- Editable cell with sign (+/-)
Hello,
I have an ALV with one editable cell. I need that in this cell I can put a number with sign, I try with data elements that accepts sign but it doesn't work well.
Can anyone help me? Can I modify the fieldcatalog.
I'm using the FM Reuse_alv_grid.
Thankstry this..
wa_fcat-no_sign = ' '. -
Hi in my ALV output the negative numbers are displayed with sign on the right side of the numbers.
Need your help to get this sign on the left side.Hi,
This is from SDN thread.
When you define the fieldcatalog..
Give the rollname..
Example..
DATA: S_FIELDCATALOG TYPE slis_fieldcat_alv.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'NETPR'.
s_fieldcatalog-tabname = 'ITAB1'.
<b>s_fieldcatalog-rollname = 'WERTV6'.</b>
APPEND s_fieldcatalog to t_fieldcatalog. -
Currency format in the ALV display.
Hi.
Im trying to display values of MBEW-stprs in the ALV report
But the problem is the format is different for different countries, for ex; Korea has no decimal places and us dollar has 2 decimals.
how can i display the currency with respect to the country format.
i tried to display in a Numc field it is working but SUM is not possible with this field..
How can i display with respect to country format and how can i sum the column.
Thanks
SAIHi,
as Max recommended: If you have amount field, then define a currency field for that field. The fieldname in field catalog is CFIELDNAME.
See this valuable link:
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/ff/4649b1f17411d2b486006094192fe3/content.htm">Value Display with Currency/Quantity Unit</a>
look at this sample:
*& 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>.
* Company code currency for account postings
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
Regards,
Clemens -
Problem with signing in to folio builder, indesign.
I have created an app that I would like to publish, but I can not sign in via the folio builder. I have done this many times before, but today I only get the grey weel when I try to sign in. Im am stuck an can not publish my app. How can I get this to work?
Hi Christophe
Yes, I can log into the account on digitalpublishing.acrobat.com with out
any problems.
No, it does not work to delete the OOBE folder. I have tried that twice. I
am rather sad about this. Don't know what to do
2014-11-28 11:21 GMT+01:00 Christophe_Jossic <[email protected]>:
Problem with signing in to folio builder, indesign. created by
Christophe_Jossic <https://forums.adobe.com/people/Christophe_Jossic> in *Digital
Publishing Suite* - View the full discussion
<https://forums.adobe.com/message/6968931#6968931> -
Problem with sign in Skype.
Hey, just have a problem with signing into my Skype account.
When I try to sign in, its works for 10 seconds and after that signed out automatically (with message: You have been signed out). I tried to reinstall it and restart laptop, but nothing changed. Also changed password via skype official site...nothing(
What else can I do, to make it works?
Mac OS version 10.9.4 and skype version Version 6.19 (450).
Thanks in advance)This is the Resolution for this issue:
1. End all the Skype process from Task manager
2. Delete the Skype folder from %appdata% and %temp%
3. Go to Program Data> Run> type C:\programData
4. Delete the Skype folder from Program Data.
5. Re-launch skype and try again.
If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others. -
Hi my name Abukar I had an old apple ID and I had problem with signing it so I decided to make a new apple ID with a new email address, so how can I link with two apple IDs and how can I get back all my previous apps that I purchased before, I cloud stuff
It is not possible to do that.
Allan -
Transfer condition values with +/- signs to CO-PA (Explain the purpose)
Dear Sap guru's,
Could you please guide me on the below issue, We make a new condition type zne1 which is excise duty free items, Based on cleint requirement. a/c entry like this ( example )
10) 210 ea net value 23,153.04 cost 21,600.00
20) 0 ea net value 0 cost 2400
Customer AC DR 20163 Rs
Excise duty payble Cr 432 -
Sales Cr 22721-
vat payable cr 3010-
excise duty payble cr 48-
Excise duty free cr 48-
Excise duty free dr 48
sales dr 48
Here client pay the excise duty for free goods issue items, For this situation what ever the amount he paid in the excise duty free item that same amount he wants to reduce in sales ie it should be debit in my exaple it is 48 rs.
My problem is i configured ZNE1 condtion assgined to value filed ERLOS. While release to a/c system returns "CHEK VALUE FILED ASSIGNEMENT TO CONDITION TYPE". when I make the settings +/- sign for the conditon system allow me to release and save. Please guide me whithout assignment how to release billing document?
Regards
MaruthiHi
Conditions from SD are always transferred to CO-PA with "+" signs, with the exception of credit memos and returns. The reasons for this is that the signs for revenues are handled differently in the different applications of the R/3 System. For example, revenues are positive in SD, while they are negative in FI. Consequently, CO-PA accepts all the values as positive, and then subtracts deductions and costs from revenues in the information system.
This configuration needs to be done in the system if you have the CO-PA active and the SD flows are configured. Unfortunately you will not be able to ignore this. Please see below some SAP help snippets for your benefit.
Note that certain limitations exist on the transfer of condition values of billing documents to CO-PA.
1. To transfer condition types for sales revenues and sales deductions to CO-PA, you need to make sure that the condition types and linked to an account in FI that is also defined as a cost element of the category "11" (revenue element) or "12" (sales deduction) in CO. These condition types must be assigned to a CO-PA value field.
Condition types linked to FI accounts that are defined as cost elements of another category are not transferred to CO-PA, even when the condition type has been assigned to a CO-PA value field.
2. Condition types such as "VPRS" ("Cost") that are defined as statistical in SD are always transferred to CO-PA if they are assigned to a value field.
3. All condition types that you want to transfer to CO-PA must be active in the SD pricing procedure. Inactive conditions in a billing item are not transferred. If all the conditions in a billing item are inactive, that item is not transferred to CO-PA.
Conditions do not need to be active, however, to be transferred with sales order items, since the transfer of incoming sales orders is always statistical.
It is also possible to transfer conditions from MM to update billing data in pooled payment in the IS Retail system. These are transferred according to the same rules as SD conditions
Hope it was helpful.
Karthik -
Prob with Drill down ALV's Layout
Hi Friends,
I have developed a report with class based ALV grid.
First screen 100 - has an ALV for header details.
CALL METHOD G_GRID_100->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_VARIANT = GS_DISVARIANT
IS_LAYOUT = GS_LAYOUT
IT_TOOLBAR_EXCLUDING = GT_EXCLUDE
I_SAVE = 'A'
CHANGING
IT_OUTTAB = GT_DATA
IT_FIELDCATALOG = GT_FIELDCAT100.
on double click of any record in primary ALV, another screen 200 is called with line item details of that header in screen 100.
CALL METHOD G_GRID_200->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_VARIANT = GS_DISVARIANT1
IS_LAYOUT = GS_LAYOUT1
IT_TOOLBAR_EXCLUDING = GT_EXCLUDE
I_SAVE = 'A'
CHANGING
IT_FIELDCATALOG = GT_FIELDCAT200
IT_OUTTAB = GT_LINEITEM.
Problem: what ever layout is set in header alv is being copied in lineitem alv.
I want to have independent layouts for primary and secondary ALVs.
How to do that.
Any help on this is highly appreciated.
Regards,
Simhait is working for me. here is one working example. some where you are doing a mistake cross check it once.
REPORT ztest_alv_oo.
DATA: it_carr TYPE TABLE OF scarr,
it_flight TYPE TABLE OF sflight.
DATA: grid1 TYPE REF TO cl_gui_alv_grid,
grid2 TYPE REF TO cl_gui_alv_grid,
con1 TYPE REF TO cl_gui_custom_container,
con2 TYPE REF TO cl_gui_custom_container.
DATA: layout1 TYPE lvc_s_layo,
layout2 TYPE lvc_s_layo.
* CLASS cl_defintion
CLASS cl_one DEFINITION.
PUBLIC SECTION.
METHODS:
double_click FOR EVENT double_click
OF cl_gui_alv_grid
IMPORTING e_row
e_column
es_row_no.
ENDCLASS. "cl_defintion
* CLASS cl_implemenatation
CLASS cl_one IMPLEMENTATION.
METHOD double_click.
DATA: wa_carr TYPE scarr.
READ TABLE it_carr INTO wa_carr INDEX e_row-index.
IF sy-subrc EQ 0.
SELECT * FROM sflight
INTO TABLE it_flight
WHERE carrid EQ wa_carr-carrid.
CALL SCREEN 200.
ENDIF.
ENDMETHOD. "double_click
ENDCLASS. "cl_implemenatation
START-OF-SELECTION.
DATA: obj TYPE REF TO cl_one.
SELECT * FROM scarr
INTO TABLE it_carr.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'CARR'.
IF con1 IS INITIAL.
CREATE OBJECT con1
EXPORTING
container_name = 'CAR'.
CREATE OBJECT grid1
EXPORTING
i_parent = con1.
layout1-grid_title = 'Carrid data'.
layout1-smalltitle = 'X'.
layout1-sel_mode = 'A'.
layout1-cwidth_opt = 'X'.
layout1-zebra = 'X'.
grid1->set_table_for_first_display(
EXPORTING
i_structure_name = 'SCARR'
is_layout = layout1
CHANGING
it_outtab = it_carr
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CREATE OBJECT obj.
SET HANDLER obj->double_click FOR grid1.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'CANCEL' OR 'EXIT'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module STATUS_0200 OUTPUT
* text
MODULE status_0200 OUTPUT.
SET PF-STATUS 'FLIGHT'.
IF con2 IS INITIAL.
CREATE OBJECT con2
EXPORTING
container_name = 'FLIGHT'.
CREATE OBJECT grid2
EXPORTING
i_parent = con2.
layout2-grid_title = 'Flights data'.
layout2-smalltitle = 'X'.
layout2-sel_mode = 'A'.
layout2-cwidth_opt = 'X'.
layout2-zebra = 'X'.
grid2->set_table_for_first_display(
EXPORTING
i_structure_name = 'SFLIGHT'
is_layout = layout2
CHANGING
it_outtab = it_flight
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE.
CALL METHOD grid2->refresh_table_display.
ENDIF.
ENDMODULE. " STATUS_0200 OUTPUT
*& Module USER_COMMAND_0200 INPUT
* text
MODULE user_command_0200 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'CANCEL' OR 'EXIT'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0200 INPUT
Container names are CAR, FLIGHT(for 100, 200 respectively) -
COPA Report Layout with Object List (ALV)
Hi,
I have question about the COPA report layout with object list (ALV). Everytime I executed the report with ALV format, the amount for quantity column always shows with 3 decimal number, menwhile for amount column always follow by 2 decimal number.
Can anyone help me regarding this matter? I do not know how to turn off the decimal number to be 0 in this type of layout, although in the form itself I already put 0 decimal number.
Thanks.Hi,
Better to raise this issue in CO Forum. You can expect some solution.
regards -
Office 2010 created PDF only bringing up Work with Certificates option with Signing
When creating PDF documents with Microsoft Word 2010, the only Sign option showing is Work With Certificates and is greyed, I Need To Sign and Get Others to Sign is missing. My previous PC with Windows 7/Office 2010 and Reader Xi was able to sign documents. I'm also able on my old XP machine to create a dummy pdf in Word 2010 and sign it in Reader, and on my Windows8/Office 2013/Reader Xi PC. Any idea as to where this might have been broken?
With the PDF file created in 2013, I Ctrl+D'd to get the security settings as it's commonly suggested that electronic signatures is failing because of a setting there, however I'm still able to sign it with Signing: Not Allowed and get the full signing menu instead of the Work With Certificates.Hi,
If you meet any problems when using our products, you can post the question here. Please post one question in a single thread, and the question should be posted in the proper forum.
The current forum is for Office 2010 - Planning, Deployment, and Compatibility.
Just as Don mentioned, you may have multiple questions and some of them are not well placed, post them to the correct forum to get the specific support.
Regards,
Melon Chen
TechNet Community Support -
No selection with SIGN = 'I'; OPTION 'GE' allowed
Hello All,
I have added an ABAP routine in one of the InfoPackage to filter a field CREATDATE(char,8).
Whenever I am executing the InfoPackage I am getting the following error:-
For sel. field 'CREATDATE', no selection with SIGN = 'I'; OPTION 'GE' allowed
Message no. RSM1607
Through debugging I have noticed that after the EndForm of the InfoPackage filter the Program control goes to a System Program "RSS2_INTERPRET_SELOPTS_DS". All the Selection Options (EQ, BT, GE, GT, NE, LT, etc ) are defined in this program and the program control ignores the 'GE' option code specified in the program "RSS2_INTERPRET_SELOPTS_DS".
if not l_s_so-ge is initial.
clear l_s_selopts.
l_s_selopts-sign = 'I'.
l_s_selopts-option = 'GE'.
l_s_selopts-single = 'X'.
append l_s_selopts to e_t_selopts.
endif.
Can anyone help how to resolve this.
Thank You
Edited by: RACHANA_CG on Sep 27, 2010 2:28 PMHi,
I guess in Infopackage filter routine, you can only declare multiple single values or a range i.e technically I EQ & I BT.
Excluding or greater/less functions are disregarded. You can create a dynamic infopackage filter to have all the dates say for the next two years from the start date & run it.
--Akashdeep -
Security Problems with Signed Applet
Hello All,
I need help with signed applets.
I have an applet pkged in a jar that uses other jars. I have signed the jar containing applet and all the other jars being used. However, when I try to run the applet in IE 6.0.xx, I get the following error
java.lang.ExceptionInInitializerError
at aaa.aaa.somemethod(xxx.java:192)
at aaa.aaa.aaa.access$000(xxx.java:27)
at aaa.aaa.aaa.$1.run(xxx.java:467)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
... 3 moreMy application is using Java 1.4.2.xx.
Any help or pointers would be greatly appreciated.
Thanks.Thanks harmmeijer and mjparme for your responses.
I made some changes to my application and it does not now require the system property information. But now I am getting another exception related to class loader.
I made the changes to the console as suggested by harmmeijer, and here is the stack trace. Also, I am not using any JavaScript explicitly.
Registered modality listener
Invoking JS method: document
Invoking JS method: URL
Referencing classloader: sun.plugin.ClassLoaderInfo@e0a386, refcount=1
Loading applet ...
Initializing applet ...
Starting applet ...
java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
at xxx.xxx.a...<init>(a.java:39)
at xxx.xxx.b...<init>(b.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
at xxx.xxx.a...ToolBus.<init>(a.java:39)
at xxx.xxx.b....<init>(b.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Modality pushed
Modality poppedmjparme as to your second point, the action is taking place in the same jar only. No other jar is involved at the stage where I am getting exception.
Thankyou again and will appreciate your help.
AC
Maybe you are looking for
-
Internal dvd drive no longer plays idvd burned projects
My internal dvd drive has been acting strange lately. It will play mass produced dvds but does not play my idvd projects, which it used to do. Anyone know if cleaning will help? If so, can you recommend a cleaner for an imac dvd drive? If cleaning wo
-
Triggers on Materialized View Fast Refresh
Hello all! I have a Materialized View defined as below: CREATE MATERIALIZED VIEW mxsvativi BUILD IMMEDIATE REFRESH FAST ON COMMIT WITH PRIMARY KEY AS SELECT codativ, TRIM (ramo) AS ramo, percdesc FROM tbativi;And, on this MV, I have a trigger declare
-
Developer 6.0, OAS 4.0.8 and Oracle 8i
I have just installed Oracle 8i, Developer 6.0 and OAS 4.0.8 into our Windows NT 4 test box. I installed the three components on different ORACLE_HOMEs. I am having some difficulties in deploying the demos on the web. I used the static.html and I all
-
Field Symbols and Dynamic references
Hello, I have Two internal tables Itab1 and Itab2 which are containing MATNR as field. Itab1-matnr contains the value as 123;456;789. I have two more Field-symbols Var1 and var2 which contains the values as <Var1> = itab1-matnr
-
Dear Gurus, I have made 3 line items in PO.I release it and while GRN it is showing only one line item.the second line item is not showing.if we do GRN second time , the second line item alone is showing.