Getting a dumb after writing a SELECT statement at TABLE level of SMART

hi all,
i have created a RATE COMPARISON REPORT.In that Report i have to display Rate Price against  RFQ No.For this purpose i have write a code at SMART FORMS in TABLE.Following are the code:
SELECT SINGLE netpr
  INTO it_detail
  FROM ekpo
  INNER JOIN ekko ON
  ekko~ebeln = ekpo~ebeln
  WHERE ekko~BSTYP EQ 'F'
  AND   ekko~spras eq 'E'
AND   ekpo~ebeln eq IT_DETAIL-EBELN
This code is assign with TEXT FILED  at TABLE level.when i execute it i get the following dump.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CXSY_OPEN_SQL_DB', was not caught in procedure "%CO2" "(FORM)"_,
nor was it propagated by a RAISING clause.Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
The reason for the exception is:
In a SELECT access, the read file could not be placed in the target field provided. Either the conversion is not supported for   the type of the target field, the target field is too small to include the value, or the data does not have the format required for the target field.
could any body tell me what is problem in my SELECT query statement after executing giving me a dump.
Thanks,
sappk25

Hi
The select query is wrong, as you should not move the single field into a table (it_detail)....
Change the query as follows...
data: v_netwr type netwr.
SELECT SINGLE netpr
  INTO v_netwr
  FROM ekpo
  INNER JOIN ekko ON
  ekkoebeln = ekpoebeln
  WHERE ekko~BSTYP EQ 'F'
  AND   ekko~spras eq 'E'
AND   ekpo~ebeln eq IT_DETAIL-EBEL
if sy-subrc eq 0.
  move v_netwr to it_detail.
endif.
Hope this helps....

