‎2022 Sep 04 3:57 PM
i want to modify blanks field of my table..but when i use modify statement. it is storing present field record at correct place but clearing or making blank the previous stored field record...i want both records..how cani do it?
‎2022 Sep 05 6:37 AM
Hi shavezkhan832,
Try Modify statement with Transporting Keyword for only modify specific fields. Example,
Modify lt_tab from ls_tab transporting <field1> <field2> <fieldn> .Regards,
Aditya
‎2022 Sep 04 3:57 PM
Welcome to the SAP Community. Thank you for visiting us to get answers to your questions.
Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.
First, please see https://community.sap.com/resources/questions-and-answers, as this resource page provides tips for preparing questions that draw responses from our members. Second, feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html, as that will help you when submitting questions to the community.
I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.
Now for some specific suggestions on how you might improve your question:
* Outline what steps you took to find answers (and why they weren't helpful) -- so members don't make suggestions that you've already tried.
* Share screenshots of what you've seen/done (if possible), as images always helps our members better understand your problem.
* Make sure you've applied the appropriate tags -- because if you don't apply the correct tags, the right experts won't see your question to answer it.
* Use the "insert code" feature when sharing your code, so members have an easier time reading.
Should you wish, you can revise your question by selecting Actions, then Edit.
The more details you provide (in questions tagged correctly), the more likely it is that members will be able to respond. As it stands, I don't know if there is enough information here for members to understand your issue. So please consider revising your question because I'd really like to see you get a solution to your problem!
I hope you find this advice useful, and we're happy to have you as part of SAP Community!
Regards,
Dedi
‎2022 Sep 04 4:32 PM
I don't understand whether you are talking about database table or internal table.
Repeat MODIFY with the right key to update the other record.
‎2022 Sep 05 6:37 AM
Hi shavezkhan832,
Try Modify statement with Transporting Keyword for only modify specific fields. Example,
Modify lt_tab from ls_tab transporting <field1> <field2> <fieldn> .Regards,
Aditya
‎2022 Sep 05 10:04 AM
Hi shavezkhan832,
I Suggest you to go through this links, in which contain step by step process, which might help your requirement
__________________________
01. I Request Mostly go with preference with ABAP - Key Word Documentation (Official One by SAP) [ Document Navigation - Top Left Side ( ABAP INDEX ) - ctrl+f - Search your requirement (ex. modify, etc...) Incase if you are not getting still go with other two links ( 02 & 03 ).
02. Inserting or Changing Values using SAP Open SQL
03. Changing Lines in ABAP Internal Tables
__________________________
I Hope You Understood
If It helps Reward It 🙂
Thanks,
Suggu Sandeep.