Problem while changing Order Acceptance

Hi Friends,
We have created one Order Acceptance which have 5 line items , and with one of these line items a Release Order has been created. , i.e. Order Acceptance has being fully referenced with that line item.
After Release Order , Delivery Instruction and proforma invoice with that delivery has been created .
Now the problem is that , if I am changing the quantity of that line item in Order Acceptance new Release Order cannot be created.
Any ideas to make it possible?
Regards
Debarshi

Hi,
have you searched for OSS notes? The note 1137897 looks like related to your problem. It mentions different BAPI but I assume that both BAPI reuse same routines and therefore it might solve your problem as well.
Cheers

Similar Messages

  • Problem while changing Business Area in Cost Center Master Data

    I am having a problem while changing the Business area in cost center master data, the system does not allow to change the business area due to the following reasons;
    1.  The transactional data already exists for that cost center
    2.  The desired date required to be changed, falls between analysis period 01.01.2000 to 31.12.2999
    Can anyone help me in order to reslove this issue
    Thanking in anticipation
    Edited by: Arshad  Iqbal on May 24, 2010 2:10 PM

    Dear Dejan !!
    Thanks a lot for resolving my problem actaully i have tested the scenario in Testing Server by changing the fiscal year and the system allowed to change the business area before any transactional data posted.
    Thanks Once Again
    Regards
    Ch. Arshad Iqbal

  • How to look for SAP provided rules while changing orders ?

    Hi:
    we have a requirement to check for order type when the change order request ( in form of IDOC via EDI)  is passed to SAP and the requirement is such that we can only accept certain order types like TA and reject order order type........from a very high level though process the idea is to check if SAP has certain pre build code that can be called before the va02 is called.....
    I am new to sap and was told that we need to first look if SAP has a existing functionality if not then find user exit and customize it .....
    my question is where does one look in SAP for such code ...or out of the box feature..........which can be called ....I understand if nothing is found we can write ABAP program to do this.....but I am puzzled as I do not now where to look and eliminate that such feature is not already provide ......
    Thanks

    check which FM you use to post your IDOC (like IDOC_INOUT_ORDCHG) and then check in this FM ... you'll find exits like 'call customer-function'.... I'm sure you'll find one which is called to validate data passed in your segment (where actual order type is passed).... or just use the one which works always after the order number is known and then just check your order type & raise error to fail IDOC so it will not even try to update your order.

  • Problem while changing decimal places in SAP B1 2007

    Hi Experts,
    I want change the decimal places of Quantity type fields from 2 decimal places to 4 decimal places. But while changing it in Genral settings form ,it shows the error message "Cannot update while another user is connected to the company". it is working in SAP B1 2005B but not in SAP B1 2007
    Please help me if you have any solution on this issue..
    Thanking you in advance

    Paul,
    Please see SAP Note 1247060 as is discusses the fact that this did work in 2005, but the behavior was changed in version 2007 ...
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&;note_numm=0001247060
    Eddy

  • Is there any problem while changing WEBLOGIC server to OC4J

    Hi,
    We have developing a product in Jedeveloper 11g. In the development mode, we are using WEBLOGIC 10.3 as the application server. But during production mode, we have to apply the EAR files in oc4J APPLICATION SERVER.
    While changing this, whether my system will work as such in the WEBLOGIC server?
    Whether I loss any Rich Ajax specific fuctionalities? Is any rework in development is needed?
    While Googling, I found, in JDeveloper 11g oracle prefers WEBLOGIC rather than OC4j. Can anyone advise the reason for this.
    Thanks,
    Prabhash.

    Hi John,
    Thanks for your valuable advise.
    Can you advise is there any difference between OC4j and Oracle Application Server (OAS) . Is the Oracle App Server supports JSF 1.2 specification. While googling, the following link states that JDeveloper 11g supports OAS
    http://www.oracle.com/technology/products/jdev/htdocs/11/as_supportmatrix.html#11g
    Thanks much
    Prabhash

  • Problem while changing Sales order using 'BAPI_SALESORDER_CHANGE'

    Hi all,
    Below is my code to update delivery block value:
    FORM call_bapi_salesorder_change .
    DATA:  iv_bapi_view  LIKE order_view.
    DATA: gt_sales_doc TYPE STANDARD TABLE OF sales_key, " Document Numbers to Be Selected
            gt_items TYPE STANDARD TABLE OF bapisdit. " Order Item Data for Document Numbers
    *************************************************************8
    DATA:order_headers_out LIKE bapisdhd OCCURS 0 WITH HEADER LINE.
    DATA:order_header_inx LIKE bapisdh1x.
      DATA: lv_salesdocument LIKE bapivbeln-vbeln.
      data: lv_matnr(10) type c.
      DATA:
    gt_schdule TYPE STANDARD TABLE OF bapischdl, " for gl date & load date
    gt_schdulex TYPE STANDARD TABLE OF bapischdlx, " for partner role and partner function.
            gt_return TYPE STANDARD TABLE OF bapiret2,
            gt_itemin TYPE STANDARD TABLE OF bapisditm,
            gt_iteminx TYPE STANDARD TABLE OF bapisditmx ,
            gt_bapisdh1 TYPE STANDARD TABLE OF  bapisdh1.
      DATA:gs_head_bapi TYPE bapisdh1x,
           gs_schdule TYPE bapischdl,
           gs_schdulex TYPE bapischdlx,
           gs_return TYPE bapiret2,
           gs_itemin TYPE bapisditm,
           gs_iteminx TYPE bapisditmx,
           gs_bapisdh1 TYPE bapisdh1.
      CLEAR : gt_schdule,gt_schdulex,gs_return.
      REFRESH gt_return.
      gs_head_bapi-updateflag = 'U'.
    SORT gt_final BY vbeln.
    CLEAR gs_vbep.
    REFRESH gt_vbep[].
      CLEAR gs_final.
      LOOP AT gt_final1 INTO gs_final.
        gs_itemin-itm_number = gs_final-posnr.
    *move gs_final-matnr to lv_matnr."qx94162
       gs_itemin-material = gs_final-matnr.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
          EXPORTING
            input  = gs_final-matnr
          IMPORTING
            output = gs_final-matnr.
       CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_matnr
        IMPORTING
         output = lv_matnr.
       gs_itemin-material = lv_matnr.
        gs_itemin-material = gs_final-matnr.
        gs_iteminx-itm_number = gs_final-posnr.
        gs_iteminx-updateflag = 'U'.""changed to I
        gs_iteminx-material = 'X'.
        " gs_schdule-req_dlv_bl = gs_final-lifsp. " Delivery block
        gs_schdule-itm_number = gs_final-posnr.
        gs_schdulex-itm_number = gs_final-posnr.
        gs_schdule-sched_line = '0001'.
        gs_schdulex-sched_line = '0001'.
       MOVE gs_final-lifsp to gs_schdule-req_dlv_bl.
        gs_schdule-req_dlv_bl = gs_final-lifsp.
        gs_schdulex-req_dlv_bl = 'X'. " Delivery block
        gs_schdulex-updateflag = 'U'.
        gs_bapisdh1-sales_org = gs_final-vkorg.
        APPEND gs_schdule TO gt_schdule.
        APPEND gs_schdulex TO gt_schdulex.
        APPEND gs_itemin TO gt_itemin.
        APPEND gs_iteminx TO gt_iteminx.
       Append gs_BAPISDH1 to gt_BAPISDH1.
        lv_salesdocument = gs_final-vbeln.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            salesdocument               = lv_salesdocument     
           ORDER_HEADER_IN             = gs_BAPISDH1
            order_header_inx            = gs_head_bapi         
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
          TABLES
            return                      = gt_return            
       order_item_in               =    gt_itemin
       order_item_inx              = gt_iteminx
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
          schedule_lines                = gt_schdule           
          schedule_linesx               = gt_schdulex          
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
      NFMETALLITMS                =
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        REFRESH: gt_schdule, gt_schdulex, gt_itemin , gt_iteminx.
        LOOP AT gt_return INTO gs_return.
          WRITE / gs_return-message .
        ENDLOOP .
      ENDLOOP.
    ENDFORM.                    " CALL_BAPI_SALESORDER_CHANGE
    When I am using material value as 18342 using CONVERSION_EXIT_ALPHA_OUTPUT:
    ORDER_HEADER_IN has been processed successfully
    Material  is not defined for sales org.A101,  distr.chan.00,  language DE
    Error in ITEM_IN 000030
    SCHEDULE_IN has been processed successfully
    The sales document is not yet complete: Edit data
    Sales document 5010000715 was not changed
    and when I am using CONVERSION_EXIT_ALPHA_INPUT (000000000000018342)or  while debuging when I am changing value to  0018342 :
    I am getting below dump:
    Runtime Errors         DATA_LENGTH_0
    Exception              CX_SY_RANGE_OUT_OF_BOUNDS
    Date and Time          21.10.2010 07:22:17
    Information on where terminated
         Termination occurred in the ABAP program "SAPLVBAK" - in
          "MAP_VBAP_TO_BAPISDIT".
         The main program was "RS_TESTFRAME_CALL ".
         In the source code you have the termination point in line 168
         of the (Include) program "LVBAK001".
         The termination is caused because exception "CX_SY_RANGE_OUT_OF_BOUNDS"
          occurred in
         procedure "MAP_VBAP_TO_BAPISDIT" "(FORM)", but it was neither handled local
          nor declared
         in the RAISING clause of its signature.
         The procedure is in program "SAPLVBAK "; its source code begins in line
         99 of the (Include program "LVBAK001 ".
    The same dump I am getting while executing this above BAPI from SE37 tcode with the same test data.
    but I am able to change it though Va02 tcode.
    Edited by: Arora26 on Oct 21, 2010 7:58 AM

    Hi,
    have you searched for OSS notes? The note 1137897 looks like related to your problem. It mentions different BAPI but I assume that both BAPI reuse same routines and therefore it might solve your problem as well.
    Cheers

  • Problem while changing the query of the field in Oracle apps 11.5.10

    Hello All,
    Requirement:
    User want to change the query of the LOV attached to Ordered item field on Line items tab on the Sales order form in Order managment
    Block name = 'LINE'
    Field name = 'ORDERED_ITEM_DSP'
    LOV attached to this field in FMB: ITEMS
    LOV attached to this field in front end: ENABLE_LIST_LAMP
    Problem: Following code is firing at all points (Debug messages are appearing at all points) but Query of the LOV attached to item is still same.
    How can in FMB LOV is "ITEMS" and in front end "ENABLE_LIST_LAMP"
    My guess is there is some problem with the LOV name which we are passing in the code below. Because LOV name attached to item are different in front end and FMB. There is no LOV in FMB which has “SYSTEM ITEMS Description” kind of structure.
    I have written following code in custom.pll (l_chr_rg_query is query taken from the record group attached to “ITEMS” named LOV with some modifications ex: rownum<6 so that it will show only 6 records in LOV if it is really firing our query for LOV)
    IF ( form_name = ‘OEXOEORD’
    AND block_name = ‘LINE’
    AND field_name = ‘ORDERED_ITEM_DSP’
    AND event_name = ‘WHEN-NEW-ITEM-INSTANCE’
    THEN
    MESSAGE (‘message1’);
    l_chr_rg_name := ‘XXLION_UNIFORM_CODE_RG’;
    l_chr_rg_query :=
    ‘SELECT item, item_id, item_description, inventory_item_id,item_identifier_type,null           item_identifier_type_meaning, ‘
    || ‘inventory_item, address, cust_address, item_definition_level ‘
    || ‘FROM oe_return_items_v ‘
    || ‘WHERE (sold_to_org_id = :parameter.lov_num_param1 OR sold_to_org_id IS NULL)’
    || ‘ and rownum < 6 ORDER BY item’;
    MESSAGE (‘message2’);
    l_rg_id := FIND_GROUP (l_chr_rg_name);
    MESSAGE (‘message3’);
    IF ID_NULL (l_rg_id)
    THEN
    MESSAGE (‘Creating record group here’);
    l_rg_id :=
    CREATE_GROUP_FROM_QUERY (l_chr_rg_name, l_chr_rg_query);
    END IF;
    errcode := POPULATE_GROUP (l_rg_id);
    MESSAGE (‘ERROCODE is : ‘ || errcode);
    L_lov_id := FIND_LOV (‘ITEMS’); --My guess is this LOV name is the source of problem.
    MESSAGE ('Error code is4');
    SET_LOV_PROPERTY (l_lov_id, group_name, l_rg_id);
    MESSAGE ('Error code is5');
    SET_ITEM_PROPERTY ('LINE.ORDERED_ITEM_DSP', lov_name, 'ITEMS');
    END IF;

    I found that there is no problem with code. My problem is not technical, its a functional problem.
    It is related to Inventory's "System Items" KFF.
    Can anybody tell me, to this "System Items" KFF, one value set is assigned. but it is of none type of value set. so from where the values in LOV are coming?

  • Problem while changing the width of the Indesign document through inx.

    Hi Guys,
    I am facing a problem related to the width of InDesign documents. Description of the problem is as follows:-
    I have created an InDesign document with height = 700 and width = 500 and export this as an inx file (lets say Doc1.inx).
    As "Doc1.inx" is just an xml file I have made certain changes to the height and width fields of the dcoument in it. (Height =900 and Width = 600)
    For Height changes are made under following tags :- <docu>
                                                                                   <docp>
                                                                                     phgt = "U_900" ;
    For Width changes are made under tags :- <docu>
                                                                    <docp>
                                                                      pwdt = "U_600";
    Now when I opened the modified "Doc1.inx" file with InDesign the modifications for height are correctly reflected, but the width of the column doesn't gets changed. Please open the attachments to see the difference.
    Attachment contains the snap shots of documents created at step 1(Initial_Doc1.indd) and step 3(Modified_Doc1.indd).
    What should be the modifications we have to do in inx file to reflect the correct modified width of the document. Also is there any document or article which gives the correct understanding of the tags used in inx files.
    Any help will be appreciable.

    I'm having troubles getting any sensible values at all using CS -- on the other hand, you forgot to mention your version, so I figgered I could try.
    (Just as an example, setting width & height to 600 pt and 900 pt -- you don't mention your units of measure either, is it meters? inches? -- I get "phgt="u_408c2000~0" pwdt="u_4082c000~0"", which doesn't make sense. Cicero's!? [*])
    But further below, I can see some definitions for columns: count (colc="l_1") and some measurements in that same system, which I suspect to be the width and height you are looking for. You switch between describing you succesfully changed the width and height of the document, and complaining the column does not change. Apparently, the column width is defined in itself, rather than using the "document marges" you are used to in the interface itself.
    [*] On second look, I can see more hexadecimal digits in other 'numbers'. It must be hexadecimally encoded IEEE floating point numbers -- "408c2000" decodes to 4.378906, and 4082c000 to 4.085938 -- both valid floating point numbers, but still I wouldn't know in what system.
    I hope your version uses regular decimal notation!

  • Facing problem while changing the database at runtime

    hi everyone,
    Before posting this thread, i have gone through the various posts addressing the problem....but still iam unable to get the solution for this problem.
    The report has been generated in one system, so the database properties (connection string....) are hardcoded in the report file...
    Now when iam trying to change the database, it is still connecting to the system where the report file was created.
    I have tried the changeDatasource() method, but it didnot worked....
    here is the code for changeDatasource() method
    public static void changeDataSource(ReportClientDocument clientDoc,
                    String reportName, String tableName,
                    String username, String password, String connectionURL,
                    String driverName,String jndiName) throws ReportSDKException {
            PropertyBag propertyBag = null;
            IConnectionInfo connectionInfo = null;
            ITable origTable = null;
            ITable newTable = null;
            // Declare variables to hold ConnectionInfo values.
            // Below is the list of values required to switch to use a JDBC/JNDI
            // connection
            String TRUSTED_CONNECTION = "false";
            String SERVER_TYPE = "JDBC (JNDI)";
            String USE_JDBC = "true";
            String DATABASE_DLL = "crdb_jdbc.dll";
            String JNDI_DATASOURCE_NAME = jndiName;
            String CONNECTION_URL = connectionURL;
            String DATABASE_CLASS_NAME = driverName;
            // The next few parameters are optional parameters which you may want to
            // uncomment
            // You may wish to adjust the arguments of the method to pass these
            // values in if necessary
            // String TABLE_NAME_QUALIFIER = "new_table_name";
            // String SERVER_NAME = "new_server_name";
            // String CONNECTION_STRING = "new_connection_string";
            // String DATABASE_NAME = "new_database_name";
            // String URI = "new_URI";
            // Declare variables to hold database User Name and Password values
            String DB_USER_NAME = username;
            String DB_PASSWORD = password;
            System.out.println("DB_USER_NAME......."+DB_USER_NAME);
            System.out.println("DB_PASSWORD......."+DB_USER_NAME);
            // Obtain collection of tables from this database controller
            if (reportName == null || reportName.equals("")) {
                Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
                System.out.println("Tables in reports........"+tables.size());
                for(int i = 0;i < tables.size();i++){
                    origTable = tables.getTable(i);
                    System.out.println("origTable........"+origTable.getQualifiedName());
                    if (tableName == null || origTable.getName().equals(tableName)) {
                        newTable = (ITable)origTable.clone(true);
                        // We set the Fully qualified name to the Table Alias to keep the
                        // method generic
                        // This workflow may not work in all scenarios and should likely be
                        // customized to work
                        // in the developer's specific situation. The end result of this
                        // statement will be to strip
                        // the existing table of it's db specific identifiers. For example
                        // Xtreme.dbo.Customer becomes just Customer
                        newTable.setQualifiedName(origTable.getQualifiedName());
                        System.out.println("newTable........"+newTable.getQualifiedName());
                        // Change properties that are different from the original datasource
                        // For example, if the table name has changed you will be required
                        // to change it during this routine
                        // table.setQualifiedName(TABLE_NAME_QUALIFIER);
                        // Change connection information properties
                        connectionInfo = newTable.getConnectionInfo();
                        // Set new table connection property attributes
                        propertyBag = new PropertyBag();
                        // Overwrite any existing properties with updated values
                        //propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
                        //propertyBag.put("Server Type", SERVER_TYPE);
                        propertyBag.put("Use JDBC", USE_JDBC);
                        propertyBag.put("Database DLL",DATABASE_DLL );
                        propertyBag.put("JNDI Datasource Name",JNDI_DATASOURCE_NAME );
                        propertyBag.put("Connection URL", CONNECTION_URL);
                        propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
                        //propertyBag.put("Server Name", SERVER_NAME); //Optional property
                        // propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
                        // propertyBag.put("URI", URI); //Optional property
                        connectionInfo.setAttributes(propertyBag);
                        // Set database username and password
                        // NOTE: Even if the username and password properties do not change
                        // when switching databases, the
                        // database password is *not* saved in the report and must be set at
                        // runtime if the database is secured.
                        connectionInfo.setKind(ConnectionInfoKind.SQL);
                        connectionInfo.setUserName(DB_USER_NAME);
                        connectionInfo.setPassword(DB_PASSWORD);
                        // Update the table information
                        clientDoc.getDatabaseController().setTableLocation(origTable,newTable);
    Also i tried with replaceConnection() method...........it displayed the report, but with not column names and data
    need help regarding.......
    Edited by: abhishek.c1984 on Jun 25, 2009 10:02 AM

    In the report i have two tables.............so before changing the database properties for each table iam printing their names.
    The names are dispalyed correctly.......but once i set the table location...i.e through the following method..
    clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
    every time i can see only one table i.e. properties are set for the first table ........and each time the properties are being set for the first table only.....i dont no what is happening to the rest of the tables..
    I have posted the method in the above post.....can any one please trace out the problem
    Note: when i comment the following code, i can see all the tables
    clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
    when i uncomment it, i can see only first table repeating every time...
    Edited by: abhishek.c1984 on Jun 25, 2009 1:03 PM

  • I have a  problem while changing quantity value in VA01

    Hi,
                       I am written my conditions in User exit save_document_prepare
    and in that I have given custom error message. After the error I have to correct the
    quantity value and then save it.
    But when I am trying to change after error mesasage it gives an Abort message
    "Item xxxx doesnot exist."
    Here is my code pls help me regarding this
    DATA : FLAG(2),
           FCODE LIKE SY-UCOMM,
    FCODE = SY-UCOMM.
    IF FLAG <> 'X'.
      IF SY-TCODE = 'VA01'.
        IF SY-UCOMM = 'SICH' OR SY-UCOMM = 'OPT1'.
          DATA: BEGIN OF T_VBAK OCCURS 0,
                        VBELN LIKE VBAK-VBELN,
                        VGBEL LIKE VBAK-VGBEL,
                        AUART LIKE VBAK-AUART,
                        NETWR LIKE VBAK-NETWR,
                       END OF T_VBAK.
          DATA : BEGIN OF T_VBAP OCCURS 0,
                         VBELN LIKE VBAP-VBELN,
                         POSNR LIKE VBAP-POSNR,
                         ZMENG LIKE VBAP-ZMENG,
                         KWMENG LIKE VBAP-KWMENG,
                 END OF T_VBAP.
          DATA : BEGIN OF I_VBUK OCCURS 0,
                   VBELN TYPE VBUK-VBELN,
                   RFGSK TYPE VBUK-RFGSK,
                 END OF I_VBUK.
          DATA : T_VBAK_RE LIKE T_VBAK OCCURS 0 WITH HEADER LINE,
                  WA_VBAK TYPE VBAK.
          DATA : I_NETWR1 TYPE VBAK-NETWR,
                 I_NETWR2 TYPE VBAK-NETWR,
                 I_NETWR3 TYPE VBAK-NETWR.
          DATA : L_VBELN TYPE VBAK-VBELN.
          SELECT VBELN VGBEL AUART NETWR
             FROM  VBAK
                   INTO TABLE T_VBAK.
          IF NOT T_VBAK[] IS INITIAL.
            SELECT VBELN RFGSK
                   FROM VBUK
                   INTO TABLE I_VBUK
                   FOR ALL ENTRIES IN T_VBAK
                   WHERE VBELN = T_VBAK-VBELN.
          ENDIF.
          SORT T_VBAK BY VBELN DESCENDING.
          IF NOT T_VBAK[]   IS INITIAL.
            SELECT VBELN POSNR ZMENG KWMENG
            FROM VBAP
            INTO TABLE T_VBAP
            FOR ALL ENTRIES IN T_VBAK
             WHERE VBELN = T_VBAK-VBELN.
          ENDIF.
          LOOP AT T_VBAK where VGBEL = XVBAK-VGBEL.
            IF T_VBAK-AUART = 'TA'.
              I_NETWR2 = T_VBAK-NETWR  + I_NETWR2.
            ENDIF.
          ENDLOOP.
          LOOP AT T_VBAK WHERE VBELN = XVBAK-VGBEL.
            IF T_VBAK-AUART = 'TISC'.
              I_NETWR1 = T_VBAK-NETWR.
            ENDIF.
          ENDLOOP.
          I_NETWR3 = I_NETWR1 - I_NETWR2.
          WA_VBAK = XVBAK.
       READ TABLE T_VBAP WITH KEY VBELN = VBAK-VBELN.
       IF SY-SUBRC = 0.
          LOOP AT XVBAP.
    READ TABLE XVBAP WITH KEY VBELN = SPACE.
            IF SY-SUBRC = 0.
              MOVE T_VBAK-VBELN TO XVBAP-VBELN.
              MODIFY XVBAP.
            ENDIF.
          ENDLOOP.
          IF FLAG <> 'X'.
            IF   WA_VBAK-AUART <> 'RE'.
              IF WA_VBAK-NETWR > I_NETWR3.
              MESSAGE E000(ZMS1) WITH I_NETWR3.
                      ENDIF.
                       ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
       ENDIF.
      ENDIF.
    ENDIF.
                                                                  Thanks in Advance
                                                                          Ravi

    Hi,
    This error comes when we use the work area taht is already defined in the program and that u have not created in this exit.
    i think in this exit, u have created ur own internal table and workarea for all tables except XVBAP.
    just create WA like
    <b>data : xvbap type xvbap.</b>
    LOOP AT XVBAP.
    READ TABLE XVBAP WITH KEY VBELN = SPACE.
    IF SY-SUBRC = 0.
    MOVE T_VBAK-VBELN TO XVBAP-VBELN.
    MODIFY XVBAP.
    ENDIF.
    ENDLOOP.
    IF FLAG <> 'X'.
    i had faced the same problem and it got solved in this way.
    Hope it helps.
    Regards,
    Sonika

  • Problem while changing DB from Pointbase to Oracle

    Hi All,
    I dont know whether this is right place to ask this question, but I am newbie, on weblogic, and would like some assistance,
    I am trying to point my DB in weblogic from Pointbase to Oracle, I have updated the database.properties file to point @ Oracle. Now when I go and try to exectue the create_db.cmd file to execute all the scripts and thereby load/create the DB, I get the below error when all the .sql files are executed.
    Buildfile: C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml
    init_props:
    init_tasks:
    main:
    setup_create_database_objects:
    init_props:
    init_tasks:
    create_database_objects:
    echo ***** Calling JDBCDataLoader ** to create database objects and insert seed data
    java Loading Database...
    java logFile=create_db.log
    java user=akulas
    java password=******
    java url=jdbc:oracle:thin:@hpcad144.qwest.net:1524:dnets_d
    java files=C:\bea\WLSERV~1.0/common/p13n/db/oracle/jdbc_index/jdbc.index,C:\bea\WLSERV~1.0/cm/db/oracle/jdbc_index/jdbc.index,C:\bea\WLSERV~1.0
    /portal/db/oracle/jdbc_index/jdbc.index
    java driver=oracle.jdbc.driver.OracleDriver
    java saltFile=C:\bea\user_projects\domains\VenkatDomain/security/SerializedSystemIni.dat
    java prodDir=C:\bea\WLSERV~1.0
    java Processing file 'C:\bea\WLSERV~1.0\common\p13n\db\oracle\jdbc_index\jdbc.index'
    java Files=
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/seq_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/seq_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/p13n_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/er_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/bt_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/bt9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/p13n9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n102_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/p13n102_insert_system_data.sql
    java Processing file 'C:\bea\WLSERV~1.0\cm\db\oracle\jdbc_index\jdbc.index'
    java Files=
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm10_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv10_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv9_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/required/cmv_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/required/cm9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv9_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/required/cm_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/sample/cm_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm10_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv10_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/sample/cm102_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/sample/cm102_update_system_data.sql
    java Processing file 'C:\bea\WLSERV~1.0\portal\db\oracle\jdbc_index\jdbc.index'
    java Files=
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf10_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf10_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/wps_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/comm_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_columns.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_create_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/bt_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/bt9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf10_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf10_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf102_drop_tables.sql
    java Error = SQLException when executing file file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf_insert_system_data.sql
    java java.lang.Exception: SQLException when executing file file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf_insert_system_data.sql
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:182)
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.main(JDBCDataLoader.java:1320)
    java Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
    java at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    java at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    java at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    java at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    java at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    java at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
    java at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
    java at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1614)
    java at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1579)
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.loadData(JDBCDataLoader.java:748)
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:166)
    java ... 1 more
    java Load Failed
    BUILD FAILED
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:17: The following error occurred while executing this line:
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:90: The following error occurred while executing this line:
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:97: The following error occurred while executing this line:
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:62: Java returned: -1
    Total time: 3 minutes 55 seconds
    I tried debugging the problem, and found that the table "PF_MARKUP_XML" was not created, the create script of that table is in the "pf_create_tables.sql" file. When I tried to manually execute the specific create script for that table it was executed successfully, and the table was created. So I dont know what is the problem then.
    Any help on this would be highly appreciated.
    Thanks,

    Hi,
    not sure which version of WLP you are running, but take a look at [http://edocs.bea.com/wlp/docs92/db/oracle.html|http://edocs.bea.com/wlp/docs92/db/oracle.html]:
    "Note:      A WebLogic Portal Oracle database user that has DBA privileges causes database create errors and upgrade issues. Before you create database objects or perform an upgrade, you should revoke the Oracle user's DBA privileges and replace them with the following privileges: GRANT CREATE TABLE, CREATE VIEW, CREATE TRIGGER, CREATE SEQUENCE, CREATE SESSION, UNLIMITED TABLESPACE TO <<WEBLOGIC>>."
    If the DB user you were using had DBA privileges then maybe this was the reason for your problem?
    Seems to be still valid even for 10.2.
    Hope this helps.
    Cheers,
    Petri

  • Problem while changing the JSplitpane in a dynamic way.

    Hi Everyone,
    In my application i'm changing the jsplitpane in a dynamic way.i'm posting the sample code thatz giving problem.Kindly compile and execute this.In the first frame i've done a split of two parts. The top component has got the name of the application and the bottom component has got some links related to that application. If the user click on this link ,i'm capturing the bottom component alone from the original splitpane and i'm breaking that into another split.
    upto this every thing works fine.Now the problem is when ever the user click on that link it'z capturing that event and doing consecutive split on the bottom frame.But i need that paricular split that user has already got to be repainted for all the time when user click on the link.Eventhough i've captured the main splitpane object in some other variable and assiging the same to the second window when user click on that url.But itz not recognizing that.
    Kindly some one help me to resolve this.
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.GridBagLayout;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.util.Vector;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JSplitPane;
    public class Test2 extends JPanel // implements KeyListener
        static Vector<String> arrAppName = new Vector<String>();
        public static JSplitPane splitPane,splitPane2;
        public void AppWin(final JFrame frame)
            Container contentPane = this;
            GridBagLayout gb = new GridBagLayout();
            contentPane.setLayout(gb);
            arrAppName.add("link");
            JLabel lab = new JLabel("<html><font color=#6698FF><a href>" + arrAppName.get(0) + "</a></font></html>");
            contentPane.add(lab);
            JScrollPane listScrollPane = new JScrollPane(contentPane);
            JLabel label = new JLabel("APPLICATION REPORT", JLabel.CENTER);
            Font font = label.getFont();
            Font font3 = font.deriveFont(25.0f);
            label.setFont(font3);
            label.setFont(label.getFont().deriveFont(Font.ITALIC));
            label.setHorizontalAlignment(JLabel.CENTER);
            label.setForeground(new Color(0x736AFF));
            JScrollPane labelScrollPane = new JScrollPane(label);
            labelScrollPane.setVisible(true);
            // Create a split pane with the two scroll panes in it.
            splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
            splitPane.setTopComponent(labelScrollPane);
            splitPane.setBottomComponent(listScrollPane);
            splitPane.setDividerLocation(100);
            Dimension minimumSize = new Dimension(100, 50);
            listScrollPane.setMinimumSize(minimumSize);
            labelScrollPane.setMinimumSize(minimumSize);
              splitPane2= new JSplitPane();
              splitPane2=splitPane;
            lab.addMouseListener(new MouseListener()
                public void mouseClicked(MouseEvent arg0)
                    displayMainFrame("link", frame);
                public void mousePressed(MouseEvent arg0)
                public void mouseReleased(MouseEvent arg0)
                public void mouseEntered(MouseEvent arg0)
                public void mouseExited(MouseEvent arg0)
        public void buildWindow(String link, JFrame frame)
            Container contentPane = this;
            GridBagLayout gb = new GridBagLayout();
            contentPane.setLayout(gb);
            JLabel label = new JLabel("Next Screen", JLabel.CENTER);
            Font font = label.getFont();
            Font font3 = font.deriveFont(25.0f);
            label.setFont(font3);
            label.setFont(label.getFont().deriveFont(Font.ITALIC));
            label.setHorizontalAlignment(JLabel.CENTER);
            label.setForeground(new Color(0x736AFF));
            JScrollPane buildWindowtop = new JScrollPane(label);
            buildWindowtop.setVisible(true);
            contentPane.add(buildWindowtop);
           /*assigning the main split pane object for all the consecutive call*/
            splitPane=splitPane2;
            JSplitPane splitPane1 = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
            splitPane1.setTopComponent(splitPane.getBottomComponent());
            splitPane1.setBottomComponent(contentPane);
            splitPane.setBottomComponent(splitPane1);
            splitPane.setOneTouchExpandable(true);
            splitPane.setDividerLocation(100);
            Dimension minimumSize = new Dimension(100, 50);
            buildWindowtop.setMinimumSize(minimumSize);
            splitPane1.setMinimumSize(minimumSize);
        } // end printing rows
        public static void displayFrame(String tname, JFrame framedisp, String buttonName, String tranCorrID,
            String buttonOption, JSplitPane buildSplit)
            Test2 mainDispPane = new Test2();
            framedisp.getContentPane().add(splitPane);
            framedisp.setVisible(true);
        public static void displayMainFrame(String link, JFrame framedisp)
            Test2 mainDispPane = new Test2();
            mainDispPane.buildWindow(link, framedisp);
            framedisp.getContentPane().add(splitPane);
            framedisp.setVisible(true);
        public static void main(String[] args)
            JFrame frame = new JFrame("MAIN WINDOW");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            Test2 mainPane = new Test2();
            mainPane.AppWin(frame);
            frame.getContentPane().add(splitPane);
            frame.setSize(1280, 1000);
            frame.setVisible(true);
        } // end main
    } // end Test2Thanks in Advance,
    Siva.

    anybody can help me this regard?

  • Problem while changing data for STO Assign Delivery type and checking rule

    Hi All,
    In Set up STO..... executing Assign delivery type and checking rule.
    I am trying to add values to Rule for Adoption of ATP Results in Purchasing(REVFE),Delivery Type for Stock Transfers Within a Company Code(LFART1) and another two more fields..After entering the data When i clik Save button... it shows "Data was Saved".But its not showing when i went back and come
    I have checked in debugg mode and table T161V table ..waht ever i entered its not saved in Database table.
    We have checked in another system its working fine..
    Can anyone please help me  on this?

    Solved by posting in OSS.
    The below include has to be uncommented.
    While doing upgrade this include  L0ME6F00 has commented INCLUDE L0ME6F99 has uncommented
         view related include-files   (never change, please)        *
    *{   REPLACE        CB2K900006                                        2
      INCLUDE L0ME6F00.      " subprograms

  • Problem while publishing orders

    Hi,
    I'm doing some checks inside a BAdi(/sapapo/smoy_pub_app)  in APO on sales order and if it doesn't pass through those checks i should not pass , hence i'm deleting those orders.
    However, the system still thinks its being passed to R/3 and the record is being locked. how can i overcome this issue. Is there any variable inside thru which i can tackle this problem or Is there any functionmodule  so that i can update the status.
    Regards,
    Kranthi.

    Hi Kranthi - You are not using the correct BADI - the BADI you are using allows data that is not naturally sent to R3 to be added. According to IMG you sholuld use APOCFPCO to influence the publication of sales order data from SAP APO to SAP R/3 which use the following user exits:
    EXIT_/SAPAPO/SAPLCIF_G_CO_002
    EXIT_/SAPAPO/SAPLCIF_G_CO_003
    EXIT_/SAPAPO/SAPLCIF_G_CO_005
    EXIT_/SAPAPO/SAPLCIF_G_CO_006
    EXIT_/SAPAPO/SAPLCIF_G_CO_007
    You will need to investigate each exit to determine which to use.
    Andy

  • Problem while changing SAP Script

    Hi all,
    while trying to display or change a form in SE71, it gives the following msg ...
    " <b>Form *** language EN is inconsistent in text file</b> "
    Please can anyone help me on this ?
    I have tried for language DE also

    Hi
    Which sapscript? a std one or custom one?
    Anyway try to see the note <a href="https://websmp208.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=326801&_NLANG=E">326801</a>
    Max

Maybe you are looking for