on 07-08-2008 5:58 AM
Hi friends,
I need a check in sale order (warning or error) where if a condition (ex:zp02) value is zero in sale order while saving.
Can anyone help me out for this setting.
Regards
Rama rao
Dear rama rao
User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramarao,
Try with these user exits with help of ABAPer
The program MV45AFZZ
USEREXIT_SAVE_DOCUMENT
Use this user exit to fill user-specific statistics update tables.
The user exit is called up by the FORM routine BELEG-SICHERN before
the COMMIT command.
Note
If a standard field is changed, the field r185d-dataloss is set to
X. The system queries this indicator at the beginning of the safety
routine. This is why this indicator must also be set during the
maintenance of user-specific tables that are also to be saved.
USEREXIT_SAVE_DOCUMENT_PREPARE
Use this user exit to make certain changes or checks immediately
before saving a document. It is the last possibility for changing or
checking a document before posting.
The user exit is carried out at the beginning of the FORM routine
BELEG_SICHERN.
I hope it will help you,
Regards,
Murali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use user exit SAVE_DOCUMENT_PREPARE in program MV45AFZZ to check this condition.
Reward points of useful
Regards,
Amrish Purohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the USEREXIT_SAVE_DOCUMENT_PREPARE in include program MV45AFZZ.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can probably use a BADI or a User exit during the saving process to check the value.
Cheerzz..
Subbz..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
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.