Netvalue field in VBRP table for JPY
Hi friends,
We are having a Z report which is fetching net value for billing documents from the VBRP-NETWR field. For JPY the value in this field is showing incorrectly. For example if the value in the document is 1234 JPY, the value in the VBRP-NETWR field shows as 12.34 JPY i.e. with two decimal places. Since the report is fetching the values directly from this field, the report is showing incorrect values for JPY. For other currencies the report seems to be fine.
Can anyone please let me know what is the issue here and how it can be resolved
Thanks,
Saji
Hi
Please take the help of your technical consultant and check in the program wheather any loop has been put that for the JPY currency that it should show in two decimals only.If it is showing correct in VBRP table check the currency that is coming in the biling document->line item ->conditions tab and check the currency. In the same way check in header data->condiitions tab what is the currency that is coming.
Regards
Srinath
Similar Messages
-
Invalid value in OPTION field of value table for IN itab operator. operato
Hi,
I am working on SELECT-OPTIONS to accept single and multiple values for company code. I am using CREATE_RANGE_TABLE and ADD_SELECTION_FIELD and all is good but I was prompted with error "Invalid value in OPTION field of value table for IN itab operator. operator" when I enter 2 single value.
SIGN OPTION LOW HIGH
| |CN01| |
| |SG02| |
However, below combinations working good for me and I don't get the above error.
SIGN OPTION LOW HIGH
I |BT |CN01|CN02|
| |SG02| |
SIGN OPTION LOW HIGH
| |SG02| |
I am using below coding.
DATA:
ls_cmp_restrictions TYPE if_wd_select_options=>t_complex_restrictions,
ls_rsoptions TYPE rsoptions.
CLEAR ls_rsoptions.
ls_rsoptions-bt = abap_true.
ls_rsoptions-cp = abap_false.
ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_cmp_restrictions-m_exclude = ls_rsoptions.
CLEAR ls_rsoptions .
ls_rsoptions-bt = abap_true.
ls_rsoptions-cp = abap_false.
ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_cmp_restrictions-m_include = ls_rsoptions.
* Create a reference to range table
lr_field = wd_this->m_helper->create_range_table( `BUKRS` ).
* Add the select-option to the group
wd_this->m_helper->add_selection_field(
i_id = `BUKRS`
i_value_help_structure = 'P0001'
i_value_help_structure_field = 'BUKRS'
it_result = lr_field
i_no_intervals = abap_true
i_no_extension = abap_false
i_complex_restrictions = ls_cmp_restrictions
i_use_complex_restriction = abap_true ).
FREE lr_field.
Edited by: Girish Nabar on Jul 22, 2011 12:35 PMHi Girish,
People are answering not for points, just to share the knowledge.
And I think the way of structure is wrong. i think we cannot pass two single values in your way. am not sure about .
low means it will accept single value. for one record in sign structure.
wait for other replys.
Regards
Srinivas -
How to populate the logical_group field in V_LTDX (table for layouts)?
Hi,
Scenario:
I have implemented the ALV using CL_SALV_TABLE. In the grid we have a 'Choose Layout' button where we have the options of choose, change, manage etc. the layouts. If we create a layout, the layout is saved in the table LTDX(view: V_LTDX).
Issue:
How do we populate the 'Logical_group' field in the table while creating/changing the layouts?
Please suggest..
Regards
s@kSolved..:)
Solution:
While creating the ALV grid, use the method 'get_layout' of the class CL_SALV_TABLE and get the reference of the layout in a reference variable.
Data:
gw_key TYPE salv_s_layout_key.
gr_layout = gr_grid->get_layout( ).
gw_key-report = sy-cprog.
gw_key-logical_group = gc_log_grp." Pass the logical group here say logical group: 0001, 0002, etc. for each ALV
So, whenever you create/ change a layout on the ALV grid, the system automatically passes this logical group and saves it in the table LTDX.
Regards
s@k -
Field in portal table for the text contained in an uploaded file
I have uploaded a file of base item type file into release 2 of the portal.
Does anyone know which table the clob field for the text contained in
the uploaded file is stored?
Thanks,
SuzanneHi,
When you run the Search hep is it giving the description or not
You have to create the serarch help with both the fieldname and its description field then we cna the values. Or
Try to mantain the text table for this field and get the data.
Get the valeusinto drop drown with this table Or create the SearchHelp for this text table
Regards
Lekha -
Adding new field in the table for Output
Hi ,
I need to add a field catalogue as Payment method in the condition table for Output, but the payment method field does not exist in the table. Can this be done?
regards,
RaguHi Refer below link on sdn for adding new Field
Adding New Field to Catalog
Adding New fields to field catalog -
Hi There,
In SAP GRC 10.0, our team had an issue where we could not add duplicate fields from separate table (see ERROR: Select Currency/UoM field for the selected analyzed fields). This was resolved by the SAP Note 1904313/ 1904314 (http://service.sap.com/sap/support/notes/1904313).
We upgraded our system to SAP GRC 10.1 SP05 and could now add the duplicate fields from separate tables. SAP Note 1904313/ 1904314 was part of SAP GRC 10.1 SP03 so it makes sense that we, in a higher version (SP05), would be able to do this.
The issue now is when we add the duplicate fields from different tables and run the Ad-hoc Query to test if the data source works correctly, the No Data Selected warning persists. This means that the data source provides no data for analysis, which is required to write our business rules.
Below is an example:
Basic data source with just one currency reference field EBAN-WAERS.
When you run the Ad-Hoc Query you receive data.
Basic data source with second currency reference field EKKO-WAERS.
When you run the Ad-Hoc Query no data is found.
Please also make reference to the following thread logged by my colleague (ERROR: Select Currency/UoM field for the selected analyzed fields)
Any assistance to receive data with duplicate fields from separate tables will be highly appreciated.
Thanking you in advance.
Regards
Gary KhanHi
following are the error messages from dump
hrtText
There is already a line with the same key.
hat happened?
Error in ABAP application program.
The current ABAP program "SAPLCKMS" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
rror analysis
You wanted to add an entry to table "\FUNCTION-POOL=CKMS\DATA=T_DYN_CKMLCR",
which you declared
with a UNIQUE KEY. However, there was already an entry with the
same key.
This may have been in an INSERT or MOVE statement, or within a
SELECT ... INTO statement.
In particular, you cannot insert more than one initial line into a
table with a unique key using the INSERT INITIAL LINE... statement.
rigger Location of Runtime Error
Program SAPLCKMS
Include LCKMSF01
Row 226
Module type (FORM)
Module Name DYNAMIC_PERIOD_CLOSING
Source code where dump ocured
222
223 APPEND ht_ckmlpp TO t_add_ckmlpp.
224 APPEND LINES OF ht_ckmlcr TO t_add_ckmlcr.
225 INSERT ht_ckmlpp INTO TABLE t_dyn_ckmlpp.
>>>> INSERT LINES OF ht_ckmlcr INTO TABLE t_dyn_ckmlcr.
227 ENDWHILE.
Also I guess there is problem with material ledger in R/3 side
I have never worked on material ledger before so dont hav idea of Tcode and tables in SAP R/3 for material ledger.
Thanks
Navneet -
Auto-numbering of item field in custom table for EEW enhancements for BUPA
Hi Experts,
We have a requirement to generat 3 custom tables in EEWB,for BUPA and assigned it to BP_HEAD. I have done all the generations and it works fine, the problem is that the tables that are generated is not allowing us to have a data(material) of 0...n cardinality.
The table that we are aiming is to allow multiple records, so my solution is to have an extra item number field so that it will allow multiple records for a material. But users are requesting to have the item number field of the tables to be auto-numbering.
I would like to know if this autonumbering is possible or not? what methods in BP_EEW should i use to implement this logic. I 'm very new to CRM2007, so I'm still not very familiar on how to use the objects generated by the component workbench.
p.s.
I've already search the forum but can find any relevant topic related to my request. If you have any known related topic, It would be highly appreciated.
Thanks and regards,
JP
Edited by: John Paul Auditor on Sep 1, 2009 3:36 AMDear Syed,
You can do many things in table maintenance screen like validation of some field, making some field required or displayed etc.
For auto increment you have to use Number-Ranges. FM NUMBER_GET_NEXT is helpful in this case.
Where to write the code??? The Function-Group you have made. There will be includes. You can easily locate the place to write these codes.
Caution point is that if you re-generate the table maintenance then all code will be gone.
Regards,
Deva. -
Hi Experts,
How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
I have no idea how to start with, please give some advice.
Thanks!
IceDear Ice,
Use Append structure, see given link:
https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
Regards,
Abbas. -
Fields in MCHB table for cycle counting
Hi Experts,
There is a requirement in my program that if the values of the follwoing stocks are there in MCHB table then change the date of creation when cycle counting is performed at the end of the year:
Blocked
In qual. insp.
Restricted-use
Returns
Stock in tfr
Unrestricted
Can anyone tell me that which field are there in MCHB table coressponding stock types.I can see some fields starting with CV* and some with KZ* for BLocked, restricted..etcBlocked - CSPEM
In qual. insp. - CINSM
Restricted-use - CEINM
Returns - CRETM
Stock in tfr - CUMLM
Unrestricted - CLABS
These are the fields -
Additional field in join table for CMP EJB
Hello,
I'm trying to perform this task using CMP entity beans:
The entity A has a CMR relation of cardinality m-n with entity B (bidirectional) (This is working fine).
I want to add a parameter to the relation.
Ex : When I find that A1 is linked to B1, I need to perform "x" times an action. x would be my parameter, and I would have kept this parameter as an additional column in the join table A_TO_B.
Could anyone provide an example of how to perform this with CMP EJB?
NOTE: I'm using OC4J 10g 9.0.4 standalone (and cannot change my version).
Thanks
TanguyManohar,
You need to create an append structure for table VBAP (for example ZAVBAP) using SE11. In this structure you create your ZZ fields. If you need a non-SAP domain/data element for your field then you need to create it first using the same transaction and activate it. Attach ZAVBAP to VBAP so the SE11 shows:
.APPEND in the Fields column and
ZAVBAP in the Field type column.
Your ZZ fields will be shown automatically.
When you have finished then activate your ZAVBAP structure. You will notice when you go VA01 (for example) that a lot of programs are being recompiled. Don't worry. It will be ok.
The user-exit screen number for items is 8459 (in program SAPMV45A).
Thanks,
Wojtek -
Set Default Value based on Field from another table for a custom object
I'm trying to set the default value on a custom object field to the value of an account field. I have tried the syntax 50 different ways, and just am getting no where. The account field label displays as DBA, the integration tag is ltDBA_ACCT, and it shows up in reporting fx area as Account.Text_22.
The custom object field I'm triying to update is also called DBA, which was originally the "NAME" required field. Does the table name, Account, have to be included? Do I need a function in front of the field?
I have been updating the external ID using the row ID with syntex <ID> (Less than ID greater than) so I know it is possible to set the Default Value, but <DBA>, <ltDBA_ACCT>, "Account"."DBA", and so on just don't not work.
If anyone knows how to enter this I'd really appreciate the help.Ok, so if you want to default a field to the value from another object, you have to use the JoinFieldValue function. I think you understand that, based on your original post, but I want to be sure that you do.
Next, this will only work as a default if the record is created from the object that you wish to join on because a default works at record creation and the ID needs to be available for it to work properly. It will not work if you choose the related object record after the custom object record is created. You could set the value as a post-default, but that does not seem to meet your requirements.
The syntax for the Default Value would be as follows: JoinFieldValue(ref_record_type, foreign_key, field_name).
In your case, ref_record_type is '<Account>', foreign_key is [<AccountId>], and field_name is '<YourFieldName>'. The best way to determine what the field name is would be to create a new workflow for Account and use the Workflow Rule Condition expression builder to pick your field ("DBA") from the list. The value that is returned by the expression builder should be placed in the field_name variable in the JoinFieldValue function (minus the brackets and in single quotes).
Give this a shot and let me know how you do.
Thom -
Adding fields in condition table for output control
Hello,
I have added a new field LGNUM in the fieldcatalog for delivery in transaction VOK2. Now i need to create a new condition table in which i want to include this field. But i am not able to see LGNUM in the list of fields which are displayed in the field list.
Please advice.
Thanks in advance,
MathangiHi Refer below link on sdn for adding new Field
Adding New Field to Catalog
Adding New fields to field catalog -
Table Maintenance - Add field not in table for display
I have a Z table which has five fields of which one of them is the GL account field. I need to display the description of the account from SKAT-TXT20 also in SM30 so that In SM30 when the user looks at the table, they should be able to see six fields. I can code the PBO / PAI to pull data from the table, but am not sure how to enhance the table control that SAP generates automatically when you generate table maintenance from SE11's Table Maintenance generator so that the sixth field can be displayed.
ThanksHi,
I hope below solution will work for your problem:
to update field based on other fields of the same table follow below path and create a routine.
go to se11 open the Z-table in change mode > utilities> table maintenece generator- and then
environment> modification> events....
then creat routine based on your requirement.
regards,
munvar. -
We have created a Z report by using the filed values in VBRP.
One of the field used is kzwi1.
In pricing procedure assigned 1 in Sub total column for price and by mistake same 1 is alos assigned for Cess (JAY1).
Now i can change and in from tomorrow only basic value will appear in KZWI1.
I want to know wheteher any soloution is there to change the values of previuos records in VBRP table for the filed KZWI1.
rGDS
BJhi
consult ur abaper and ask him make necessary changes in the table as u only need changes to be made to the data of previous days, give him the exact dates from which date to which date u need a change in the data, and aslo do specify him with the fields, and tables to be changed..
Reward fi USeful
Thanx & Regards
Naren.. -
PC UI Advanced Search - Enhancement by standard fields of transaction table
Hello,
we are using CRM 5.0 SP13.
We are familiar to enhance PC UI applications (BP+transactions) by EEW customer fields and how to use/hide them in the search functionalities etc.
But now we need to enhance the advanced search for leads by the POSTING_DATE date of table CRMD_ORDERADM_H. Unfortunytely in PC UI advanced search structure for leads CRMT_BSP_LEA_SEARCH_ME the POSTING_DATE is not included like it is in the opportunity advanced search structure CRMT_BSP_OPP_SEARCH, where we were able to enhance the search easily by CRMC_BLUEPRINT_C customizing.
The idea is to solve the problem to create EEW fields POSTING_DATE_FROM and POSTING_DATE_TO like they are existing in CRMT_BSP_OPP_SEARCH and use them in advanced search. So far no problem in creating and displaying the EEW fileds by CRMC_BLUEPRINT_C.
But the part we are missing is to link the new EEW fields to the standard database-field POSTING_DATE and implement the search functionality "Searching by select option POSTING_DATE_FROM and POSTING_DATE_TO".
Anybody any experience to link EEW-fields to standard fields of database tables for advanced search functionality in PC UI.
Thank you for your help in advance.
Best regards
MarcoHi Marco,
The best option here is to create redefination of the query method of the leads search class. Here you can first ensure that the call to the query method of super class takes place and the next would be do mapping between custom fields to local structure and then call the relevant API's to fetch the data.
Best Regards, Adil
Maybe you are looking for
-
Importing a table in Oracle, and converting to a ZTable?
Hello, We have a 'legacy' table that is several million lines long. We have exported, and imported the table into our SAP database and renamed it to SAPR3.ZLEGHIST. The problem is we cannot view it through SE16 beause it is not in the dictionary.
-
I want a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat Pro 10.1.12 file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser. Unknown Err
-
Hello Experts, I need to lock users in individual system and not all via IDM. I have a user who has access to 3-4 systems. I need to block that user in just one system i.e. SAP. So how can I achieve that. If I am removing the privilege for sap system
-
How can I view iTunes charges without having iTunes?
How can I view iTunes charges without having iTunes? Unless you have iTunes installed. I cannot find a way to see details about charges to my account. I understand that a confirmation email is sent after each charge, but unfortunately I delete those.
-
Prints wrong colour from Word 2007. O.P. XP
Printing from word 2007 with Black text, is printed in Cyan? Have Repaired Word ,cleaned the Registrey and updated HP driver, but not corrected the fault? Any ideas? This question was solved. View Solution.