Ansicht
Dokumentation

MD_PLDORD_CREATE_W_COMP_BAPI - NOTRANSL: BAPI: Planauftrag anlegen (mit und ohne manuelle Komponenten)

MD_PLDORD_CREATE_W_COMP_BAPI - NOTRANSL: BAPI: Planauftrag anlegen (mit und ohne manuelle Komponenten)

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

This function module creates a planned order. When creating a planned order using this function module, you can create the components either by exploding the Bill of Material in the ordinary way or maintaining all the components manually. This is controlled by a parameter in the interface structure CM610 with the field 'BAPCO'.

For further details about this parameter, refer to the parameter documentation.

Example

Notes

If you create a planned order with this function module, the planned order is always scheduled and the BoM is exploded unless specified not to (scheduling can not be switched off).

The updating routine is called in update task, and this function module itself does not include the command "CommitWork". You must call Commit Work after the function module by yourself once you have decided to save the planned order.

The function module gives out the following data when the planned order has successfully been created:

  • created header data
  • created components data
  • capacity header data
  • capacity detail data

Internal tables are not handled for mass processing of planned orders. Update is done by function module "MD_POST_PLANNED_ORDERS".

Further information





Parameters

CAPACITY_DATA1
CAPACITY_DATA2
CAPACITY_DATA3
COMPONENTS_DATA
ECM61O
ECM61S
EPLAF
IKBKO1
IKBKO2
IKBKO3
IPLAF
IRF61Q
IS_AFS_HEADER
IT_AFS_MARKER
IT_AFS_SKU
I_PLNUM
PASCH
RETURN

Exceptions

Function Group

M61O

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

Length: 2888 Date: 20240523 Time: 053936     sap01-206 ( 42 ms )