Read table it_salesord assigning <fs_salesord> With table key doc_number eq comm_structure-doc_number.
Is this correct? How can I go on to writing a clear statement?
Requires Free Membership to View
When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.
Hannah Smalltree, Editorial Director
Read table it_salesord assigning <fs_salesord> with table key doc_number = comm_structure-doc_number.
Then to clear one of the fields:
CLEAR <fs_salesord>-fieldname
With field-symbols, I don't use <fs_...> as naming. The angle brackets are unique to field symbols, so it really is unnecessary.
The best way to learn SAP ABAP is to go on a SAP training course. Some companies are reluctant to do this for SAP BW analysts. However, a good programmer can really make a difference in performance and maintainability of the ABAP required for many BW models. If you can't do a training course, then visit SAP Press -- they've many useful books. You could also try Amazon.com or similar online book sellers! Also, don't forget to read the ABAP help, by pressing F1 when your cursor is in a keyword -- that will tell you how to use each command.
This was first published in March 2010