Skip to Content
avatar image
Former Member

Updation of Tranportation field in tcode /SAPAPO/TL3

Hello All,

I executing the transaction /SAPAPO/TL3 - by passing model name,start location,destionation location and product - i am able to see the means of transport details - in th change mode i am able to change the transportation duration field - i tried to pass the tranportation duration(DURAT)- /SAPAPO/TR_DURAT its works fine. I did the same thing in recording and tried to pass the transportation field in runtime program - there i am using call transaction method - but when i run the program in ALL Screen mode - it seems there is no screen field for /SAPAPO/TR_DURAT - thats why it is unable to pass the value in the runtime. Is it not possible to pass the value to a field if it not having screen field(but able to see the field in normal mode). Is there any BAPI for this?Please help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 24 at 07:40 AM

    Hi Ravi,

    I sketched up a similar scenario. I get this message (E APO_BAPI 077 No valid Location could be found), when a location that I try to process, does not exist.

    Does these locations 101 & 102 exist with the same name? Are there pre/suffixes or leading zeroes?

    Is this location from-to combination already exist as a lane (/SAPAPO/TR table)?

    Best,

    Gergely


    Add comment
    10|10000 characters needed characters exceeded

  • Apr 23 at 12:23 PM

    Hi Ravi,

    in the description do you mean LSMW tool when a field change works in change mode but not ''in recording'' ?

    There are more options to maintain Transportation Lane related information in batch, including BAPI, programs for mass processing of T-lanes and MASSD.

    See ''Transportation Lane Maintenance:'' section of SAP Wiki: https://wiki.scn.sap.com/wiki/x/-A0MDg

    Best,

    Gergely


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Gergely,

      I have executed below BAPI with below values - but i am getting erros - can you please help here...thanks in advance.

      BAPI_TRLSRVAPS_SAVEMULTI2

      Import parameters               Value
      LOGICAL_SYSTEM                  LOGAD1100 (is this ID is the same system ID or any other system??)
      BUSINESS_SYSTEM_GROUP
      COMMIT_CONTROL                  E
      AUTO_DELETE
      PARALLEL_PROCESS
      <br>
      MEANS_OF_TRANSPORT
                 MODEL                          000
                 LOCATION_ID_FROM
                 LOCATION_FROM                  102
                 LOCTYPE_FROM
                 LOCATION_FROM_BSG
                 LOCATION_FROM_INT
                 LOCATION_ID_TO
                 LOCATION_TO                    101
                 LOCTYPE_TO
                 LOCATION_TO_BSG
                 LOCATION_TO_INT
                 VAL_FROM                                        0
                 VAL_TO                                          0
                 MEANS_OF_TRANSPORT
                 ALL_PRODUCTS_FLG
                 AGGREGATED_PLANNING_USAGE_FLG
                 DETAILED_PLANNING_USAGE_FLG
                 SHORT_TEXT
                 TRANSPORTATION_CALENDAR
                 DISTANCE_DEPENDENT_COSTS                  0,000
                 DURATION                               558
      MEANS_OF_TRANSPORT_X
                 MODEL                          000
                 LOCATION_ID_FROM
                 LOCATION_FROM                  102
                 LOCTYPE_FROM
                 LOCATION_FROM_BSG
                 LOCATION_FROM_INT
                 LOCATION_ID_TO
                 LOCATION_TO                    101
                 LOCTYPE_TO
                 LOCATION_TO_BSG
                 LOCATION_TO_INT
                 VAL_FROM                                        0
                 VAL_TO                                          0
                 MEANS_OF_TRANSPORT
                 ALL_PRODUCTS_FLG
                 AGGREGATED_PLANNING_USAGE_FLG
                 DETAILED_PLANNING_USAGE_FLG
                 SHORT_TEXT
                 TRANSPORTATION_CALENDAR
                 DISTANCE_DEPENDENT_COSTS
                 DURATION                       X
      
      
      T ID                   NUM MESSAGE
      
      
      E APO_BAPI             077 No valid Location could be found
      I APO_BAPI             004 Rollback executed (see long text)
      I /SAPAPO/CIF          003 Application log (ext. no. 9EHI1AM07JYHYT2QG34400) for obj. APO_BAPI and sub-obj. TRL_APS has been logged