Update J_3GLABRECH form KNA1 TABLE

Hi all,
I want to use J_3GLABRECH field (Date of Last Settlement)  in customer master data . i could not found this fiield in customer master data .while seeing customer table KNA1 there is field  J_3GLABRECH i don't know how to update this field .
Please guide me how to update   J_3GLABRECH field (Date of Last Settlement)  so i can use this field for reporting .
Thanks in advance.
Bhushi

First of all, I am not sure whether the said field exists in KNA1.  Nevertheless, first identify under which Account Group, that customer code has been created.  Next go to OBD2, select that Account Group and execute.  Double click on Field status.  There the said field would have been selected for "Supress".  Change it to Optional.
thanks
G. Lakshmipathi

Similar Messages

  • XD02 transaction to change the customer data for updating KNA1 table?

    Hi all,
    How can we use XD02 transaction to change the customer data for updating KNA1 table?
    Give the steps.
    Thanks in advance
    rk

    Hi KR,
    Why don't u use BDC to run XD02.
    With Regards,
    Zafar Ali

  • Update fields from Adobe Form to Table

    Hello,
    I want to integrate Adobe Form into Webdynpro ABAP Application in which I want to have 2 fields which need to be updated to a DB Table.
    For this first I created an Interface in Transaction SFP , added 2 import parameters of type <Table Type>-<FieldName>. Then I created a Webdynpro Component created a new I Interactive Form UI Element and binded the Context of the Form to the Interface.
    Then I added 2 fields to the form from Data View . Everything is fine but when I run the Webdynpro Application the fields are not available for Input.i.e. They are in the ReadOnly Mode.
    The 'enabled' property of the Interactive Form is checked.
    Please help.
    Any help would be highly appreciated.
    Thanks.
    Edited by: SAPEPDeveloper on Feb 7, 2011 11:45 PM

    Hi,
    The process explained is ok, but I can explain you a better way.
    1) Create the webDynpro Component first.
    2) Create the context nodes as per the requirement.
    3) From the 'integration' panel drag and drop the Interactive form UI element into the view.
    4) Bind dataSource to root context node.
    5) Check enabled property true.
    6) Give a template source name (ZName).
    7) On double clicking the template source, system will prompt you to enter the interface name. Map context node to the interface.
    8) Interface gets created automatically and the lifecycle designer gets opened.
    9) Goto the properties tab and give layout type as 'ZCI Layout'
    10) Drag and drop required fields from the data view to the layout designer.
    11) Insert webdynpro script from the Utilities
    12) Edit -> Form Properties -> Defaults -> XDP Preview Format should be dynamic
    13) Drag and drop 'Submit Button' from Library palette -> Webdynpro native controls
    On clicking the submit button at runtime you will get the control in the webdynpro submit event.
    Above all these you have to check with your basis team, that the 'usage credentials' have been applied while configuring the ADS. Go to SE38 and run the program 'FP_TEST_IA_01' and check whether it is giving an error message or not.
    Hope this Helps.
    Thanks & Regards,
    Sanoosh

  • Updating KNA1 table

    Hi all,
           There is a 'Z' field in the KNA1 table. Is there any BAPI/FM to update the Z field.
    Regards,
    Ved

    Hi,
    If you want to update the 'Z' field by using bapi function module then you have to use EXTENTIONS table in the bapi function module.In every bapi function module there is doucmentation how to use EXTENTIONS tables.If you go through these doucmentation the you will do this.
    Thanks,
    shyla

  • Problem in Updating KNA1 table fields.

    Hi,
       I have small issue , i need to block the customer while creating im using BADI(ADDRESS_UPDATE) to block the customer created.In the BADI im trying to update few fields of KNA1 table using UPDATE statement.
    Like this...
        WA_KNA1-SPERR = 'X'.
        WA_KNA1-CASSD = 'X'.
        WA_KNA1-AUFSD = '01'.
        WA_KNA1-FAKSD = '01'.
        WA_KNA1-LIFSD = '01'.
        UPDATE KNA1 SET SPERR = WA_KNA1-SPERR
                                        AUFSD = WA_KNA1-AUFSD
                                         LIFSD = WA_KNA1-LIFSD
                                       FAKSD = WA_KNA1-FAKSD
                                        CASSD  = WA_KNA1-CASSD
                    WHERE KUNNR = W_KUNNR.
    when this statement excutes it is updating
                                                                         1) SPERR
                                                                         2) AUFSD this two field remaining 3 fields it is not updating
    Can anyone pls let me know the reason .
    thanks in Adv.

    see note 1469543
    it is not possible to update kna1 directly, you must create a bim
    oops sorry see that you're question is it inside a badi and not bapi
    kind regards
    arthur
    Edited by: A. de Smidt on Jul 20, 2010 10:45 AM

  • Update of field FORM of table J_2IRG1BAL.

    Hi experts can u please tell what action will update the FORM field of the table J_2IRG1BAL . The FORM field indicates the material is PACKED or LOOSE.
    Its urgent Guys..
    Waiting For ur response...

    OP wrote:
    I have a update with a function that too update other table and return the >>quantity recalculedSFT wrote
    It is not possible to perform DML operations in PL/SQL function that is used in >>another SQLThe exact restrictions are:
    http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg10pck.htm#21790
    "When a SQL statement is run, checks are made to see if it is logically embedded within the execution of an already running SQL statement. This occurs if the statement is run from a trigger or from a function that was in turn called from the already running SQL statement. In these cases, further checks occur to determine if the new SQL statement is safe in the specific context.
    The following restrictions are enforced:
    A function called from a query or DML statement may not end the current transaction, create or rollback to a savepoint, or ALTER the system or session.
    A function called from a query (SELECT) statement or from a parallelized DML statement may not execute a DML statement or otherwise modify the database.
    A function called from a DML statement may not read or modify the particular table being modified by that DML statement.
    These restrictions apply regardless of what mechanism is used to run the SQL statement inside the function or trigger. For example:
    They apply to a SQL statement called from PL/SQL, whether embedded directly in a function or trigger body, run using the new native dynamic mechanism (EXECUTE IMMEDIATE), or run using the DBMS_SQL package.
    They apply to statements embedded in Java with SQLJ syntax or run using JDBC.
    They apply to statements run with OCI using the callback context from within an "external" C function.
    You can avoid these restrictions if the execution of the new SQL statement is not logically embedded in the context of the already running statement. PL/SQL's new autonomous transactions provide one escape
    Rgds.

  • Updating a field in KNA1 table

    Hii ABAP Gurus,
    Please help me out from the following situation....
    Will reward points for the helpfull answers.
    I have a requirement where i need to update only 1 field in KNA1 table.... for that iam using
    update kna1 set loevm = 'X' where kunnr eq wa_output-kunnr.
    But i know u people will suggest me to use BAPI. in that case i tried to use BAPI.
    (BAPI_CUSTOMER_CREATEFROMDATA1)
    I have never worked on BAPI....Can any one please help me out regarding how to use this BAPI and what to pass in and out.
    call function 'BAPI_CUSTOMER_CREATEFROMDATA1'       
         exporting                                      
              pi_personaldata     =                     
            PI_OPT_PERSONALDATA =                     
              pi_copyreference    =                     
       IMPORTING                                      
            CUSTOMERNO          =                     
            RETURN              =                     
    THANKS IN ADVANCE AND WILL REWARD POINTS FOR THE HELPFULL ANSWERS

    Hello Govardhan-
    As your requirement says to modify only one field in kna1.I dont think bapi is necessary for this just try the below code.
    Data:i_kna1 type table of kn1,
            w_kna1 type kna1.
    select ...... from kna1 into table i_kna1
                                   where kunnr EQ 'XYZ'.
    loop at i_kna1 into w_kna1.
    w_kna1-loevm  = 'X'.
    modify kna1 from w_kna1.
    endloop.
    Cheers,
    ~Srini....

  • Form on table: Using stored procedure to update?

    I have a view which joins a handful of tables. I have a PL/SQL API that contains all the necessary business logic and translations to update the tables underlying this view.
    If I use the HTMLDB wizard to create a form on this view, it would automatically generate plain INSERT/UPDATE statements for DML against the view. How can I make it use my API instead? (Yes, I can probably plug in my API in INSTEAD OF triggers on the view, but I really dont want to do that)
    [Of course, the reason I would use the built-in form-on-table wizard is to get the automatic lost-update detection, locking, etc features]
    Help? Thanks

    The wizards are there to help you build typical pages like "form based on a table", "form on based a stored procedure".
    There is no wizard for "form based on a view, using my own API for inserts, updates and delete" - but that doesn't prevent you building such a form by hand. I have built similar forms, and found it quite easy to approach it like this:
    1) use "form based on a stored procedure" to create a form based on your API insert procedure
    2) add further buttons and processes to call your API's update and delete procedures
    3) add an "on load" process to select the row from the view and populate the form for update or delete
    You need to add some logic for context-sensitivity - e.g. Update and Delete buttons only appear when in "update mode", etc.

  • Through Which Screen KNA1 Table updated

    Hi Team,
    I would like to know Tcode of that scrren Through Kna1 table is being update.
    For Examle-
    It's Not only case Of KNA1 table.  How to identify Tcode or screen through LFA1 table is being update.
    What step should be follow to know this, or can identify through Dbug mode.
    Regards
    Mohammad Arif.  

    KNA1 and LFA1 modifications generate Change Documents in the system. You can identify the "object" thru SCDO transaction or browse (SE16N) the table TCDOB. (e.g. objects DEBI and KRED)
    Then browse change document header table (CDHDR) to identify related transactions.
    Regards,
    Raymond

  • Update & upload the database table

    Hi
    I have a small issue. In which i have to Upload the data from a flat file based on primary key its a  customised table in which there are 4 primary keys. Based on this the customer numbers should be updated and on emore thing is the data should not be repeated. In the selection screen i'll provide a path based on this path it will upload all the data in the flat file
    Regards
    Nanda

    Hi,
    Below is the sample code :
    *& Report  ZCUSTOMER_MASTER_UPLOAD
    REPORT  ZCUSTOMER_MASTER_UPLOAD
           no standard page heading line-size 255.
    *include bdcrecx1.
    TABLES : T100.      "Company Codes
    *        Internal table declaration                                    *
    DATA : begin of it_customer  occurs 0,        "Internal table for creating customer
                  INDEX(4),    "Index
                  KUNNR(16),    "Customer No
                  BUKRS(4),     "Company code
                  VKORG(4),     "Sales Organization
                  VTWEG(2),     "Distribution Channel
                  SPART(2),     "Division
                  KTOKD(4),     "Account group
                  ANRED(30),    "Title
                  NAME1(35),    "Name1
                  SORTL(10),    "Search field
                  NAME2(35),    "Name2
                  NAME3(35),    "Name3
                  NAME4(35),    "Name4
                  STRAS(35),    "House and street
                  STREET2(35),
                  PFACH(10),    "PO box
                  ORT01(35),    "City
                  PSTLZ(10),    "Postal code
                  ORT02(35),    "District
                  PFORT(35),    "PO Box city
                  PSTL2(10),    "Postal code
                  LAND1(3),     "Country Key
                  REGIO(3),     "Region
                  SPRAS(2),     "Language key
                  TELX1(30),    "Telex number
                  TELF1(16),    "First telephone number
                  TELFX(30),    "Fax number
                  TELF2(16),    "Second telephone number
                  TELTX(30),    "Second telex number
                  KNURL(132),   "URL
                  STCEG(20),    "VAT Registration number
                  AKONT(10),    "Recon Account
                  ZUAWA(4),     "Sort key
                  ZTERM(4),     "Terms of payment key
                  ZWELS(10),    "List of payment methods to be considered
                  BZIRK(6),     "Sales district
    *              AWAHR(3),     "Order probability
                  VKBUR(4),     "Sales office
                  VKGRP(3),     "Sales group
                  KDGRP(2),     "Customer group
                  WAERS(5),     "Currency
                  KALKS(1),     "Pricing procedure assigned to this customer
                  VERSG(1),     "Customer statistics group
                  LPRIO(2),     "Delivery Priority
                  VWERK(4),     "Delivering Plant
    *              ANTLF(1)  VALUE 9,  "Maximum partial deliveries allowed
                  INCO1(3),     "Inco terms1
                  INCO2(28),     "Inco terms2
                  ZTERM_01(4),  "Terms of payment key
                  KTGRD(2),     "Account assignment group
                  TAXKD_01(1),  "Tax classification1
                  TAXKD_02(1),  "Tax classification2
                  er_message(100),
           end of it_customer.
    data : begin of it_customer_ext occurs 0,      "Internal table for extending customer
                  KUNNR(16),    "Customer No
                  VKORG(4),     "Sales Organization
                  VTWEG(2),     "Distribution channel
                  SPART(2),     "Division
                  KTOKD(4),     "Account group
                  BZIRK(6),     "Sales district
                  VKBUR(4),     "Sales office
                  VKGRP(3),     "Sales group
                  KDGRP(2),     "Customer group
                  WAERS(5),     "Currency
                  KALKS(1),     "Pricing procedure assigned to this customer
                  VERSG(1),     "Customer statistics group
                  LPRIO(2),     "Delivery priority
                  VWERK(4),     "Delivery plant
                  INCO1(3),     "Incoterms (part 1)
                  INCO2(28),    "Incoterms (part 2)
                  ZTERM(4),     "Terms of payment key
                  KTGRD(2),     "Account assignment group for this customer
                  TAXKD_01(1),  "Tax classification1
                  TAXKD_02(1),  "Tax classification2
            end of it_customer_ext.
    * Internal table to get the error data                                 *
    DATA : it_error like it_customer occurs 0 with header line.
    DATA : BDCDATA like BDCDATA occurs 0 with header line.
    DATA : i_msgtab like bdcmsgcoll occurs 0 with header line.
    * Internal table to find the error from the legacy data                *
    DATA : begin of it_erfind occurs 0,
                  INDEX(10),        "Index for error file
                  kunnr(16),
                  er_message(100),  "For Error Message
            end of it_erfind.
    * Variables declaration                                                *
    DATA : g_message(200),
           time(10),
           date(10)  ,
           v_error_filename like RLGRAP-FILENAME.
           date      = sy-datum.
           time      = sy-uzeit.
    *        Initialization
    initialization.
    * Generating Error file name with date and time.
      perform make_file_name.
    *        Selection Screen                                              *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    parameter: p_file like IBIPPARMS-PATH obligatory.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE text-005.
                    parameters    : pm_crt radiobutton group g1 default 'X',
                                    pm_ext radiobutton group g1.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30)  text-003.
    SELECTION-SCREEN COMMENT 33(79) text-004.
    SELECTION-SCREEN end OF LINE.
    SELECTION-SCREEN:END OF BLOCK B1.
    at selection-screen ON VALUE-REQUEST FOR p_file .
          perform get_filename.
    * Start of selection
    start-of-selection.
            perform upload_data.
            if pm_crt = 'X'.       "If Customer creation is selected
                perform fill_data_create.
            elseif pm_ext = 'X'.   "If Customer extension is selected
                perform fill_data_extension.
            endif.
    end-of-selection.
    FORM fill_data_create.
            loop at it_customer.
                        perform bdc_dynpro      using 'SAPMF02D' '0100'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'RF02D-KTOKD'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '/00'.
                        perform bdc_field       using 'RF02D-KUNNR'
                                                      it_customer-KUNNR.
                        perform bdc_field       using 'RF02D-BUKRS'
                                                      it_customer-BUKRS.
                        perform bdc_field       using 'RF02D-VKORG'
                                                      it_customer-VKORG.
                        perform bdc_field       using 'RF02D-VTWEG'
                                                      it_customer-VTWEG.
                        perform bdc_field       using 'RF02D-SPART'
                                                      it_customer-SPART.
                        perform bdc_field       using 'RF02D-KTOKD'
                                                      it_customer-KTOKD.
                         perform bdc_dynpro      using 'SAPMF02D' '0110'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNA1-KNURL'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNA1-ANRED'
                                                      it_customer-ANRED.
                        perform bdc_field       using 'KNA1-NAME1'
                                                      it_customer-NAME1.
                        perform bdc_field       using 'KNA1-SORTL'
                                                      it_customer-SORTL.
                        perform bdc_field       using 'KNA1-NAME2'
                                                      it_customer-NAME2.
                        perform bdc_field       using 'KNA1-NAME3'
                                                      it_customer-NAME3.
                        perform bdc_field       using 'KNA1-NAME4'
                                                      it_customer-NAME4.
                        perform bdc_field       using 'KNA1-STRAS'
                                                      it_customer-STRAS.
                        perform bdc_field       using 'KNA1-STREET2'
                                                      it_customer-STREET2.
                        perform bdc_field       using 'KNA1-PFACH'
                                                      it_customer-PFACH.
                        perform bdc_field       using 'KNA1-ORT01'
                                                      it_customer-ORT01.
                        perform bdc_field       using 'KNA1-PSTLZ'
                                                      it_customer-PSTLZ.
                        perform bdc_field       using 'KNA1-ORT02'
                                                      it_customer-ORT02.
                        perform bdc_field       using 'KNA1-PFORT'
                                                      it_customer-PFORT.
                        perform bdc_field       using 'KNA1-PSTL2'
                                                      it_customer-PSTL2.
                        perform bdc_field       using 'KNA1-LAND1'
                                                      it_customer-LAND1.
                        perform bdc_field       using 'KNA1-REGIO'
                                                      it_customer-REGIO.
                        perform bdc_field       using 'KNA1-SPRAS'
                                                      it_customer-SPRAS.
                        perform bdc_field       using 'KNA1-TELX1'
                                                      it_customer-TELX1.
                        perform bdc_field       using 'KNA1-TELF1'
                                                      it_customer-TELF1.
                        perform bdc_field       using 'KNA1-TELFX'
                                                      it_customer-TELFX.
                        perform bdc_field       using 'KNA1-TELF2'
                                                      it_customer-TELF2.
                        perform bdc_field       using 'KNA1-TELTX'
                                                      it_customer-TELTX.
                        perform bdc_field       using 'KNA1-KNURL'
                                                      it_customer-KNURL.
                        if it_customer-KTOKD = 'Z002' or
                           it_customer-KTOKD = 'Z003' or
                           it_customer-KTOKD = 'Z004' or
                           it_customer-KTOKD = 'Z005' or
                           it_customer-KTOKD = 'Z006' or
                           it_customer-KTOKD = 'Z007'.
                           perform customer_001.
                        elseif it_customer-KTOKD = 'Z011'.
                           perform customer_002.
                        else.
                           perform customer_003.
                        endif.
                        perform bdc_transaction tables i_msgtab using 'XD01' 'A' 'L' .
    *        To fetch the error message from the standard error table
                    select  single * from T100 where SPRSL = 'E'
                                               and ARBGB = SY-MSGID
                                               and MSGNR = SY-MSGNO.
                                               G_MESSAGE = T100-TEXT.
    *        subroutine to change the error message for every document number
                    perform REPLACE_PARAMETERS  using SY-MSGV1
                                                      SY-MSGV2
                                                      SY-MSGV3
                                                      SY-MSGV4
                                            changing  G_MESSAGE.
                     write: / 'System variables:'.
                     skip.
                     write: / '        Sy-msgty:', SY-MSGTY.
                     write: / '        Sy-msgid:', SY-MSGID.
                     write: / '        Sy-msgno:', SY-MSGNO.
                     write: / '        Sy-msgv1:', SY-MSGV1.
                     write: / '        Sy-msgv2:', SY-MSGV2.
                     write: / '        Sy-msgv3:', SY-MSGV3.
                     write: / '        Sy-msgv4:', SY-MSGV4.
                     skip.
                     write: / 'Message:'.
                     skip.
                     write: / SY-MSGTY, G_MESSAGE.
    *        To find out the error in the legacy data if there is anything and pass
    *        the document no with error message to the seperate internal table
    *        called it_erfind
                    if sy-msgty = 'E'.
                          it_erfind-index = it_customer-index.
                          it_erfind-er_message = G_MESSAGE.
                          append it_erfind.
                    endif.
    *        Finally we are segregating the error and downloading the error data.
                  at last.
    *        To segregate the error
                           perform segregate_error.
    *        To download the error from it_error internal table with err mesg
                           perform error_download.
                           perform display_message.
                  endat.
            endloop.
            clear it_customer.
    ENDFORM.
    FORM fill_data_extension.
        loop at it_customer_ext.
                perform bdc_dynpro      using 'SAPMF02D' '0107'.
                perform bdc_field       using 'BDC_CURSOR'
                                              'RF02D-KTOKD'.
                perform bdc_field       using 'BDC_OKCODE'
                                              '/00'.
                perform bdc_field       using 'RF02D-KUNNR'
                                              it_customer_ext-KUNNR.
                perform bdc_field       using 'RF02D-VKORG'
                                              it_customer_ext-VKORG.
                perform bdc_field       using 'RF02D-VTWEG'
                                              it_customer_ext-VTWEG.
                perform bdc_field       using 'RF02D-SPART'
                                              it_customer_ext-SPART.
                perform bdc_field       using 'RF02D-KTOKD'
                                              it_customer_ext-KTOKD.
                if it_customer_ext-KTOKD = 'Z002' or
                   it_customer_ext-KTOKD = 'Z003' or
                   it_customer_ext-KTOKD = 'Z004' or
                   it_customer_ext-KTOKD = 'Z005' or
                   it_customer_ext-KTOKD = 'Z006' or
                   it_customer_ext-KTOKD = 'Z007' or
                   it_customer_ext-KTOKD = 'Z011'.
                           perform customer_extension_001.
                else.
                           perform customer_extension_002.
                endif.
                perform bdc_transaction tables i_msgtab using 'VD01' 'N' 'L' .
    *        To fetch the error message from the standard error table
                    select  single * from T100 where SPRSL = 'E'
                                               and ARBGB = SY-MSGID
                                               and MSGNR = SY-MSGNO.
                                               G_MESSAGE = T100-TEXT.
    *        subroutine to change the error message for every document number
                    perform REPLACE_PARAMETERS  using SY-MSGV1
                                                      SY-MSGV2
                                                      SY-MSGV3
                                                      SY-MSGV4
                                            changing  G_MESSAGE.
                     write: / 'System variables:'.
                     skip.
                     write: / '        Sy-msgty:', SY-MSGTY.
                     write: / '        Sy-msgid:', SY-MSGID.
                     write: / '        Sy-msgno:', SY-MSGNO.
                     write: / '        Sy-msgv1:', SY-MSGV1.
                     write: / '        Sy-msgv2:', SY-MSGV2.
                     write: / '        Sy-msgv3:', SY-MSGV3.
                     write: / '        Sy-msgv4:', SY-MSGV4.
                     skip.
                     write: / 'Message:'.
                     skip.
                     write: / SY-MSGTY, G_MESSAGE.
    *        To find out the error in the legacy data if there is anything and pass
    *        the document no with error message to the seperate internal table
    *        called it_erfind
                    if sy-msgty = 'E'.
                           it_erfind-kunnr = it_customer_ext-kunnr.
                           it_erfind-er_message = G_MESSAGE.
                           append it_erfind.
                    endif.
    *        Finally we are segregating the error and downloading the error data.
                  at last.
    *        To segregate the error
                           perform segregate_error.
    *        To download the error from it_error internal table with err mesg
                           perform error_download.
                           perform display_message.
                  endat.
            endloop.
            clear it_customer_ext.
    ENDFORM.
    *This subroutine is used to fill the data for the Account groups
    *Z002,Z003,Z004,Z005,Z006 AND Z007
    FORM customer_001.
              perform bdc_dynpro      using 'SAPMF02D' '0120'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNA1-TXJCD'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_dynpro      using 'SAPMF02D' '0360'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVK-NAMEV(01)'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_dynpro      using 'SAPMF02D' '0310'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVV-VERSG'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_field       using 'KNVV-BZIRK'
                                            it_customer-BZIRK.
              perform bdc_field       using 'KNVV-VKBUR'
                                            it_customer-VKBUR.
              perform bdc_field       using 'KNVV-VKGRP'
                                            it_customer-VKGRP.
              perform bdc_field       using 'KNVV-VERSG'
                                            it_customer-VERSG.
              perform bdc_dynpro      using 'SAPMF02D' '0324'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVP-PARVW(01)'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=UPDA'.
    *          perform bdc_transaction using 'XD01'.
    ENDFORM.
    *This subroutine is used to fill the data for the Account group Z011
    FORM customer_002.
              perform bdc_dynpro      using 'SAPMF02D' '0120'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNA1-LIFNR'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_dynpro      using 'SAPMF02D' '0125'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNA1-NIELS'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_dynpro      using 'SAPMF02D' '0130'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNBK-BANKS(01)'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_dynpro      using 'SAPMF02D' '0340'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'RF02D-KUNNR'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_dynpro      using 'SAPMF02D' '0370'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'RF02D-KUNNR'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_field       using 'KNA1-CIVVE'
                                            'X'.
              perform bdc_dynpro      using 'SAPMF02D' '0360'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVK-NAMEV(01)'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_dynpro      using 'SAPMF02D' '0310'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVV-VERSG'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_field       using 'KNVV-BZIRK'
                                            it_customer-BZIRK.
              perform bdc_field       using 'KNVV-VERSG'
                                            it_customer-VERSG.
              perform bdc_dynpro      using 'SAPMF02D' '0324'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVP-PARVW(01)'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=UPDA'.
    ENDFORM.
    *This subroutine is used to fill the data for the Account groups
    *Z020,Z021,Z022,Z023,Z200,Z201.
    FORM customer_003.
                        perform bdc_dynpro      using 'SAPMF02D' '0120'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNA1-STCEG'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNA1-STCEG'
                                                      it_customer-STCEG.
                        perform bdc_dynpro      using 'SAPMF02D' '0125'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNA1-NIELS'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_dynpro      using 'SAPMF02D' '0130'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNBK-BANKS(01)'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_dynpro      using 'SAPMF02D' '0340'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'RF02D-KUNNR'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_dynpro      using 'SAPMF02D' '0370'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'RF02D-KUNNR'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNA1-CIVVE'
                                                      'X'.
                        perform bdc_dynpro      using 'SAPMF02D' '0360'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNVK-NAMEV(01)'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_dynpro      using 'SAPMF02D' '0210'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNB1-KNRZE'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNB1-AKONT'
                                                      it_customer-AKONT.
                        perform bdc_field       using 'KNB1-ZUAWA'
                                                      it_customer-ZUAWA.
                        perform bdc_dynpro      using 'SAPMF02D' '0215'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNB1-ZWELS'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNB1-ZTERM'
                                                      it_customer-ZTERM.
                        perform bdc_field       using 'KNB1-ZWELS'
                                                      it_customer-ZWELS.
                        perform bdc_dynpro      using 'SAPMF02D' '0220'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNB5-MAHNA'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_dynpro      using 'SAPMF02D' '0230'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNB1-VRSNR'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_dynpro      using 'SAPMF02D' '0610'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'RF02D-KUNNR'.
                        perform bdc_dynpro      using 'SAPMF02D' '0310'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNVV-VERSG'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNVV-BZIRK'
                                                      it_customer-BZIRK.
    *                    perform bdc_field       using 'KNVV-AWAHR'
    *                                                  it_customer-AWAHR.
                        perform bdc_field       using 'KNVV-VKBUR'
                                                      it_customer-VKBUR.
                        perform bdc_field       using 'KNVV-VKGRP'
                                                      it_customer-VKGRP.
                        perform bdc_field       using 'KNVV-KDGRP'
                                                      it_customer-KDGRP.
                        perform bdc_field       using 'KNVV-WAERS'
                                                      it_customer-WAERS.
                        perform bdc_field       using 'KNVV-KALKS'
                                                      it_customer-KALKS.
                        perform bdc_field       using 'KNVV-VERSG'
                                                      it_customer-VERSG.
                        perform bdc_dynpro      using 'SAPMF02D' '0315'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNVV-VWERK'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNVV-LPRIO'
                                                      it_customer-LPRIO.
    *                    perform bdc_field       using 'KNVV-KZAZU'
    *                                                  'X'.
                        perform bdc_field       using 'KNVV-VWERK'
                                                      it_customer-VWERK.
    *                    perform bdc_field       using 'KNVV-ANTLF'
    *                                                  it_customer-ANTLF.
                        perform bdc_dynpro      using 'SAPMF02D' '0320'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNVV-KTGRD'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNVV-INCO1'
                                                      it_customer-INCO1.
                        perform bdc_field       using 'KNVV-INCO2'
                                                      it_customer-INCO2.
                        perform bdc_field       using 'KNVV-ZTERM'
                                                      it_customer-ZTERM_01.
                        perform bdc_field       using 'KNVV-KTGRD'
                                                      it_customer-KTGRD.
                        perform bdc_dynpro      using 'SAPMF02D' '1350'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNVI-TAXKD(02)'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=VW'.
                        perform bdc_field       using 'KNVI-TAXKD(01)'
                                                      it_customer-TAXKD_01.
                        perform bdc_field       using 'KNVI-TAXKD(02)'
                                                      it_customer-TAXKD_02.
                        perform bdc_dynpro      using 'SAPMF02D' '0324'.
                        perform bdc_field       using 'BDC_CURSOR'
                                                      'KNVP-PARVW(01)'.
                        perform bdc_field       using 'BDC_OKCODE'
                                                      '=UPDA'.
    *                   perform bdc_transaction using 'XD01'.
    ENDFORM.
    FORM customer_extension_001.
              perform bdc_dynpro      using 'SAPMF02D' '0310'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVV-VERSG'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=VW'.
              perform bdc_field       using 'KNVV-BZIRK'
                                            it_customer_ext-BZIRK.
              if not it_customer_ext-KTOKD = 'Z011'.
                    perform bdc_field       using 'KNVV-VKBUR'
                                                  it_customer_ext-VKBUR.
                    perform bdc_field       using 'KNVV-VKGRP'
                                                  it_customer_ext-VKGRP.
              endif.
                    perform bdc_field       using 'KNVV-VERSG'
                                                  it_customer_ext-VERSG.
              perform bdc_dynpro      using 'SAPMF02D' '0324'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'KNVP-PARVW(01)'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '=UPDA'.
    ENDFORM.
    FORM customer_extension_002.
                perform bdc_dynpro      using 'SAPMF02D' '0310'.
                perform bdc_field       using 'BDC_CURSOR'
                                              'KNVV-VERSG'.
                perform bdc_field       using 'BDC_OKCODE'
                                              '=VW'.
                perform bdc_field       using 'KNVV-BZIRK'
                                              it_customer_ext-BZIRK.
    *            perform bdc_field       using 'KNVV-AWAHR'
    *                                          '100'.
                perform bdc_field       using 'KNVV-VKBUR'
                                              it_customer_ext-VKBUR.
                perform bdc_field       using 'KNVV-VKGRP'
                                              it_customer_ext-VKGRP.
                perform bdc_field       using 'KNVV-KDGRP'
                                              it_customer_ext-KDGRP.
                perform bdc_field       using 'KNVV-WAERS'
                                              it_customer_ext-WAERS.
                perform bdc_field       using 'KNVV-KALKS'
                                              it_customer_ext-KALKS.
                perform bdc_field       using 'KNVV-VERSG'
                                              it_customer_ext-VERSG.
                perform bdc_dynpro      using 'SAPMF02D' '0315'.
                perform bdc_field       using 'BDC_CURSOR'
                                              'KNVV-VWERK'.
                perform bdc_field       using 'BDC_OKCODE'
                                              '=VW'.
                perform bdc_field       using 'KNVV-LPRIO'
                                              it_customer_ext-LPRIO.
    *            perform bdc_field       using 'KNVV-KZAZU'
    *                                          'X'.
                perform bdc_field       using 'KNVV-VWERK'
                                              it_customer_ext-VWERK.
    *            perform bdc_field       using 'KNVV-ANTLF'
    *                                          '9'.
                perform bdc_dynpro      using 'SAPMF02D' '0320'.
                perform bdc_field       using 'BDC_CURSOR'
                                              'KNVV-KTGRD'.
                perform bdc_field       using 'BDC_OKCODE'
                                              '=VW'.
                perform bdc_field       using 'KNVV-INCO1'
                                              it_customer_ext-INCO1.
                perform bdc_field       using 'KNVV-INCO2'
                                              it_customer_ext-INCO2.
                perform bdc_field       using 'KNVV-ZTERM'
                                              it_customer_ext-ZTERM.
                perform bdc_field       using 'KNVV-KTGRD'
                                              it_customer_ext-KTGRD.
                perform bdc_dynpro      using 'SAPMF02D' '1350'.
                perform bdc_field       using 'BDC_CURSOR'
                                              'RF02D-KUNNR'.
                perform bdc_field       using 'BDC_OKCODE'
                                              '=VW'.
                perform bdc_dynpro      using 'SAPMF02D' '0324'.
                perform bdc_field       using 'BDC_CURSOR'
                                              'KNVP-PARVW(01)'.
                perform bdc_field       using 'BDC_OKCODE'
                                              '=UPDA'.
    ENDFORM.
    *Subrotine to replace the parameters
        FORM REPLACE_PARAMETERS USING P_PAR_1 P_PAR_2 P_PAR_3
                                      P_PAR_4 CHANGING P_MESSAGE.
    * erst mal pruefen, ob numerierte Parameter verwendet wurden
        DO.
              REPLACE '&1' WITH P_PAR_1 INTO P_MESSAGE.
              IF SY-SUBRC <> 0.
                EXIT.
              ENDIF.
        ENDDO.
        DO.
              REPLACE '&2' WITH P_PAR_2 INTO P_MESSAGE.
              IF SY-SUBRC <> 0.
                EXIT.
              ENDIF.
        ENDDO.
        DO.
              REPLACE '&3' WITH P_PAR_3 INTO P_MESSAGE.
              IF SY-SUBRC <> 0.
                EXIT.
              ENDIF.
        ENDDO.
        DO.
              REPLACE '&4' WITH P_PAR_4 INTO P_MESSAGE.
              IF SY-SUBRC <> 0.
                EXIT.
              ENDIF.
        ENDDO.
    * falls keine numerierten Parameter vorh., ersetzen wie gehabt
              REPLACE '&' WITH P_PAR_1 INTO P_MESSAGE.
              CONDENSE P_MESSAGE.
              IF SY-SUBRC EQ 0.
                REPLACE '&' WITH P_PAR_2 INTO P_MESSAGE.
                CONDENSE P_MESSAGE.
                    IF SY-SUBRC EQ 0.
                        REPLACE '&' WITH P_PAR_3 INTO P_MESSAGE.
                        CONDENSE P_MESSAGE.
                        IF SY-SUBRC EQ 0.
                          REPLACE '&' WITH P_PAR_4 INTO P_MESSAGE.
                          CONDENSE P_MESSAGE.
                        ENDIF.
                    ENDIF.
              ENDIF.
    ENDFORM.
    *Subroutine to segregate the error data from the legacy data
              FORM segregate_error.
                loop at it_erfind.
                     if pm_crt = 'X'.
                             loop at it_customer where index = it_erfind-index.
                                   move-corresponding it_customer to it_error.
                                   it_error-er_message = it_erfind-er_message.
                                   append it_error.
                             endloop.
                     elseif pm_ext = 'X'.
                             loop at it_customer_ext where kunnr = it_erfind-kunnr.
                                   move-corresponding it_customer_ext to it_error.
                                   it_error-er_message = it_erfind-er_message.
                                   append it_error.
                             endloop.
                     endif.
                endloop.
              ENDFORM.
    *Subroutine to download the error data from the it_error table.
          FORM error_download.
              if it_error[] is not initial.
                  call function 'WS_DOWNLOAD'
                       exporting
                          CODEPAGE = 'IBM'
                          FILENAME = v_error_filename
                          FILETYPE = 'DAT'
                  tables
                          DATA_TAB = IT_ERROR.
              endif.
          ENDFORM.
    *        Start new screen                                              *
          FORM BDC_DYNPRO USING PROGRAM DYNPRO.
                CLEAR BDCDATA.
                BDCDATA-PROGRAM  = PROGRAM.
                BDCDATA-DYNPRO   = DYNPRO.
                BDCDATA-DYNBEGIN = 'X'.
                APPEND BDCDATA.
          ENDFORM.
    *        Insert field                                                  *
          FORM BDC_FIELD USING FNAM FVAL.
    *          IF FVAL <> NODATA.
               CLEAR BDCDATA.
               BDCDATA-FNAM = FNAM.
               BDCDATA-FVAL = FVAL.
               APPEND BDCDATA.
    *          ENDIF.
          ENDFORM.
          FORM bdc_transaction tables MESSTAB USING  TCODE CTUMODE CUPDATE .
                  CALL TRANSACTION TCODE USING BDCDATA
                                        MODE   CTUMODE
                                        UPDATE CUPDATE
                                        MESSAGES INTO MESSTAB.
                  REFRESH BDCDATA.
                  clear   BDCDATA.
           ENDFORM.                    " bdc_transaction
    * Uploading data file to internal table.                           *
           FORM upload_data.
               if pm_crt = 'X'.
                      CALL FUNCTION 'WS_UPLOAD'
                          EXPORTING
                             FILENAME                      = p_file
    *                         CODEPAGE                      = 'IBM '
                             FILETYPE                      = 'DAT'
                          TABLES
                              DATA_TAB                      = it_customer
                          EXCEPTIONS
                             CONVERSION_ERROR              = 1
                             INVALID_TABLE_WIDTH           = 2
                             INVALID_TYPE                  = 3
                             NO_BATCH                      = 4
                             UNKNOWN_ERROR                 = 5
                             GUI_REFUSE_FILETRANSFER       = 6
                             OTHERS                        = 7.
                      IF SY-SUBRC <> 0.
                         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                      ENDIF.
              elseif pm_ext = 'X'.
                          CALL FUNCTION 'WS_UPLOAD'
                          EXPORTING
                             FILENAME                      = p_file
    *                         CODEPAGE                      = 'IBM '
                             FILETYPE                      = 'DAT'
                          TABLES
                              DATA_TAB                      = it_customer_ext
                          EXCEPTIONS
                             CONVERSION_ERROR              = 1
                             INVALID_TABLE_WIDTH           = 2
                             INVALID_TYPE                  = 3
                             NO_BATCH                      = 4
                             UNKNOWN_ERROR                 = 5
                             GUI_REFUSE_FILETRANSFER       = 6
                             OTHERS                        = 7.
                      IF SY-SUBRC <> 0.
                         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                      ENDIF.
              endif.
    {size:13}Here you can use sort and delete statement to delete the duplicate entries.{size}
          ENDFORM.
    *&      Form  display_message
    FORM display_message .
        if it_error[] is initial.
           message i019(zmsg).   "Success
        else.
           message e020(zmsg).   "Failed
        endif.
    ENDFORM.                    " display_message
    *&      Form  get_filename
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_filename .
        CALL FUNCTION 'F4_FILENAME'
         EXPORTING
           PROGRAM_NAME        = SYST-CPROG
           DYNPRO_NUMBER       = SYST-DYNNR
    *       FIELD_NAME          = p_file
         IMPORTING
           FILE_NAME           = p_file .
         if sy-subrc NE 0  .
            write : / 'Enter File Name'.
         endif.
    ENDFORM.                    " get_filename
    *&      Form  make_file_name
    FORM make_file_name .
           write sy-datum to date  MM/DD/YYYY.
           write sy-uzeit to time  USING EDIT MASK ' __ __ __'.
           concatenate Text-002 date time '.txt'
                  into v_error_filename.
    ENDFORM.                    " make_file_name
    Thanks,
    Sriram Ponna.

  • Is it possible to update attributes in all tables in a multi entity view

    Hi I have a view based on 4 entities, all of which are a 3 of which are 1 to many relationship with the 4th. The 3 additional entities have 2 or 3 attributes, Id, name, and one entity has a foreign key relating to a different table which I do not care about. The IDs are all updatable in the entity, and none of them are generated from a sequence but are inserted manually, except for the 4th (Master?) which is generated from a sequence.
    I create the view and all the entities are updatable, but in the view when I go to attributes from the other tables, it says updatable never and is grayed out so I cannot change it, even though in the entities tab, it is updatable always.
    So I was wondering if this was possible to do???

    I do not understand really, if it is 2 different tables, it is 2 different primary keys. Why would this even happen? What does it matter if EmployeeID and DepartmentID is both 1??? It just seems that there has to be a simpler way to do this but ok.
    So I go to the AppModule, Java tab and go generate Java class. The original code was
    public ViewObjectImpl getObjektiCRUDView1()
    return (ViewObjectImpl)findViewObject("ObjektiCRUDView1");
    I then copy your code to the best of my limited knowledge and get this
    public ViewObjectImpl getObjektiCRUDView1()
    this.getObjektiCRUDView1().executeEmptyRowSet();
    {Row yourRow = this.getObjektiCRUDView1().createRow();
    this.getObjektiCRUDView1().insertRow(yourRow );
            return (ViewObjectImpl)findViewObject("ObjektiCRUDView1");
    On the first row the getObjektiCRUDView1() is underlined and it says missing method body or declare as abstract.
    I know I did something wrong here but I have no idea what as I am not very good with Java
    Also it is not a jsf page, I create a single jspx page and divided it using the panel splitter so on one side we have an adf table for updating the Objekti database table, and on the other side I have an adf form for updating the Positions table (and later on other tables, I hope to have many forms there)
    Edited by: Dino2dy on Jun 10, 2010 12:02 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report".
    1) I pick my table
    2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
    3) Do not use tabs. Next->
    4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
    5) choose standard edit link. next->
    6) Specify a page of 951 for the form (leave others defaults). next->
    7) Set the form primary key (defined in table). next->
    8) use existing trigger. next->
    9) choose all columns for the form. next->
    10) Leave actions to insert, update, delete. next->
    11) Get to the summary page and click Finish
    Then I get an error page saying:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
    If I go back to step 4 and erase my where clause the wizard completes successfully.
    Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
    It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
    Workaround(s):
    1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
    or
    2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
    Apex: 3.2.0.00.27
    Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)

    Andy,
    It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
    Scott

  • Automatic update of form

    I have a problem with form. suppose there is a table. this table is related with stock exchange data. stock exchange data updates after every second or two seconds. Now i need when the data of this table become update the form should be update automatically. can it possible without timer
    thanks

    Well a timer is the simplest way and re-query the data - although a timer can involve additional network traffic that you might not want.
    There is a decent PJC that Frank wrote that you might be able to extend and use instead of a timer - this Pjc works as a seperate thread in jInitiator so ensures no network traffic.
    The PJC is the Timeout one available from the downloadable demos.
    Hope this helps
    Regards,
    Bren

  • Updating model for pivot table in af:iterator

    Using Master Detail relationship, i am trying to create multiple forms at runtime. I want to show all the forms at once. Each form has some header fields and a pivot table. Header field is coming from master table and pivot table should be made from child.
    I am using af:iterator to iterate over master table rows and show header:
    <af:iterator id="i1"
                value="#{bindings.MasterTableVO.collectionModel}" var="row"
                varStatus="index"> For pivot table, i dragged Child View Object from Data Controls to make pivot table.
    <dvt:pivotTable id="pivotTable1"
              value="#{bindings.ChildTableVO.pivotTableModel}"
              summary="pivot table" sizing="auto"
              pivotEnabled="false" drillingEnabled="false"/>                                    Now while iterating, i am not able to get updated model for pivot table. Values from Master table are being updated, but pivot table from child table showing details corresponding to the first row of master table everywhere.
    So can you please help me, how to get the updated pivot table model corresponding to the current row in parent iterator ?
    I am using JDeveloper 11.1.1.6.0
    Thank You.
    VS

    Hi Aswini ,
    I didnot worked for me. I need to change the usecase a bit..
    however you can eaisly display the af:table inside iterator in readonly mode, but when you perform crud operations inline then it gives problems..
    Can you explain your usecase.
    Regards,
    Santosh.

  • Invalid number error with Form on table page

    We used the "Form on Table..." wizard to create a simple page to update the SCOTT.EMP table. When we submit the page we get the ORA-01722: invalid number error. When I view the data in the WWV_FLOW_DATA view in the FLOWS_010500 schema, I can see all the data from our form in long format with the actual values that were submitted. But I can not track down where this error is coming from.

    James,
    What data did you enter in each field? Could it be as simple as you tried to enter character data into the deptno column?
    Sergio

Maybe you are looking for

  • Can I use multiple sa-ns500 on the same network?

    Is it possible to use multiple sa-ns500 speakers on the same network?  they seem to want to have the same name on the network and therefore only 1 will connect at a time?  Can I rename one somehow?  Thanks!

  • Best shortest path algorithm ??

    Hi I am developing an application to guide a user from one point to another. I need to work out the shortest path between these two points. Is Dijkstra's algorithm the best to use? or should I be looking for a different one? I am looking for speed. T

  • Installing iDVD from a disk

    Hi all, I recently put together a startup drive with OSX Lion. I wanted to be able to install iDVD with the rest of the iLife softwares and it is no longer available. I saw a suggestion in these forums to purchase an iLife '11 install disk and instal

  • VA1, Smart form

    Hi, I am working on Ecc6.0 version. I want to make changes to the standard smartform for sales order. can some tell me the steps to do that. Thanks in advance.

  • How to get Physical Address and Volume Serial number of system

    Hi Experts, Is there any method or FM by which I can get System's Physical Address and Volume Serial Number ? I want to validate a report specific to a system. Regards, Nitin Karamchandani. Edited by: Nitin Karamchandani on Dec 30, 2009 2:36 PM