Display Currency field in Ad Hoc Query
I done enhancment in Infotype 23 for Last Salary drawn as currency field and ref type as PA0015 WAERS in Ad Hoc Query. But I am not able to display the same field with value. Its always shows me blank. Is there any settings to be done to display currency field in ad hoc query?? Pl. help me as this is very urgent.
Hi Praveen,
i have selected both value and text, still i'm not getting it.
Similar Messages
-
In reports, i want to display currency field out put with diff currencies
Hi all
in reports, i want to display currency field out put with different type of currencies like 1st record in rupees 2nd record in dolors 3rd record in
Euros. for this i should not use any tables and any currency fields and any functional modules. pls give replay urgently.Hi swamy,
so sorry, but you have to use some of the objects you do not want to:
Currency values in ABAP are stored in currency fields (type CURR). If they are stored in structures or database, every CURR field must be connected to a CUKY field (currency key).
Displaying data using WRITE statement four output on a list is obsolete technique, you may use the use WRITE with the option CURRENCY c to format according to currency c in table TCURX.
SAP recommends to use ALV technique. If you use ALV to display structure data, then create a dictionary structure with currency value and currency key. The rest goes automatically.
Believe me: It is much easier and more reliable.
Regards,
Clemens -
Problem in displaying currency field
Hi folks,
We are displaying amounts in one smartform. Amount format should be as '$2,000.00'. we changed it into character variable and concatenated with the dollar symbol. Its wroking fine. But, as it is a character variable, the commas in the middle of the amount is not displaying.But we need it also....Could any body suggest me to accomplish it...
Thanks in advance,
Shyam.HI,
While assigning the data from a currency variable to character variable use MOVE statement.
Move l_curr to l_char_curr.
Concatenate '$' l_char_curr into l_char_curr separated by ' '.
Best regards,
Prashant -
Adding code to additional fields in Ad Hoc Query
Hello,
I am trying to add code to existing additional fields available in IT0001 - Field SYHR_A_P0001_AF_PL_CTRY.
I have added code in the field code section, but the field does not get populated.
I also tried to add code to Start of selection / Record processing sections, but the values are not populated.
What am I doing wrong?
Thanks,
VaishaliHi Vaishali,,
Your question is not clear, no probs. you plz check this code !!
FUNCTION zhrintf_om_pernr_info_adhocqry .
""Local Interface:
*" IMPORTING
*" VALUE(FI_PERNR) TYPE PA0001-PERNR
*" VALUE(FI_BEGDA) TYPE PA0001-BEGDA
*" EXPORTING
*" VALUE(L_MC_STEXT) TYPE HRP1000-MC_STEXT
DATA: dep_text(40) TYPE c,
l_plans TYPE pa0001-plans,
l_sobid TYPE hrp1001-sobid,
l_mc_short TYPE hrp1000-mc_short.
Get Employee Position ID
SELECT SINGLE plans
FROM pa0001
INTO l_plans
WHERE pernr = fi_pernr
AND begda LE fi_begda
AND endda GE fi_begda.
l_sobid = l_plans.
Check if OU is Department
IF ( l_sobid NE '00000000' ) AND ( l_sobid NE '99999999' ). " Terminated Employee
WHILE NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ '1' ) OR ( l_mc_short(1) EQ 'X' ) ).
SELECT SINGLE sobid FROM hrp1001
INTO l_sobid
WHERE objid = l_sobid
AND rsign = 'A'
AND sclas = 'O'
AND begda LE fi_begda
AND endda GE fi_begda.
SELECT SINGLE mc_short mc_stext FROM hrp1000
INTO (l_mc_short, l_mc_stext)
WHERE otype = 'O'
AND objid = l_sobid
AND begda LE fi_begda
AND endda GE fi_begda.
Empty l_mc_stext if OU is not Department
IF NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ 'X' ) ).
l_mc_stext = ''.
ENDIF.
ENDWHILE.
ENDIF.
ENDFUNCTION.
Regards
Zulfikhar Ali -
Addition of new fields and sub dields in ad hoc query
hey all,
hey friends i would like to know how to add additional fields and the sub fields in ad- hoc query.
i had tried sq02 and went on creating new field but it is nt adng there and no options of sub fields are visible.
note: i am entirely new to sap hr.. so plz try and help me out in a laymans language.At the Date Field, there is 1 node call the Additional fields.
Then Right click the Additional field and choose create >> additional field.
Then enter the field name, description, Data type and length.
After that right click the newly created field name and choose code
Then enter some simple code.
E.g.
For IT2006 the table does not provide the quota balance. If order to display the quota balance we can create an additional field call ZBalance. Then at code section enter the code ZBalance = p2006-anzhl - p2006-kverb. -
Content Query Web Part will not display all fields.
I would love some assistance on this. When I choose fields to display in the Web Part they do not appear. And I should say the the article "How to: Display Custom Fields in a Content Query Web Part" on the Developer Network is
a great start but it is only applicable to '07 and '10. Where is the detailed info for SP 2013??Hi,
According to your description, my understanding is that you want to display custom columns in Content Query web part in SharePoint 2013.
Per my knowledge, the method for SharePoint 2013 to display custom columns in Content Query web part is the same with SharePoint 2010.
The method in the link below is also can be used for SharePoint 2013:
http://msdn.microsoft.com/en-us/library/ms497457(v=office.14).ASPX
Do you encounter any issue when customizing in in a Content Query Web Part?
Here are some links about customizing the ItemStyle.xsl to display custom columns in Content Query web part in SharePoint 2013 for you to take a look:
http://prafulgoyal.blogspot.in/2013/04/sharepoint-content-query-webpart-oob.html
http://social.msdn.microsoft.com/Forums/en-US/49739730-47c1-43df-9d0e-ad506e6ca31b/display-multiple-columns-in-content-query-webpart
http://social.msdn.microsoft.com/Forums/en-US/1484df2b-0fb9-4b58-b833-a75019db88c7/content-query-display-multiple-columns?forum=sharepointgeneral
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Hi,
How to Display Currency Field in SmartForm and how to declareYou can display a field in GLOBAL data of TYPE I (v_menge).
then in the related window of that Quantity field create PROGRAM LINES and in that write a small code such that
MOVE ITAB-MENGE to v_menge.
Now display this field v_menge in the smartform
Regards
Anbu B -
Statistics indicator option in Ad hoc query for IT0033
Hi,
My client is trying to run the ad hoc query for IT0033 and not able to see the "Statistics indicator" fields in the selection so is there a way to add this field to ad hoc query so it will facilitate to query on this field ? please advice.
Thanks,
LisaHello Lisa,
If you need to have there the statistics indicator, you would need to create there additional fields for that, selecting from
table T543A, with the employee molga and infotype 0033 subtype
Best Regards,
Deepak. -
Hello all,
I want to display currency fields in a report based on opportunities on analytics (fields revenue and expected revenue).
At level society, currency is euro.
I have english and french peoples working on OCOD: so currency for french people is euro and currency for english people is GBP.
When I launch the report for french people, fields revenue and expected revenue are ok, but they are empty for english people when revenue is not empty on OCOD!
With my admistrator user I could see value of currency fields revenue but in euro (because my user is french).
Is anyone have the same problem and is there a solution ?
Thanks for help!
MarcHi Marc,
maybe this could help you...
http://dl.dropbox.com/u/7022318/How%20to%20create%20a%20report%20with%20multi%20currencies.docx
Thanks,
Royston -
Error in smart form with currency fields
while i am using with currency fields in samrt forms error is comming in while i am giving print-preview in se38 "<b>Reference field WA_EKPO-NETPR unknown in form."</b>
In smart forms if we want to display quantity and currency fields. We cannott directly display currency field and quantity fields.
To display the mdo like this
Ex: GLOBAL Definitions
WA_NETPR LIKE EKPO-NETPR
For that we have to create an extra variable in global definitions
Ex: netpr FIELD of EKPO
CREATE program lines and specify WA_NETWR = itab-netpr.
Close the thread once your question is answered.
Regards,
SaiRam -
Currency fields in Salesforce reports display as "[Record]" in Power Query
Currency fields in Salesforce reports display as [Record] in excel when using power query. Can include screenshots due to forum rules.
Thanks - that helped me figure it out.
IF you right click on the source and click edit to get into edit mode on the query, then you have the option to expand the record. Doing this and saving does the trick.
Will try and post some screenshots later if others run into this. -
Problem in Ad Hoc Query displaying Personnel Number field
Hello,
while creating a query through transaction S_ph0_48000510 I select for display the field "Personnel Number". However while running the query , in the results part , under the field "Personnel Number" , instead of the personnel number , the employee name is displayed.
How can it be ?
I appreciate your help,
thanks,
MazalHi
I think there must be the further selection field in the screen from that you can choose personal number .
Manoj Shakya.
<b>Reminder : Points should be given on answers.</b> -
Problem in Currency field in Abap Query
hi.
I have created an additional field for storing the currency type.
Based on some calculations i want to store the currency type into this additonal field.But the problem is that the currency field is not getting displayed in the report though i am getting the currency type in the additional field when i check it while debugging. Can anyone help me out...Vimal,
Is it ABAP Query problem(SQ01).If yes, then
In tcode SQ02(Infotype)>press extras button(F5)>In right side you will find 4 tabstrip buttons.Press on Extras--> create variable with same type of currency.
goto Field group button--> add this field to field groups.
In record processing event after your calculations assign your value of cuurncy to this new variable.
In tcode SQ01-->enter query name >F6>F6>F6>select your new varaible
>Press on basic list button(shift+F4)>left side you will find additional fields Node From there select your new field-->Save come back and execute the query.Now you will find your variable.
Don't forget ot reward if useful.... -
SAP Query for difference of 2 currency fields
Hello Experts,
I have created a SAP query in which I need to fetch data from only 1 custom table through "direct read of table" method.
I have also added an additionl field in the query output and the field name is "Difference" (difference between 2 currency fields).
Please help me out in writing the code for this additional field which gives the difference of 2.
Ex: there are 5 fields A, B, C, D and E to be displayed in output of SAP query. I have added additional field X. So please help me out to write the code which gives difference of A and B fields.
Thanks,
TousifHi,
By using t-code SQ02. Use option direct read from table. Then move forward. you have a code option, click on it.
Here you declare your data as same as your report.
On coding section, you get a option of events. use event and move you code forward as per your requirement. -
Ad hoc query text field reference
Hi all,
Faily new to all this and wonder if you have any insight on the following:
In ad hoc query I'm adding additional fields to a functional area. They subsequently show up in SQ02 in the left hand pane tree structure for that functional area.
Now, if I double click on one of the additional fields the most central pane shows the details of this field. One of the boxes in there called 'References' contains a field 'Text field' that associates a long text with the code that the field contains.
As a made-up example: the add. field could be Personnel Area, value "XY01", and it is associated with a field Personnel Area Long Text that contains "Xeta Yoyo Regional Office". This is the association shown in 'References' -> 'Text Field'.
My problem is that this 'Text field' field seems to be populated automatically, that is there is some kind of automatic link between the field and the foreign field that contains its associated long text. Also it's greyed out so un-editable.
Does anyone know where this relationship comes from? Does anyone know how to be able to edit this 'Text field' field?
Grateful for help,
RichieOk, I'll try to be a bit clearer.
For infosets in Ad Hoc Query, a field has an option to be related to another, different field that provides the long text version of this. Example: field P1000-OTYPE 'object type' is related to T7770-OTEXT 'object type text'.
This relationship is displayed for each infoset additional field: right click on the add. field -> display/change definition, text identification -> 'Determine LIKE reference using text field' in the pop up window.
Problem is this text field is <b>always</b> greyed out and uneditable. So the question was, how do you set this yourself?
Hope this clarifies stuff, thanks for any help,
Richie
Maybe you are looking for
-
I have lost my Iphone and never activated my Icloud on my phone. Is there anyway of locating it whereabouts??? Also Who ever has my phone has downloaded find my phone. Is there anyway Apple can find out the address that was downloaded from??
-
T-code HRBEN0005 calling different form for open enrollment
Hi, I have to create two different forms for different adjustment reasons for open enrollment(t-code HRBEN0005). But in the config table T74HL we can call only one form so I am looking for an enhancement where i can pass the form name according to t
-
REAL Solution for " Cant Unmount Disk"
I have a G% 1.8 PPC. It is Primarily a Protools machine. I have been using it for about 6 years. One of the hdds have been attached for 4years via FW400. I recently upgraded with no problem from 10.4.11 to 10.5.8. At the same time I went from ProTool
-
List of Standard formats for multisampling on Feature Set 9_3 ?
Is there a list of Standard formats for multisampling on Feature Set 9_3 (or for Windows Phone 8 basically) ? I know the max samples for 9_3 is 4 but I'm only getting this as valid for a RGBA8 texture. I'm trying to create a R32 texture with AA and m
-
The URL below ought to take you to a marvellous web cam of a nesting eagle on Bowen island, just off the coast of Vancouver, BC. Can someone please tell me why Safari brings up only a distorted video image composed of numerous odd colours, whereas ac