cancel
Showing results for 
Search instead for 
Did you mean: 

Updation of Tranportation field in tcode /SAPAPO/TL3

former_member515329
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

I310607
Advisor
Advisor
0 Kudos

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


I310607
Advisor
Advisor
0 Kudos

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


former_member515329
Participant
0 Kudos

Hi Gergely,

I am talking about the transportation duration field in /SAPAPO/TL3 - when i do the recording the screen field is not captured - even i checked in the technical details of that field using F1 help - but there is no screen field for /SAPAPO/TR_DURAT - is there any other way to pass that field even if it is not having any screen field?

I310607
Advisor
Advisor
0 Kudos

Hi Ravi,

what recording? LSMW? And whats your view on my recommendations? Are we on the same understanding here?

Thanks

Gergely

former_member515329
Participant
0 Kudos

Hi Gergely,

Yes i saw the link you have provided - i could see BAPI BAPI_TRLSRVAPS_SAVEMULTI2 will fit my requirement.

Let me try this FM and see...thanks in advance.

former_member515329
Participant
0 Kudos

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