Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PO changes in SAP Script

Former Member
0 Likes
422

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

2 REPLIES 2
Read only

Former Member
0 Likes
390

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

Read only

0 Likes
390

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