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

One time location getting created in Freight Unit when using STO

0 Likes
3,876

Hi All,

I am working on SAP TM embedded S4HANA 1909 system. Once the STO is created, Freight Unit is generated but at the destination, one time location gets created. I have observed that in my STO at the delivery address tab the Address number that specifies is a address number of a storage location and for that corresponding location doesn't exists in TM and so the system creates one time location. So i tried to manually create location in TM with location type as Stores through /SCMTMS/LOC3 but since the address number doesn't match with storage location address number, the freight Unit still created with one time location. Can someone please help me how can i create locations so that one time location doesn't get created in TM

Regards,

Deb

Accepted Solutions (0)

Answers (2)

Answers (2)

mrcb
Participant
0 Likes

Hi Marcin,

Thank you for the note, but where can find the technical details on how to change the details in the BADI so that it matches our requirement? I am a functional consultant not that familiar with technical details.

Regards,

Deb

mrcb
Participant

I am affraid that you have to ask abaper for help, as it requires a bit of coding.

At first implement badi /SCMTMS/BADI_LOGINT_CHG_TTRQ.

In the method CHANGE_TTRQ_MM, you will find table CT_TTRQ_D_ITEM.

In that table there are 2 parameters: DES_LOC_ID and DES_LOC_KEY, both need to be adjusted to point location created for storage location. Of course it has to be done only for specific cases, so some additonal conditions need to be verified, to check if location should be changed.

philippbergthaler
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Deb,

as an alternative to the BAdI implementation you can also check if the standard logic of looking for 100% matches in the address master of TM locations can fulfill your requirement.

It depends on the setup of your system if this approach can work. Find more information in:

https://blogs.sap.com/2012/10/08/monday-knowledge-snippet-mks-10-one-time-locations/

In case you want to follow this approach you need to manually create a location in TM with an address which 100% matches the address of the storage location. I.e. no additional fields, characters or blanks and no missing characters, fields etc. either.

Best regards

Philipp

Hi Philipp,

I tried to create a new location with location type Stores and by copying the exactly details as mentioned in the storage location but the Freight Units are still created with one time location at destination. As per the system setup, it tries to find the match for the address number in TM location.

Regards,

Deb