cancel
Showing results for 
Search instead for 
Did you mean: 

Update cluster table from Web dynpro

Former Member
0 Kudos

Hi

I am trying to export data to a cluster table from web dynpro using this statement:

EXPORT zhr_sanct_st100 FROM zhr_sanct_st100 TO DATABASE zhr_clrm(ep) ID zhr_clrm-srtfd.

same piece of code work well if I include it in a report program through se38, but If I use it in Web dynpro, it doesnt update the cluster table and there is no error shown.

please reply ASAP.

Vishal kapoor

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Vishal,

Just check that your internal table is declared with header line or occurs 0. If that is the case, OOABAP is not supported this kind of problems. And Check the Code inspection of this WD Component, so that you will get to know what's worng with this statement and why it is not working here??

Warm Regards,

Vijay

Former Member
0 Kudos

Hi Vishal ,

It might possible that you have to change Statemetn in OOABAP way or may you have to take that data in to context temporarily .And from context to put it into Ztable you want .try this .

Cheers

Parry

Former Member
0 Kudos

Do you need to perform a commit-work in your code after the export statement?

Former Member
0 Kudos

Thanks for your immediate reply. it worked this way:

IMPORT structure name TO structure name

FROM DATABASE cluster table name

TO wa_zhr_clrm

ID zhr_clrm-srtfd.

initially i missed to insert a work area wa_zhr_clrm, which has all the key fields of the cluster table.

Regards

Vishal Kapoor