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
What are the advantages of logical databases?
What are the functional areas, user groups? How does abap query work in relation to these?
What is the function of the transport system and workbench organiser? : abap data dictionary
How to create user interfaces for lists?
Explain the structure of a bdc sessions?
Did you create secondary index?
Have you set up a back ground job ? How to create a background job without a variant ?
What is a help view? : abap data dictionary
What is its?
Which commands are used for interactive reports?
what is friend class
How do you find the information on the current screen? : abap bdc
Can we access static attribute from instance method
what are the main technical differences between oracle and sap? it would be more helpful to me if get this answer...
BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul