2008 Jan 07 7:27 AM
Hi All,
Is there is any BADI or USER exit that's being triggered after saving the Invoice. Here my requirement is upadating the Z table with billing document number after billing has been done.
Regards,
Ashwin
2008 Jan 07 7:58 AM
Hi,
U can do it in the following include program.
***INCLUDE RV60AFZZ .
-
FORM USEREXIT_ACCOUNT_PREP_KOMPCV *
-
This userexit can be used to move additional fields into the *
communication table which is used for account allocation: *
KOMPCV for item fields *
This form is called from form KONTENFINDUNG *
-
FORM USEREXIT_ACCOUNT_PREP_KOMPCV.
IF SY-TCODE = 'VF01'.
zsd_billinfo-bukrs = vbrk-bukrs.
zsd_billinfo-vbeln = vbrk-vbeln.
zsd_billinfo-fkdat = vbrk-fkdat.
zsd_billinfo-ZFLAG = 'I'.
insert zsd_billinfo.
commit work.
ENDIF.
ENDFORM.
Rewards points if helpful.
Regards,
Srinivas
Hi All,
Is there is any BADI or USER exit that's being triggered after saving the Invoice. Here my requirement is upadating the Z table with billing document number after billing has been done.
Regards,
Ashwin
2008 Jan 07 7:38 AM
Hi,
U can use the user exit RV60AFZZ
or BADI SD_CIN_LV60AU02
Regards,
Omkar.
2008 Jan 07 7:39 AM
The exit is USEREXIT_SAVE_DOCUMENT.
RV60AFZZ is an include that has multiple user exits. The appropriate exit to use can be determined by reading the documentation associated with the IMG entry "SYSTEM MODIFICATIONS". As others stated you can use SE38.
Regards.
2008 Jan 07 7:58 AM
Hi,
U can do it in the following include program.
***INCLUDE RV60AFZZ .
-
FORM USEREXIT_ACCOUNT_PREP_KOMPCV *
-
This userexit can be used to move additional fields into the *
communication table which is used for account allocation: *
KOMPCV for item fields *
This form is called from form KONTENFINDUNG *
-
FORM USEREXIT_ACCOUNT_PREP_KOMPCV.
IF SY-TCODE = 'VF01'.
zsd_billinfo-bukrs = vbrk-bukrs.
zsd_billinfo-vbeln = vbrk-vbeln.
zsd_billinfo-fkdat = vbrk-fkdat.
zsd_billinfo-ZFLAG = 'I'.
insert zsd_billinfo.
commit work.
ENDIF.
ENDFORM.
Rewards points if helpful.
Regards,
Srinivas