cancel
Showing results for 
Search instead for 
Did you mean: 

error while printing invoice

Former Member
0 Kudos

hi sapiens,

the following error happens while printing my form from vf02.i have edited standard script rvinvoice01.i have not deleted any window.i have not even deleted text elemnts from the main window. what could be the problem .

cancel error.

Element ITEM_LINE window MAIN is not defined for zinvoice.

thanks

mani

Accepted Solutions (1)

Accepted Solutions (1)

dev_parbutteea
Active Contributor
0 Kudos

HI,

Check if the element ITEM_LINE has been commented.

if it is like /*ITEM_LINE, it won't be recognised.

it should be as /E ITEM_LINE

Regards,

Sooness.

Former Member
0 Kudos

i have checked it .it is there .Pls tell me i have copied the standard table in both languages en and de ... while calling from vf02 which one will be called???

Former Member
0 Kudos

Hi

The system should be called the version which the language of the customer (see trx XK03).

If the version for customer language doesn't exist, the system'll run the version with the original language.

So if you've copied the sapscript from the std one, the original version should be DE.

Max

dev_parbutteea
Active Contributor
0 Kudos

.Pls tell me i have copied the standard <b>table</b> in both languages en and de ... while calling from vf02 which one will be called???

You copied the standard sapscript you mean?

Actually the sapscript that will be trigerred depends upon your logon language in which you logged on to sap! i.e if you logged on with En language , it will trigger the English form.

Regards,

Sooness

Former Member
0 Kudos

i have relogined with en as language ..in my form i have text element also..stilll i have a problem ..

Former Member
0 Kudos

Hi

The first thing: <b>the print doesn't depend on logon language <u>but customer language</u></b>.

So u can logon with the language you prefer, that's no problem on logon langauge.

Run trx SE71:

- Insert the name of the sapscript

- Insert the language of the version u need to correct

- Go to the MAIN

- Insert the text element is missing

U have to do the above step for every version of your sapscript.

Max

Message was edited by:

max bianchi

dev_parbutteea
Active Contributor
0 Kudos

HI,

did you check whether the ITEM_LINE is enabled.

I mean it is like this in sapscript --> <b>/E</b> ITEM_LINE.

While in debuggibg mode check whether the correct sapscript is beeng called!

Former Member
0 Kudos

hi,

first thig first is,check wether the item line is given /E or not

then check the output type which ur giving in VF02. for the form and the Print program.

u can check this while debugging also,for which u can use the report RSTXDBUG.

Plz reward if this satisfies ur requirement.

Answers (2)

Answers (2)

former_member196280
Active Contributor
0 Kudos

Check the following.

1)Is the correct SAP script called. Check it in Debugging mode.

2) Is /E ITEM_LINE exists in your FORM. If yes, try to check it in debugging mode

3) Is /E ITEM_LINE exist in the Language the form is getting called.

4) Is your form active

Reward points to all useful answers.

Regards,

SaiRam

Former Member
0 Kudos

Hi

In your script ZINVOICE the text element ITEM_LINE is missing, you should check it by trx SE71.

If you don't want to use a custom program (as copy of std one, rvinvoice01) u have to insert that text element in the main:

/E ITEM_LINE

Max