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 can I display barcodes in sapscripts?
What is the use of rswbo052 program?
What is sap script? Difference between sap script and report?
What is the use of perform statement in scripts ?
What is sap script? What is the purpose of sap script?
How do I create standard texts for the sapscripts?
Why the Main window Triggers first in Scripts ?
Differentiate between protect and end protect.
Difference between ABAB Memory and SAP Memory ?
What are step loops? How do you program page down page up in step loops?
Explain the header data in layout set.
How do you handle filters in ALV Reports?
Explain the page windows
Explain compare tool.
How to pass the variables to forms ?