Smartforms currency key problem
friends help
I declared in the smartform as below.
gt_itab like zitab. "zitab is a structure and gt_itab is a table i am getting from program.
I have declared the field kbetr in structure as follows
component componenttype datatype refenrencetable reffield
KBETR KWERT CURR KOMK WAERK
In the smartform I am looping at gt_itab into gw_itab and printing the data in the table in main window.
At the time of display smartform is giving error like below.
Reference field gw_itab-kbetr unkown in the form
Please tell how to correct this error.
Hi,
Please go through below link for the better understanding, why you need to define currency/ quantity field in the Tab Currency/Quant. Fields. It is explained in that thread.
[Currency and quantity fields in Smartforms;
Regrads,
Lokesh.
Similar Messages
-
Smartform help on currency key fields
hi
i want to concatenate wa_ekpo-netpr with currency key ? in smartform i have pass it and display the data. and i want to display the plant t001w details in my top of the form layout how and where i have to write the code how to declare fields?
pls send some steps and codeHi Shilpa,
Here is the method.
In the main program.
DATA: FNAME TYPE RS38L_FNAM.
DATA: ITAB TYPE TABLE OF EKPO WITH HEADER LINE.
SELECT EBELN MATNR NETPR NETWR FROM EKPO INTO CORRESPONDING FIELDS OF TABLE ITAB UP TO 10 ROWS WHERE BUKRS = '1000'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSP_SMFORM1'
IMPORTING
FM_NAME = FNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
CALL FUNCTION FNAME
TABLES
itab = ITAB[]
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
In the smartform,
1) In the Form interface, give
ITAB LIKE EKPO
2)In the Global definitions, give
WA_NETPR TYPE EKPO-NETPR
WA_NETWR TYPE EKPO-NETWR
WA_ITAB TYPE EKPO
3)In main window , create a loop(Right click and goto <b>Create->Flow Logic->Loop</b>)
Give the loop as
ITAB INTO WA_ITAB
4) Now create a template(Right click and goto<b>Create->Template</b>).
Create 4 columns(each of 4 CM and height 2 cm)
5) Now create program lines (right click and goto <b>Create->Flow Logic->Program lines</b>.)
In the input parameter, give wa_itab-netpr and wa_itab-netwr
In the output parameter, give wa_netpr and wa_netwr.
In the editor, give the follwoing lines
wa_netpr = wa_itab-netpr.
wa_netwr = wa_itab-netwr.
6) Now create the text (right click and goto<b>Create->text</b>).
In the general attributes for ebeln and matnr , give as
&wa_itab-ebeln and &wa_itab-matnr
For netpr and netwr, give as wa_netpr and wa_netwr.
This will definitely solve your problem.
Regards,
SP. -
I have created a ZTABLE- having amount field and currency/qunatity field as WAERS and tcurc as reference table.
Created a structure where i created zwaers as field and currency and quantity fields as ZWAERS and my structure name as reference table--it worked
Now the problem is
When I loading into DSO- I have mapped amount to 0amount and Zwaers to 0currency- i also had the transforations for DSO and CUbe
When I tirgger DTP, I am unable to load the data
When I checked in the error stact " keyfigure <> 0 not allowd for unit" and my currency field is blank in the Cube.
I also tried in making the currency key as constant USD which didnt worked
Please help me out with thishi,
Check the unit associated with the amount field, either it is bringing incorrect value or no value. If amount field is filled and no unit value is coming in the unit field it would give an error like yours. Assign constant to the unit field and then load.
regards,
Arvind, -
Currency key for Conversions using NODIM
Hello Experts,
I have question related to Currency key.
I have below mentioned scenario -
My Report output looks something like this
Doc No|Doc Value| 500 |USD |
so KF value and currency key(USD) are in seperate fields(column in Bex Report)
I seperated them by doing NODIM on KF and including the Currency key in Report.
The problem arise when I do currency conversion.
So on the initial Selection screen I gave user an option to run by different currency, so when he select lets say CAD.
The KF does get converted from USD to CAD but my currency key still remains a USD, whereas I would like to show that one based on what user entered on initial Selection screen(which would be CAD in this case).
I have searched forum for this but couldn't find proper solution.
Any guidance is appreciated. Thanks in advance.
Regards,
DNPHi friend
If you are working on UAE, the country grouping have to use is 99.
Check with your FI guy that he had assigned the currency AED to your company code. You can view this in table V_T001.
When you define the personel area, do give country as AE in table T500P
You can default your currency as per pays Scale type and Pay scale area in table V_T510F_B selecting country grouping 99.
I hope this will resolve your problem.
Regards
Santhosh.S -
Defining currency key for currency type
Hi
I have to define the currency group in the controlling area as 30 (Group Currency). There are three company codes which have to be assigned to this controlling area. However, the system is not accepting the same and giving an error message " Difference in currency INR does not match SGD".
Similarly while defining another currency in company code, for currency type 30, the system is giving an error message, "Currency Key no defined for Group currency". Pls help
Regards
Sanil Bhandari> Hi
>
> You can reward points too with thanks.
>
> Regards,
> vivek
Hi
I have already ticked the check button for problem solved which carries the maximum 10 points for the same to you
Regards
Sanil -
Follow up to my Luma Key problem
Hi again,
Tom has answered to my Luma Key problem of bad quality by recomending me to put the oval form under my clip instead from above, and it worked verz well.
But now I have another problem, I want now my oval to cross disolve to have the full scene that is now under to come gradually fully on screen. I have a cross disolve at the begining and at the end of the oval. Its fine for the oval to come gradually from full black screen to an oval with behind the 2nd scene, but when it shall starts to disolve, nothing happens. I also try with the pen, adding points and then pulling down in order to have the oval clip gradually dissolving, but nothing works ! Any clue ?
Thanks,
NicNicolas,
One way to do this is:
- Oval on V1
- Clip1 on V2 with Composite Mode > Travel Matte Luma
- Clip1 also on V3. Change it's opacity so it is 0 until the required number of frames before the end of the Oval. Then increase it's opacity to 100 at the end of the Oval.
There might be a more efficient way to do this. -
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. -
Currency Key Reference field in WebDynpro Table Column
Hi Experts,
I am using a WebDynpro table (not ALV) showing multiple currency fields in a single row - each one potentially referencing a different currency key e.g. Japanese Yen and USD in a single row.
My currency context attributes are already defined as currency types, but how can I assign different currency key references to each of my currency context attributes? Or is this somehow done as a property of the table column UI element?
Thanks for your help,
PeterHi Kris,
You answer is very helpful, but I do have a question about going the DDIC route. So you are saying that if I take a DDIC structure into my context with multiple currency keys as reference fields for multiple currency fields, then my WebDynpro context will know exactly which currency key is the reference for which currency field without having do do this programatically as you described? If that's true, can I bring a whole DDIC structure over to the context and then delete the 'Dictionary Structure' refrence from my context node, so that I can add my own additional fields to the context node? E.g. in the case of DDIC structure VBAP can I get all my currency fields and their reference fields from the DDIC from VBAP and then delete 'VBAP' as a 'Dictionary Structure' from my context node and add my own custom fields. The fields I would have brought in from VBAP still retain their type and everything after the deletion of 'VBAP' as a 'Dictionary Structure', so my question is will it also retain the node_info of what currency key goes with what field?
Please let me know if you happend to have done this before.
Thanks,
Peter -
Currency key for amount of zero
I load an ODS and have an amount assoociated to 0currency. When the amount is zero, the currency key is not loaded into ods even though there is a key in source?
Check the update rules for the object as well as the start routine for any restriction on Zero amount.
Hope this helps.
Bhargava -
Hi,
Do you know how the currency key entered in COPA document is found ?
The currency key should be equal to document currency.
For the operating concern view of the COPA document, my currency type is not equal to document currency but to company currency.
Thank you for help !I might have misunderstood your question. In the summarization tables that are normally used for BW extraction there is no transaction currency available. You can have transaction currency only at line item level.
http://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/4c38c24a0111d1894c0000e829fbbd/content.htm -
About field HWAE2 Currency Key of Second Local Currency)
can anybody tell me that field HWAE2 ( Currency Key of Second Local Currency)
in which TRANS.TABLE...?????it is in BKPF table
or go to se11, Select data element radiobutton
type HWAE2 click enter.
and check for where used list, it will give all the tables assosiated with HWAE2 field.
regds,
kiran -
Message no. M8584 ''Enter a currency key'' in MIRO
Hi Gurus,
Infact I am facing a warning message while doing MIRO. Just after inputing MIRO header like Doc date, Posting date, Reference and lastly amount field when I press the enter, I get the above cited warning error. Can you please tell me how to remove this warning error message.
Thanks
BABAHI,
It sounds like your system is operating according to design. System behaviour changed with note 982645.
The message always comes if you enter header data into miro BEFORE entering PO number and hitting ENTER. It comes even then if you enter header data and PO but press ENTER only afterwards! This is because the check of existence of currency key in the coding happens before the determination of the currency key from the PO. At the time the data are not determined from the PO, the system cannot know whether there will be a PO entry as in MIRO you can post also without a PO reference.
To eliminate the message is to enter the PO first then all other relevant data.
To get rid of this behaviour please implement SAP Note 1001420. This note just deletes new coding.
Please assign points if it useful.
Regards
Ravinagh Boni -
Amount formatting based on Currency Key
Hi,
I want to format the amount field on the basis of the currency key.
for eg.
Chile has the no of decimal places set as 0
so for Chile, the amount 800.00 should display as 800
Similarly for Mexico, the no of decimal places is set as 2.
so for Mexico, the amount 800.00 should display as 800.00.
I am using the follwoing statement
WRITE im_amount TO v_amount
CURRENCY im_waers
DECIMALS v_dec_places.
where v_amount is type char20 and im_amount is type netwr.
This is working correctly for Mexico but fails for Chile.
Please share your comments on this.
Thanks in Advance,
BinuThe following write statement gives the perfect result.
WRITE v_amount TO v_fmt_amt
decimals v_dec_places
no-grouping
left-justified.
I was not getting the result on using both the currency as well as Decimals addition. The desired result is obtained on only using the Decimals addition.
And I used the FM, 'G_DECIMAL_PLACES_GET' to get the decimals for the respective currency key.
Thanks a lot for your response.
Regards
Binu -
MIRO: enter currency key
Hello all,
I have got a question regarding transaction MIRO. When I enter info like posting date, amount in the header I get an an informational message "enter a currency key"
It's not a hard error so I can enter through the message but I wonder how I can get rid of that message. I understand the system aks me to enter a currency but I don't want to enter the currency manually as the currency automatically defaults from the purchase order when I enter the purchase order nr in MIRO.
My question to you is how do I get rid of the informational message that asks me to enter a currency key. I know that this should be possible as I get this message only since we implemented support pack 53.
We are on SAP 4.6 c
thanks for your help,
LatifaHi Lafia,
I would recommend to use transaction OBA5 to modify the message control. Enter the message application area there and then enter the last 3 digits of the information message. Then you should be able to set '-' (message completey switched off) for your information message.
Best regards,
Andreas -
Hi,
I want to know the exact difference between 0LOC_CURRCY (Local Currency) and 0CURRENCY (Currency Key). Can I use 0LOC_CURRCY in plcae of 0CURRENCY? If not please let me know in detail. When I searched for 0LOC_CURRCY in BW i was not able to find it but still I can map it to the field WAERS in the transfer rules. I am not sure whay I am not able to find this unit field when I can see 0CURRENCY.
Please let me know your suggestions..
Thanks.Hi,
0currency is the base currency(Reference unit) key of 0LOC_CURRCY and 0DOC_CURRCY. You can map with 0LOC_CURRCY and 0DOC_CURRCY.Using 0currency as a reference unit you can make different custom currencies infoobjects like 0LOC_CURRCY and 0DOC_CURRCY.
If you check the Extraction structure in R/3 some fields make reference to WAERS and some others to HWAERS. That's why you have both.
The same in BW, some of your Key Figures, in their definition, will be based on 0CURRENCY, some others in 0LOC_CURRCY and so on...
It all depends on the data type and reference of the fields you're extracting from R/3 and the Infoobjects mapped in BW.
Document Currency
Financial Accounting (FI)
The currency in which a document is posted.
Sales and Distribution (SD)
A currency in which the total values in a sales and distribution document are calculated.
Currency
Financial Accounting (FI)
A medium of exchange in current use within a particular country.
Local currency (FI)
Financial Accounting (FI)
The currency of a company code (country currency) in which the local ledgers are managed
Hope this helps,
regards
CSM Reddy
Maybe you are looking for
-
Time machine worked great for a week. Then it started to choke. I have an external 500 GB MyBook partitioned HFS+ Journaled into a 100 GB and 400 GB partitions. The 100 I did a CCcloner before Leopard, the 400 GB is for time machine. Now when a backu
-
How do I remove top site preview from Bookmarks Bar
Last night received message from Safari asking whether or not to update Safari settings, which, in a pinch, unfortunately I did. I now have a top site preview in my Bookmarks Bar and I do not want it there. I have tried everything to get it out, in
-
EP6.0 - ECC6.0 - Update to EP7.0(NW2004s) nessessary?
Hi all, we are planning to implement a new ECC6.0 System. Do we have to use/upgrade to EP7.0 (NW2004s), if we want to connect to the ECC6.0 System or upload roles, display transactions and so on from the system? I was looking for a hint at service.sa
-
Hi, I'm getting authentication error while logging in to SMC console. I have defined user under /var/opt/SUNWsymon/cfg/esusers but still can not login to console server. Has anyone encounter this error. TIA
-
Why not have the Adobe Flash CS5 product directly generate mp4 and other formats in addition to SWF? From my chair (as an Adobe Flash CS5 user) it would be a great help. Going about using other additional software has direct effect on a software