Ansicht
Dokumentation

BS01_SALESORDER_GETDETAIL - Sales Order: Display Order Data of Order

BS01_SALESORDER_GETDETAIL - Sales Order: Display Order Data of Order

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this module to read detail data for a sales order and return this data to the calling program.

Transfer

You must enter the SD document number as import parameter (parameter SALESDOCUMENT). A sales order is identified by this search criterion.

You can control output of service lines that have been defined as internal lines via parameter INTERNAL_USE.

Return

The following data for the sales order can be returned:

  • Order header data (via table ORDER_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 ORDER_PARTNERS)
  • Schedule line data (via table ORDER_SCHEDULE_LINES)
  • Item data (via table ORDER_ITEMS)
  • If you are dealing with configurable items, the configuration data can be transferred from the following tables:
  • ORDER_CFGS_REF

  • ORDER_CFGS_INST

  • ORDER_CFGS_PART_OF

  • ORDER_CFGS_VALUE

  • BOS data for the order item can be transferred from the following tables:
  • ORDER_SERVICES

  • ORDER_SERVICES_TEXT (text for service line)

  • ORDER_SERVICES_COND (conditions for service line)

  • Customer fields in tables VBAK, VBAP, VBEP and ESLL can be read via structure EXTENSIONOUT.

Return messages

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.





Parameters

EXTENSIONOUT
INTERNAL_USE
ORDER_ADDRESS
ORDER_BILLINGDATES
ORDER_BILLINGPLANS
ORDER_BUSINESS
ORDER_CFGS_CUBLBS
ORDER_CFGS_CUCFGS
ORDER_CFGS_CUINS
ORDER_CFGS_CUPRTS
ORDER_CFGS_CUREFS
ORDER_CFGS_CUVALS
ORDER_CFGS_CUVKS
ORDER_CONDITIONS
ORDER_COND_HEAD
ORDER_COND_ITEM
ORDER_COND_QTY_SCALE
ORDER_COND_VAL_SCALE
ORDER_CONTRACTS
ORDER_CREDITCARDS
ORDER_FLOWS
ORDER_HEADER
ORDER_ITEMS
ORDER_PARTNERS
ORDER_SCHEDULE_LINES
ORDER_SERVICES
ORDER_SERVICES_COND
ORDER_SERVICES_TEXT
ORDER_STATUSHEADERS
ORDER_STATUSITEMS
ORDER_TEXTHEADERS
ORDER_TEXTLINES
RETURN
SALESDOCUMENT

Exceptions

Function Group

BOS01

Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4045 Date: 20240523 Time: 171145     sap01-206 ( 46 ms )