Ansicht
Dokumentation

BS01_INQUIRY_GETDETAIL - Customer Inquiry: Display Customer Inquiry

BS01_INQUIRY_GETDETAIL - Customer Inquiry: Display Customer Inquiry

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to read the data for a customer inquiry and return this data to the calling program.

The sales document number must be transferred as import parameter (parameter SALESDOCUMENT). A customer inquiry is identified by this search criterion.

The following data for the customer inquiry can be returned:

  • Order header data (via table INQUIRY_HEADER)
  • Sold-to party (export parameter SOLD_TO_PARTY), ship-to party (export parameter SHIP_TO_PARTY) and payer (export parameter PAYING_PARTY)
  • Partner data (via table INQUIRY_PARTNERS)
  • Schedule line data (via table INQUIRY_SCHEDULE_LINES)
  • Item data (via table INQUIRY_ITEMS)
  • If you are delaing with configurable items, the configuration data can transferred from the following tables:
  • INQUIRY_CFGS_REF

  • INQUIRY_CFGS_INST

  • INQUIRY_CFGS_PART_OF

  • INQUIRY_CFGS_VALUE

  • Service data for order item (via tables INQUIRY_SERVICES and INQUIRY_SERVICES_TEXT)

Customer fields tables VBAK, VBAP, VBEP and ESLL can be read using structure EXTENSIONOUT.

Errors which may occur are made known via parameter RETURN.





Parameters

EXTENSIONOUT
INQUIRY_ADDRESS
INQUIRY_BUSINESS
INQUIRY_CFGS_CUBLBS
INQUIRY_CFGS_CUCFGS
INQUIRY_CFGS_CUINS
INQUIRY_CFGS_CUPRTS
INQUIRY_CFGS_CUREFS
INQUIRY_CFGS_CUVALS
INQUIRY_CFGS_CUVKS
INQUIRY_CONTRACTS
INQUIRY_FLOWS
INQUIRY_HEADER
INQUIRY_ITEMS
INQUIRY_PARTNERS
INQUIRY_SCHEDULE_LINES
INQUIRY_SERVICES
INQUIRY_SERVICES_TEXT
INQUIRY_STATUSHEADERS
INQUIRY_STATUSITEMS
INQUIRY_TEXTHEADERS
INQUIRY_TEXTLINES
INTERNAL_USE
RETURN
SALESDOCUMENT

Exceptions

Function Group

BOS01

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3200 Date: 20240606 Time: 075756     sap01-206 ( 35 ms )