2008 Mar 05 12:07 PM
Hi....
can any one tell me why i am getting the below error when i am executing the program ..
Syntax Error:
Literals that take up more than one line not permitted.
Code :
READ TABLE IT_008_OUTPUT WITH KEY PERNR = ITAB-PERNR
LGART = 3001.
IF SY-SUBRC = 0.
* Then pass the value into itab1.
ITAB1-LGART = IT_008_OUTPUT-LGART.
ITAB1-BET02 = IT_008_OUTPUT-BETRG.
ENDIF.
2008 Mar 05 12:10 PM
Hi Phaninder,
Did you copy any code from a notepad or word document and paste into the SAP editor?
If this was done, then you often get this error without there being any obvious errors. If so, please retype the statements directly in the SAP editor.
Also, ensure there is no literal in quotes split over two lines e.g.
MOVE 'Start of literal ' to v_test.
Such a statement would return the error described.
Cheers.
2008 Mar 05 12:12 PM
Hi,
post the code along with the loop statements.
Regards,
ramya