cancel
Showing results for 
Search instead for 
Did you mean: 

Error while saving purchase order

Former Member
0 Kudos

Hi all,

While saving purchase order i am getting the following error.

Syntax error in program SAPLV61A
in include RV64A932
in line 10
Statement"*&"is not defined.check your spelling.

Thanks& Regards,

Hari.

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

The * at the beginning of a line tells that this line is a comment.

If this * is not at the most left place in a line, then SAP interpretes the this as a statement and want process it.

Make sure you place the *& at the most left space and everything will be okay

Former Member
0 Kudos

yes there is a Syntax error ..but i dont understand how the program SAPLV61A is called while saving the PO...i think the problem exist there..can any one help me...

0 Kudos

Hari,

Include RV64A932 you mentioned is surely a customer specific coding and not SAP delivered. This is a routine used in some condition type logic, may be pricing etc. This can be customised. Check and correct the syntax error. You might also check why include is a part of V61A function group and not V64A?

While creating PO, pricing is also done. Technically system uses similar code as in sales order, so it uses program SAPLV61A while creating a PO.

Regards,

Neetu

  • Please reward if helpful.

Former Member
0 Kudos

now i have customised and solved the syntax error in RV64A932..again i am getting the following error.

Syntax error in program SAPLV61A
in include FV64A582
"VBRK" has already been declared.

i dont think FV64A582 is customised one...i am not clear and coudnt solve it..

Can any one help...

Former Member
0 Kudos

Hi Hari,

I've just encountered the same problem as you have now in your latest post.

Normally the include that you mentioned is a formula condition value include which you can modify but you probably have

to register this object first on the SAP OSS pages to get an Access key to modify it.

After you've obtained a key launch transaction VOFM and comment out the line "TABLES: VBRK, VBAK".

As you see below SAP did exactly the same thing in several other includes.

Include FV64A582

-> is a formula condition value

tx VOFM

-> Formulas

-> Condition Value

-> Routine number 582

At line 37 I commented out "TABLES: VBRK, VBAK." which is not used

anyway in this include.

On top of that SAP commented out these definitions in several other

includes: eg. FOICH002, FOICH002, OI_LV61ATOI.

If other persons have comments on this topic please respond/advise.

Hari, inform us if this resolved your problem.

Also reward points if my post aided you in resolving your issue.

Thank you for feedback.

Best regards,

Tom Cockaert.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hari,

The include RV64A932 seems to be your own include..

Can you please perform a syntax check in this include and tell what are the results.