on 12-26-2008 5:03 AM
Moved to correct forum by moderator
hi all
customer invoice report
I need to modify stadard script without touching the standard pbm,
linitem description amount
001 short text 1000
002 Gst % 100
subtotal 1100
003 customer advance
pay - 200
total 900
Edited by: Matt on Dec 28, 2008 1:48 PM
Hi,
you can perform all your calculation in the program to calculate description amount and customer advance by passing variable via script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
u can do ur calculation in subroutine prog....hence no need to touch the std prog....the Logic is we send our variables form Layout(form)to subroutine prog and there we process them and agai send back to form vai another variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, this can be done.. there is no need to modify the standard driver program. Thing you have to do is to call the sub-routine pool in your SAPscript.
Ex.
/: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
/:USING &<field name>&
/:CHANGING &<field name1&
/:ENDPERFORM
Then create subroutine pool program and you have to write the code.
FORM ><subroutine name> tables int_cond structure itcsy
outt_cond structure itcsy.
data : value(20), value1(20). "do your own declarations
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
Just rough idea given above.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please ask it in the correct forum. ( Moved now )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do it with [subroutine pools|https://www.sdn.sap.com/irj/scn/advancedsearch?query=subroutine+pools&cat=sdn_all].
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.