Application Development 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: 

Missing functions at Export option on ALV toolbar (OOP)

iamsoni
Explorer
0 Kudos
947

Dear Experts,

I have created program 'X' with OOP ALV, and this is result of Export option on ALV toolbar:

Program 'X' have missed some functions of Export button on ALV Toolbar : Spreadsheet, Word processing and ABC Analys.

What I need is difference from program 'Y' like below caption:

I've asked my mentor and she told me "Just copy the status from program 'Y' to program 'X' ",

but it's not allow and show this error: "Copying statuses is restricted in modification mode".

I've already searched, follow SAP note : 550180 - Copying a status in modification mode,

but still not work.


Could anyone please help me on this problem?

Thanks in advance

1 ACCEPTED SOLUTION

iamsoni
Explorer
0 Kudos
295

Dear Expert,

The solution have found.

I'm sorry for disturbing at the first times post.

I have declare a variant TYPE werks, this is a structure, NOT a data element.

What I should use is TYPE werks_d OR TYPE likp-werks.


Now, the toolbar item is working fine.


Thank you.


4 REPLIES 4

former_member200338
Active Contributor
0 Kudos
295

which method are you using to display ALV? SALV or FM or CLASS

0 Kudos
295

I have use OOP method :

"set_table_for_first_display"

iamsoni
Explorer
0 Kudos
296

Dear Expert,

The solution have found.

I'm sorry for disturbing at the first times post.

I have declare a variant TYPE werks, this is a structure, NOT a data element.

What I should use is TYPE werks_d OR TYPE likp-werks.


Now, the toolbar item is working fine.


Thank you.


uday_1994
Explorer
0 Kudos
295

Hello Son le,

I have the exact same issue.

Using CL_SALV_TABLE below options are coming up.

But when using cl_gui_alv_grid below is the menu coming up on clicking "Export"

Is there a way to copy the PF status of CL_GUI_ALV_GRID to SALV? to get the menu displayed shown in second screenshot?

Thanks in Advance!