Answer Posted / cg
Parallel cursor is a technique to overcome loop inside loop technique in abap.
When we have two internal tables , and we have a situation where the entries from first internal table are to be dependant on the second table.
For e.g
Select matnr ernam from mara into table lt_mat where matnr = p_matnr.
Select maktx from makt into table lt_mat1 where matnr = lt_mat.
so for getting maktx we need to wirte first loop for lt_mat and then nested loop for lt_mat1 .
If we write like this , It will take more time to run the program to avoid this we use parallel cursor technique .
E.G select matnr from mara into table lt_mat where matnr = p_matnr.
Select maktx from mara into table lt_mat1 for all entries in lt_mat where matnr = lt_mat
then write loop for 1st select query only and read the second query with read table statment
Loop at lt_mat into lw_mat.
read table lt_mat1 into lw_mat1 where matnr = lw_mat.
endloop.
This is called Parallel cursor technique.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
if u take one worst program,in this program user write the logic is session method.in that program user can get some errors ,that errors we will see in call transaction method,how it is possible.?
What are the basic components of dialog program?
What are the different types of luws. What are they?
how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.
What is the use of table control in bdc is it same in module pool table control? : abap bdc
What are the disadvantages of logical databases?
What are the page windows? How many main windows will be there in a page window?
How would you suppress the display of a parameter on the selection screen?
What are the different message types available in the abap/4 ?
Why do we use abstract class
What is output determination?
What is the significance of the screen number ‘0’?
What are null values?
What are the advantages and disadvantages of using views in abap programming ?
What is synchronous update?