Regarding custom currency data element issue in custom Table.....

Hello,
I am currently working on creation of a Z custom table in SAP. There is data coming from
mainframe for amount field in the form -9999.9999.
To store data like this I am creating a custom Z data element with Z domain definition as follows:
Data type; Curr
No of characters: 5
Decimal places: 4
Sign box is checked.
Now when I use this Z data elemnt for a firle in custom table, while activating, it asks for table refernce and table field. What do I give it here ?
Please help.
Regards,
Jainam..

Hi Jainam,
very basic ABAP knowledge: A field of type CURR isn used to store a currency amount. Every currency field must be connected to a currency key of type CUKY.
The same concept applies for quantities and units.
You can spare a lot of trouble if you look at standard tables and programs, copy or use data elements and/or structures from standard.
If you want to re-invent the world, you may need more than seven days.
Regards,
Clemens

Similar Messages

  • How to get the name of a Data Element of a generic Table!

    Hi guys!
    In my function i have the following import paramenter
    i_outtab type standard table
    now i import a table and i want to get the dataelement of the fields.
    is there a way to do this??

    Hello Thomas
    Perhaps the following sample report may be useful for you.
    *& Report  ZUS_SDN_RTTI_STRUCT_COMPONENTS
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
    *& Thread: How to get the name of a Data Element of a generic Table!
    REPORT  zus_sdn_rtti_struct_components.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_s_outtab.
    TYPES: bukrs    TYPE bukrs.
    TYPES: kunnr    TYPE kunnr.
    TYPES: END OF ty_s_outtab.
    DATA: gdo_data    TYPE REF TO data.
    DATA: gs_outtab   TYPE ty_s_outtab.
    DATA: go_typedescr  TYPE REF TO cl_abap_typedescr,
          go_structdescr  TYPE REF TO cl_abap_structdescr,
          go_datadescr    type ref to cl_abap_datadescr.
    DATA: gs_comp        TYPE abap_compdescr,
          gd_dtel        type string,
          gt_dfies        type ddfields.
    FIELD-SYMBOLS:
      <gs_struct> TYPE ANY.
    START-OF-SELECTION.
      BREAK-POINT.
      GET REFERENCE OF gs_outtab INTO gdo_data.
      ASSIGN gdo_data->* TO <gs_struct>.
      go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
      go_structdescr ?= go_typedescr.
      BREAK-POINT.
      LOOP AT go_structdescr->components INTO gs_comp.
        go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
        gd_dtel = go_datadescr->get_relative_name( ).
        write: / syst-tabix, 'Data element =', gd_dtel.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • Data element creation for custom 'data element orgchart'

    Hi all,
    I'd like to create my own Data element orgchart, using self-developed functional modules to achieve more flexibility in outputting data. Is any recommendations or examples for in-out interface of such modules?
    Regards,
    Sergey Aksenov

    Hi Sergey,
    What are you trying to achieve here? It sounds like you want to create new structures or use FMs to replace the data retrieval for the existing structures. This cannot be done in OrgChart, at least not through the AdminConsole.
    The structure is called in one call, as well as the data in the nodes. However, for each data source (e.g. NakisaRFC) used in a node there will be a call. For example, if you show position data from HRP1000 and employee data from PA0001 in a node then there will be 2 calls (which calls the data for all nodes at once). You can use an FM to do one call, but this would be in the view and not in the structure. The details panel makes multiple calls to retrieve data, so you can write an FM to call all data in one call rather than many.
    You should refer to page 58 of the OrgChart Admin Guide for more information on custom RFCs.
    Best regards,
    Luke

  • Wda date picker issue in alv table

    Hi,
    When I use a date picker in a alv table in wda I have got the following issue:
    Select a date, do not press enter and then press a search help in another field in the table. You can test this in web dynpro 'SALV_WD_DEMO_TABLE_F4'.
    When you do this you will see that when pressing a search help like the one of 'currency' the date that you previously selected is gone. Also since on_data_check is not triggered in this scenario I am not sure how to solve this. My guess is that it is a bug. Maybe it can be resolved with an on_click event. That way I can update the date field when a select the currency field (before pressing f4 in the currency field)
    Does anybody know if this is the best way to solve this?
    Regards,
    Raymond Does

    Hi Raymond,
    What you mentions is Correct and What your are doing is correct. It is bug in WD ALV. It's not checking the value after you given correct value.
    Thanks and Regards,
    Vijay

  • Without data element can we create table

    without data element is it possible to create table
    if it is possible how ?
      could u plz expain steps.

    Hi,
    Yes u can create table without data element.
    In that case in place of Data element u need to specify the Predefined type.
    Enter the name of field and the press on Built-In type button. This will disable the data element entry fields and enable the Built-in type field where in u can put the predefined type like CHAR, INT1 etc.
    Regards,
    Himanshu

  • Problem while creating a new Data element in a new table?

    Hello Everyone,
    I have downloaded Netweaver 7.1 trail version from internet and while creating a data element through the data dictionary: i got this input box:
    Register Object
    SAP Release 701
    Access key needed?
    Installation DEMOSYSTEM
    What could an access key be here in this demo version?
    please help experts. thanks for writing back.
    Cheers
    lastw0nd3r
    P.S:
    I tried this access key already which was in devaccess table
    29671482393151224771  but it didn't worked.
    Edited by: lastw0nd3r on Jun 8, 2010 5:30 PM

    in processformrequest() i wrote this:
    if ((tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    &&(ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))))
    am.invokeMethod("createRecordInv") ;
    in Amimpl.java
    i wrote
    public void createRecordInv()
    try
    OAViewObject vo = getARTransactionLineVO1();
    if (!vo.isPreparedForExecution())
    {   vo.executeQuery();     }
    if (vo != null)
    vo.setMaxFetchSize(0);
    ARTransactionLineVORowImpl row1 = ( ARTransactionLineVORowImpl)vo.createRow();
    if (vo.getFetchedRowCount() == 0)
    {vo.insertRow(row1); }
    else
    { vo.insertRowAtRangeIndex(vo.getFetchedRowCount(),row1); }
    row1.setNewRowState(row1.STATUS_INITIALIZED);
    catch(Exception ex)
    { ex.getMessage();  }
    i am getting error
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException

  • Date format issue in Custom Pages

    Hi All
    I have set ICX: Date Format profile option as 31-Dec-1999 and under preferences set the date format as DD-MM-YYYY. But still in my custom pages when i fetch data and show it shows in the format YYYY-MM-DD. Could anyone please tell me is it the default mask for OAF. If so then what is the significance of setting preference format mask when it does not get reflected.Please help.
    Thanks
    Raj

    Hi Sachin,
    where did you set the SET COUNTRY in the layout?
    It should be in the Initialization tab in the Global defnitions. Please confirm that.
    Regards,
    Selva K.

  • Custom object - data loader issue

    Hello guys.
    I've just attempted to upload a CSV file in order to insert new records to a custom object.
    after some tweaking I've managed to get it to work, the log stated 100% success but no new records appeared.
    I've ran the data loader for "ordinary" objects (account, parts) with full success.
    Any thoughts?
    Thanks,
    Adi Smulian
    [email protected]

    The dataloader will often state 100% this does not mean that all the records were imported correctly. You will need to go to the data import queue to retrieve the findings of the import this will then tell you if you have any errors.

  • Customer Master data upload with Ref Customer Master

    Hi all,
    I want to extend all the Customer master records of a particular Sales area to another new Sales area (copy from one sales area to other). What is the easiest way to do this?
    Am trying to copy by giving referrence number, but still i had to give all the relavant data which i suppose shold not be. So plz guide me the best way to copy the master data of all the customers.
    Thanks in advance.
    Cheers,
    Anil.

    We have had the similar issue. I simply downloaded the customer master sales area data and replaced the distribution channel with new one in excel then division and recorded the LSMW for this only thing u have to be careful is while extending u have to use the current customer number as refernce which has to be recorded. this entire process till execution took about 30 mins + upload time.
    It works perfect.

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • Regarding web analysis data export issue

    Hi all,
    Iam new to web analysis we had a issue on one of the report
    I can open the report and i can work perfectly on the report but when i export the data to excel its showing up as fallowing error
    FATAL ERROR: gui report is inccorect
    In the same application i have some other reports those are working fine and data is being exported to excel for those reports
    What might be going with that report Please let me know if you have any ideas.
    Thanks,
    Ramesh

    As report was exceding 65000 records we have modified the report by adding the pages and reduced the count of output records. So the issue was resolved.

  • Increase maktx data element Length in makt table

    Dear Expert,
    Please guide me or provide me a solution.....
    There is a requirement in my company from MM consultant, he wants me to increase the length of maktx field from 40 to 100.
    Please tell me is it possible? if possible then what is the solution and impact?
    Please i am waiting for a reply........
    Regards
    Shelly Malik

    Hi
    @Matt
    You can see similar type of requirement posted today : [Change The length of field MAKTX   |Change The length of field MAKTX;.
    Regards
    Vinod
    Edited by: Vinod Kumar on Jun 25, 2010 11:21 AM

  • Task Quantity in Custom Reports Data Package

    Task Quantity in Custom Reports Data Package
    Using the Custom Reports Data Package how can you report on task quantity?  Neither the ServiceTaskFact nor the RequisitionTaskFact tables have quantity as a query item. 

    Hi David,
    Thanks for your question. The good news here is that this is a common use case and can be addressed using standard Cognos functionality. Here are some general instructions for you and others who might be reading this post with a similar need. These instructions are for Cognos Query Studio.
    Build your report and drag a column/fact that is unique to the record onto the work area – I used TaskID.
    Highlight the TaskID column.
    From the left side menu, click Edit Data

  • Customer Master Data - Validation / Substitution Rule

    Is there a way to perform a validation / substitution rule in the customer master data?
    Eg: In customer master, payment history checkbox is a required field so the user will always have to tick the checkbox when creating a customer master.
    Question: how to make this payment history checkbox defaulted to tick so that user don't have to manually tick it themselves when creating customer master.
    Is there a validation / substitution that can be performed in customer master because in accounting document, we will be able to perform the validation/substitution.

    Hi
    You could potentially use a BADI to substitute the data.  IMG > Financial Accounting > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Adoption of Customer's Own Master Data Fields > Business Add-In: Customer Subscreens
    You'd need to get an ABAPer to code the change in the relevant Method.
    Kylie

  • EEWB : in CRM 4.0 adding  field with data element = table type

    Hi,
    Do you have experience in CRM4.0 to add a customer field with data element that is a table type ?

    Marie,
    I don't believe it is possible in CRM 4.0.  Another drawback of the EEWB is that you can't add currency or quantity fields using the EEWB tool.
    Good Luck,
    Stephen

Maybe you are looking for

  • Questions about remote control and infrared port Qosmio F20

    Hi again, My Toshiba Qosmio F20 comes with a remote control funcioning through a infrared device on the front of the computer. Regarding this I have 2 questions: 1. How do I configure additonal functionality through the remote control? (Like launchin

  • T61 nvidia quadro 140m memory failure

    This probably goes along the same lines as some of the other problems noted here with these video chipsets. A while ago, I tried upgrading the driver for my quadro 140m and it would hang on boot up. You would see the first vista loading screen and th

  • Arabic in Reports 10g

    Hi everybody!!! I have a report, which has a simple query with a where cluase based on a character column. the value of this column is passed as a parameter. When the parameter is in english the report works fine (the report format is in pdf) and whe

  • Timecode question

    Excuse the elementary level. I shot half a tape, turned off the camera, then shot the second half the tape. The first half was already captured and edited. When I go to Log and Capture the second half, no timecodes show to put in and out points to ca

  • Media Network

    Ok, bare with me, here is what i want to accomplish and any suggestions or advice will be appreciated and welcomed. I have a 3 bedroom house all with plasma tv's. i have 2 macpro notebooks and a imac. what i am looking to do is put a apple tv in each