on 04-21-2020 3:32 PM
this is the code and line no.9 showing error.Literals across more than one line are not allowed. Please provide solution...
1. LOOP AT ET_ORDERADM_H INTO ES_ORDERADM_H.
2. CLEAR: REF_GUID, HT_ORDER[], OBJ, LT_OSSET[], WA_FINAL, TT_DOC_FLOW[], TS_DOC_FLOW.
3. sort ET_DOC_FLOW[] by OBJKEY_A.
4. read table ET_DOC_FLOW into ES_DOC_FLOW with key OBJKEY_A = ES_ORDERADM_H-GUID BINARY SEARCH.
5. if sy-subrc = 0.
6. lv_doc = sy-tabix.
7. LOOP AT ET_DOC_FLOW INTO ES_DOC_FLOW FROM lv_doc.
6. if ES_DOC_FLOW-OBJKEY_A <> ES_ORDERADM_H-guid.
9. if ES_DOC_FLOW-OBJKEY_A NE ES_DOC_FLOW-REF_GUID.`
10. TS_DOC_FLOW = ES_DOC_FLOW.
11. APPEND TS_DOC_FLOW TO TT_DOC_FLOW.
12. ENDIF.
13. exit.
14. endif.
15. ENDLOOP.
16. endif.
17. endloop.
You have a literal at the end of line 9. that is used to start a text. Since it is not ended, the syntax checker interprets it as if you want ot have the text span over more than one line.
Just get rid of it and the error will be gone. It is probably a copy+paste error, or you accidentally pushed that character button on your keyboard:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you so much Michael.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.