Doubts with already developed code

Hi,
can anyone see the the following code and answer my questions
    call method g_grid->set_table_for_first_display
     exporting
   I_BYPASSING_BUFFER            =
   I_BUFFER_ACTIVE               =
   I_CONSISTENCY_CHECK           =
   I_STRUCTURE_NAME              =
   IS_VARIANT                    =
   I_SAVE                        =
   I_DEFAULT                     = 'X'
         is_layout                     = g_layout
   IS_PRINT                      =
   IT_SPECIAL_GROUPS             =
    it_toolbar_excluding          = pt_exclude
   IT_HYPERLINK                  =
   IT_ALV_GRAPHICS               =
      changing
        it_outtab                     =  itab
        it_fieldcatalog               = fieldcat
   IT_SORT                       =
   IT_FILTER                     =
      exceptions
        invalid_parameter_combination = 1
        program_error                 = 2
        too_many_lines                = 3
        others                        = 4
What 's the purpose of this piece of code
   create object event_receiver.
    set handler event_receiver->handle_user_command for g_grid.
    set handler event_receiver->handle_toolbar for g_grid.
   call method g_grid->set_toolbar_interactive.
  endif.                               "IF grid1 IS INITIAL
  call method cl_gui_control=>set_focus exporting control = g_grid.
1)when the control is here   set handler event_receiver->handle_user_command for g_grid  does it trigger the method
handle_user_command.
2)And similarily when the control is here     set handler event_receiver->handle_toolbar for g_grid does it trigger
  method handle_toolbar.
3) whats the purpose of this    call method g_grid->set_toolbar_interactive.
Thanks

Hi NAVEEN,
Thanks for the reply
I HAVE COUPLE MORE QUESTIONS
QUESTION 1) when the control is here set handler event_receiver->handle_toolbar for g_grid does it trigger method handle_toolbar.
CAN YOU TELL ME WHEN THIS METHOD GETS TRIGGERED
QUESTION2)
tHIS IS MY PIECE OF CODE
method handle_toolbar.
    clear ls_toolbar.
    move 3 to ls_toolbar-butn_type.
    append ls_toolbar to e_object->mt_toolbar.
    clear ls_toolbar.
    move 'TEST' to ls_toolbar-function.
    move 'TEST '(112) to ls_toolbar-text.
    move ' ' to ls_toolbar-disabled.
    append ls_toolbar to e_object->mt_toolbar.
    if flag = 'X'. -
THIS IS IMP
      loop at e_object->mt_toolbar into ls_toolbar.
        if ls_toolbar-function = 'TEST'.
          ls_toolbar-disabled = 'X'.----
THIS IS IMP
          modify e_object->mt_toolbar from ls_toolbar.
        endif.
      endloop.
    endif.
  endmethod.
  method handle_user_command.
    case e_ucomm.
      when 'TEST'.
        call method g_grid->get_selected_rows
                 importing et_index_rows = lt_rows.
        call method cl_gui_cfw=>flush.
        if sy-subrc ne 0.
        else.
          FLAG = 'X'.   " TO DISABLE THE BUTTON TEST  -
THIS IS IMP
  PERFORM CHANGE_OUTPUTTABLE.  "hERE IAM DELETING SOME RECORDS IN OUT PUT TABLE
(HERE I NEED TO DELETE SOME RECORDS AND DISABLE THE BUTTON TEST)
         g_layout-grid_title = 'Check ESOMETHING ELSEs' .
          call method g_grid->refresh_table_display.   
        endif.
    endcase.
  endmethod.       
SO WHEN I CALL         call method g_grid->refresh_table_display.     DOES THE CONTROL AGAIN GOES TO method handle_toolbar.
BECAUSE THATS WHERE THE CODE TO DISABLE THE BUTTON IS RIGHT.
SO WHENI CALL call method g_grid->refresh_table_display. DOES IT AGAIN GOES THRU ALL EVENT HANDLERS AGAIN
let me know
Thanks
Suchitra

