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

help

Former Member
0 Likes
513

DATA: wa_zstatusa4 LIKE zstatusa4.

DATA: f1.

v_flag = '4'.

MOVE v_flag TO zstatusa4-statusa4.

MOVE v_flag TO wa_zstatusa4-statusa4.

EXPORT f1 = f1 TO SHARED BUFFER zstatusa4(st) ID indxkey FROM

wa_zstatusa4.

can any one tell me the mening of the export and one more thing is f1 dont have any value in my code

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
494

Hi,

Export means you are sending some value from the present place to the target. over here you are sending the value from abap memory to the shared memory.

you don't have any value in f1.

Reward some point.

bye,

anomitro

2 REPLIES 2
Read only

Former Member
0 Likes
494

Hi,

EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] ... TO MEMORY ID <key>.

This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM <f i >, the data object <f i > is saved under its own name. If you use the FROM <g i > option, the data objet <g i > is saved under the name <f i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.

The EXPORT statement always completely overwrites the contents of any existing data cluster with the same name <key>.

We need to pass some value to F1 field. Generally we populate the value into F1 and then we EXPORT it.

Please check this link

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/content.htm

Best regards,

raam

Read only

Former Member
0 Likes
495

Hi,

Export means you are sending some value from the present place to the target. over here you are sending the value from abap memory to the shared memory.

you don't have any value in f1.

Reward some point.

bye,

anomitro