on 07-28-2016 12:11 PM
Hi,
I'm trying to implement mandatory check of TU assignment during GR processing. If DTU not equal 9, error message should appear. Is there any standard solution, like incompletnes check, to have it working properly or BADI implementetion would be necessary? If BADI, then which one? Was not able to find the correct one in GR processing. I could do it quite easily one step later in packing dialogue but it would be for me little bit too late. (reversal GR would be necessary).
Any hints are welcome
Best regards
Bartosz
Hi Bartosz
It is quite simple
Add a check in Incompleteness profile check
SPRO->Cross-process->Delivery processing->Incompleteness check
/SCDL/INB_PRD_STANDARD
Regards
Jobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bartosz,
you can use mandatory transportation plannign for your docuemnt type. The customizing settings are:
Please note that all docuement and item types and the respective profiles (some specials about action profiles, but all others) are real customer-owned customizing. You may adapt them to your needs as necessary.
Regards,
Katrin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Katrin,
I was checking these settings before and it didn't work as expected. I thought, it is only valid in "cooperation" with TM. And as we don't use TM, I decided to check the TU assignment (DTU status) using incompleteness check in EWM suggested by Jobi.
Due to the fact, that standard checks only whether the field is not empty (in my cases it has after replication to EWM always the value 0), the GR posting was always possible. Therefore a class with method /scdl/if_af_icc_field_check~check would be also necessary to obtain an error in case of DTU status not equal 9.
Regards
Bartosz
Hello Bartosz,
it depends on the Transportation Planning Type (TPT). This logic was originally designed for an external transport integration (TM but also ERP shipment). But with value B 'Obligatory Internal Planning in EWM' it works as well for simple TU creation and assignment in EWM.
Of course the incompleteness check should also work, but there is also the built-in solution as described above.
Regards,
Katrin
Hi Jobi,
thanks for a quick response. I would like to do it on that way, but I checked and the DTU status is only in the /SCDL/INB_PRD_DLV_STANDARD available. and probably a class would be a must
Regards
Bartosz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more option i feel is
Set PPF at inbound delivery creation for TU. so that TU will be created at the time of inbound delivery created
Regards
Jobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
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.