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 |
which of the command flushes the database buffer? a) $free b) $tab.
I want some questions in SAP -ABAP,programming side
1) If the scripts are client dependent, what above driver program ? (client dependent / independent) 2. I have two pages, In one page I want address, Header, Main & footer. In the second page I want only Main. How to do it? 3) Will 50,000 records be uploaded directly into APP's Server? 4) What is the button to change the variant in ALV ? 5) If your project is support project ? when is your implementation has completed ? 6)In start of selection, if we perform validation, what happens ? 7)How to join 3 tallies & looping. We have developed a program in a client say (200- client) and 210 has test data. No developing rights. How to test data? 8)How to transfer data which is coming from are report as output to another report 9)How to create standard text and how do u transfer it ? 10)What are the views when we are creating Material ?
What are the errors occurred in a report?
Define alv programming in abap?
can we transport text elements and text symblos in reports from devlopment to quality?is it necessary?
wat is RFC?wat r the RFC types?
What are V1 & V2 updates within the SAP LUW? Why & How they occur?
What are user exits? What is involved in writing them? What precautions are needed?
If I forgot some command in sap script e.g.: Suppress zero display – how to do find it?
What are function modules?
What is an Unpack command?