FuBa D - Material Movement (Component Consumption)
General
This function module is used to report materials consumed during production as withdrawals to the SAP system, reducing inventory accordingly.
Transfer Parameters
| Variable Name | Type | Content |
|---|---|---|
| Object ITAB_WARENBEWEGUNGEN | ||
| AUFNR | String | oder number |
| CHARG | String | batch number |
| ERFME | String | unit of measurement (ST=piece) |
| MATNR | String | material number |
| MENGE | String | quantity |
| PRVBE | String | production supply area, usually the unit name |
| RSNUM | String | reservation number |
| RSPOS | String | reservation position |
| SHKZG | String | target/credit marking (S=consumption, H=input) |
Return Parameters
| Variable Name | Type | Content |
|---|---|---|
| General | ||
| EV_Error | String | X=error occurred |
Return Values
The return value is AA_FEHLERTEXT, a variable of data type String. It contains more detailed information about the error in case of an error. If EV_ERROR does not show an error, other status messages can also be located here. Therefore EV_ERROR must be evaluated for error checking and not only AA_FEHLERTEXT.