on 01-10-2006 3:52 PM
Hi Friendz,
I am very much new to ABAP.I got a requirement in which i have to handling a table control to pass the data.How to handle this multiple line items ?? Can you pls gimme the solution for screen resolution too.Plsss help me out its a bit urgent.
Hi Mav,
Check this example program...
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Using T-Control in BDC is quite typical for the beginers.
1st you need to check yout T-Control whether it has togo page down or not.
Your T-Control is in standard Transaction or Z-Transaction.Coz while coding you need to take care diff for both.
I advice you to go through SHDB and record it.Analyse the code.
There you need to closely observe that to what line in T-control your data has to populate.
This area is quite critical.This you need dynamic.
Later the PAGE-DOWN it is quite more critical.
So you are telling you have multiple line items.
You need to do is you need to find from DB already how many records you have.
Based on this you need to go for NEXT line/NEW line.For this you need some calculation so that while recording to what line it has to go in T-control while recording through BDC.
Is yor Transaction Standard or Z-Transaction.
Thanks.
If this helps u reward with points.
Hi Mav,
I suppose u know bdc programming
For table control :
1. main thing is index number of the row.
()
2. for 1st row use,
itab-field(01)
itab-field2(01)
itab-field3(01)
3. for 2nd row use,
itab-field(02)
itab-field2(02)
itab-field3(02)
4. Also take care of ENTER
if scrolling is required.
5. Most important, record bdc using sm35
to know exactly what is happening behind the scenes.
In that also, u will see the code is
using ()
regards,
amit m.
regards,
amit m.
Hi Mav,
Try to press pagedown for each entry in the table control,so that you enter the first line every time.This is the simplest solution.
There is one more ,where one can know no. of lines in the table control & then work accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mav,
It can be handled in two ways....
1. Fill in all the visible rows in table control and record the page down. By this the counter of tabe control will start again. The no of page downs depend on ur internal table records.
2. Fill in the first line item and press create new item if its is available. Then the new entry should be made in the second row...if u click the new item again this row goes up and again u enter the third row...but at table control index 2 always.....and this goes on...
Sreedhar
Message was edited by: Sreedhar Kanchanapalli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on the transaction you are using.
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.