cancel
Showing results for 
Search instead for 
Did you mean: 

Forwarding agent issue- URGENT

Former Member
0 Kudos

hi friends,

we have got a business requirement :

client is having two forwarding agents:

1). fedex

2).LTL carrier

if the sales order weight is <250 lbs , system has to pickup fedex carrier

if the sales order weight is >250 lbs , system has t pick up LTL carrier

this is what my requirement, pls give possible replys,

Thanks&Regards

Venkat.Dhanemkula

Message was edited by:

Venkat

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Venkat

I think It can be configured in route detn. Since the classification of consignments is based on weight, while mntning the route select with weight group.

Img-Logistics execn-Shipping-routes-route detn-mntn route detn with weight group.

Rgds

VKumar

rmazzali
Active Contributor
0 Kudos

You can do it by customizing of the route determination.

The route can be redetrmined on the weight basis in the delivery and in the route itself you can place the forwarding agent (tcode 0VTC)

regards

Roberto

Former Member
0 Kudos

HI Roberto Mazzali

idont think so , it can be possible by route determination , its possible by user exit only, but i need step by step to meet this requirement.

Thanks&Regards

Venkat.Dhanemkula

rmazzali
Active Contributor
0 Kudos

in 0VTC you can specify the forwarder, have a look.

Do you use the route determination ?

If you need a user exit use MV45AFZZ form save_document_prepare because in the enhacement for partner detrmination you do not have weight informations.

Roberto

Former Member
0 Kudos

Hi Robert pls think logically,

in 0VTC i didnot find the weight field, then how can i maintain there,

iam sure this will possible through user exit, are u clear with my requirement??

pls be clear with that requirement..

thanks for your reply

rmazzali
Active Contributor
0 Kudos

Venkat,

the route detrmination in the delivery can be carried out on weight basis in tcode 0VRF, so if you determine a different route on this criteria then the right forwarder will be choosed.

About user exit you have to use MV45AFZZ, update table xvbpa with your forwarder and set the flag xvbpa-updkz to 'I'.

Anyway I think you do not need it if route meet your needs.

Roberto

Former Member
0 Kudos

Hi robert

everything needed to reflect in sales order only , not in delivery document.

rmazzali
Active Contributor
0 Kudos

ok, now it's clear: use MV45AFZZ user exit (this is the order one).

Roberto

Former Member
0 Kudos

Hi robert

thanks for your reply

can u pls tell me the step by step to use user exit , and how to pick up the relevant forwarding agent based on weight,

Thanks

rmazzali
Active Contributor
0 Kudos

You need the help of a developer.

make a custom table with weight range and forwarder code, and make the exit as stated in the previous message.

Pls. reward if helpful

Roberto

PS: but if you make a partial delivery wich has a lower total weight than the order one ?

Former Member
0 Kudos

hi robert,

u mean tos ay i have to add a new field with forwarding agent, and wieght group in field catalogue??/

Former Member
0 Kudos

Hi All,

Sorry to join you late in discussion.

Hi Roberto I didn't get the field UPDKZ in VBPA.

Can you kindly give some detail about it's significance.

Warm Regards,

Amrish Purohit

rmazzali
Active Contributor
0 Kudos

No, you do not need to update the field catalogue, you need a custom Z table.

Regarding UPDKZ, this flag is in the INTERNAL table XVBPA, not in VBPA and you need it to tell to SAP that you create a new partner.

Roberto

Former Member
0 Kudos

Hi Venkat.,

As Robert asked if you raise an order & do the partial deliveries for that order,Then how can you handle this situation

Thanks & Regards

Narayana

Former Member
0 Kudos

Hi all,

Can we use the same check as suggested by roberto in delivery also.

Regards,

Amrish Purohit

rmazzali
Active Contributor
0 Kudos

yes, you can use MV50AFZ1.

roberto

Former Member
0 Kudos

Hi Roberto,

So his problem is solved

Cheers

Regards,

Amrish Purohit

rmazzali
Active Contributor
0 Kudos

I'm happy for you,

pls. close the thread and reward points if helpful

Roberto

Former Member
0 Kudos

Hi,

You can use

EXIT_SAPLV09A_004

Use this user exit to integrate your own check in a program, that runs before the partner is saved in the document.

Or

EXIT_SAPLV09A_003

Use this user exit to control the origin of partners in the partner determination procedure (origin X, Y or Z). If X, Y, or Z has been entered in the Origin field, this user exit is automatically called up during partner determination.

Reward points if useful

Regards,

Amrish Purohit

Former Member
0 Kudos

Hi AMRISH,

can u pls littlebit clear, with step by step