Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Home arrow Sample Code arrow IDocs / BDocs arrow Displaying an IDoc in a report
Displaying an IDoc in a report PDF Print E-mail
User Rating: / 1
PoorBest 
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:

 
< Prev   Next >

Google Search

Google Ads