Ansicht
Dokumentation

BAPI_INTERNALORDER_CREATE - Create Internal Order From Transferred Data

BAPI_INTERNALORDER_CREATE - Create Internal Order From Transferred Data

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method enables you to create an internal order. You can transfer master data as well as settlement rules.

Orders from categories "01" and "02" are created. You can transfer almost all fields that can be filled in online transactions.

  • "Old" order status management fields are not supported.
  • Fields from the "Settlement to one receiver" group box are not supported.
  • Investment Management fields are not supported.
  • You cannot transfer settlement parameters such as the settlement profile. It is recommended that you preset these in the order type.
  • You do not need to specify an account assignment category for the settlement rules. The system derives this from the fields of each settlement rule.

Notes

In Customizing, you can prefill master data fields in the order type, or set them as being not ready for input. Fields that are not ready for input are not filled. They are filled with the values of a model order (if one exists) or remain initial. You can transfer the data with which you wish to create an order in the I_MASTER_DATA structure. The data of the order created as a result is transferred in the E_MASTER_DATA structure. The system compares the values of I_MASTER_DATA and E_MASTER_DATA. If there are differences, it displays an information message.

Messages are returned using the RETURN parameter. This parameter documentation contains the return values and their meaning. Not all warning and information messages displayed in the online transaction are contained in RETURN.

You require the same authorizations as you do for creating an order in the online transaction. In general, the method should be the same as the online transaction.

The method does not execute a COMMIT.

If in doubt about which field in the import structure corresponds to which field in the online transaction, use F1 to display the technical information of the screen field. You can find the field name (which is usually used in BAPI structures also) by looking under "Extras -> Default field name" in the data element.

Example

Further information





Parameters

EXTENSIONIN
E_MASTER_DATA
E_MASTER_DATB
I_MASTER_DATA
I_MASTER_DATB
ORDERID
RETURN
SRULES
TESTRUN

Exceptions

Function Group

2075

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3430 Date: 20240523 Time: 101726     sap01-206 ( 67 ms )