on 2023 May 02 8:42 PM
Hello Experts,
I'm trying to post Goods Receipt in EWM using _-SCWM_-MFG_RECEIVE_HUS_EXT BAPI. I do not actually have a handling unit for the GR. Below is the BAPI input/output. I have searched and read through multiple threads which suggest that material in question should be of type Packaging (VERP), but I don't understand the concept. My MAT1 below is the material I'm posting GR for and the material which is manufactured in a production order. It may get packed into a box or another packaging material, but it's not a packaging material itself.
Some answers in other threads indicate the error may occur if material master does not have Packaging Mat. Type field (MARA-VHART) populated on Sales:General/Plant tab, but the field is only available for Packaging materials (VERP), and my MAT1 is not VERP, but FG or HALB. Does anyone have an idea how to make the BAPI call wor kand post goods receipt?
Something to note - I do not provide SHIP_MAT (Shipping Material?) and HU_EXID (Handling Unit External Id) as BAPI input.
<_-SCWM_-MFG_RECEIVE_HUS_EXT>
<INPUT>
<IT_HANDLING_UNITS>
<item>
<LINE_ID>0000000001</LINE_ID>
<MATERIAL>MAT1</MATERIAL>
<SHIP_MAT/>
<ORDER_ITNO>0000</ORDER_ITNO>
<RESERVATION_NUMBER>0000000000</RESERVATION_NUMBER>
<RESERVATION_ITEM>0000</RESERVATION_ITEM>
<RESERVATION_TYPE/>
<SUPPLY_AREA>3000</SUPPLY_AREA>
<BATCH>AE00000953</BATCH>
<EXPIRYDATE>0000-00-00</EXPIRYDATE>
<PROD_DATE>2023-04-28</PROD_DATE>
<COO/>
<SPECIAL_STOCK/>
<SALES_ORD/>
<S_ORD_ITEM>000000</S_ORD_ITEM>
<WBS_ELEM/>
<HU_EXID/>
<HU_EXID_TYPE/>
<QUANTITY>1.000</QUANTITY>
<UOM/>
<UOM_ISO>EA</UOM_ISO>
<VAL_QUANTITY>0</VAL_QUANTITY>
<VAL_UOM/>
<VAL_UOM_ISO/>
<GM_BIN/>
<HUTYP/>
<HUIDENT/>
<NOEXIDVASHUIDENT/>
<BATCH_RESTR/>
</item>
</IT_HANDLING_UNITS>
<IT_SERIAL_NUMBERS/>
<IV_LOGSYS>PS1CLNT100</IV_LOGSYS>
<IV_ORDER_NUMBER>000001001921</IV_ORDER_NUMBER>
<IV_PLANT>2016</IV_PLANT>
<IV_WHS_NO>W16</IV_WHS_NO>
</INPUT>
<OUTPUT>
<ET_BAPIRET>
<item>
<TYPE>E</TYPE>
<ID>/SCWM/HUFUNCTIONS</ID>
<NUMBER>025</NUMBER>
<MESSAGE>MAT1 does not have packaging material type and is therefore not a pack.mat.</MESSAGE>
<LOG_NO/>
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>MAT1</MESSAGE_V1>
<MESSAGE_V2/>
<MESSAGE_V3/>
<MESSAGE_V4/>
<PARAMETER/>
<ROW>0</ROW>
<FIELD/>
<SYSTEM/>
</item>
</ET_BAPIRET>
<ET_HANDLING_UNITS/>
</OUTPUT>
</_-SCWM_-MFG_RECEIVE_HUS_EXT><br>
Request clarification before answering.
Hi konstantin.chernega,
Please read the documentation to understand the concept.
screenshot-2023-05-03-at-113557-am.png
"My MAT1 below is the material I'm posting GR for and the material which is manufactured in a production order. It may get packed into a box or another packaging material, but it's not a packaging material itself." -> Please check with your process with Functional/Business then try to use the same FM or develop your own. refer class-/SCWM/CL_MFG_RCV
Kind Regards,
Ajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ajit,
Thanks for your reply.
At this point I'm trying to make the standard BAPI work and resolve the error. And I believe I'm missing some config in MM/EWM to associate a packaging material with produced material MAT1. The concept I don't understand is why EWM assumes that MAT1 should itself be a packaging material (based on returned error).
I tried to add HU_EXID value to the BAPI call, but got the same result.
Regards,
Konstantin
User | Count |
---|---|
7 | |
4 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.