‎2007 Oct 20 11:51 AM
Hi,
I'm using standard program for my Purchase Order calculation in SAP Script in 4.6B. this is the stucture of my program
ZIND_MM_PO(main Program) => INCLUDE ZFM06PE02_IND(one of the includes) =>Form entry_neu(one of the forms inside the include)=>Z_ME_PRINTPO(one of the function modules inside the form) =>vt_atotal(one of the varables used for total calculation inside the FM)
i need to print the vt_atotal variable in my PO(which is the sum of all tax values which is calculated based on some condition types).
i've tried taking out the variable by assigning it in the export variable.
and in the editor screen of the script i've calle the particular perform Form entry_neu using the variable vt_atotal.
I'm not getting the value.....
the problem is... it is having the value inside the function module but not bringing it outside...
is there any other way to print the variables in my PO output?
thanks in advance
Jegadesh
‎2007 Oct 20 12:02 PM
Hi
It appears that you have copied the STd driver program of SAP SAPMF06P into Zprogram and you are using
Have you attached the std one in NACE tcode for the Output type NEU against the form ZMEDRUCK (Copy of MEDRUCK) correctly.
I think you are not using external subrotuine PERFORM in the script?
If you wrote the code correctly for the Total it will come into script
Check where the data of that code is coming into script? I mean in which TEXT ELEMENT is triggering for that code
you have to write under that TEXT ELEMENT only in script.
Regards
Anji
‎2007 Oct 22 7:57 AM
Hi Anji,
Thanks for your reply .Every thing is fine as you said.I've already written that code under the text element only.but still i'm not getting it in the print output. is there any other suggestions to check with..?
Thanks in advance
Jegadesh