Answer / 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.
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.
This is called Parallel cursor technique.
|Is This Answer Correct ?||0 Yes||0 No|
What is a view in sap? : abap data dictionary
When would you use a BAPI rather than an IDOC
Explain the different types of data dictionary objects?
How to put checkbox against a row in ALV display?
how to debug user exits?
how many no of buttons we can create on Apllication tool Bar?
1 must be expert in JAVA to learn SAP-ABAP?
Are you familiar with all steps for setting up a workflow?
3) Will 50,000 records be uploaded directly into APP's Server?
What is the difference between refresh and free statements?
How to display footer in every page in ALV report?
can any post me all steps in MM ,SD, PP FLOW in detail?