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: 

ALV grid to ABAP list

Former Member
0 Kudos
166

Hi ,

I am displaying data in ALV grid, using a button I am updating Production orders, if the order is successfully updated, i need to write the text" Order updated" to list.

I am using statement leave to list processing .

the text is dislayed in list but i am not able to go BACK to ALV grid or selection screen.

How to navigate to list from ALV and from list to ALV.

4 REPLIES 4

Former Member
0 Kudos
75

Why to list? It's just a message so why don't you just issue a S or I Message?

0 Kudos
75

I ned to update many orders,

I cant issue a messge. I need to write the log to list.

0 Kudos
75

My gut tells me you won't be going for BAL_DSP_LOG_DISPLAY and stick to list.

In which case check if you also use

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0. 
  LEAVE SCREEN.

and to get back to your screen:

LEAVE LIST-PROCESSING

edit.

And do you have a PF-status when you're in the list? One with a back button?

raymond_giuseppi
Active Contributor
0 Kudos
75

Use [LEAVE LIST-PROCESSING|http://help.sap.com/abapdocu_70/en/ABAPLEAVE_LIST-PROCESSING.htm]

Why do you not use a call to FM BAL_DSP_LOG_DISPLAY and related FM, to display a sap-like protocol, look much smarter. (Check [Using Application Log|http://wiki.sdn.sap.com/wiki/display/Snippets/UsingApplicationLog])

Regards,

Raymond