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 create standard text in sapscripts?
Differentiate between sapscript and smartform.
How do we set the date, time format?
What is sapscript? What are the components of sapscript?
Where do u set the default paragraph?
What is the work you have done in the MM module and what programs did you use for creating views in MM ?
When we should use ABAP Memory and SAP Memory ?
Can we add new records to the already displayed ALV list.
what is maximum columns number in SAPScripts and Smartforms. If How can we move to next page for print.?
What is the difference between EHP 4.0 and ECC 6.0 .Is there any different settings to be done in the system for functional modules?I have done ECC 6.0 version. Please tell me the answer of the question as soon as possible?
what is the use of outline option?
How can I copy sapscripts from one client to another, or export/import them?
What is the use of the position and size command in sapscripts?
In what format does sap script store text ?
Explain composer. What does it do?