см. SAP-ноту по этому поводу 547748 'FAQ: Archiving of sales document'. Там даются ответы на все вопросы по поводу архивации сбытовых документов, в том числе и по поводу ошибки DYNSQL_GENERATE_WHERE_CLAUSE.
Могу привести текст:
1. Question: Which application-specific archiving Customizing do I have to carry out to archive sales documents or why, during the early delivery or write run, does the system display the termination message VB 801 "Internal error: DYNSQL_GENERATE_WHERE_CLAUSE(4)"?
Answer: In the SAP Implementation Guide under "Sales and Distribution -> Data Transfer and Archiving -> Archiving Data -> Archiving Control for Sales Documents" (transaction VORA), set the residence time of sales documents. Do this depending on sales organization and sales document type.
If required, you can also assign additional FORM routines to implement additional checks of the documents during archiving.
Without this Customizing, during the early delivery or write run, the system displays the termination message VB 801 "Internal error: DYNSQL_GENERATE_WHERE_CLAUSE(4)"
Т.е. надо в настройке архивации (spro - Сбыт.. ) транзакция VORA указать время в разрезе сбытовой организации и вида документа.
|
|