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

work area

Former Member
0 Likes
1,203

I need to define work area for belnr. How I will do that. I havr already created one structure for belnr along with some other table.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,187
11 REPLIES 11
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,187

Hi

Work area can be created for a structure or a table.

Not for individual fields.

Suppose u create the table contains the belnr table and create the work area for that table.

work area will be created for that belnr field also then.

Regards,

Sreeram

Read only

Former Member
0 Likes
1,187

Hi Abhay,

Plz be more clearer.

Do you want any other fields in there along with BELNR. What is the structure do you already have? What exactly is your requirement that you would like to create a work area involving BELNR?

Regards,

Kiran

Read only

Former Member
0 Likes
1,187

a workarea for one field? Can you provide us with more details?

Read only

0 Likes
1,187

how to create work area for belnr. What is the syantax.

Read only

dev_parbutteea
Active Contributor
0 Likes
1,187

DATA: wa_work_area TYPE <b>STRUCTURE_NAME</b>.

Regards,

Sooness.

Read only

former_member196299
Active Contributor
0 Likes
1,187

Hi ,

You need not create a separate workarea for a field once you have created a structure including that field . you can use the same work area and do the operations .

Regards,

Ranjita

Read only

Former Member
0 Likes
1,187

Hi Abhay,

Refer this code :

If belnr is structure then this work area will be correspoding to that structure.

If it is a field.then it will be correspoding to a temp variable having type belnr.

data : wa_belnr type belnr.

Reward points if helpful.

Regards,

Hemant

Read only

Former Member
0 Likes
1,187

hi,

you can create work area only for tables ............not for single field....

reward with points if helpful.

Read only

Former Member
0 Likes
1,188
Read only

Former Member
0 Likes
1,187

check this too dear,

http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/6bc492bd5d214ba02e173a67d5cba3/content.htm

award points if this is useful dear,

thank you

Read only

sharadendu_agrawal
Active Participant
0 Likes
1,187

U don't need to create a work area for one single field. U can take a variable like belnr and can go ahead with the processing as required using that variable.