|
Displaying an IDoc in a report |
|
|
|
|
Written by Kevin Wilson
|
|
Wednesday, 14 February 2007 |
|
If you want to display the Idoc at line-selection of a report....
AT LINE-SELECTION. GET CURSOR FIELD field_name. CASE field_name. WHEN 'ITAB_DATA-DOCNUM'. "IDoc number CALL FUNCTION 'EDI_DOCUMENT_DATA_DISPLAY' EXPORTING docnum = itab_data2-docnum EXCEPTIONS no_data_record_found = 1 OTHERS = 2.
Related Items:
|