Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding memory id

Former Member
0 Likes
526

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

4 REPLIES 4
Read only

jaideepsharma
Active Contributor
0 Likes
498

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,

Read only

0 Likes
498

hi,

thanks for ur reply..

exactly where can i see ZZ_EDATU1 , any where ZZ_EDATU1 stored or only run time it is using.

Read only

0 Likes
498

Hi,

Its a runtime entity. You can see it while debugging.

KR Jaideep,

Read only

0 Likes
498

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