cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Check TU assignment before GR posting

Former Member
0 Likes
1,619

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

Accepted Solutions (1)

Accepted Solutions (1)

jobi_t
Contributor
0 Likes

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

Answers (3)

Answers (3)

katrin_kraemer
Product and Topic Expert
Product and Topic Expert

Hello Bartosz,

you can use mandatory transportation plannign for your docuemnt type. The customizing settings are:

  • Goods Receipt Process -> Inbound Delivery -> Integration with Transportation -> Define Transportation Planning Type (Inbound)
    Set the Transportation Planning Type to 'Obligatory Internal Planning in EMW'
  • Cross-Process Settings -> Delivery - Warehouse Request -> Status Management -> Define Status Profile
    Check that status type DBT (Blocked (Transp.Plan)) is active for your item type

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

Former Member
0 Likes

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

katrin_kraemer
Product and Topic Expert
Product and Topic Expert
0 Likes

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

Former Member
0 Likes

Hello Katrin,

Then let me debug it. Maybe will be able to find out, why it doesn't work in my scenario. Would be nice to have a standard instead of implementing a new method

Will let you know the result soon

Regards

Bartosz

Former Member
0 Likes

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

jobi_t
Contributor
0 Likes

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