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: 

regarding alv list report

Former Member
0 Kudos

Hi Guru's,

*) I am having the production Order , my requirement is

The production order the corresponding planned order should be obtained,

The output should be in alv list report. keep 2 push buttons 'release' which releases the production orders. the second push button should be 'convert' which converts planned orders into production orders?

Regards

Jyothi

1 ACCEPTED SOLUTION

saranwin
Contributor
0 Kudos

Hi,

Create 'GUI Status' and GUI Title with two push botton and write the code how you want to post like dialog program and Convert with SY-UCOMM. If still you have dout on this refer below using function Module and create the GUI Status reference with standard alv report GUI Status.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = sy-repid

i_callback_pf_status_set = 'YFIIN_PF_STA_UP'

i_callback_user_command = 'USRCMD'

is_layout = wa_layout1

it_fieldcat = lt_fieldcat

i_save = 'A'

it_events = lt_events[]

TABLES

t_outtab = lt_itab1

EXCEPTIONS

program_error = 1

OTHERS = 2.

IF sy-subrc NE '0'.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

sy-repid - Program Name

FIIN_PF_STA_UP' - GUI Status

Revert back if need further details..

Regards,

Saran

1 REPLY 1

saranwin
Contributor
0 Kudos

Hi,

Create 'GUI Status' and GUI Title with two push botton and write the code how you want to post like dialog program and Convert with SY-UCOMM. If still you have dout on this refer below using function Module and create the GUI Status reference with standard alv report GUI Status.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = sy-repid

i_callback_pf_status_set = 'YFIIN_PF_STA_UP'

i_callback_user_command = 'USRCMD'

is_layout = wa_layout1

it_fieldcat = lt_fieldcat

i_save = 'A'

it_events = lt_events[]

TABLES

t_outtab = lt_itab1

EXCEPTIONS

program_error = 1

OTHERS = 2.

IF sy-subrc NE '0'.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

sy-repid - Program Name

FIIN_PF_STA_UP' - GUI Status

Revert back if need further details..

Regards,

Saran