Quantcast
Viewing all articles
Browse latest Browse all 2278

There are no results when I search the document changes of sales order bill:VA02

Now, our SAP system appeared a new problem: all SD business documents modify records query function can not be used, the specific symptoms are as follows:

Tcode:VA02

An example which is a definite modify sales orders,and Query Revision History:

Image may be NSFW.
Clik here to view.
1a.png

Image may be NSFW.
Clik here to view.
2b.jpg

At this time, the problem appears, click the "execute" button, nothing happens,

The programe cannt return any results.

But,we can view the table data, found that sales orders to modify records are there.

When I input "/h" to debug the programe in this window, I can find everything is right until the alv show.

Alv report doesnt show . And the programe is over.

I continue to debug the function of alv_show ('REUSE_ALV_LIST_DISPLAY'), and I find the parameter of this function has been setted 'X'

 

 

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'

   EXPORTING

     i_callback_program                = g_repid

     i_callback_pf_status_set          = 'HANDLE_EVENT_PF_STATUS'

     i_callback_user_command           = 'HANDLE_EVENT_USER_COMMAND'

*

     is_layout                         = gt_layout

     it_fieldcat                       = gt_fieldcat

     it_events                         = lt_evthead

     it_except_qinfo                   = gt_exc

     i_suppress_empty_data             = 'X'

   TABLES

     t_outtab                          = gt_output

   EXCEPTIONS

     program_error                     = 1

     OTHERS                            = 2

 

And I try to copy this function to a new function , I change this setting

i_suppress_empty_data         = 'X' 
i_suppress_empty_data        

= ''

Then the alv can be showed. I want to know how to change this to show the alv from 'va02'

 

Please help us, thanks.


Viewing all articles
Browse latest Browse all 2278

Trending Articles