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 design the windows in script?
How would you call a subroutine in sap script?
How can you copy forms from one client to other?
what is the use of outline option?
How can I copy sapscripts from one client to another, or export/import them?
I want to take the back up of my script layout into my hard disk to be loaded later. What should I do?
In what format does sap script store text ?
What does read_text?
What is the use of the position and size command in sapscripts?
How to edit standard SAPSCRIPT called by standard program ?
Is it possible to create a sapscript without a main window?
you want to link to a layout set. What abap 4 commands will you use?
How can I format the date being displayed in the sapscript?
How can I format the time in the sapscript?
Where do u set the default paragraph?