‎2007 Aug 28 10:01 PM
I am trying to get the partner number and name of forwarding agents based on a delivery number. I tried going through VBPA with PARVW = 'SP' but there are no partners with the type SP, even though, according to the order head, there is.
Then I tried using tables VTTP and VTTK but VTTP does not contain any records for the deliveries in question.
Is there another place that I need to look.
Davis
‎2007 Aug 28 10:03 PM
You should use the internal format of the partner function, for SP it is AG.
‎2007 Aug 28 10:04 PM
‎2007 Aug 28 10:06 PM
How are reading VBPA? You should pass the delivery number to VBELN with leading zeros and pass '000000' to POSNR if the forwarding agent is defined at header level and partner function PARVW = 'SP'.
‎2007 Aug 28 10:08 PM
I just used the delivery number, with leading zeros, and viewed all of the partners for that delivery in SE16. There are no SP partners in that record.
Davis
‎2007 Aug 28 10:10 PM
In SE16, you will see the SP partner function as CR(external format for SP-forwarding agent).
‎2007 Aug 28 10:12 PM
Yeah, it's not there. It seems like we set up forwarding agents differently. I looked at the main program for VL01n/VL02n to see if we were using a user exit for it but we do not use any user exits at the header level.
Davis
‎2007 Aug 28 10:13 PM
But you do see the forwarding agent in the partners tab in header of the delivery, corect? If you see them there, then they should be in this table.
‎2007 Aug 28 10:17 PM
Yes I see them in the header of the delivery but not in the table. The only partners in the table, for this delivery, are AG, RE, RG, and WE.
Davis
‎2007 Aug 28 10:44 PM
‎2007 Aug 28 10:48 PM
User error. The user was giving me screen shots of our Prod system and she was testing in the Test system. It works as it should, going through the vendor master for the carrier (forwarding agent) name.
Sorry for the confusion. This is the second "error" today that turned out to be user error.
Davis