Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with Forwarding Agent

Former Member
0 Likes
1,448

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

10 REPLIES 10
Read only

Former Member
0 Likes
1,298

You should use the internal format of the partner function, for SP it is AG.

Read only

Former Member
0 Likes
1,298

For forwarding agent, it is SP (internal format).

Read only

Former Member
0 Likes
1,298

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'.

Read only

0 Likes
1,298

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

Read only

0 Likes
1,298

In SE16, you will see the SP partner function as CR(external format for SP-forwarding agent).

Read only

0 Likes
1,298

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

Read only

0 Likes
1,298

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.

Read only

0 Likes
1,298

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

Read only

0 Likes
1,298

So what is the issue?

Read only

0 Likes
1,298

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