on 05-04-2007 9:54 AM
Hi
In VA01 transaction, i'm using userexit SAVE_DOCUMENT_PREPARE to override the item level entries based on value from a Ztable. However whenever a customer exists in the Ztable, the document fails to save and an SAP Express document error is fired.
When the customer doesnt exist in my Ztable, there is no such error and the order is saved successfully..
Any idea what the issue is?
Hi Rishi,
This is difficult to tell without having seen the concrete code. It depends on which values on which item level table you overwrite (XVBAP ?)
Therefore some general suggestions:
= You should be very careful if you change SAP standard tables like XVBAP XVBEP via userexits. For instance if fields are changed which serve as keys later in update task this symptom might occur
= You should never sort SAP standard tables. If you use a SORT command on a SAP table this might be a reason.
= You should never use COMMIT WORK or ROLLBACK WORK commands in userexits.
Kind regards,
Holger Kutz
Development Support (IMS)
SAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rishi,
The error could be due to duplicate entries. Whenever a duplicate entry occurs you would get an SAP express document. You could also analyze via T-Code SM13
prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.