Programme SAP RGJV_DOC_COMPARE - JV document comparison

Purpose
Program RGJV_DOC_COMPARE is used to compare JV documents with otherfinancial documents. A user selects a document which may belong toFinance(FI), Controlling(CO), Logistics(MM) or Joint Venture Accounting(JV). The program then finds related documents and displays them in asingle list.
From the selection screen, a user may call up the Document RelationshipBrowser or the appropriate Document Display transactions to viewadditional inforamtion about the selected document.

Selection
The selection screen uses four fields to identify the document whichwill become the starting point for the report. By pressing a button onthe screen, the user may choose between four classes of document:
FI,,Finance document
CO,,Controlling document
MM,,Logistics document
JV ,,Joint Venture document
The program responds the action by activating input parametersappropriate for the document type, for example finance documents requireinput of Company Code, Document Number and Fiscal Year while Logisticsdocuments require input of Document Number and Fiscal Year only.
When search help is requested for the document number field, a search issubmitted that is appropriate for the document type chosen.
The user may choose to display an original document (i.e. any documentthat caused the selected document to be created) so that for example achosen JV document may be displayed along with the original FI document.The user may also choose which related (i.e. following) documents areto be displayed from the following options:
FI,,Finance documents
CO,,Controlling documents
MM,,Logistics documents
JV,,JV documents
BI,,JV Billing documents
SL,,Special ledger documents
PC,,Profit centre accounting documents
The choices of related document may be defaulted using the Set/Getparameters listed below:
Set/Get Parameter,,Option
GJ_SHW_ORIG,,Show original documents
GJ_SHW_FI,,Show finance documents
GJ_SHW_CO,,Show controlling documents
GJ_SHW_MM,,Show logistics documents
GJ_SHW_JV,,Show JV documents
GJ_SHW_BI,,Show JV billing documents
GJ_SHW_PC,,Show profit centre accounting documents

Output
The selected and related documents are displayed in an ALV hierarchicallist. From this list the user may select a document for display usingthe appropriate display transaction.