Functionality You can use this method to read data frmoa customer inquiry with BOSand return this data to the calling program. Notes Transfer the SD document number as selection criterion in importparameter SalesDocument>. A sales order can be identified by thissearch criterion. Via parameter InternalUse>, you cna determine whether serviceline of line type internal line> are also displayed. Return values> The data for the selected customer inquiry is returned in the follwingtables:
- Inquiry header data via table InquiryHeader>
- Partner data via table InquiryPartners>
- Schedule line data via table InquiryScheduleLines>
- Item data via table InquiryItems>
If you are dealing with configurable document items, the configurationdata is transferred from the following tables:
- InquiryCfgsRef>
- InquiryCfgsInst>
- InquiryCfgsPartOf>
- InquiryCfgsValue>
If you are dealing with document items with BOS, the service data istrasnferred from the following tables:
- Service data via table InquiryServices >
- Service long texts via table InquiryServicesText >
Customer fields, tables VBAK>, VBAP>, VBEP> andESLL> can be read via parameter ExtensionOut>. Handling of errors> If errors occur during processing, they are returned in parameterReturn>. Information messages are also logged in this parameter.Description This parameter contains the sales document header data. You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary. Description Indicator that specifies that service lines of line type internalline> should be read from the system.Value range
SPACE>,,no long texts are displayed.
X>,,long texts are displayed.Default
SPACE>Description The SD document number serves to identify a customer inquiry. Value range Dictionary data type CHAR (field length 10) Default The parameter must be entered (required field). INCLUDE BOS_BAPI_EXTENSIONOUT OBJECT DOKU ID TX Description This parameter contains the document addresses. If the table is used for the purposes of entering document addressesfor an SD document, this address data is superfluous in the documentparameter table (BAPIPARNR> / BAPIPARTNR> ). Please also see the Online Service System note 195768. You can find further infomation on the meaning of the individualparameter fields in the appropriate data element documentation in theABAP dictionary.Description This parameter contains the business data for the inquiry. You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary. INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX Description This parameter contains the contract data. You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary. Description This paramter contains information on the document flow. You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary. Description This parameter contains the item data for the inquiry. You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary. INCLUDE BOS_BAPI_PARTNERDATEN OBJECT DOKU ID TX INCLUDE BOS_BAPI_EINTEILUNGSZEILEN OBJECT DOKU ID TX Description This transfer parameter contains the service lines and the outlinelevels for the bills of services in the inquiry. Description The long texts for the service lines and outline levels are transferredin this parameter. Value range For field TEXT_ID>:
LTXT>,,line long text / outline long text
LLTX>,,service long textDescription This parameter contains status information for the selected document. You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary. Description This parameter contains status information for the document items inthe selected document. You can find further information on the meaning of the individualparameter fields in the appropraite data element documentation in theABAP dictionary. Description If errors occur during processing, they are returned in the tableparameter Return>. Information messages are also logged in thistable parameter.Value range If no error occurs, the return parameter is initial. Otherwise theappropriate error messages with short text are displayed.
|