on 06-10-2013 12:17 PM
Hi Experts,
I have a requirement where I need to replicate VT02N transaction.
Here shipping document number is the input. After entering the input, in the next screen when I press "Routing Guide Rote" button
It pulls associated condition key values for example: Ship Point and SDsCpt.
How to determine these key values using Shipping doc as input? Is there any BAPI? Any Tables?
Please Help.
Thanks
Gopal
Gopal,
Your requirement is not clear..
Any way, Did you check table VTTK (Shipment Header Table), VTTP (shipment Item table), VTTS (Stage table) ?
all these table has shipment number. You can use above table to solve your requirement.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neeraj,
When you run the tcode VL02N and press "Routing Guide Route" you will see key fields as shown in the image below. I want to understand how these key values determined based on only one input that is shipping doc number. I have checked VTTK, VTTP and VTTS but did not find any info on key values there.
Hi Gopal,
From screen you posted looks like you have RGX extension in your system. Could you please confirm.
I worked on RGX long time back, you need to maintain condtion record same as you do for pricing or any other condtion types.
RGX has benefit to provide more flexibility to determine routes.
Check SAP tutor in below link to know more about this:
Check below Tutor in this:
SAP FCX Routing Guide (SAP RGX)
This will require you to install SAP Tutor to access these file.
Let me know in case you have any further query
Regards
Yes I am using RGX extension.
From VTTK table I am able to find ROUTE value associated with shipment doc TKNUM.
Then from table /SAPRGX/KONDP I am able to find the Condition record number KNUMH for a given ROUTE.
But one ROUTE can have multiple Condition record numbers KNUMH.
KNUMH | KPOSN | ROUTE |
1001 | 1 | X0001 |
2001 | 1 | X0001 |
However SAP is showing only one in VT02N under Keys.
How SAP is able to show only one condition table keys if there are multiple condition records for a ROUTE? Any clue for this? What is the criteria it used to pick only one condition record when there are many.
Please help
Thanks
Gopal
There is various search rule which SAP apply in RGX.
as when I worked on RGX, we were using best route, means Route which is taking less transport price in scd simulation. Simulation were getting called in Sales order transport simulation to determine route.
Whats happening when you create sales order, do you get Route, SCD simulation there?
Normally in RGX system simulate SCD when you create sales or delivery document based on condtion record, distance maintained. Then based on your preference say fast route, Lowest transportation cost it determine route or Freight forwarder.
Hope this will solve your query.
Regards
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.