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 |
What is performance tuning?
What are the different types of sapscript symbols?
1.What is the difference between append structure and include structure. 2. what is the logging of technical setting while creating db table.
5 Answers Accenture, NTT Data,
In the user exits,how we can know that which field you are changing.Could any tell me what are the steps required
How do you run the scripts?
What are the tcodes for performance tuning?
if we have to upload the legacy data by using one transaction ex.me22, in bdc which way we will choose i.e. session method or call transaction? how we will choose that way? can we use both method in single program?
what is Foreign key, check table and value table ....? what is the difference between CHECK AND VALUE TABLE ..? PLEASE GIVE THE APPROPRIATE ANSWERS......
To find the date difference & excude saturday & sunday in between them
What is the Landscape in ur company?
Once the recording is done in BDC and LSMW...if we are asked to add an additional field later...then how do we add the field to the existing one...?
4 Answers Deloitte, Tata Steel Limited,
What is a type group?