Similar Messages

  • How to write SELECT statement using tables ekko,ekpo and eket?

    Hi,
    I got a problem in  performance tuning using below tables?
    how to write SELECT statement using tables EKKO,EKPO and EKET and in conditon ( WHERE clause)  use only fields 
                        ekko~ebeln       IN ebeln
                       ekko~loekz       EQ ' '
                       ekko~lifnr       IN lifnr
                       ekko~ekorg       IN ekorg
                      ekko~ekgrp       IN ekgrp          
                       ekpo~werks       IN werks
                       ekpo~pstyp       EQ  '3'
                       ekpo~loekz       EQ  space
                       ekpo~elikz       EQ  space
                       ekpo~menge       NE  0
                     eket~rsnum       NE space.
    Thanks in Advance.
    bye.

    Hi,
    ekko~ebeln IN ebeln
    ekko~loekz EQ ' '
    ekko~lifnr IN lifnr
    ekko~ekorg IN ekorg
    ekko~ekgrp IN ekgrp
    ekpo~werks IN werks
    ekpo~pstyp EQ '3'
    ekpo~loekz EQ space
    ekpo~elikz EQ space
    ekpo~menge NE 0          " Remove this from where clause
    eket~rsnum NE space.    " Remove this from where clause
    ' instead delete the entries after fetching into the table
    DELETE it_itab WHERE menge EQ '0' AND rsnum EQ ' '.
    Regards
    Bala Krishna

  • Getting Username to pass into LOV select statement

    Hello!
    I'm wondering if its possible to get the username of the current user logged in and pass it as a variable into a select statement used in a dynamic LOV in Oracle AS Portal?
    What I'm attempting to do is pull all the values from a table that equal the current user's username to user on a portal report
    so (as a rough example)
    select color from mytable where username = 'whatever the user name is would be here'
    And then the current user would get a list of values from which to select based off of the values entered in this table.
    The issue I'm having is determing how to fill the 'whatever the user name is would be here' portion with the actual logged in user's username (or even if its possible). I know on the actual portal one can do #USER.FULLNAME# to display their username, is there a similar "variable" one may use to get the username for a LOV sql call?
    I can get it to work if I statically fix the username to a particular value (ex: where username = 'Joe.Hacker') but I'm unsure if theres a variable or bind value (for lack of a better term) to grab the username on the fly.. dynamically.

    portal.wwctx_api.get_user can be used in the SQL query of your portal report to get the user_name of the currently logged-in portal user. For more info on wwctx_api, see the 10.1.2 or 10.1.4 portal API docs at http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1012/index.html or http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/index.html

  • Problem with writing SQL Select statement.

    Table structure
    Temp_tab
    App_no          Number
    Cln_no          Number
    Example data
    APP_NO          CLN_NO
    1          1
    1          2
    1          4
    2          3
    3          5
    3          7
    3          6
    4          9
    4          8
    7          13
    Output
    APP_NO          CLN_NO
    1          1,2,4
    2          3
    3          5,7,6
    4          9,8
    7          13
    You should not create any function to get this output. It should be a Select statement. You can use 8i features. You can exclude the comma between the values instead of that you can put spaces. No hard coding.
    Thank you in advance.
    Samujjwal Basu

    Table structure
    Temp_tab
    App_no          Number
    Cln_no          Number
    Example data
    APP_NO          CLN_NO
    1          1
    1          2
    1          4
    2          3
    3          5
    3          7
    3          6
    4          9
    4          8
    7          13
    Output
    APP_NO          CLN_NO
    1          1,2,4
    2          3
    3          5,7,6
    4          9,8
    7          13
    You should not create any function to get this output. It should be a Select statement. You can use 8i features. You can exclude the comma between the values instead of that you can put spaces. No hard coding.
    Thank you in advance.
    Samujjwal Basu

  • SELECT statement INTO TABLE - what determines order of entries in in.table?

    Hello everyone.
    I habe a question: A select statement selects multiple entries from a data base table that are put into an internal table.
    The question : What determines the order of the entries in the internal table? 
    And what might change the order all of a suddden in that internal table?
    Could reorg. activities/archiving (even ongoing) cause any different result in the order as before ?
    I do not mean different entries but I rather refer to the sorting of the internal table, if it is not explicitly stated in the select or in parts of the coding.
    Any explaination is appreciated!
    Thanks!
    CN.

    Hi,
    Its not the order in which you specify the fields in the where clause that affects the sequence of the selection.
    What I said is that by default the entries are sorted by the primary key of the table.
    I did a bit of a test out of curiosity and after seeing so many different replies on the thread. I was surprised to see the results of the different scenarios.
    REPORT  Z_TEST_SELECTION                        .
    tables vbap.
    data it_vbap type table of vbap.
    data it_vbak type table of vbak.
    select-options s_vbeln for vbap-vbeln.
    select-options s_posnr for vbap-posnr.
    "======================================================================
    "s_vbeln has following entries
    " 5
    " 6
    " 1
    " 2
    "s_posnr has following entries.
    " 10
    " Sorts in ascending order by VBELN and POSNR by default
    select * up to 20 rows from vbap into table it_vbap.
    refresh it_vbap.
    "Below two cases are absolutely unreliable and I would suggest that a
    "sort should be mentioned after these statements. So when we use select
    "options specify values with the in clause, the sort is not reliable.
    "Strangely , neither the sequence is not determined by the order in
    "which the data was entered in the select option nor in the sequence of
    "the primary key. And this is still a mystery to me about the order in which
    "the entries are selected.
    " Any answeres anyone ?
    "1.
    select * from vbap into table it_vbap
    where  vbeln in ('0000000002','0000000006','0000000005','0000000001')
    and posnr in s_posnr.
    * Resulted in
    *900  |0000000001|000010|
    *900  |0000000005|000010|
    *900  |0000000006|000010|
    *900  |0000000002|000010|
    "=========================================================
    "2.
    select * from vbap into table it_vbap
    where  posnr in s_posnr
    and    vbeln in s_vbeln.
    * Resulted in
    *900  |0000000002|000010|
    *900  |0000000001|000010|
    *900  |0000000005|000010|
    *900  |0000000006|000010|
    refresh it_vbap.
    "Here the orders were selected in Decending order of Sales order, however
    "the posnr is not mentioned in the order by clause, hence posnr was
    "still in ascending order.
    select * from vbap into table it_vbap
    where posnr in s_posnr and vbeln in s_vbeln
    order by vbeln descending.
    write : 'done!'.
    refresh it_vbap.
    "Here the orders were selected in Descending order of Sales order.
    select * from vbak into table it_vbak where vbeln in s_vbeln
    order by vbeln descending.
    " The entries were selected in the ascending order of the key VBELN and
    " POSNR, so it seems that for all entries does not affect the selection of records.
    select * from vbap into table it_vbap
    for all entries in it_vbak
    where vbeln = it_vbak-vbeln
    and   posnr in s_posnr.
    Of course if you change the order of the primary key (in the transparent table, not in the where clause), the entries will be sorted as per the changed key.
    But we seldom change the the sequence of the primary key. In most cases we normally add a new field and make it a key field in addition to the existing key fields.
    I hope this helps you.
    There might be many more cases and examples than given above, which you can try and reply on this post. Lets see what we come up with.
    regards,
    Advait

  • Select statement from tables which have now been split

    I used to select from 3 tables:
    user, login, location
    I would do:
    select distinct user.id, login.computer_id, location.id as location_id
    from user, login, location
    where user.id = login.user_id
    and login.location_id = location.id
    and user.id = "manny"
    but user has now been split into user1, and user2
    I want to pull data where it exists from user1 or user2.
    Much of the data in user1 is duplicated in user2 and vice versa, but I want to pull only one instance where it appears so that I can still get single row results of:
    ID COMPUTER_ID LOCATION_ID
    mannyd redstar_1 Bronx, NY
    Any ideas on the query?

    Why would you split a single table into multiple tables with the same structure and much of the same data? That seems rather counterproductive.
    I suppose you could do something like
    select user.id, login.computer_id, location.id as location_id
    from user1 user, login, location
    where user.id = login.user_id
    and login.location_id = location.id
    and user.id = 'manny'
    UNION
    select user.id, login.computer_id, location.id as location_id
    from user2 user, login, location
    where user.id = login.user_id
    and login.location_id = location.id
    and user.id = 'manny'but that's obviously going to be much more expensive than the single-table approach...
    Justin

  • How to get the previous record in the select statement

    I am trying to update the parent part number as a parent for component part number. I can assign the main part with level 1 as a parent and it looks like this.
    PART_NUMBER     PART_LEVEL     PART_PARENT
    1140000000T     3     1140001755L
    1140001755D     2     1140001755L
    1140001755L     1     
    A1010000139     5     1140001755L
    A1010015001     4     1140001755L
    A1010000139I     4     1140001755L
    A40210062     2     1140001755L
    A1010001579     4     1140001755L
    but, I need to assign the previous level part as the parent part instead of level 1. I can add a new column to store this value. I need the structure as
    PART_NUMBER     PART_LEVEL     PART_PARENT
    1140001755L     1     
    1140001755D     2     1140001755L
    A40210062     2     1140001755L
    1140000000T     3     A40210062
    A1010015001     4     1140000000T
    A1010000139I     4     1140000000T
    A1010001579     4     1140000000T
    A1010000139     5     A1010001579
    We might have multiple parts at the same level, so I need to make sure that correct parent is assigned to the part. Anybody has any idea?
    Thanks

    spooHi,
    How to do that depends on your data.
    Post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data (formatted, within \ tags), if it's not the reuslts you already posted.   If you can show what your problem is using commonly available tables (like scott.emp), then you don't have to post any sample data; just the results.
    Post your existing query, too;.  Always say what version of Oracle you're using.
    It looks like you're currently doing something like this:SELECT     ename
    ,     LEVEL
    ,     CONNECT_BY_ROOT ename     AS root_ename
    FROM     scott.emp
    START WITH     mgr     IS NULL
    CONNECT BY     mgr     = PRIOR empno
    which produces this output:ENAME LEVEL ROOT_ENAME
    KING 1 KING
    JONES 2 KING
    SCOTT 3 KING
    ADAMS 4 KING
    FORD 3 KING
    SMITH 4 KING
    BLAKE 2 KING
    ALLEN 3 KING
    WARD 3 KING
    MARTIN 3 KING
    TURNER 3 KING
    JAMES 3 KING
    CLARK 2 KING
    MILLER 3 KING
    where the last column shows the ancestor *farthest* above the current row.
    If I understand you, you want to have output that shows the *nearest* anacestor, like this:NAME LEVEL PARENT_ENA
    KING 1
    JONES 2 KING
    SCOTT 3 JONES
    ADAMS 4 SCOTT
    FORD 3 JONES
    SMITH 4 FORD
    BLAKE 2 KING
    ALLEN 3 BLAKE
    WARD 3 BLAKE
    MARTIN 3 BLAKE
    TURNER 3 BLAKE
    JAMES 3 BLAKE
    CLARK 2 KING
    MILLER 3 CLARK
    You can do that by changing a single line:SELECT     ename
    ,     LEVEL
    ,     PRIOR ename          AS parent_ename          -- Changed
    FROM     scott.emp
    START WITH     mgr     IS NULL
    CONNECT BY     mgr     = PRIOR empno

  • How to Get Top 10 records using SQL select statement.

    :-) Hiee E'body,
    I want to generate a sql report in which I only want the top 10 records based on the numeric value of a column.
    For Example,
    To generate a Location Wise, Employee Wise Years of Service Report.
    Here I need the Top 10 Employees according to their No. of Years of Service for all the existing locations using a single query.
    eg.
    Location Emp No. YOS
    India - 22 30
    212 28
    819 24 ...
    US 123 40
    312 33
    90 33
    144 30 ...
    UK 77 20
    79 20
    331 18
    109 16 ...
    Every Location should display their respective Top 10 Employees
    regarding their No. of Years of Service.
    Please let me the know the solution to this.
    Have a nice day.
    Thanking You,
    Vivek Kapoor.

    For example if the table contained (India rows only shown) :
    India 202 30
    India 212 28
    India 819 24
    India 820 24
    India 900 20
    India 920 18
    India 922 17
    India 925 16
    India 926 15
    India 927 14
    India 928 13
    India 929 13
    India 930 12
    do you want to see
    India 202 30
    India 212 28
    India 819 24
    India 820 24
    India 900 20
    India 920 18
    India 922 17
    India 925 16
    India 926 15
    India 927 14
    or
    India 202 30
    India 212 28
    India 819 24
    India 820 24
    India 900 20
    India 920 18
    India 922 17
    India 925 16
    India 926 15
    India 927 14
    India 928 13
    India 929 13
    Also if the India rows were
    India 202 30
    India 212 30
    India 819 30
    India 820 30
    India 900 30
    India 920 30
    India 922 30
    India 925 30
    India 926 30
    India 927 30
    India 928 30
    India 929 30
    do you want to see
    India 202 30
    India 212 30
    India 819 30
    India 820 30
    India 900 30
    India 920 30
    India 922 30
    India 925 30
    India 926 30
    India 927 30
    or
    India 202 30
    India 212 30
    India 819 30
    India 820 30
    India 900 30
    India 920 30
    India 922 30
    India 925 30
    India 926 30
    India 927 30
    India 928 30
    India 929 30
    Please clarify.
    Thanks,
    Partha

  • SQL SELECT statement Parent_child table and its related table..... HELP plz

    I have 2 tables
    Table Parent_child_table:
    ID | Parent_id | Name
    1 | NULL | Kitchen
    2 | 1 | Freezer
    3 | NULL | Garden
    4 | 3 | Grass
    Table Products:
    ID | parent_child_table_ID | Price | Comment
    1 | 2 | 111 | aaaa
    2 | 4 | 12 | vv
    I want to select Name from parent table where selected child ID are in PRODUCT table.....
    The result would like:
    |NAME|
    |Kitchen
    |Garden
    Can someone help with this SQL SELECT ?

    Raivis wrote:
    I have 2 tables
    Table Parent_child_table:
    ID | Parent_id | Name
    1 | NULL | Kitchen
    2 | 1 | Freezer
    3 | NULL | Garden
    4 | 3 | Grass
    Table Products:
    ID | parent_child_table_ID | Price | Comment
    1 | 2 | 111 | aaaa
    2 | 4 | 12 | vv
    I want to select Name from parent table where selected child ID are in PRODUCT table.....
    The result would like:
    |NAME|
    |Kitchen
    |Garden
    Can someone help with this SQL SELECT ?A guess
    select
       p.name
    from Parent_child_table p
    where p.parent_id is null
    and exists
    select
       null
    from Parent_child_table p1, products p2
    where p1.id = p2. parent_child_table_id
    and p1.parent_id = p.id
    )The reason it's a guess is because you've really done nothing to outline WHY you should get the results you say you would like. The more time you spend creating a clear question, the less time you'll have to spend weeding through useless answers.
    Cheers,

  • Select statement on table of objects

    My table is like this :-
    CREATE OR REPLACE TYPE VALUE_T AS OBJECT ( PROPERTYVALUE VARCHAR2(4000) );
    CREATE OR REPLACE TYPE PROPERTY_T AS OBJECT ( PROPERTYNAME VARCHAR2(128) , PROPERTYVALUE VALUE_T );
    CREATE TABLE TEMP ( SESSIONID , PROPERTY PROPERTY_T );
    Can i do query on column of type object and how? Something like this
    SELECT * FORM TEMP WHERE PROPERTY.PROPERTYNAME='XYZ';
    thanx

    I got solution myself. It is
    select t.command.command from T_AEDOIP t;
    select t.command.objectname from T_AEDOIP t;
    thanks to those who read this prob

  • Hint in Update or Select Statement in an inline query ??

    Hi ,
    I had an update statement that will get the data from the inline select statement,now where can i can keep the hint ,either in update statement or in Select statement...
    Please let me know if my sample script is wrong or any better way to approach...Please assume that Salary table had millions of employee's salary records.
    update emp
    set salary = salary + (select /*+ full(a) parallel(a,4)  */ salary from Salary
                             where   experience > 5  and empno = 55 )
    where empno = 85Thanks
    Rede

    You would put the hint in the select statement as you have it, but it won't work until you alias your table name to "a" since that is how you are referencing it in the hint:
    update emp
    set salary = salary + (select /*+ full(a) parallel(a,4)  */ salary from Salary a
                             where   experience > 5  and empno = 55 )
    where empno = 85
    NOTE I added the "a" right after the Salary table name AND you can only do parallel updates on partitioned table, but the select will run in parallel to at least get the data for you quickly.
    To answer your other question about syntax, it is incorrect and there are a lot of ways to write it but a straight forward way would be to use the merge statement
    merge into emp e
    using (select /*+ full(s) parallel(s,4)  */ s.salary from salary s where s.experience > 5) s
    on (e.empno = s.empno)
    when matched then update
    set salary = s.salary;

  • I need select statement

    Dear Friends
    I need select statement correction I want to do get mblnr from my itab. After than from vbfa, I want to get 
    1.vbpa-vbeln = itab-mblnr and vbfa-matnr = itab-matnr
    2.vbfa-vbtyp_v must be 'T'.
    3.After than get vbfa-vbelv according to this conditions.
    4.And than vbfa-vbelv = lips-vbeln, vbfa-matnr = lips-matnr
    5 By the way I want to get lips-lfimg
    Please find below select statement but I couldn't succeed.
    LOOP AT itab.
        SELECT  bvbeln bmatnr bvbtyp_v  bvbelv cvbeln cmatnr c~lfimg
    APPENDING  CORRESPONDING FIELDS OF TABLE itab4
    FROM  vbfa AS b
    INNER JOIN lips AS c ON bvbelv EQ cvbeln
    WHERE bmatnr EQ cmatnr
    AND b~vbeln EQ itab-mblnr
    AND vbtyp_v = 'T'.
    modify itab.
      ENDLOOP.
    Your helps will be highly appreciated.
    Message was edited by: yusuf tunay çilesiz

    Maybe this can help you.
      if not itab[] is initial.
         select a~vbeln a~matnr a~vbtyp_n b~lfimg
                into corresponding fields of table itab4
                for all entries in itab
                from vbfa as a inner join lips as b
                on a~vbeln = b~vbeln
                and a~posnr = b~posnr
                where a~vbeln = itab-mblnr
                and   a~matnr = itab-matnr
                and   a~vbtyp_n = 'T'.
      endif.
      With the above code the problem i foresee is when the same material exists more than once in the delivery.
    Kind Regards
    Eswar

  • How to pass values in select statement as a parameter?

    Hi,
    Very simple query, how do I pass the values that i get in the cursor to a select statement. If table1 values are 1,2,3,4 etc , each time the cursor goes through , I will get one value in the variable - Offer
    So I want to pass that value to the select statement.. how do i do it?
    the one below does not work.
    drop table L1;
    create table L1
    (col1 varchar(300) null) ;
    insert into L1 (col1)
    select filter_name from table1 ;
    SET SERVEROUTPUT ON;
    DECLARE
    offer table1.col1%TYPE;
    factor INTEGER := 0;
    CURSOR c1 IS
    SELECT col1 FROM table1;
    BEGIN
    OPEN c1; -- PL/SQL evaluates factor
    LOOP
    FETCH c1 INTO offer;
    EXIT WHEN c1%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(offer);
    select * from table1 f where f.filter_name =:offer ;
    factor := factor + 1;
    DBMS_OUTPUT.PUT_LINE(factor);
    END LOOP;
    CLOSE c1;
    END;

    Hi User,
    You are looking somethuing like this, as passing the values to the Cursor as a Paramter.
    DECLARE
       CURSOR CURR (V_DEPT IN NUMBER)    --- Cursor Declaration which accepts the deptno as parameter.
       IS
          SELECT *
            FROM EMP
           WHERE DEPTNO = V_DEPT;    --- The, Input V_DEPT is passed here.
       L_EMP   EMP%ROWTYPE;
    BEGIN
       OPEN CURR (30);       -- Opening the Cursor to Process the Value for Department Number 30 and Processing it with a Loop below.
       DBMS_OUTPUT.PUT_LINE ('Employee Details for Deptno:30');
       LOOP
          FETCH CURR INTO L_EMP;
          EXIT WHEN CURR%NOTFOUND;
          DBMS_OUTPUT.PUT ('EMPNO: ' || L_EMP.EMPNO || ' is ');
          DBMS_OUTPUT.PUT_LINE (L_EMP.ENAME);
       END LOOP;
       CLOSE CURR;
       DBMS_OUTPUT.PUT_LINE ('Employee Details for Deptno:20'); -- Opening the Cursor to Process the Value for Department Number 20
       OPEN CURR (20);
       LOOP
          FETCH CURR INTO L_EMP;
          EXIT WHEN CURR%NOTFOUND;
          DBMS_OUTPUT.PUT ('EMPNO: ' || L_EMP.EMPNO || ' is ');
          DBMS_OUTPUT.PUT_LINE (L_EMP.ENAME);
       END LOOP;
       CLOSE CURR;
    END;Thanks,
    Shankar

  • Passing value as a parameter in select statement

    Hi,
    Very simple query, how do I pass the values that i get in the cursor to a select statement. If table1 values are 1,2,3,4 etc , each time the cursor goes through , I will get one value in the variable - Offer
    So I want to pass that value to the select statement.. how do i do it?
    the one below does not work.
    drop table L1;
    create table L1
    (col1 varchar(300) null) ;
    insert into L1 (col1)
    select filter_name from table1 ;
    SET SERVEROUTPUT ON;
    DECLARE
    offer table1.col1%TYPE;
    factor INTEGER := 0;
    CURSOR c1 IS
    SELECT col1 FROM table1;
    BEGIN
    OPEN c1; -- PL/SQL evaluates factor
    LOOP
    FETCH c1 INTO offer;
    EXIT WHEN c1%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(offer);
    select * from table1 f where f.filter_name =:offer ;
    factor := factor + 1;
    DBMS_OUTPUT.PUT_LINE(factor);
    END LOOP;
    CLOSE c1;
    END;

    Hi Greg,
    Thanks for the response, No there is no ODB.net involved here.
    If I remove the : from :offer. I get this error now.
    Changed SQL is:
    select * from table1 f where f.filter_name =offer ;
    Error report:
    ORA-06550: line 16, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 16, column 9:
    PL/SQL: SQL Statement ignored
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Select statement in a BADI method

    Hello All,
    I want to put a select statement on table CRMD_ORDERADM_I in the PREPARE method of ORDER_SAVEbadi implementation where in I get a syntax error of the table not defined. How do i get over this..
    helpfull answers will be rewarded..
    Thanks in advance,
    Smita

    Hi,
    I dont think you should face any problem in acessing these database tables inside your BADI.
    Even if you are facing some problem declare these tables before your code as below.
    TABLES : CRMD_ORDERADM_I.
    But it should work even without declaring.
    Hope this helps
    Regards
    Sourabh

