on 2024 Apr 05 2:08 PM
Hi all,
we are implementing an embedded SAP-TM on SAP S/4HANA 2022. In this environment we want to send ASNs via Freight Orders to our ship-to-party.
We checked following blogs, notes:
As you can see, we investigated really a lot and the xml-message is still not working. Let's have a look into our system.
Freight Order Type has output profile “/SCMTMS/TOR” (Standard):
Inactive flag for Action Definition TOR_TPNOR_ASN is demarked:
And everything depending on this definition is NOT changed. Standard is used.
The output management adapter settings are NOT changed. Standard is used.
Questions:
Best Regards,
Thorsten
Hello @Thorsten2672 ,
In the SAP standard scenario the ASN message is foreseen to be sent based on the Consignment Order as soon as the goods movement status is competed. This document allows to group goods based on fixed and individual criteria. For more information about the standard scenario you can check the following SAP Help page: End-to-End Process (E2E) for Advanced Shipping and Receiving | SAP Help Portal.
The SAP standard PPF-action for sending the ASN-message has some fixed scheduling conditions like checking if the delivery goods movement status is completely processed or if the process is an outbound process. Actual details of fixed conditions in PPF-scheduling can be checked in the corresponding output agent class like /SCMTMS/CL_PPF_SERV_TOR_B2B in the case of B2B messages in the TM-context. For ASN-messaging, SCHED_COND_TPNORD_ASN is the relevant method in which the checks are performed.
Are you using Advanced Shipping & Receiving (ASR)? If ASR is not used, the delivery goods movement is not propagated to the Freight Order. Please check 3456518 - Goods Movement Status is not updated in Freight Orders - SAP for Me for additional details.
SAP TM uses WebServices which can be routed for example in a middleware (e.g. SAP PO) based on certain identifier. In case the ASN-message is sent based on a Freight Order, additional message splitting might be necessary (e.g. split based on customer or locations, like it would be done implicitly if sent from the Consignment Order)
Regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello thomaspasberg,
thanks a lot for your response. We don't use ASR. We don't see any advantage using this scenario.
My understanding is that we have to substitute the current shipment (LE-TRA) where we send the DESADV with a freight order in SAP-TM (embedded) sending the ASN-message. Furthermore, it should be possible to send it from a freight order and the consignment order is NOT mandatory. Please correct me, if I should be wrong.
We try to set-up the message with:
Is this correct?
Unfortunately, there is no "how-to" and/or specific guideline how to set-up the ASN. This would be very helpful for customers moving from LE-TRA to SAP-TM.
Regards,
Thorsten
If ASR is not used, the delivery goods movement status is not propagated to the Freight Order. This status is checked in the standard PPF-action TOR_TPNOR_ASN for sending the ASN. Thus, in your scenario it will not work by just re-using the standard actions.
To send the ASN-message based on your process, you can use a custom PPF-action which is triggered as soon as required. To do so, you can check the PPF-guide Output Management Configuration Guide (sap.com) and the TM-enhancement guide Hands on Guide TMS (sap.com) In your custom-action you can trigger the TORGenericRequest_Out message similar to the standard coding. As a reference, you can check the method call exec_tor_tpnord_fu_asn for Consignment Orders in the SAP standard PPF-class /SCMTMS/CL_PPF_SERV_TOR_B2B and method METHOD_CALL_BY_ABAP.
Hello thomaspasberg,
we implement now the OSS-notes. It seems that there is a general gap in out scenario? What is the best practice for sending an ASN (without using ASR and consignment order) out of a freight order?
Do you think that it would be possible to have a common call?
Thanks in advance for your support!
Thorsten
User | Count |
---|---|
12 | |
3 | |
2 | |
2 | |
1 | |
1 | |
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.