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 |
How many types of tables exists and what are they in data dictionary?
How is the command suppress-dialog useful?
where can u use secondary index in program please tell me? is there any tool to test in development client?is there any performance tool is thre pleaseeee tell me?
What is the difference between open sql & native sql ?
can u create more than one selection screen?
8 Answers Bristle Cone, Cap Gemini, HP, Satyam, Wipro,
how to change col colors in alv reporting?
what tool is used to define flow logic ?
Events in Interactive Report?
1. what r the step followed for ALE Idocs ? 2. what is process code ? where it is define ?
What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc
Dear Experts pls answer the folowing qs that i have faced in the recent intvws: a) Can we execute the script individually? If yes How? Else what we need to do so? b) Are Layout sets Client independent? c) How do you assign a print program to a script? d) Can we call a subroutine in a script? If so, how? e) What are the steps to print SAP script form?
What is meant by search help? : sap abap data dictionary