Menu

SAP Function Module MSR1_SO_GETDETAIL

Get Detail of Sales Order

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module MSR1_SO_GETDETAIL (Get Detail of Sales Order) is a standard Function Module in SAP ERP and is part of the function group MSR1_SO within the package MBS_MSR.

Technical Information

Function Module MSR1_SO_GETDETAIL
Short Text Get Detail of Sales Order
Function Group MSR1_SO
Package MBS_MSR
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
PI_BILLTO LIKE KNVP-PARVW Partner function: Bill-to Party
PI_CREDIT_DOCTYPE LIKE TVAK-AUART Sales document type
PI_LANGU LIKE SY-LANGU Language key
PI_ORDER_NUMBER LIKE MSR1_ORDER_HEADER-SALESDOCUMENT Sales document
PI_PAYER LIKE KNVP-PARVW Partner function: Payer
PI_PRICE_CONDITION1 LIKE BAPICOND-COND_TYPE 'PR00' Condition type
PI_PRICE_CONDITION2 LIKE BAPICOND-COND_TYPE Condition type
PI_PRICE_CONDITION3 LIKE BAPICOND-COND_TYPE Condition type
PI_SALEMP LIKE KNVP-PARVW Partner function: Sales Employee
PI_SHIPTO LIKE KNVP-PARVW Partner function: Ship-to Party
PI_SOLDTO LIKE KNVP-PARVW Partner function: Sold-to Party
PI_TAX_CONDITION LIKE BAPICOND-COND_TYPE Condition type
PI_TEXT_ID LIKE BAPISDTEXT-TEXT_ID '0001' Text ID
PI_UNIT_SPLIT LIKE MSR1_ORDER_HEADER-UNIT_SPLIT 50 Byte value

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
POT_ORDER_HEADER LIKE MSR1_ORDER_HEADER MSR: Sales Order Header
RETURN LIKE BAPIRET2 Return parameter

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
PIT_ORDER_ITEM LIKE MSR1_ORDER_ITEM MSR: Sales Order Item

Exceptions

This function module does not define any Exceptions.