on 10-01-2007 10:52 AM
hello experts!!!
i want to write some code in form layout ....(purchase order)
i mean address details,compant tax details, po ....etc
how to wirte code pls help me anybody
If you have driver program in control modify the driver program, if driver program and display address details,compant tax details, po ....etc
if you don't have driver program in your control call external sub-routines and get this values...
Example:
Go through this example
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.
Hi,
in scripts you cannot write the code like smartforms
but we can do with the help of Subroutines,....
perform formname in program zprog
using var1
changing var2
endperform
in the se38 create the zprog with subroutine type
write the code to get the var2 from var1...
have a sample prog
FORM formname TABLES INPUT STRUCTURE ITCSY
OUTPUT STRUCTURE ITCSY.
here itcsy will have the var1 value and blank value for var2.
wirte some code to get the value of var2
and push it in output.....
endform.
in the script print that var2
&var2&
regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.