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
Can we have more than one Selection Screen and how ?
Where do u set the default paragraph?
Which are frequently used system variables in sapscript?
What is the use of perform statement in scripts ?
What are the modules in FI that you have worked on ?
How can I prevent page-break in the message that is to be displayed?
What is the purpose of sap script? Difference between sap script and report?
What are the different types of symbols?
What is a hard break Point?
I want to display quantity & Price based on Particular Language and Country in SAP Script , How we can do that ? One particular statement is there for that, What is that ?
you want to link to a layout set. What abap 4 commands will you use?
Is it possible to create a sapscript without a main window?
How to pass the variables to forms ?
What does read_text?
How do u upload the images in script?