Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Runtime errors - if any one can help me

Former Member
0 Likes
414

Runtime Errors DBIF_RSQL_INVALID_RSQL

Exceptn CX_SY_OPEN_SQL_DB

Date and Time 31.05.2007 17:15:10

Above said errors, i m getting while executing the below mentioned script

SELECT PLANT CREATION_DATE SHIFT DESIGN_NUMBER GROUP_MACHINE MACHINE_NO ACTUAL_TURNS PRODUCE_PIECE FABRIC_WIDTH

ACTUAL_STITCH RUNNING_TIME TARGET_STITCHES AUFNR RSPEED

VBELN OPENING_ENTRY CLOSING_ENTRY

FROM ZPP_EMB_PROD

INTO TABLE IT_PROD

WHERE PLANT IN P_WERKS

AND GROUP_MACHINE IN P_MGROUP

AND MACHINE_NO IN P_MNO

AND CREATION_DATE IN P_DATE.

SG

Mumbai

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
391

hi,

if the lenth of your query exceded the limit of 72 character... then sometime it gives dump.

or try "into corresponding fields of table"

regards,

shardul shah

4 REPLIES 4
Read only

Former Member
0 Likes
391

try to use

From ZPP_EMB_PROD

into corresponding fields of table IT_PROD

Might the field sequence giving problem while updating into internal table.

Regards

Nilesh shete

Read only

Former Member
0 Likes
391

1. check the datatypes fields of IT_PROD is matched with what u are passing.

2. Use 'Into corresponding fields of IT_PROD' in your select.

as its a selext query, the runtime error may occur only when type missmatch.

Read only

Former Member
0 Likes
392

hi,

if the lenth of your query exceded the limit of 72 character... then sometime it gives dump.

or try "into corresponding fields of table"

regards,

shardul shah

Read only

Former Member
0 Likes
391

1. make sure that the fields mentioned in select are in the same order in itab

IT_PROD

2. if all the fields in IT_PROD are not mentioned in select then use

INTO CORRESPONDING FIELDS OF TABLE IT_PROD

SELECT PLANT CREATION_DATE SHIFT DESIGN_NUMBER GROUP_MACHINE MACHINE_NO ACTUAL_TURNS PRODUCE_PIECE FABRIC_WIDTH

ACTUAL_STITCH RUNNING_TIME TARGET_STITCHES AUFNR RSPEED

VBELN OPENING_ENTRY CLOSING_ENTRY

FROM ZPP_EMB_PROD

INTO <b>CORRESPONDING FIELDS OF </b> TABLE IT_PROD

WHERE PLANT IN P_WERKS

AND GROUP_MACHINE IN P_MGROUP

AND MACHINE_NO IN P_MNO

AND CREATION_DATE IN P_DATE.