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?
Read table it_salesord assigning <fs_salesord> with table key doc_number = comm_structure-doc_number.
Then to clear one of the fields:
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.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading