I need to "update" BSEG-SGTXT. What is the best way to do this? I gather updates are not the "best" way.
The problem is that BSEG-SGTXT is duplicated in other tables, like BSIS, BSID etc. You need to use a method that performs all the checks and updates that occur when you modify the field manually. If you can't modify the field manually, it would be extremely unwise to update the table directly. The best method would be to find a BAPI which updates accounting documents, and allows you to set this field. Then it is just a matter of calling the BAPI function module. Otherwise, record the manual process using SM35, and create a batch input program.
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
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.