‎2010 Aug 22 4:43 AM
Hi all,
I am doing enhancement in MV45AFZZ in DOCUMENT_SAVE_PREPARE..
Here i need to put XVBAK-LIFSK = X..
But in include we are writing BADI ..we are not writing direct coding here..We impliment method and then we will parameters to BADI in include..
My problem iis when I am declaring XVABK as VBAK in method parameters (CS_XVBAK type VBAK) It is giving me error message..
mis match XVBAK = CS_XVBAK..
because in XVBAK declaration in enhancement it is
DATA: BEGIN OF XVBAK.
NCLUDE STRUCTURE VBAK.
DATA: AGUPDA LIKE RV02P-AGUPD,
WEUPDA LIKE RV02P-WEUPD,
AUARTUPDA,
END OF XVBAK.
What type I declare for XVBAP in method??
thanks
‎2010 Aug 24 8:00 AM
Hi,
Try with vbapvb for XVBAP. ie:
DATA: BEGIN OF XVBAP.
INCLUDE STRUCTURE VBAPVB
DATA: END OF XVBAP.
I hope this helps you
Regards,
Eduardo