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

Creating multiple partner function for a sale order @ header level

Former Member
0 Likes
1,398

Hi All,

I have a requirement where in i have to create more than one partner funtion for a sale order @ header level. But the system did not allow this sort of scenario and i got the error,

Partner function ZZ can only occur 1 times in procedure TA (Sales Document Header)

the function module that was giving this error was SD_PCHECK_PARVW_COUNT_OK

here the function module checks if a partner function already exists if so it throws that error. This also updates the VBPA table where partner function is one of the key fields.

Our issue is that we have to allow the system to enable posting 2 or more partner function for the same sale order. It was also verified that the unique key was unchecked during configuration.

is there any other way of over coming this issue as we are updating the standard table. Is it possible??

Thanks a lot in advance for your reply....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,147

Hi

It's not possible to do it, the same function partner can be loaded once in the sales document.

You have to create other function partner (as copy of ZZ)

Max

Hi

It's not possible to do it, the same function partner can be loaded once in the sales document.

You have to create other function partner (as copy of ZZ)

Max

5 REPLIES 5
Read only

Former Member
0 Likes
1,147

I believe this is a configuration setting, based upon the details of your post. Typically, a sales order can have multiple partner functions, but usually the partner type is not duplicated at a single level (header or one item). For example, it would not be logical to have multiple ship-to partners at the header level...these would be unique at the item level, if required.

Speak to your SD functional specialist about the configuration controls for partners, if you must have more than one partner with parvw = ZZ, for the entire order (header level).

Edited by: DaveL on Aug 23, 2011 3:00 PM

Read only

Former Member
0 Likes
1,148

Hi

It's not possible to do it, the same function partner can be loaded once in the sales document.

You have to create other function partner (as copy of ZZ)

Max

Read only

Former Member
0 Likes
1,147

Thanks for your replies... the problem is that VBPA table doesnot allow this sort of updation, Is there any OSS note available for this type of scenario?

Read only

0 Likes
1,147

I don't think

What I know it needs to create several partners with the same meaning

Max

Read only

ThomasZloch
Active Contributor
0 Likes
1,147

From the coding of SD_PCHECK_PARVW_COUNT_OK, you might have found this as well:

*     currently uniqueness of a partner is mandatory in sales docs, so
*     if no CAS-Doc, partner has to be unique if not AA or AW

If there is an SAP note, you could probably find it and post it here.

Thomas