Similar Messages

  • Doubt with generation of code WD ABAP Using Wizard

    Dear Experts.
    I am reading documentation, Wikis, etc for WD ABAP.
    Web Dynpro for ABAP: Tutorials for Beginners [original link is broken]
    However my doubt is in this moment when I am generating the code using the Wizard. For example:
    In this moment I am creating an application of example using:
    Using Select-Options in Web Dynpro for ABAP.
    However I want know how is generated this code:
    METHOD WDDOINIT .
      DATA: LT_RANGE_TABLE TYPE REF TO DATA,
            RT_RANGE_TABLE TYPE REF TO DATA,
            READ_ONLY TYPE ABAP_BOOL,
            TYPENAME TYPE STRING.
      DATA: LR_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER,
            L_REF_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
    * create the used component
      L_REF_CMP_USAGE = WD_THIS->WD_CPUSE_SELECT_OPTIONS( ).
      IF L_REF_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
        L_REF_CMP_USAGE->CREATE_COMPONENT( ).
      ENDIF.
      WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS->WD_CPIFC_SELECT_OPTIONS( ).
    * init the select screen
      WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS->INIT_SELECTION_SCREEN( ).
      WD_THIS->M_HANDLER->SET_GLOBAL_OPTIONS(
                                  I_DISPLAY_BTN_CANCEL  = ABAP_FALSE
                                  I_DISPLAY_BTN_CHECK   = ABAP_FALSE
                                  I_DISPLAY_BTN_RESET   = ABAP_FALSE
                                  I_DISPLAY_BTN_EXECUTE = ABAP_FALSE ).
    * create a range table that consists of this new data element
      LT_RANGE_TABLE = WD_THIS->M_HANDLER->CREATE_RANGE_TABLE( I_TYPENAME = 'S_CARR_ID' ).
    * add a new field to the selection
      WD_THIS->M_HANDLER->ADD_SELECTION_FIELD( I_ID = 'S_CARR_ID'
      IT_RESULT = LT_RANGE_TABLE I_READ_ONLY = READ_ONLY ).
    ENDMETHOD.
    The page of example is:
    Moderator Message: Illegal external link removed.
    Remove the * in the page of above
    Anyone can help me with suggestions.
    I want learn WD ABAP.
    Regards
    Carmen G
    Edited by: Thomas Jung on Jan 5, 2011 1:02 PM

    >This code is generate with Wizard?
    Probably not, but what difference does it make either way.
    >How I know the that do this methods?
    What?  I have no idea what you are asking.
    If you just want to know what these lines of code are doing, here is an explanation.
    WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS->WD_CPIFC_SELECT_OPTIONS( ).
    This line of code is storing an object reference to the Selection Options Component Interface (necessary for accesing interface methods of the reuable select-options component).
      WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS->INIT_SELECTION_SCREEN( ).
    Using the reference to the component interface from the first line of code, this line now calls a method of the selection option component that initializes the selection screen.  It returns an object reference to the select option handler.  This handler object can be used to set options of the selection screen.
      WD_THIS->M_HANDLER->SET_GLOBAL_OPTIONS(
                                  I_DISPLAY_BTN_CANCEL  = ABAP_FALSE
                                  I_DISPLAY_BTN_CHECK   = ABAP_FALSE
                                  I_DISPLAY_BTN_RESET   = ABAP_FALSE
                                  I_DISPLAY_BTN_EXECUTE = ABAP_FALSE ).
    Using the handler object from the previous line of code, this line now sets the global configuration objects of the selection screen.  For instance it makes all the default buttons (cancel, check, reset and excuate) hidden.

  • SOLVED: SQL Developer Code Compilation with warnings

    Hi, I think I found one bug in sql developer.
    I have one pl/sql package, that contains a lot of code. In the previous SQL Developer releases (prior to 1.2) when you compile the code, first appears the errors and then the warnings. Because of some type conversion in my sql statements i have more than 20 warnings, and now i cannot see the errors (i think that they will appear if i'm able to increase this "20 messages" limit). I was searching for some option in SQL Developer to increase the number of displayed warnings or errors (or turn off the warnings) but i cannot find such parameter.
    Is this a bug, or i'm missing something ?
    PS: because of this, i'm not able to compile my package with sql developer, and i'm compiling via sqlplus.
    null

    Yes, you're missing something: the forum's search feature.
    See:
    compile with many warnings causes compiler dont show errors correctly
    Compiling an invalid packagebody without errormessage
    SQL Developer says Compile sucessful but it is not
    K.

  • Unable to  select multiple with holding tax codes. -"This entry already exists in the following tables  '' (ACPR) (ODBC -2035)  [Message 131-183]"

    Unable to  select multiple with holding tax codes.
    This entry already exists in the following tables  '' (ACPR) (ODBC -2035)  [Message 131-183]

    Hi,
    Actually this is an application error in 2007 A and there is no version/PL to fix this issue.
    Refer SAP note 1260874 - Cannot add a new BP with ITW tax code
    Thanks & Regards,
    Nagarajan

  • What is wrong with the idl code generated by packager.exe?

    Hello everybody,
    I am trying to figure out what is wrong with the idl code generated by packager.exe. In the evaluation for the bug posted at http://developer.java.sun.com/developer/bugParade/bugs/4964563.html it says that the IDispatch interface is not exposed correctly and thus early binding of java objects is not possible using the current activex bridge implementation.
    As I am no idl expert I have no idea what that means. However, I managed to dig out the idl code generated by packager.exe for the following example bean:
    package test;
    public class MyBean
         protected int value;
         public MyBean()
         public void setMyValue(int _value)
              value = _value;
         public int getMyValue()
              return value;
         public MyBean getSelfReference()
              return this;
    }The corresponding idl code generated by packager.exe is
    uuid(81B0BF63-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    library MyBean
    importlib("Stdole2.tlb");
    dispinterface MyBeanSource;
    dispinterface MyBeanDispatch;
    uuid(81B0BF64-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    dispinterface MyBeanSource {
    properties:
    methods:
    uuid(81B0BF65-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    dispinterface MyBeanDispatch {
    properties:
    [id(4097)]
    int myValue;
    methods:
    [id(32768)]
    VARIANT_BOOL equals(IDispatch* arg0);
    [id(32769)]
    IDispatch* getClass();
    [id(32770)]
    int getMyValue();
    [id(32771)]
    IDispatch* getSelfReference();
    [id(32772)]
    int hashCode();
    [id(32773)]
    void notify();
    [id(32774)]
    void notifyAll();
    [id(32775)]
    void setMyValue(int arg0);
    [id(32776)]
    BSTR toString();
    [id(32779)]
    VARIANT wait([optional] VARIANT var0, [optional] VARIANT var1);
    uuid(81B0BF62-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    coclass MyBean {
    [default, source] dispinterface MyBeanSource;
    [default] dispinterface MyBeanDispatch;
    };Does anyone know what is wrong with this code and maybe how to fix the idl code? Generating the dll should then be easy (I already tried several variations of the idl code but as my idl knowledge is limited it didn't really do what I wanted).

    Then the question is why it does work with visual controls (even if you set them to non-visible)?

  • Help for views regarding using Liferay for an already developed project.

    Hi all,
    I don't know if I am posting this question in the right place. If I am then extremely sorry. Guide me to post in right place. I have already posted in Liferay forum but still no reply!
    First of all, let me tell you what I am or my company is intended to do. We have already developed a project using Java, JSP and Servlet. We want it to integrate with Liferay so that we can change logo, css, images, themes or any other UI related component at run time using Liferay admin panel. But backend should be what we have developed. In short, UI of our project is controlled by Liferay but control of data displayed on UI or submitted from UI should be from our developed backend code.
    Now I have a few questions regarding above said approach of fulfilling the requirement:-
    1) What we are trying to do is possible?
    2) Is this approach recommendable for what we intended to do?
    3) Or do we need to develop our project from scratch to fit into Liferay? Like developing portlets and deploying in Liferay or other approach that has been given in Liferay documentation.
    4) What about database integration? We have around 15 columns/fields in user table in database of our project which is completely different from that of Liferay's user table.
    Liferay is a very new for us. We have checked the documentation section of Liferay but still few things like above said requirements and its implementation is not clear. Also, we would like to know in what scenarios/requirements Liferay is useful.
    Eagerly waiting for your views. Any help will be very much appreciated.
    Thanks

    Hi all,
    I don't know if I am posting this question in the right place. If I am then extremely sorry. Guide me to post in right place. I have already posted in Liferay forum but still no reply!
    First of all, let me tell you what I am or my company is intended to do. We have already developed a project using Java, JSP and Servlet. We want it to integrate with Liferay so that we can change logo, css, images, themes or any other UI related component at run time using Liferay admin panel. But backend should be what we have developed. In short, UI of our project is controlled by Liferay but control of data displayed on UI or submitted from UI should be from our developed backend code.
    Now I have a few questions regarding above said approach of fulfilling the requirement:-
    1) What we are trying to do is possible?
    2) Is this approach recommendable for what we intended to do?
    3) Or do we need to develop our project from scratch to fit into Liferay? Like developing portlets and deploying in Liferay or other approach that has been given in Liferay documentation.
    4) What about database integration? We have around 15 columns/fields in user table in database of our project which is completely different from that of Liferay's user table.
    Liferay is a very new for us. We have checked the documentation section of Liferay but still few things like above said requirements and its implementation is not clear. Also, we would like to know in what scenarios/requirements Liferay is useful.
    Eagerly waiting for your views. Any help will be very much appreciated.
    Thanks

  • Issue in printing the batch document with the T-code COPI

    Issue in printing the batch document with the T-code COPI.
    So Batch document is not printing not printing.
    Kindly help.

    I would suggest to read this blog as a starting point: Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers
    then rephrase and enhance your question with some facts because in the moment it is not at all sufficient enough for anybody to help you further on your particular issue.
    I am even in doubt that you posted this issue in the right forum, has this PP transaction really something to do with ABAP Connectivity. Check the space overview page of ABAP Connectivity , under the picture you can read what this space is about.

  • I need to make a task with less as3 code and more timeline structure and event dispatcher !

    I went to an interview in a big company. I had to make a  task in which there is a wall with 3 lines and 5 columns filled with bombs.When you click on a bomb the bomb changes its scale, a robot enters, goes under the bomb and takes it, then goes to a smaller wall, makes the bomb smaller and place it at the same place it had been in the previous wall.I made the task with tween througout as3 code.The interviewer told me it was good but i need to make it with the less code possible and with more complex timeline structure and to use event dispatcher.What is the best way to do this ?

    The immediate thing that comes to mind is they might want to see that you can balance work between design teams and development teams.
    To do that, the robots movements (pick up bomb, bomb grows/shrinks, arms/treads/legs moving, sequences of 'doing things') can be timeline based so animators can work on those separate from code.
    Developers would be working on the logic of keeping score, moving the robot around to the correct spot with path detection, collision detection, etc.
    It's very similar to thinking in simple factories (which Flash is good at being automatically with timelines), and a bit of MVC (or just VC in some cases).
    Big companies have lots of different types of employees so you'll probably be very specific in your role so you're efficient.

  • Java 2 runtime Environment setup failed with a return code of -1

    Hi!
    I have tried to install sdk 1_3_1_01 on Windows 2000 with ServicePack 2 and the error "Java 2 runtime Environment setup failed with a return code of -1" occured. As I saw, a lot of people has the problem but couldn't find a solution on this page!
    Please help !
    Me

    I've installed 1.3.1_01 on both W2K Workstation and Server, no problem. There's a bug report, but no workaround or solution.
    http://developer.java.sun.com/developer/bugParade/bugs/4412291.html
    and it's supposedly 'fixed' in 1.4.0 beta.
    http://java.sun.com/j2se/1.4/fixedbugs/fixedbugs-beta2.html
    You might try installing the beta version
    http://java.sun.com/j2se/

  • PO created with wrong Company code

    Hi Gurus,
    I have Plant XXXX assigned to Company code 1111 and
             Plant YYYY assigned to Company code 2222
    One of the user has created PO with Plant XXXX and company code wrong as 2222.
    (we have warning message setup & not error message. So, it allowed user to create PO with wrong Company code and save)
    GR & IR both are already posted. I find the accounting document of these GR/IR show correct company code as XXXX-1111 (mostly would have taken correctly based on plant XXXX).
    These are service POs (non stock).
    Now user wants to change the company code in PO to 1111.
    I checked...and system simply allow to change to company code to correct one i.e 1111. It does not give any message.
    Could any one give me some additional info.. if it is right to do so? I am not too convinced at this moment.
    I was suggesting user to reverse GR, IR, delete PO and create new PO. Is that right?
    Thanks n advance for your input.
    Best Regards,
    Mohan

    Dear Mohan,
    U can change the company code in PO as it will not have any impact since the GR and IR is completed.
    Accounts are hit based on the valution area(valuation grouping code).
    Since the PO is already closed u can go ahead the change the same.
    Regards,
    AM Vahanan

  • Error: there are non exicisable item with cenvat tax code

    I am getting an error message there are non exicisable item with cenvat tax code while trying to add po for pick and pack from sales order. I request all of you to help me with it.
    I have already checked if the item and ware house is exicisable in the check box of the master data.
    Best regards,
    Sandesh.Sreyamsh

    Thanks mahendra and rahul,
    Unfortunately my issue is not solved yet, the tax is not manually created it was created by sap during new company creation. I checked by adding other tax type in sales order but every time when I try to create sales bom it gives the above error.
    @ Rahul the tax is under cenvat type and the Items has been added under exercise transaction. here is what im trying to do
    I created a sales order for 4 of my items.
    Then i try to create po for two of my as pick and pack items by checking Purchase orders indicator under logistics tab of sales order.
    At this point i am getting the above said error.
    All the items i am trying to add is exisable and tax is also of cenvat type.
    Please help me out of this as im stuch very badly in this issue.
    Regards,
    Sandesh.Sreyamsh

  • SRM PO created with wrong company code

    Hello,
            The users have created several PO in SRM with wrong company code. The user was found in the wrong organization structure during the creation of shopping and approval. The PO did not get transfer to the Back because of this. Is there a way to modify the PO and change the company code.
       In case we want to modify it in the tables given that BBP_PD gives you an indication of which table and entry to modify, is there a way to do this operation (like SE16N in ECC)? Have you ever done this and what risk is their in such an operation.
    Thank you.

    Hi,
    I doubt anyone here will (or will dare) suggesting to you how to do it as it is against SAP practise totally. if the document is created wrongly, it should be deleted and approved with all the tracking and changes in place for auditing purposes.
    Frankly that is what you should practise as well.. my 2cents opinion.
    Regards.
    YS

  • Urgent : Doubt in writing a code in start routine

    Hi all ,
                 I am BI 7.0 system , I have doubt in writing a code in start routine .
    1) i have to extract the data first from a custom table based on one condition and then placing it into internal table .
    2) Now i have to loop at source_package for a particular region field say "ASIA". with this result i have to check for the correponding entries in custoom table .
       if condition is not true (i.e ) with entries or not matching then delete that particular record from source_package.
    i have written a small logic for this . but this is producing any ouput , Please check it and also let me know for modifications .
    thanks in advance.
    select * from zcsp
        into corresponding fields of TABLE itab_T
        where
        ZBUSINESSUNIT = 'BC'.
    loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE where /BIC/DPREGION = 'XE'.
                 loop at itab_t into itab_w where zcategory =
                   ls_source_package-/BIC/DPMAT/BIC/DPCAT.
                       if sy-subrc ne 0.
                         delete SOURCE_PACKAGE.
                       endif.
               endloop.
           endloop.

    You're deleting the entire input package.  You only want to delete the one row.
    DATA: g_tabix TYPE sy-tabix.
    SELECT * FROM zscp
    INTO CORRESPONDING FIELDS OF TABLE itab_t
    WHERE zbusinessunit = 'BC'.
    SORT itab_t BY zcategory.
    LOOP AT source_package INTO ls_source_package WHERE /bic/dpregion = 'XE'.
      g_tabix = sy-tabix.
      READ TABLE itab_t WITH KEY zcategory = ls_source_package-/bic/dpmat/bic/dpcat TRANSPORTING NO FIELDS BINARY SEARCH.
      IF sy-subrc NE 0.
        DELETE source_package INDEX g_tabix.
      ENDIF.
    ENDLOOP.

  • Statement terminator problems when exporting data with SQL Developer 3.2

    I've ran across what appears to be a bug with SQL Developer 3.2.20.09. If someone can let me know if this is indeed a bug, or just something I need to configure differently, please let me know.
    The problem is related to exporting a database as a SQL script, and terminator characters at the end of "create" statements, especially when columns have comments, and problems that occur when using SQLPlus to run the export script to create the tables. With the old SQL Developer 1.5.4, with the "Terminator" and "Pretty Print" options checked, statements like the following are generated:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    When I then run the script using SQLPlus, everything works fine. However, with SQL Developer 3.2.20.09, with the same options enabled, the same statements are generated like this:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    Notice all of the extra slashes in there. If a slash is not used as a statement terminator, SQLPlus treats slashes as a command to repeat the last SQL statement, which causes many errors about tables or sequences already existing. So, I tried removing the "Terminator" flag from the export options. This lead to statements that looked a bit more promising:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.'
    The big problem, though, is in the statement for the table with a comment. Notice that there are two statements, but there is not a semicolon after either of them. This unfortunately causes the "COMMENT" statement to be appended to the "CREATE TABLE" statement before being executed, which causes the table to not be created (which causes even more errors later on when the script attempts to populate the table with data).
    So, it would appear that this is a bug, but I'm not sure. Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    Thanks,
    -Bill

    >
    So, it would appear that this is a bug, but I'm not sure.
    >
    That would be a bug. Thanks for reporting it and providing the detailed example.
    >
    Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    >
    No.
    Leave the thread open. One of the developers for sql developer should be monitoring the forum and can provide more information.

  • Need help with interface development

    Hi i need help with requirement below with developing interface between or online order system and sap plz lemme know what is bapi i use for creating customer, update and assigining partner id to costumer.
    SAP Development
    1.     Using standards SAP functional module (with BAPI), create interface that will create/change Ordering party customer in SAP. Following fields are mandatory for customer creation:
    •     MANDT     Client
    •     VKORG     Sales organization
    •     VTWEG     Distribution Channel
    •     SPART     Division
    •     KDGRP     Customer Group (= “ZORP)
    •     KUNNR     Customer number
    •     NAME1     Name 1
    •     NAME 2     Name 2 (if required)
    •     SORTL     Search term (short description)
    •     ZZALTKN     Search term 2 (old customer number)
    •     LAND1     Country
    •     ORT01     City
    •     PSTLZ      Zip Code
    •     REGIO      Region (state in USA)
    •     STRAS     Street
    •     TELF1     Primary telephone number
    •     TELFX     Primary Fax number
    •     ZZPRPLANS     Payment Plan
    •     CCINS     Payment card: Card type
    •     CCNUM     Payment cards: Card number
    •     CCDEF     Payment Card: Default Card Indicator
    •     ZBDGID     Customer Budget ID
    •     ZHOLD     Budget Hold indicator
    •     ZZCOSTCENT     Cost Center
    2.     Upon successful customer creation system will issues “S” (success) message that customer has been created.
    3.     New ordering party customer created in step ½, will have to be assigned as new partner to its belonging Sold-to/Ship-to customer. Use standard SAP customer functional module in order to perform this partner ID assignment. Partner ID for ordering party should be “ZO”.
    1.7     Enhancement Functionality
    Apart from creating a new interface to do the required functionality, the Order Create Interface also has to be changed to accommodate a field to pass the Ordering Party Number on the Order. The technicalities of how we are going to implement the interface will be laid out in the Tech Specs.
    Thanks
    in advance

    You have double posted, please mark this one as "solved on my own" and refer to this thread
    need help with interface development
    Regards,
    Rich Heilman

Maybe you are looking for

  • How to use a visa gift card in itunes store

    Can you use a visa gift card in the itunes store and if so how do you set it up?

  • Mac and Windows 8 - sharing dropbox files on 2 partitions

    I have a macbook pro with 128gb harddisk in 2partitions,68 each. I have  20 GB dropbox and due to my limited space, I want to place the dropboxfiles on the Mac share and acces it from Windows8 share (bootcamp). I do not get access to the Mac share fr

  • Flash pro cs5.5 won't start

    Last time I worked with flash was January 23, 2012. It was working fine, but this morning I tried running the program and it won't start. Same with encore, it just doesn't start. Is this due to a windows update? Does anybody know of a workaround to t

  • Help with Creating a Oracle Data Source

    Hello: I am trying to create a Oracle Data source. I was successful in creating a JDBC Conection Pool. But I am stumped creating a new datasource that uses the Oracle Connection Pool. It asks for a JNDI Name and I have no clue what I should enter in

  • Pages opened but no window appeared

    Hello, I have problems with Pages 5.1 I tried to launch the program. It is opened but no window appears. when I clicked on the Pages icon on the dock, the menubar on top of the sceen is well the menubar of Pages. I also tried to open some documents o