on 11-22-2010 7:07 PM
HI Experts,
I have created an quotation through report programming. Now i have to pass all the data to a smart form. I have also designed a smart form but there is some problem.
My Problem is as follows:
Loop at lt_price1 to ls_price1. "" Contains no. of materials
loop at lt_price1 to ls_price2. "" Same no. of material in material internal table
append ls_price2 to lt_price2.
endloop.
endloop.
Can i write a program line to select same no. of material into lt_price2 and then later on i will use it to print some data which is based on same no of materials in the main material internal table????
OR
Can anyone tell me what is purpose of program lines in internal table????????????????????
Where should i use it ???????????????????????
Thanks and Regards,
Shakun
Edited by: shakun123 on Nov 22, 2010 8:07 PM
1) in your second loop, in the where-clause you should put the following code
no_material = ls_price1-no_material
2) The program lines in the internal table are used for program code that is specific for data in those loops. It is just like the code that you write in a normal LOOP. An example of this type of code is selecting additional information for your materials or something like that.
kind regards
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.