‎2010 May 14 7:50 AM
Hi,
Good day guys
Ive dev the smart form for workshop invoice.. everything fine but they need sort the stracture one which is LBBIL_IT_GEN.
so ive created the custome stracture ZLBBIL_IT_GEN and added the numaric field at end of the strc.
move-corresponding gs_it_gen to ZLBBIL_IT_GEN1.
lv_num = lv_num + 001.
ZLBBIL_IT_GEN1-MTART = GV_MTART.
ZLBBIL_IT_GEN1-num = lv_num.
sort ZLBBIL_IT_GEN1 by num.
Move-corresponding ZLBBIL_IT_GEN1 to gs_it_gen.
I think, it wont be work out. bcoz stracture doent hold the data..... how to over come the problem.. sorting is very imp for fun guys..
regards
chandu
‎2010 May 14 8:30 AM
I think, it wont be work out. bcoz stracture doent hold the data..... ???
Do you mean there is no data and you are sorting the internal table?
‎2010 May 14 8:30 AM
I think, it wont be work out. bcoz stracture doent hold the data..... ???
Do you mean there is no data and you are sorting the internal table?
‎2010 May 14 8:46 AM
Hi,
Actually ive a condtion.. if the material type [mtart] is "yser" .. in the material column should be blank.. the the material type is zrsa. then it needs to print materail and description.
Material Description
xyz
abc
laptop
123 abc
compu
456 pen
678 book
if see the the 5 th item get the blank ..so there is prob.. first needs to gets the all blanks then print one who having the mateiral and description.
but its prints right way.. bcoz its comes based on material type.. but need to sort this....
how to do it..plz let me know
thanks
chandu.P
‎2010 May 14 9:27 AM
I beleive you are getting the data from the driver program in the internal table.
In the smart form, go to Global Settings => Global Definition => Initialization Tab
Sort this internal table with your required fields.
Pranu