CURR in customised tables.

Hi friends,
    I am creating a  new table and in it I used a data element which uses 'CURR'.
But When i  activating its giving error stating ' specify the reference table  and reference  field'.
How to rectify this.

Hi,
In the field for which you have mentioned CURR as the you need to mention the reference field.
Click on the tab 'Currency/Quantity fields'. Give TCURC as the check table and in the value table also mention TCURC.
If it is a amount field, then in the reference table give T001 and in the ref.field give WAERS
Regards
Subramanian

Similar Messages

  • Can we change the fields of database unique index in a customised table?

    Hi all..
    I want to know that can we create or change or delete the database unique index of a customized table?
    In my case, there is a customised table with 4 primary keys with all the records to be maintained thru transaction code SM30.
    There is database unique index maintained for this table which has 2 fields. These 2 fields are out of the 4 primary fields of the table.I hope I have made myself clear!
    Now when I am trying to insert a record in the table it give me a short dump.( It says duplication of records is not allowed)
    The reason being that the new record that I am trying to insert in the database table has those 2 fields for which the unique index is maintained is the same as an already existing record.And the other two fields are different from the already existing record.So overall the combination of the 4 primary fields is different.
    Please tell me how shall I proceed now?
    I also tried to change the Unique index but it is asking me some kind of authrization(You are not authorized to make changes (authorization object S_DEVELOP)).Also I am not sure whether changing the unique index is feasible or not.?
    Thanks.

    hi
    I think you will not be able to do unique indexing withou the help of primary keys,so use all the primary keys into the table field selections  and and then create indexing otherwise dupilication of keys can occur. if you are not able to keep the primary keys then go for non unique key indexing,where you have to add the client field and the any keys of your wish.

  • Load the data from a transparent customised table in BW to an ODS

    Hi there,
    How can you load the data from a transparent customised table created in BW to an ODS.
    Many thanks.
    Sarah

    Hi,
    just create a generic datasource in rso2 for that table, replicate the datasource for source system 'myself', create a infosource and assign the new datasource to that infosource. Create a update rule from infosource to ods, create a infopackage and load the data.
    regards
    Siggi

  • Creating maintainance view for a customising table

    Hello Team,
    I have a scenario where we have to create a maintainance view for a standard customising table. But all changes to entries for customising tables will prompt for a transportable change request. How to switch off this prompt for change request? Please let me know your views on this.
    Thanks!

    create a maintainance view for a standard customising table
    Doing that wont be a good idea.
    If you only want to disable the transport request in a production system, then call transaction SOBJ. Give the name of the object = the maintenace view, set the "[Current Settings|http://help.sap.com/saphelp_glossary/en/35/2a2c6ad9685cd5e10000009b38f974/content.htm]" flag on. (eg. F-60 on V_T001B for "Posting Periods: Specify Time Intervals")
    Regards,
    Raymond

  • Adding  primary field  to a customised table and maintaining records for it

    Hi all ..
    I want to enhance one customised table which has got five colomns at present , with one more column ( basically a field which is a primary key ) and that too at the begining( ie. the first field of the table )
    The records in the table can be maintained by the transaction code SM30.
    When I am inserting the specific field in the table by going to the transaction code SE11, and activating it then that field is not reflected in the transaction code SM30 because of which I am not able to maintain records in the table.
    So now when I go to SE16 to see the records of that table , I am left with the same table with a blank new field at the begining of every record.
    I would be glad if someone tells me how can I maintain those fields by goin to the transaction code SM30 so that in future also we can easily maintain the records in that table through transaction code SM30.
    I hope I have made myself clear.
    Thanx

    Hi subhash,
    1. goto se54.
    2. type the table name
    3. press delete button (to delete the full table maintanance screens and prorams)
    4. Again Create new
       (This will take care to include
        the latest fields which are there in the table)
    5. Anytime we make a change to the TABLE
      (either data type, or adding columns
      or deleting columns etc,)
       WE SHOULD TAKE CARE TO
      RE-GENERATE THE TABLE MAINTANENCE
      (other wise it may give error in sm30)
    regards,
    amit m.

  • Entries in customised table

    Hi,
       I created a customised table,in that user will enter H(hold)in a particular field.he will take the printout using the prog which i created and he will check whether the details are correct and if correct then they wants to change all the H to S.
       Here i dont know how to change all H to S .not that manually the user will go and change all the H to S.it should be automatically all H should change to S.
       Pls help me to solve the problem and give me in details would be more usefull for me.
    Thanks,
    Raj.

    > Hi Rajendra
    >
    Hi Eswar,
       Even i put in end of the prog but it is not fetching the data.pls check help to solve the issue.
       below is the coding i used and i wants to use the code in   Form  1200_INPUT.
    Database tables
    TABLES : Z2006TMMAMEND.        "Amendment Notice Master Data
    Internal tables
    DATA : BEGIN OF ITAB OCCURS 0,
                  ZMATNR  LIKE Z2006TMMAMEND-ZMATNR,
                  ZMAKTX  LIKE Z2006TMMAMEND-ZMAKTX,
                  ZAMEND  LIKE Z2006TMMAMEND-ZAMEND,
                  ZMATKL  LIKE Z2006TMMAMEND-ZMATKL,
                  ZCHARG  LIKE Z2006TMMAMEND-ZCHARG,
                  ZWEEKS  LIKE Z2006TMMAMEND-ZWEEKS,
                  ZDATES  LIKE Z2006TMMAMEND-ZDATES,
                  ZSTATUS LIKE Z2006TMMAMEND-ZSTATUS,
           END OF ITAB.
    ******TO GET THE LAST AMENDMENT NO
    DATA : BEGIN OF ITABLAST OCCURS 0,
                 ZMATNR  LIKE Z2006TMMAMEND-ZMATNR,
                 ZMAKTX  LIKE Z2006TMMAMEND-ZMAKTX,
                 ZAMEND  LIKE Z2006TMMAMEND-ZAMEND,
                 ZMATKL  LIKE Z2006TMMAMEND-ZMATKL,
                 ZCHARG  LIKE Z2006TMMAMEND-ZCHARG,
                 ZWEEKS  LIKE Z2006TMMAMEND-ZWEEKS,
                 ZDATES  LIKE Z2006TMMAMEND-ZDATES,
                 ZSTATUS LIKE Z2006TMMAMEND-ZSTATUS,
           END OF ITABLAST.
    ******FOR INPUT AMENDMENT NOTICES LISTING FOR YEAR WEEK NO***********.
    DATA : BEGIN OF ITAB_H OCCURS 0,
                 ZMATNR  LIKE Z2006TMMAMEND-ZMATNR,
                 ZMAKTX  LIKE Z2006TMMAMEND-ZMAKTX,
                 ZAMEND  LIKE Z2006TMMAMEND-ZAMEND,
                 ZMATKL  LIKE Z2006TMMAMEND-ZMATKL,
                 ZCHARG  LIKE Z2006TMMAMEND-ZCHARG,
                 ZWEEKS  LIKE Z2006TMMAMEND-ZWEEKS,
                 ZDATES  LIKE Z2006TMMAMEND-ZDATES,
                 ZSTATUS LIKE Z2006TMMAMEND-ZSTATUS,
                 ZAMENDL LIKE Z2006TMMAMEND-ZAMEND,
           END OF ITAB_H.
    ******FOR  AMENDMENT NOTICES UPDATE LIST***********
    DATA : BEGIN OF ITAB_S OCCURS 0,
                  ZMATNR  LIKE Z2006TMMAMEND-ZMATNR,
                  ZMAKTX  LIKE Z2006TMMAMEND-ZMAKTX,
                  ZAMEND  LIKE Z2006TMMAMEND-ZAMEND,
                  ZMATKL  LIKE Z2006TMMAMEND-ZMATKL,
                  ZCHARG  LIKE Z2006TMMAMEND-ZCHARG,
                  ZWEEKS  LIKE Z2006TMMAMEND-ZWEEKS,
                  ZDATES  LIKE Z2006TMMAMEND-ZDATES,
                  ZSTATUS LIKE Z2006TMMAMEND-ZSTATUS,
                  ZAMENDL LIKE Z2006TMMAMEND-ZAMEND,
                  ZAMENDR LIKE Z2006TMMAMEND-ZAMEND,
            END OF ITAB_S.
    DATA :I_ITABLAST LIKE ITABLAST OCCURS 0 WITH HEADER LINE.
    DATA: WA         LIKE ITAB.
    DATA: WA1        LIKE ITAB_H.
    DATA: WA2        LIKE ITAB_S.
    DATA: V_INT      TYPE INT4.
    DATA: W_ZMATKL   LIKE Z2006TMMAMEND-ZMATKL.
    DATA: W_ZWEEKS   LIKE Z2006TMMAMEND-ZWEEKS.
    DATA: L_TABIX    LIKE SY-TABIX.
    *SELECTION-SCREEN
    selection-screen begin of block mysel with frame title text-001.
    SELECT-OPTIONS : S_ZMATNR FOR Z2006TMMAMEND-ZMATNR,
                     S_ZWEEKS FOR Z2006TMMAMEND-ZWEEKS,
                     S_ZCHARG FOR Z2006TMMAMEND-ZCHARG,
                     S_ZAMEND FOR Z2006TMMAMEND-ZAMEND,
                     S_ZDATES FOR Z2006TMMAMEND-ZDATES.
    selection-screen end of block mysel.
    selection-screen begin of block mysel1 with frame title text-002.
    PARAMETERS: C1 RADIOBUTTON GROUP R1,
                C2 RADIOBUTTON GROUP R1,
                C3 RADIOBUTTON GROUP R1,
                C4 RADIOBUTTON GROUP R1.
    selection-screen end of block mysel1.
    *selection-screen begin of block mysel2 with frame title text-003.
    *SELECTION-SCREEN PUSHBUTTON /79(10) charly USER-COMMAND CONF.
    *selection-screen end of block mysel2.
    *INITIALIZATION.
    MOVE 'CONF' TO charly.
    START-OF-SELECTION
    START-OF-SELECTION.
      IF C1 = 'X'.
        PERFORM 1100_DELETE.
      ELSEIF C2 = 'X'.
        PERFORM 1200_INPUT.
      ELSEIF C3 = 'X'.
        PERFORM 1300_UPDATE.
    ELSEIF C4 = 'X'.
        PERFORM 1400_PRINT.
      ENDIF.
    *END-OF-SELECTION.
    TOP-OF-PAGE
    top-of-page.
    *& Form TOP_OF_PAGE
    text
    ******FOR LIST OF DELETED AMENDMENT NOTICES***********
    FORM TOP_OF_PAGEC1.
      SKIP.
      WRITE:/51 'MOTION SMITH CHART',  100 'Page :', 110 sy-pagno.
      SKIP.
      WRITE:/43 'LIST OF DELETED AMENDMENT NOTICES' ,100 'Date :', 110 sy-datum.
      SKIP.
    ENDFORM.                               "TOP_OF_PAGEC1
    ******FOR INPUT AMENDMENT NOTICES LISTING FOR YESR WEEK NO***********
    FORM TOP_OF_PAGEC2.
      SKIP.
      WRITE:/51 'MOTION SMITH CHART',  100 'Page :', 110 sy-pagno.
      SKIP.
      WRITE:/43 'INPUT AMENDMENT NOTICES LISTING' ,100 'Date :', 110 sy-datum.
      SKIP.
    endform.                               "TOP_OF_PAGEC2
    ******FOR  AMENDMENT NOTICES UPDATE LIST***********
    FORM TOP_OF_PAGEC3.
      SKIP.
      WRITE:/51 'MOTION SMITH CHART',  100 'Page :', 110 sy-pagno.
      SKIP.
      WRITE:/43 'AMENDMENT NOTICE UPDATE LIST' ,100 'Date :', 110 sy-datum.
      SKIP.
    endform.                               "TOP_OF_PAGEC3
    ******FOR PRINT AMENDMENT LIST***********
    FORM TOP_OF_PAGEC4.
      SKIP.
      WRITE:/51 'MOTION SMITH  AMENDMENT  LIST', 100 'Date :', 110 sy-datum, 140 'Page :', 150 sy-pagno.
      SKIP.
    endform.                               "TOP_OF_PAGEC4
    *&      Form  1100_DELETE
          text
    -->  p1        text
    <--  p2        text
    FORM 1100_DELETE .
      NEW-PAGE.
      ULINE.
      PERFORM TOP_OF_PAGEC1.
      SELECT SINGLE ZMATKL INTO W_ZMATKL FROM Z2006TMMAMEND WHERE ZMATNR IN S_ZMATNR.
      WRITE:/ 'AGENCY CODE:', W_ZMATKL.
      SKIP.
      ULINE.
      SKIP.
      WRITE:/ 'CHART/PUBLICATION', 30 'DESCRIPTION', 61 '************* A  M  E  N  D  M  E  N  T  S *************'.
      SKIP.
      ULINE.
      SELECT * FROM  Z2006TMMAMEND INTO CORRESPONDING FIELDS OF TABLE ITAB
                                        WHERE ZMATNR IN S_ZMATNR
                                          AND ZWEEKS IN S_ZWEEKS
                                          AND ZCHARG IN S_ZCHARG
                                          AND ZAMEND IN S_ZAMEND
                                          AND ZDATES IN S_ZDATES
                                          AND ZSTATUS EQ 'D'.
      SORT ITAB BY ZMATNR.
      LOOP AT ITAB.
        WA = ITAB.
        AT NEW ZMATNR.
          V_INT = 1.
          WRITE:/ WA-ZMATNR(18), WA-ZMAKTX(40).
        ENDAT.
        IF V_INT >= 1 AND V_INT < 6.
          WRITE: WA-ZAMEND(11).
        ELSE.
          WRITE: /61 WA-ZAMEND(11).
          V_INT = 1.
        ENDIF.
        V_INT = V_INT + 1.
      ENDLOOP.
    ENDFORM.                    " 1100_DELETE
    *&      Form  1200_INPUT
          text
    -->  p1        text
    <--  p2        text
    FORM 1200_INPUT .
      NEW-PAGE.
      ULINE.
    SET PF-STATUS 'Z2006RMMAMEND'.
    AT USER-COMMAND .
    AT SELECTION-SCREEN.
      IF SY-UCOMM = 'CONF'.
          UPDATE Z2006TMMAMEND SET ZSTATUS = 'S'
                             WHERE ZSTATUS = 'H'.
      ENDIF.
      PERFORM TOP_OF_PAGEC2.
      SELECT SINGLE ZWEEKS INTO W_ZWEEKS FROM Z2006TMMAMEND WHERE ZWEEKS IN S_ZWEEKS.
      WRITE:/43 'FOR YEAR WEEK N0 :', W_ZWEEKS.
      SKIP.
      ULINE.
      SKIP.
      WRITE:/ 'AGENCYCODE', 15 'CHART NO', 30 'DESCRIPTION', 61 'YR/WK', 70 'LAST FAMD', 85 'LAMEND', 100 'AMENDMENT'.
      SKIP.
      ULINE.
    **********TO GET THE INPUT AMENDMENT NOTICE LISTING FOR YEAR WEEK.
      SELECT * FROM  Z2006TMMAMEND INTO CORRESPONDING FIELDS OF TABLE ITAB
                                        WHERE ZMATNR IN S_ZMATNR
                                          AND ZWEEKS IN S_ZWEEKS
                                          AND ZCHARG IN S_ZCHARG
                                          AND ZAMEND IN S_ZAMEND
                                          AND ZDATES IN S_ZDATES
                                          AND ZSTATUS EQ 'H'.
    ***********TO GET THE LAST AMENDMENT NO.
      SELECT * FROM Z2006TMMAMEND INTO CORRESPONDING FIELDS OF TABLE ITABLAST
                                         WHERE ZMATNR  IN S_ZMATNR
                                           AND ZWEEKS  IN S_ZWEEKS
                                           AND ZSTATUS EQ 'S'.
      SORT ITABLAST DESCENDING BY ZWEEKS.
      LOOP AT ITAB.
        CLEAR ITABLAST.
        LOOP AT ITABLAST WHERE ZMATNR = ITAB-ZMATNR.
          EXIT.
        ENDLOOP.
        IF SY-SUBRC EQ 0.
          MOVE ITAB-ZMATKL TO ITAB_H-ZMATKL.
          MOVE ITAB-ZMATNR TO ITAB_H-ZMATNR.
          MOVE ITAB-ZMAKTX TO ITAB_H-ZMAKTX.
          MOVE ITAB-ZWEEKS TO ITAB_H-ZWEEKS.
          MOVE ITAB-ZAMEND TO ITAB_H-ZAMEND.
          READ TABLE ITABLAST WITH KEY ZMATNR = ITAB-ZMATNR.
          MOVE ITABLAST-ZAMEND TO ITAB_H-ZAMENDL.
          APPEND ITAB_H.
          CLEAR ITAB_H.
        ENDIF.
      ENDLOOP.
       SORT ITAB_H BY ZMATNR.
      LOOP AT ITAB_H.
        WA1 = ITAB_H.
        AT NEW ZMATNR.
          V_INT = 1.
          WRITE:/ WA1-ZMATKL(9),15 WA1-ZMATNR(18),30 WA1-ZMAKTX(40), 61 WA1-ZWEEKS(6),85 WA1-ZAMENDL.
        ENDAT.
        IF V_INT >= 1 AND V_INT < 3.
          WRITE: WA1-ZAMEND(11).
        ELSE.
          WRITE: /100 WA1-ZAMEND(11).
          V_INT = 1.
        ENDIF.
        V_INT = V_INT + 1.
      ENDLOOP.
    ENDFORM.                    " 1200_INPUT
    *&      Form  1300_UPDATE
          text
    -->  p1        text
    <--  p2        text
    FORM 1300_UPDATE .
      NEW-PAGE.
      ULINE.
      PERFORM TOP_OF_PAGEC3.
      SKIP.
      ULINE.
      SKIP.
      WRITE:/ 'CHART/PUBLICATION', 30 'DESCRIPTION', 61 'AMENDMENT NO', 81 'AMENDMENT DATE', 100 'LAST AMENDMENT'.
      SKIP.
      ULINE.
      SELECT * FROM  Z2006TMMAMEND INTO CORRESPONDING FIELDS OF TABLE ITAB
                                        WHERE ZMATNR  IN S_ZMATNR
                                          AND ZWEEKS  IN S_ZWEEKS
                                          AND ZCHARG  IN S_ZCHARG
                                          AND ZAMEND  IN S_ZAMEND
                                          AND ZDATES  IN S_ZDATES
                                          AND ZSTATUS EQ 'S'.
        sort itab by zmatnr ZCHARG descending.
      loop at itab.
        l_tabix = sy-tabix.
        at new zmatnr.
          read table itab  index l_tabix.
          MOVE ITAB-ZMATKL TO ITAB_S-ZMATKL.
          MOVE ITAB-ZMATNR TO ITAB_S-ZMATNR.
          MOVE ITAB-ZMAKTX TO ITAB_S-ZMAKTX.
          MOVE ITAB-ZAMEND TO ITAB_S-ZAMEND.
          MOVE ITAB-ZWEEKS TO ITAB_S-ZWEEKS.
          MOVE ITAB-ZAMEND TO ITAB_S-ZAMENDR.
          l_tabix = l_tabix + 1.
          read table itab index l_tabix.
          MOVE ITAB-ZAMEND TO ITAB_S-ZAMENDL.
          APPEND ITAB_S.
          CLEAR  ITAB_S.
        ENDAT.
      ENDLOOP.
      LOOP AT ITAB_S.
        WA2 = ITAB_S.
        AT NEW ZMATNR.
          V_INT = 1.
          WRITE:/ WA2-ZMATKL,9'-',13 WA2-ZMATNR,27 WA2-ZMAKTX(40),63 WA2-ZAMENDR(15),83 WA2-ZWEEKS(6),103 WA2-ZAMENDL(15).
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " 1300_UPDATE
    *&      Form  1400_PRINT
          text
    -->  p1        text
    <--  p2        text
    FORM 1400_PRINT .
      NEW-PAGE.
      ULINE.
      PERFORM TOP_OF_PAGEC4.
      SELECT SINGLE ZMATKL INTO W_ZMATKL FROM Z2006TMMAMEND WHERE ZMATNR IN S_ZMATNR.
      WRITE:/ 'AGENCY CODE:', W_ZMATKL.
      SKIP.
      ULINE.
      SKIP.
      WRITE:/ 'CHART NUMBER', 20 'EDITION DATE', 45 'DESCRIPTION', 75 '************* A  M  E  N  D  M  E  N  T  S *************'.
      SKIP.
      ULINE.
      SELECT * FROM  Z2006TMMAMEND INTO CORRESPONDING FIELDS OF TABLE ITAB
                                        WHERE ZMATNR IN S_ZMATNR
                                          AND ZWEEKS IN S_ZWEEKS
                                          AND ZCHARG IN S_ZCHARG
                                          AND ZAMEND IN S_ZAMEND
                                          AND ZDATES IN S_ZDATES.
      SORT ITAB BY ZMATNR.
      LOOP AT ITAB.
        WA = ITAB.
        AT NEW ZMATNR.
          V_INT = 1.
          WRITE:/  WA-ZMATNR(18),20 wa-zcharg(10),35 WA-ZMAKTX(40).
        ENDAT.
        IF V_INT >= 1 AND V_INT < 6.
          WRITE: WA-ZAMEND(12).
        ELSE.
          WRITE: /76 WA-ZAMEND(12).
          V_INT = 1.
        ENDIF.
        V_INT = V_INT + 1.
      ENDLOOP.
    ENDFORM.                    " 1400_PRINT
    ***********TO UPDATE THE CUSTOMISED TABLE WHEN USER PRESS THE CONF BUTTON
    AT USER-COMMAND .
    *AT SELECTION-SCREEN.
      IF SY-UCOMM = 'CONF'.
          UPDATE Z2006TMMAMEND SET ZSTATUS = 'S'
                             WHERE ZSTATUS = 'H'.
      ENDIF.

  • Customising table

    What is a customising table?

    Hi kartik,
    Customizing Tables
    Definition
    Customizing data is data created by customers when they customize their systems.
    The Customizing data in a customer client is not overwritten by a language import or an upgrade. Data is only imported into client 000. This is because Customizing data is the responsibility of the customer and cannot be overwritten by data from SAP. This also applies, without restrictions, to translations. However, customers may occasionally want to update their sample data and default settings with the latest translations from SAP.
    Only copy the clients from client 000 after all the required languages have been imported into client 000.
    You have the following options for updating a translation language for the Customizing settings of an existing customer client:
           1.      Using tools
           2.      Manual translation
    Using Tools
    As of Basis Release 3.1H, SAP provides the following tools for updating Customizing texts in clients other than 000:
    ·        Report RSREFILL
    The report RSREFILL compares the Customizing texts in the logon client with the SAP proposals in a reference language in client 000. If these texts are identical, their translations in the target language are copied from client 000 to the logon client. Data is inserted only; no existing data is overwritten.
    For more information on RSREFILL, see the documentation on the report, and SAP Note 48047.
    ·        Client maintenance with transaction SMLT
    This function works in the same way as the report RSREFILL, but does not make a comparison with a reference language. This means that more texts can be copied from client 000 to the target client.
    As with RSREFILL, Customizing data is inserted. No data is deleted or overwritten.
    You call RSREFILL as a report. You start the client maintenance function in transaction SMLT by choosing Language ® Special Actions ® Client Maintenance.
    SAP recommends that you use the language supplementation program, which now integrates the program RSREFILL and the client maintenance function.
    Combining RSREFILL or the client maintenance function with the language supplementation program has the following consequences for each client-specific Customizing table:
           1.      Any previous supplementation is reset.
           2.      RSREFILL or the client maintenance function is executed.
           3.      The table is supplemented.
    This avoids any problems caused by the order in which RSREFILL, the client maintenance function, and the language supplementation program run.
    Manual Translation
    The link between the translation environment and the Change and Transport System enables you to create translated Customizing texts in a particular system, record them in transport requests, and distribute them in the system landscape.
    Translate the remaining Customizing texts in transaction SE63. Record the translations in transport requests, and then use the Transport Management System (TMS) to distribute these requests in the system landscape.
    Integration of Address Maintenance for a Customizing Table
    Process Flow
    To automatically display address maintenance for a Customizing table, you have to carry out the following steps:
    Add a field for storing the address number to the table or the view. To do this, use domain AD_ADDRNUM. Based on the address domain, the system automatically generates an indicator (OBJH-OBJHASADDR) in transaction SE54 which specifies if the table or view contains an address or not.
    Maintain the TSADRV entry as described in Address Maintenance in Customizing.
    Use transaction SE54 to generate the table maintenance dialog for transaction SM30 (see also: BC - Generate Table Maintenance Dialog).
    Result
    Address maintenance is now an integral part of Customizing object maintenance.
    The address dialog box is called when you choose the address icon. If an address has already been maintained for the object, this address appears in either change or display mode on the dialog box.
    If no address has been maintained for the object or if no address exists for an address number, the system takes you automatically to the screen for creating an address.
    When you create an object, the system takes you automatically to the address dialog box at the time you release or save the data to prompt you to maintain the address. You can skip the address dialog box using the Cancel function.
    You can find examples of address maintenance in Customizing in transactions OX10 (plants) and OX02 (company codes). (See also: Customizing Objects Using Address Functionality).
    thanks
    sekhar
    reward me if usefull

  • About SE11- creating customising table

    Hi,
    I have created a client dependent data dictionary table using SE11 and its delivery class is 'C'- customising table, data class is APPL2 ( Organisation and customising) , Size category is 1( 550-2200) . I have also created its table maintenance generator.
    The questions while creating data records for the above table using SM30, the transport request created is 'Workbench' Type. For customising table, is it possible  to create customising request ?
    Regards,
    Vin

    If the number of entries to be transported are less , then goto SE10
    click on the new request button , then select the second radio button
    them placethe cursor on the task and clickon the display object list button,
    then give the fllowing entries , click on add button to add new entries
    R3TR TABU  <Table Name>
    double click on ur table name , in the next screen double click on input field
    click on add button to add new entries
    there give the entries to be transported , and atlast save the request

  • Mass Maintainence for Customised table

    Hi all,
    Will anybody let me know how to maintain the Mass maintianence
    for fileds  to the customised table .
    Help me its urgent.

    Hi Madhavi,
    Just write a BDC program for the same on transaction SM30 using your Z table.
    Regards,
    Atish

  • Customise table inconsistency between ABAP Dictionary and the databas

    Hi all,
    I have encountered a problem where by, I was not able to activate a table due to inconsistency between ABAP Dictionary and the database.
    After I run the SE14--> Check Database object. It has show that there is a missing Unique Index(Primary Index) at the Database Level, but at ABAP Dictionary it is there.
    I have try to recreate the primary index at the Database level, but failed. Because one of the primary key field is been dropped from this table.
    So now, may I know how can I still make this table Active again?
    Is it save to folllow the following solution that I found on internet?
    Syntax error in SDCC, table inconsistency between ABAP Dictionary and the database, transport error 8 during the generation of ABAP Dictionary. When you call Transaction SDCC, a termination occurs due to a putative syntax error because a table is not known or active. When you check this with the ABAP dictionary (SE11), you notice, that the table is active or inactive, however it is not possible to activate it. The activation might terminate with the error message 'Inconsistency between ABAP Dictionary and database'. A check of the affected object also delivers this error.
    Solution
    Proceed as follows:
    Log on as user DDIC
    Call Transaction SE14
    Enter the affected table name and
    select EDIT
    In the following screen, choose Table -> Reconstruct
    Confirm the execution
    Call Transaction SE11
    Enter the affected table name
    Display
    Activate
    Thanks.
    CK

    I managed to solved this by
    Solution
    Proceed as follows:
    Log on as user DDIC
    Call Transaction SE14
    Enter the affected table name and
    select EDIT
    In the following screen, choose Table -> Reconstruct
    Confirm the execution
    Call Transaction SE11
    Enter the affected table name
    Display
    Activate
    Thanks.
    CK

  • Handle data type like CURR in generic table

    HI ALL
    I'm working on daynamic structure <ls_attributes>  and the values of fields are type string  lsmapping-field_value_
    here in the code i try to fill structure <ls_attributes> with acatul values from it_mapping.
    This is the code that im using
    io_node->get_attributes(
        IMPORTING
          es_attributes =  <ls_attributes>  ).
    LOOP AT it_mapping INTO ls_mapping .
        ASSIGN COMPONENT ls_mapping-tar_field OF STRUCTURE <ls_attributes>
        TO <lo_attr>.
        IF sy-subrc = 0.
          <lo_attr> = ls_mapping-field_value.
        ENDIF.
      ENDLOOP.
    the problem here that when i try to move value like 300.000.000,00 i get the following error .
    The program attempted to interpret the value "300.000.000,00" as a number, but
    since the value contravenes the rules for correct number formats,
    this was not possible.
    Any idea how can convert these string type to type like  KNA1-UMSA1  ?
    or string with value time like 04:29:31 with datatype USCHANGE-MODTI since the field is type T(6)
    and when i put there string i am getting 04:29: the second 31 is omited
    The main problem here is how to convert string with any value to
    the respective type <lo_attr> ,if its time, date, curr etc in  <ls_attributes> i get empty structure with the type of the fields (as field symbol )  
    Best regards
    Alex
    Edited by: Alex Dean on Dec 5, 2010 8:03 PM

    Hi Alex,
    SAP/ABAP works with implicit input/output conversion handled by screen processor for input and by WRITE statement for output.
    The external representation of a currency value, i.e. "1.000.000,00" (depending on user settings) is converted to internal representation ""1000000.00" by screen processor.
    If it does not go through screen, no implicit input conversion takes place and you get the dump as described.
    Editable ALV has just this problem because ALV cells are character fields of length 255. That's why SAP created a generic function module for this. The function module will determine the internal datatype of the field passed to parameter output_internal  and convert accordingly.
    In your case you should pass the currency key as well because the internal representation is different for different number of decimals.
    CALL FUNCTION 'RS_CONV_EX_2_IN'
        EXPORTING
          input_external                     = ls_mapping-field_value
          table_field                        = ls_tabfield
    *   CURRENCY                           = CURRENCY
        IMPORTING
          output_internal                    = <lo_attr>
        EXCEPTIONS
          input_not_numerical                = 1
          too_many_decimals                  = 2
          more_than_one_sign                 = 3
          ill_thousand_separator_dist        = 4
          too_many_digits                    = 5
          sign_for_unsigned                  = 6
          too_large                          = 7
          too_small                          = 8
          invalid_date_format                = 9
          invalid_date                       = 10
          invalid_time_format                = 11
          invalid_time                       = 12
          invalid_hex_digit                  = 13
          unexpected_error                   = 14
          invalid_fieldname                  = 15
          field_and_descr_incompatible       = 16
          input_too_long                     = 17
          no_decimals                        = 18
          invalid_float                      = 19
          conversion_exit_error              = 20
          OTHERS                             = 21
      IF sy-subrc = 0.
        rv_value = <inputt>.
      ENDIF.
    Regards,
    Clemens

  • Updating a Customised table

    Hi Experts,
    I am working on a requirement where if i update the records in a table it will refelct in the other table..hence i need to dispaly a message whenever a record is updated stating the same.
    For this i m using a method.
    Now here are my querries.
    In the final table the user clicks on each record and tries to update he shud not be able to update the record if the date field is not zero which i m a doing.
    but as a whole when the screen is appearing user is able to change teh values and save it.
    so please suggest and help me.
    These all i m doing in sm30.
    Thanks,
    Varun.

    In SM30 give the table name u updating... once u get in go to the screen-- flow logic-- PBO.. write ur logic .

  • Match code in customised table

    Hi,
      I created a ztable and my further requirments is for particular field  there will be a only three options that  user will enter only N ,S or D.if the user enter other than that it should show the error message "Pls enter correct word".so pls help me to do this.
      And in another field the  date field should show the system date by default.
      Pls help me to solve the issue and i will be very much thankful to all.
    Thanks,
    Regards,
    Rajendra.

    Hi,
    1)
    Do the following steps to create the include..
    GOTO SE80
    Enter the function group..
    Click the display button..
    Double click on the Function group name..
    You will get a popup to with the function group, text etc...
    In the popup press the button Main program (F5)..
    Press "Display/change" button or CTRL F1.
    Add the include in the last line of the code..
    Example..
    INCLUDE Z_INCLUDE.
    In the include add the following code..
    FORM ADD_SYSTEMDATE.
    ENDFORM.
    Save and activate the Function group.
    2)
    Go to SM30...
    Give the view name V_TVIMF.
    Press maintain button..
    You will get a popup with the following message "The table is cross-client (see Help for further info"..
    Press enter...
    You will get a popup to enter the view/table...
    Enter the ZTABLE.
    Press enter..
    Go to the change mode..
    Press new entries button..
    In the column T give 05
    In the column FORM routine give ADD_SYSTEMDATE.
    Save the entry..
    The above should work fine..
    Thanks,
    Naren

  • Customised table

    hi,
    how to make obligatory field of customized table in abap dictionary.
    plz reply me earliest
    Regards,
    Jyotsna

    Hi,
    when you create Table Maintenance Generator you will give the screen numbers.
    Go to table in the Change Mode
    then go to the table maintenance generator
    there double click on the screen number
    you will be led to flow logic
    then go to the layout and do the needful
    regards
    Prasanth

  • Modify dynamic internal table from dynamic work area using index...

    ASSIGN w_text TO <fs>.
        ASSIGN w_temp TO <fs1>.
        lint_tab_iw49[] = <tab>.
        lint_tab_iw49_t[] = <tab>.
        DELETE ADJACENT DUPLICATES FROM lint_tab_iw49 COMPARING aufnr.
        LOOP AT lint_tab_iw49 INTO lws_tab_iw49.
          READ TABLE lint_object_tab1 INTO lws_object_tab1
                        WITH KEY aufnr = lws_tab_iw49-aufnr.
          IF sy-subrc EQ 0.
    Collect operations in rows of an internal table.
            w_idx = 1.
            WHILE w_idx < 51.
              w_nn = w_idx.
              CONCATENATE 'lws_object_tab1-ZZOPERN' w_nn INTO w_xx.
              ASSIGN (w_xx) TO <fs>.
              CONCATENATE w_text <fs> INTO w_text SEPARATED BY ','.
              w_idx = w_idx + 1.
            ENDWHILE.
    Split operations into an internal table to get operations in rows.
            SPLIT w_text AT ',' INTO TABLE lint_vornr.
            DELETE lint_vornr WHERE vornr = ' '.
            DESCRIBE TABLE lint_vornr LINES w_lines.
    Collect costs in rows of an internal table
            CLEAR: w_idx, w_nn, w_xx, w_text.
            w_idx = 1.
            WHILE w_idx < 51.
              w_nn = w_idx.
              CONCATENATE 'lws_object_tab1-ZZCOST' w_nn INTO w_xx.
              ASSIGN (w_xx) TO <fs>.
              <fs1> = <fs>.
              CONCATENATE w_text <fs1> INTO w_text SEPARATED BY ','.
              w_idx = w_idx + 1.
            ENDWHILE.
    Split costs into an internal table to get costs in rows.
            SPLIT w_text AT ',' INTO TABLE lint_escost.
            DELETE lint_escost WHERE cost = ' '.
            DESCRIBE TABLE lint_escost LINES w_lines_cost.
           Append lines of lint_escost from 1 to w_lines to lint_escost1.
    Collect currencies in rows of an internal table
            CLEAR: w_idx, w_nn, w_xx, w_text.
            w_idx = 1.
            WHILE w_idx < 51.
              w_nn = w_idx.
              CONCATENATE 'lws_object_tab1-ZZCURR' w_nn INTO w_xx.
              ASSIGN (w_xx) TO <fs>.
              <fs1> = <fs>.
              CONCATENATE w_text <fs1> INTO w_text SEPARATED BY ','.
              w_idx = w_idx + 1.
            ENDWHILE.
    Split costs into an internal table to get costs in rows.
            SPLIT w_text AT ',' INTO TABLE lint_curr.
            DELETE lint_curr WHERE curr = ' '.
            DESCRIBE TABLE lint_curr LINES w_lines_curr.
           Append lines of lint_curr from 1 to w_lines to lint_curr1.
          ENDIF.
          PERFORM update_object_tab_for_iw49n.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " modify_object_tab
    *&      Form  update_object_tab_for_IW49N
          text
    -->  p1        text
    <--  p2        text
    FORM update_object_tab_for_iw49n .
      DATA: lws_temp TYPE string VALUE 'where aufnr = lws_tab_iw49-aufnr',
            lw_index TYPE sy-index.
      READ TABLE <tab> TRANSPORTING NO FIELDS WITH KEY ('AUFNR') =
      lws_tab_iw49-aufnr.
      IF sy-subrc EQ 0.
        lw_index = sy-tabix.
        LOOP AT <tab> INTO <wa1> FROM lw_index.
          IF <wa1>-aufnr NE lws_tab_iw49-aufnr.
            EXIT.
          ELSE.
            CLEAR lw_index.
           lw_index = sy-tabix.
            lw_index = 1.
            WHILE lw_index LE w_lines.
              READ TABLE lint_escost INTO lws_escost INDEX lw_index.
              IF sy-subrc EQ 0.
             lw_index = lw_index + 1.
                <wa1>-zzcost1 = lws_escost-cost.
              ENDIF.
              READ TABLE lint_curr1 INTO lws_curr INDEX lw_index.
              IF sy-subrc EQ 0.
                <wa1>-zzcurr1 = lws_curr-curr.
              ENDIF.
              MODIFY <tab> FROM <wa1> "TRANSPORTING ('ZZCOST1') ('ZZCURR1')
                        INDEX sy-tabix.
              IF sy-subrc EQ 0.
              ENDIF.
              lw_index = lw_index + 1.
            ENDWHILE.
          ENDIF.
        ENDLOOP.
      ENDIF. 
    ENDFORM.                    " update_object
    Hi,
    With referene to the code snippet above I want to modify <tab> from <wa1> on specific indices or with specific where condition.
    Is it achievable... How?
    Many thanks in advance.
    Thanks & Regards,
    Shreya

    You might have to split the code in to two parts to keep the formatting intact.

Maybe you are looking for

  • How get all released production orders

    Hi experts, I need to get all released Production Orders for a specific plant. I noticed that usually you don´t select directly from table AUFK. Most of people use function module WCFS_STTXT_GET to get the status of an order. I know that table AUFK h

  • How do I restore partial backup of File Vault protected files?

    Here's what happened. Used TM on an external drive not big enough to do a full backup of my internal drive (with File Vault protected home folder), so I excluded everything but my Documents and Photos folders. I saw TM working, I could browse through

  • ITunes alternative... I dislike iTunes.

    So I really hate iTunes, it does stuff that annoys me. But that's not discussion for this... What I'm wondering is, what else is there to use on the mac? I'm a Linux person, so on there I use a music server database with a command line client. It wor

  • Printing Special char as " u017C " in smartforms.

    Hello I want to print special charecter in smartforms as a text could you please tell me that how to do it as " ż " when i am putting this in the text element it is converting in to #. could you please help in printing this. BBye Rajesh Kumar

  • I::001 Win32 error 2 while using document bapi methods

    Dear colleagues, I'm using SAP .NET Connector for integration between .NET application and SAP System. When I try to work with standard document bapi methods like BAPI_DOCUMENT_CREATE (with defined filepath for a document in file table parameter), BA