Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding rows to Table control

Former Member
0 Kudos

Hi,

Can some one give me the code to add rows in the table control (with out calling a dummy screen).

Thanks in advance.

4 REPLIES 4

Former Member
0 Kudos

If you are asking about the table control bdc logic, see if the transaction has a menu option 'new entry' or 'insert rows' or some such function that brings the next available free row to the top or the second row. Then in your logic, you can always keep the index to be either 1 or 2, and bdc okcode will be the function code found above. once all the items are entered, then you will use a different function code.

Please close your previous posts.

Thanks,

Srinivas

0 Kudos

Hi Srinivas,

Yes, I am talking about the BDC logic only, I checked it in the menu but i don't see any new entry option there. That is the reason i am asking.

Also, I guess i am closing the other posts by rewarding the points, if not tell me how to do it.

Thanks.

0 Kudos

Hi Subbu,

Which transaction are you calling? Did you check if there is a BAPI or a function module to do the same?

You can reward by choosing the radio-buttons next to each response based on how helpful they were to you. Once completely answered, you will choose 'Solved Problem' option, if that answer helped you to solve it. If you solved it yourself, right next to your original post, there will be a button 'Solved myself' or something like that. Choosing this will close the post and there will be a blue start next to the post.

Srinivas

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Actually in this link,I am maintaining some rows disabled and after pressing the insert button , I am enabling those rows.Just check the link.Kindly reward points by clicking the star on the left of reply,if it helps.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table control in abap.pdf