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

mv45afzz

Former Member
0 Likes
396

hi all ,

i have one requirement ,

in mv45afzz , if there are 5 lineitems (VBAP) and there are various partner functions for each line item

and based on some conditions if we are able to add partner function ' WE ' only to 2 line item out of 5 line items

now as we have added WE on 2 line items then we have to add same partner function to header also.

but the issue is if i am adding that partner function to header that it is reflecting in each of the items but i want it to reflect it in only 2 items out 5 items , in which we have added WE based on some conditions

regards

rahul

hi all ,

i have one requirement ,

in mv45afzz , if there are 5 lineitems (VBAP) and there are various partner functions for each line item

and based on some conditions if we are able to add partner function ' WE ' only to 2 line item out of 5 line items

now as we have added WE on 2 line items then we have to add same partner function to header also.

but the issue is if i am adding that partner function to header that it is reflecting in each of the items but i want it to reflect it in only 2 items out 5 items , in which we have added WE based on some conditions

regards

rahul

1 REPLY 1
Read only

Former Member
0 Likes
353

Hi ,

This is SAP standard. When you apply a ship-to on the header, it is by default applied to the entire order. If you want to have different Ship-to on the item level, then you have to change it on the corresponding item only.

The entries created in db table vbpa will have one entry with posnr '000000' this is header level entry and applies to all the items.

But if another ship to is specified for a particular item, then an entry for that item is also created in vbpa.

example:

Client Sales Document Item Part.funct. Customer

001 0000000001 000000 AG 0000001

001 0000000001 000000 RE 0000001

001 0000000001 000000 RG 0000001

001 0000000001 000000 WE 0000001

001 0000000001 000020 WE 0000002 --> This implies that item 20 has different ship to than item 10.

So , an entry for each item where the partner differs from the header is created in db table vbpa.

Therefore technically what you want to achieve is not possible I think.

Br,

Advait