Maybe you are looking for

  • I just upgraded to CC (from LR 5) on Macbook Pro and can no longer import to Network Drive.  New version is LR 5.7.  Help?

    Just like the title says: MBP, retina works great with LR 5 installed from CD.  Added CC, upgraded to LR 5.7 and now import "hangs" with no activity.  Have been using LR since version 2. More info: the problem is writing to my network drive (which ha

  • VBR or not?

    I will be importing my whole cd library in AAC format. After reading lots of posts, i'm still undecided in what I should do about VBR. Should i check that box or not? When checked, the extra space it seems to take up is not an issue but is the suppos

  • WebSAP problem

    Hi, I am getting a "connection timed out after 60 sec" error on one of our BSP application page. Have checked all parameters which seem fine. There is a function module which uses this RFC. I test RFC destination 'XYZ' connection in SM59(TCP-IP) and

  • Error MWM-00755 and MWM-00733

    Hi, I have run 8i1.6/NT4/web agent and run interMedia Image Retrieval Example with next error in .log file .... MWM-00015: event logged at 08-nov-2000 18:23:12 web agent 'interMedia' MWM-00013: request: method='GET' path='/intermedia/test/MEDIAGET/ge

  • HT1711 There is a preference for syncing my itunes library to my iphone (4s).  How do I "sync only marked items"?

    There is a preference for syncing  my itunes library to my iphone (4s). When I first synced, it asked me if I wanted to sync everything, but that is too big for my memory.  How do I get back to that window and "sync only marked items"?