2009 Jun 23 10:37 AM
hi,
can anybody explain the meaning of below code.
specially EXPORT w_edatu FROM w_edatu TO MEMORY ID 'ZZ_EDATU1'.
IF w_flag IS INITIAL.
IF xvbap-posnr = w_posnr.
w_edatu = l_xvbep-edatu.
w_wadat = l_xvbep-wadat.
w_mbdat = l_xvbep-mbdat.
Récupération des bonnes dates (récup dans IMPORT dans le
cas d'un PF)
EXPORT w_edatu FROM w_edatu TO MEMORY ID 'ZZ_EDATU1'.
EXPORT w_wadat FROM w_wadat TO MEMORY ID 'ZZ_WADAT1'.
EXPORT w_mbdat FROM w_mbdat TO MEMORY ID 'ZZ_MBDAT1'.
ENDIF.
DE3K941350, end of insertion
MOVE l_xvbep-edatu TO xvbap-zz_dt_lastengliv.
MOVE l_xvbep-wadat TO xvbap-zz_dt_lastengsm.
MOVE l_xvbep-mbdat TO xvbap-zz_dt_lastengmd.
thanks
2009 Jun 23 10:41 AM
Hi,
This statement exports the content of edatu into ABAP Memory with ID name 'ZZ_EDATU1'.
You can then import this value in another program using Import statement.
Also please see the link below.
[Export|http://help.sap.com/erp2005_ehp_04/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/content.htm]
KR Jaideep,
2009 Jun 23 10:49 AM
hi,
thanks for ur reply..
exactly where can i see ZZ_EDATU1 , any where ZZ_EDATU1 stored or only run time it is using.
2009 Jun 23 10:52 AM
Hi,
Its a runtime entity. You can see it while debugging.
KR Jaideep,
2009 Jun 23 11:37 AM
You can also monitor entire ABAP memory while debugging by choosing
- from menu Debugger->Switch to Classic Debugger (if you are using New Debugger)
- now in Classic Debugger choose from menu Go to->System Areas->ABAP memory
Here you can see entire ABAP memory, what is currently loaded into it.
Regards
Marcin