Ansicht
Dokumentation

BS01_INQUIRY_CREATE - Customer Inquiry: Create with BOS

BS01_INQUIRY_CREATE - Customer Inquiry: Create with BOS

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 create customer inquiries that contain a BOS.

You must enter at least the following as input parameters:

  • Inquiry header data (via structure INQUIRY_HEADER_IN) and
  • Partner data (via table INQUIRY_PARTNERS)

You enter the item data via table INQUIRY_ITEMS_IN.

There are two options for assigning item numbers:

  • Manually - you fill the appropriate fields.
  • Automatically - the appropriate fields remain initial (blank). Item number assignment then takes place according to the settings in Customizing.

If you are dealing with configurable materials, you must enter the configuration data in the following tables:

  • INQUIRY_CFGS_REF
  • INQUIRY_CFGS_INST
  • INQUIRY_CFGS_PART_OF
  • INQUIRY_CFGS_VALUE

You can transfer service data for the order item in tables INQUIRY_SERVICES and INQUIRY_SERVICES_TEXT.

Customer fields in tables VBAK, VBAP, VBEP and ESLL can be transferred using the structure EXTENSIONIN.

After the customer order has been created successfully. you receive its document number (parameter SALESDOCUMENT). Any errors that occur are returned via parameter RETURN.

Notes

  1. Required entries:

INQUIRY_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division

INQUIRY_PARTNERS : PARTN_ROLE Partner role, sold-to party
PARTN_NUMB Customer number

INQUIRY_ITEMS_IN : MATERIAL Material number
TARGET_QTY Target quantity in sales unit of
measure

INQUIRY_SCHEDULES : REQ_QTY Order quantity in sales unit of
measure

You only have to maintain one quantity:
target quantity or order quantity in sales unit of measure.

  1. Ship-to party:

If you do not enter a ship-to party, the following applies:
ship-to party = sold-to party

  1. Key words in German:

The following key words have to be entered in German irrespective of
the logon language:

  • DOC_TYPE
    Sales document type, for example AFLV for "Anfrage mit
    Leistungsverzeichnis" = inquiry with BOS

  • PARTN_ROLE
    Partner role, for example, WE for "Warenempfänger" = ship-to party

Further information

You can find further information in OSS. Note 93091 contains general information on the BAPIs in SD.





Parameters

BEHAVE_WHEN_ERROR
BINARY_RELATIONSHIPTYPE
EXTENSIONIN
INQUIRY_CFGS_BLOB
INQUIRY_CFGS_INST
INQUIRY_CFGS_PART_OF
INQUIRY_CFGS_REF
INQUIRY_CFGS_REFINST
INQUIRY_CFGS_VALUE
INQUIRY_CFGS_VK
INQUIRY_CONDITIONS_IN
INQUIRY_HEADER_IN
INQUIRY_HEADER_INX
INQUIRY_ITEMS_IN
INQUIRY_ITEMS_INX
INQUIRY_KEYS
INQUIRY_PARTNERS
INQUIRY_SCHEDULES_IN
INQUIRY_SCHEDULES_INX
INQUIRY_SERVICES
INQUIRY_SERVICES_TEXT
INQUIRY_TEXT
INT_NUMBER_ASSIGNMENT
LOGIC_SWITCH
RETURN
SALESDOCUMENT
SALESDOCUMENT_EX
SENDER
TESTRUN

Exceptions

Function Group

BOS01

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 6038 Date: 20240523 Time: 171035     sap01-206 ( 46 ms )