2006 Sep 15 10:14 AM
Hi..
I want to know the function of the form USEREXIT_READ_DOCUMENT used in teh delivery program.
I mean when is it triggered and what things can we write inside this exit.
Thank You
Hi..
I want to know the function of the form USEREXIT_READ_DOCUMENT used in teh delivery program.
I mean when is it triggered and what things can we write inside this exit.
Thank You
2006 Sep 15 10:19 AM
This userexit can be used to read data in additional tables when the program reads a sales document.
2006 Sep 15 10:20 AM
For example you can do the following validations here :
FORM USEREXIT_READ_DOCUMENT.
IF vbak-audat IS INITIAL.
vbak-audat = vbak-erdat.
ENDIF.
IF vbuk-abstk = 'C'.
MESSAGE i000(fb) WITH
'Document is Completely Rejected'.
ENDIF.
ENDFORM.
2006 Sep 15 10:20 AM
Hi
That exit is triggered at the beginning, when the system read the data before showing them.
You can use it to read your additional table or inizialize some variables used in another exits.
Max
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |