how to get total price in sapscript form?
Answer Posted / shweta thakur
suppose you want totat of netpr from purcahsing item header
table(EKPO).
IN SE38 you will have to define write_form in main loop
like this:
loop at it_ekpo into wa_ekpo .
call function 'write_form'
exporting
element = 'tm'
window = 'main' . "provide window name
total = total + wa_ekpo-netpr.
endloop.
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
How to convert a sapscript to smart form?
If u want to add any fields in the layout what is the procedure you follow ?
Explain the windows in layout set.
How to transfer the objects? Have you transferred any objects ?
How to download/upload image sapscripts from & to your pc?
Explain the character format in layout set.
How can i read the data in bar code form directly into sap i.e. without being uploading it to TXT file and then uploading to SAP.
How to use the new-window command?
What are different tools to report data in SAP? What all have you used ?
What is the difference between the sapscript texts, 'customer &kna1-kunnr&' and '&customer kna1-kunnr&'?
What is the use of perform statement in scripts ?
How many main windows can be created for a script?
What is sap script?
How do you create boxes in sap script?
What is sapscript? What are the components of sapscript?