Value help on currency
Hello,
which data element do i need to use so that i can get a value help on curency field?
Thanks
Hi,
Try with Data Element CURCY.
Thank you,
Sekhar.
Similar Messages
-
GR/IR clearing value in local currency
Hi All,
I have a service PO (Item cat D) in which the vendor and local currency is same as USD.
when I see PO history, the amount of SES and GR (101) is shown as 0 (ZERO) in "GR/IR clearing value in local currency" colunm, however the amont of IR is displayed here (NOT 0).
Can you please help to undersatnd of this behaviour.
Thanks in Advance.Hello Kumar,
When a Po is created two currencies come in to picture
One- The document currency, which is generally the vendor currency also or the currency in which the items are ordered.
Two- The local currency or the Currency of the company code or the currency in which account postings take place.
The GR/Ir clearing value in local currency is the value that is viewed in the company code currency. This is dealt in the background and should not cause any issues at all -
Some fields from R/3 have automatic value help for input field on WD
Hello,
we have imported a Model from RFC/JCo (ABAP) with several fields. One of them is "IWAER" of SimpleType Iwaer and "Built-In-Type" string in J2EE. Though the enumeration of this type is empty, WebDynpro mystically generates a value help if the type is assignet to an ImputField. On the ABAP-side component type is IWAER with data type CUKY and in domain WAERS which has a value table TCURC (instead of fixed values in a value range).
Where/why does WD find out that this is a currency-field and where do the values in the value selector come from?
Best regards,
ManuelHi,
at least for the ModelData-Connection (BAPI-Call) there is no data being transferred besides one value for each field.
I don't know if the MetaData-Connection of JCo is able to get more information (e.g. key-value-pairs for the domain or type the field belongs to,..) than just the structure of the interface.
-> Where and how do these EVS-values come from without doing something?
Best regards,
Manuel -
When does a value help in Java webdynpro 2004s get created automatically
HI All
when does drop down value help get created automatically (without coding) in java webdynpro NW 2004s application for a view field mapped to a abap dictionary like currency(Domain:waers) having a value table TCURC but has to be created for a field like UOM(Domain:meins) having a value table T006
the only differnce I can see in the 2 domains in my current set up is, meins has a conversion routine & wears doesnt
this is a question that applies to both java webdynpro & abap so please dont ask me to post it in another forum.
Im sure some one has asked this question before. please guide me!!
Thanks
PrasadQuestion:
If I start a java thread from the �main� thread of
execution and that thread I just created finish�s
executing its �run� method is that threads resources
automatically clean up? Or do we have to do this
clean up ourselves?Depends which resources you mean. There's nothing special about threads in that respect.
Memory is automatically reclaimed when it is no longer reachable, so unless the run method set some member variables in some object that remains reachable after it completes, no worries there.
Files, sockets, etc. remain open unless you close them. -
[HELP] VBA Currency NumberFormat Error - Excel
[HELP] VBA Currency NumberFormat Error - Excel
Hello,
I've a worksheet with many cells formated as currency and i want modify the currency format through a combobox,
First i use this code to get the inicial currency type/format,
Private Sub ComboBox1_DropButtonClick()
inicial = Me.ComboBox1.Value
Select Case inicial
Case "EUR"
oldFormat = "#.##0 €"
Case "GBP"
oldFormat = "[$£-809]#.##0"
Case "USD"
oldFormat = "#.##0 [$USD]"
End Select
End Sub
The oldformat variable is a global variable,
Public oldformat As String
After that i want to do a find using oldformat variable and a replace using a newformat variable,
Private Sub ComboBox1_Change()
Dim ws As Worksheet
Dim newFormat As String
'On Error Resume Next
newValue = Me.ComboBox1.Value
Select Case newValue
Case "EUR"
newFormat = "#.##0 €"
Case "GBP"
newFormat = "[$£-809]#.##0"
Case "USD"
newFormat = "#.##0 [$USD]"
End Select
'Set rNextCell = Application.FindFormat
For Each ws In ActiveWorkbook.Worksheets
Application.FindFormat.Clear
Application.FindFormat.NumberFormat = oldFormat
Application.ReplaceFormat.Clear
Application.ReplaceFormat.NumberFormat = newFormat
ws.Cells.Replace What:="", Replacement:="", LookAt:=xlPart, SearchOrder _
:=xlByRows, MatchCase:=False, SearchFormat:=True, ReplaceFormat:=True
Next ws
End Sub
I read the new value through the user choice on the combobox.
But this not work at all, the variables oldformat and newformat receive the correct values but i got a error on,
Run-time error '1004': Application-defined or object-defined error
Application.FindFormat.NumberFormat = oldformat
Application.ReplaceFormat.NumberFormat = newFormatIs there any way to pass the newformat and oldformat value to the Numberformat property?
Or someone have another away to do this?
Link for exemple file,
https://www.dropbox.com/s/sdyfbddxy08pvlc/Change_Currency.xlsm
I apreciate any help, i m a little bit new on .
I apologize if there are any errors in English, is not my natural language.The number formats must already be present in the workbook, otherwise you'll get the error that you mention.
The code for US$ is [$$-409]
Here is the code:
Public oldFormat As String
Private Sub ComboBox1_Change()
Dim ws As Worksheet
Dim newValue As String
Dim newFormat As String
newValue = Me.ComboBox1.Value
Select Case newValue
Case "EUR"
newFormat = "#,##0 €"
Case "GBP"
newFormat = "[$£-809]#,##0"
Case "USD"
newFormat = "#,##0 [$$-409]"
End Select
Application.FindFormat.Clear
Application.FindFormat.NumberFormat = oldFormat
Application.ReplaceFormat.Clear
Application.ReplaceFormat.NumberFormat = newFormat
For Each ws In ActiveWorkbook.Worksheets
ws.Cells.Replace What:="", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, _
SearchFormat:=True, ReplaceFormat:=True
Next ws
End Sub
Private Sub ComboBox1_DropButtonClick()
Dim inicial As String
inicial = Me.ComboBox1.Value
Select Case inicial
Case "EUR"
oldFormat = "#,##0 €"
Case "GBP"
oldFormat = "[$£-809]#,##0"
Case "USD"
oldFormat = "#,##0 [$$-409]"
End Select
End Sub
See https://www.dropbox.com/s/ax20vnmjpjny3h6/Change_Currency.xlsm
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Help for search help and currency and quantity fields
hi,
please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
regards
raj.Hi Rachu,
Welcome To SDN
Help On Search Help
Go to se11
Select radio button Search help
click on create
and select elementary seacrh help
selection method---->tablename or viewname
press f1 in search help exit we will get a FM named as
F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
come to se11
and in our seacrh help we will pass components of the search help
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
Help On Currency and Quantity Fields:
Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
If suppose you are creating a table for Employee. And suppose that fields would be like :
EMPID -
employee id
EMPNAME
employee name
DEPARTMENT --- department
SALARY -- salary ( Data Type u2013 CURR )
WEIGHT -
weight of the employee ( Data Type -- QUAN )
Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
CURRKEY --- Data Type ( Cuky )
Quantity --- Data Type ( Unit )
Now we have to attach the field Currkey to the field Salary
And the field Quantity to the field Weight
So when u create a table you can see a tab Currency / Quantity fields.
Here You can give the reference table and the reference field against the salary and weight fields.
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074 -
Custom Error Message in Value Help
Hi,
In my application i have a Inputfield called "CLASS", for which i have added a value help..it has these values
B Business
E Economy
F First Class
When the user enters a value(say "X") other than B, E, and F, it displays a message
<b>String "X" does not match the enumeration</b>
I want to put my own message like " Please enter a valid value" instead of the above message.
Please let me know how to do this ?
Thanks
SenthilSenthil,
First, "looping through the list and checking the user entered value with values in the list" is possible only with non-validating actions. Using non-validating actions is a tricky task in real life.
Second, workarounds are possible, but they involves calculated attributes (like here: /people/valery.silaev/blog/2005/11/29/800format-your-way). Solving this problem generically (45 attributes is a good number to start with a generic solution) will result in solution with complexity comparable to this: https://weblogs.sdn.sap.com/pub/wlg/3309. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] Do you need such thing just to alter error message?
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
How do you use user defined error messages in Value Help?
Hi,
I'm currently working on a Modifiable Value Help Selector in Web Dynpro Java, and I want to use a user defined error message when I validate the values entered by a user. Currently, it's returning its default error message ("Character <string> does not match...").
Since the project requires a different error message, is there a way to override the default error message and use my defined error message instead?
Thanks!Hi Angelo,
I am not sure why message area is showing both Custom and inbuilt messages but you can try the following:
i guess you must be using reportContextAttribute exception for showing Error messages on the input fields as well.in that case you can disable the message area so messages will appear only on the Context level ie; on input fields.
For other messages apart from validation messages you can enable the message area before reporting the exception.
make sure the boolean context variable which will be used for enabling and disabling the message area should have Readonly property set as true.
I am not sure whether this is the only solution for this but you can try and see if it works.
Siddharth -
Hide Toolbar and Value help drop downlist
Hi,
I created a IF with a Value help drop down list. I also make use of the Hide Toolbar options. The drop down list has an input like:
key - text (eg. 0001 - Holiday)
The pdfMode is "UpdateDataInPdf".
When i run my wd everything works fine. What i want to do is this: when the user push the button "next" i want to show the IF in a read-only mode. What i did, is that when the user push to button i change the PdfMode from "UpdateDateInPdf" to "GeneratePdf" (also tried "UsePdf") and change the "enabled" property to false.
What happens is, the Adobe toolbar is back and the value help dorp downlist shows the key instead of the text.
If i don't change the "enabled" property it works well, but than it's still possible to change data in the form.
I am using NW04 SP16.
Hope somebody can helps me.
Kind regards,
Maarten DuitsHi Maarten
in general, right now there is no standard (i.e. non-hack) way to make a physical interactive PDF form read-only.
The only sure way this would work in your process is to send the data back to the backend and have a second (practically identical) template ready in the background to generate a read-only version of what the user saw previously.
Best regards,
Markus Meisl
SAP NetWeaver Product Management -
How to link Value Helps in Visual Composer?
I would like to know, how to link value helps in VC...??? It's like.....after selecting a value from Value Help 1, how do i restrict my Value Help 2 values so that it contains the values that are relevant to the value selected from Value Help 1 only....???? Request you to please provide the solution.......
Hi Christophe
Thanks so much for your help. I have been trying to do the way that you have suggested but am unsuccessfull...... Can you please tell me as to where should I create a field in the second popup view...??? After I double click on the link between "Start" and the "BAPI" in the second popup view...... , I find no "+" symbol in the "Configure Element Panel" using which I can add the value taken from the first popup view.....
Is there any pdf file or documentation that shows as to how to do this process...????
Waiting for your response..... Thanks for your suggestion.....
Regards
Deepak Jaju -
Selection Screen - Text instead of Key in the value help
Hi ,
I have implemented selection options for Web dynpro.
The value help for the selection fields displays the key of the selected value (standard).
I would like to know if there is an option to display the text (instead of the key) in the field.
Key Text
01 AAAA
02 BBBB
03 CCCC
So if I select say - 01 and 03 in the value help, Can I display AAA, CCCC in the field (or next to the field)
Thanks,
Sri
Edited by: Sri on Sep 29, 2010 8:19 AMHI,
You can dispaly it as dropdown and it shown the text:Use the beloe code refernce;
DATA lt_valueset TYPE wdy_key_value_table.
DATA ls_valueset LIKE LINE OF lt_valueset.
ls_valueset-key = '1234'.
ls_valueset-value = '1234test'.
APPEND ls_valueset TO lt_valueset.
ls_valueset-key = '1235'.
ls_valueset-value = '1235test'.
APPEND ls_valueset TO lt_valueset.
ls_valueset-key = '1264'.
ls_valueset-value = '1236test'.
APPEND ls_valueset TO lt_valueset.
CALL METHOD wd_this->lo_select->add_selection_field
EXPORTING
i_id = 'CAND_ID'
it_result = lt_range_table
i_as_dropdown = abap_true
it_value_set = lt_valueset
* i_read_only = ABAP_FALSE
* i_dont_care_value =
* i_explanation =
* i_tooltip =
Regards,
madhu -
Not showing Net Order Value in PO Currency in ALV report
Dear all,
Good day.
In my ALV report i want to display net order value in PO currency which comes from ekpo-netwr field. But this field is showing 0.00 for all records. i,e value is not coming here. Please tell me how to show the value in ALV and how to show blank space when value is not in database.
Thanks.
Best regards.Hi,
Place a break-point just before you call the ALV display "Reuse_alv_*".
Check the value here in the column price.
Most probably you do not have a value here which is why there is no value displayed.
Regards,
Jovito -
Date format is not working properly for Calender value help
Hi Experts,
We have two problems.
1. We want to change the format of date displayed. We want format of dd-MMM-yy. For that we have created one Simple
Type Dictionary Object with Displaying format dd-MMM-yy. It is working
fine for the non editable UI. But once I apply the dictionary type
object as data type for an input field, probem happens. Once the user
choose a date from calender value help the value in the input field is
coming like 01-011-12 not like 01-Jan-12.
The date format is not changing from the calender. But if we set the
display format of the dictionary object to MM-dd-yy or MM/dd/yy or
dd/MM/yy or dd-MM-yy the format conversion from calender to input field
is happening properly.
The only problem once we put MMM in place of MM for the input field
where user is selecting from a calender value help.
2. We want to restrict users from entering the value manually for date input field. The user
should be able only to enter value by selecting from calender value
help.
Please give suitable solution for these problems
Thanks
ShankhaHi Sankha,
Please refer the links below:
http://scn.sap.com/thread/1659463
http://scn.sap.com/thread/1533443
Regards,
Manoj -
MC$4 report shows PO value in wrong currency
MC$4 report shows PO value in wrong currency EUR (EURO) eventhough PO
was created with SEK (swiss) currency. Report picks data from info
table S012 that also reflects wrong currency.
Please check attached example....
Currency is getting picked up in table S012 info-structure from company
code table T001 (PO belongs to) not from purchase order.
This is certainly bug in standard SAP LIS report. This is inbuilt LIS feature given by SAP & we cannot do any fixing.
Can you provide solution how we can correct this error. How to display correct currency in report & info-structure S012.hi
in the report the system might be taking the co code currency
what u have to do is go to MC$4 press ctrl+F7
u will get the currency change option change it to what u want
regrads
kunal
awrad if helpful -
Visual Composer 7.0.1 (EHP1) - Value Help only shows "Single Selection"
I tried to add a value help to a field that allows multiple selections. However, when I used the wizard through "Add Value Help" drop-down menu, I can only see one proposed selection - "Single selection". However this SAP help document (http://help.sap.com/saphelp_nw70/helpdata/en/b5/036d391f074f769e00602634ee9960/content.htm) mentioned about the "Multiple selection" option. What I can do to make this selection available?
I am using VC 7.0.1 (EHP1). Thanks for any helps in advance.
KellyHi
Are you using 'BI Query' as 'data Service'? & are you creating value help for variable? If Yes -
Create necessary variable as 'Multiple Single Options' in your BEx query & then create value help in VC. Then it will allow multiple options or interval values.
Regards
Sandeep
Maybe you are looking for
-
Calling JS function in pl/sql process
Hello! I have a js function defined in 'HTML Header' : <script language="JavaScript" type="text/javascript"> function disp_alert() alert("Data is invalid! Correct the data and click CONFIRM again.") </script> I also have a pl/sql process on this page
-
Unable to upload only modified files to FTP site
Everytime I upload to FTP host, I select "Only modified files", but all files are updated instead. What's the problem? Thanks, Greg
-
Banning IP's with httpd.conf
Hello all, I have a bot spamming an upload page on my in house hosted web site. I have the IP addresses of the bots and would like to ban them from all hosted sites using the httpd.conf file. Can anyone give me a rundown on how to deny the IP's corre
-
CSS Template in Dreamweaver, Submeny dissapears?
Hi All, I've got yet another problem with CSS, To try to get a hang of CSS page designs I've used the Page Design (CSS) Halo Right nav that comes with DW8. I've learnt pretty much how it works BUT, the submeny dissapeared, or is not visible anymore a
-
CPU 100% seeing HPMSN083.DLL (runapp.dll)
We installed several HP laserjet p1606 printers on our print server and now we're seeing the CPU spiking at 100% and drilling into it we see HPMSN083.DLL!MonitorPrintJobStatusW+02... When we kill it is kills the print spooler. What is this and how do