Logic for using table controls in BDC?
Answers were Sorted based on User's Feedback
Answer / vandan
data : count type i value 1.
data : var type i value 1.
types : begin of header ,
firstfield(1),
flg(2),
.........
.........
end.
types : begin of item ,
firstfield(1),
flg(2),
.........
.........
end.
Loop at header table.
loop at item table.
if header-firstfield = 'H'.
Pass coun to header-flg.
count = count +1.
else.
pass count to item-flg.
endloop.
endloop.
loop at header data .
header BDC recording.
loop at item data where item-flg = header-flg.
item BDC recording.
var = var + 1.
if var > 3.
put click recording.
var= 1.
endif.
put save recording.
endloop.
endloop.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sonalmishra
To upload transactional data along with master data
Is This Answer Correct ? | 0 Yes | 0 No |
6)what are the table controls in BDC ?
what is the difference detween EDI AND ALE?
what is the difference b/w driver program & print program?
Is it possible to pass data to and from include programs explicitly? : abap modularization
how to create a button in selection screen?
Whom you report if you face difficulty in understanding the business process given in Functional Spec.
What is the difference between field-group header and other field groups?
what is the field to be used in field catalog of an ALV report to hide the relevant column in the list?
How to upload data using catt ? : abap hr
We have 100 records in table how to fetch 10 th record?
There is a situation where there is a field "MATERIAL DESCRIPTION" in say 20 display only transaction. You want that whenever user opens any of these transaction, this particular field is masked with ****. But table does not holds ****. It holds the actual value. What are different ways of doing it? Which is the best way.
A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?