9

How To Plan in SAP TM using TransportationOrderGenericRequest_In

 8 months ago
source link: https://blogs.sap.com/2023/09/04/how-to-plan-in-sap-tm-using-transportationordergenericrequest_in/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
September 4, 2023 1 minute read

How To Plan in SAP TM using TransportationOrderGenericRequest_In

Sometimes in a project the planning is not in SAP but come from different tools which optimizes it.

In SAP TM is also possible to plan a Freight Order, Freight Booking, Transportation Unit and Service Order using a Web service.

SAP delivery a standard API call TransportationOrderGenericRequest_In which you can find in SPROXY Transaction in SAP.

sprixy.png

Open via Class /SCMTMS/II_CPX_TOR_GN_RQ_IN

generic.png

Execute to see the result of available fields:

execu.png
fields.png

If you’re before S/4HANA 2020will  need to do a custom enhancement at BAdI /SCMTMS/TOR_SE_TOR_GN_REQ to associate FUs with the FO and consider the Actions in Business Object /SCMTMS/TOR:

  • ADD_FUSTAGE_WITH_PLANNING
  • ADD_FU_BY_BASEID
  • ADD_FU_BY_FUID
  • ADD_FU_BY_TRQID

If your version is above consider the the details in Oss Note. 2474539.

By Vinicius Coracini Consider the TAG :

<BusinessScope>
<ID>EXTERNAL_PLANNING</ID>
</BusinessScope>

xml.png

A Document type will be created with the Type G -Creation from Service TransportationOrderGenericRequest_In

ta.png

Oss Notes, refer to this topic:

2722559 – Usage of TransportationOrderGenericRequest_In in SAP Transportation Management

2875534 – Can you use TransportationOrderGenericRequest_In to assign FU to a FO?

Also, if you need to debug It consider the Oss note:

2356343 – How to debug XML messages in TM (B2B or A2A)

Regards

Rogerio LIma.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK