cancel
Showing results for 
Search instead for 
Did you mean: 

Create a contract with reference to two different quotation documents

Former Member
0 Kudos

Hi all,

Is it possible to create a contract with reference to two different quotation documents?

That is:

  • Quotation document : nr. 16000001 date: 01.04.2010 Material: A-10

  • Quotation document : nr. 16000008 date: 05.04.2010 Material: A-21

Now I would like to do a contract Tx. VA41 with the two material referred in quotations 2000001 and 2000008.

What I've done were :

1. Go to VA41 --> On the main screen

2. I have given inputs : Contract type

3. Enter --> On the over view screen --> Click at "Sales document" (Menu) --> Choose option "Create with refrence" --> Give one quottion number --> Choose "Copy" --> One quotation get copied --> Then repeat the process --> Click at "Sales document" (Menu) --> Choose option "Create with refrence" --> Give one quottion number --> Choose "Copy"

But the doc flow is not updated. If I access to contract's doc flow, the only quotation document number that appears is the first one.

The Customizing for Copy Control (Sales to Sales)

Header :

1. Copying requirements : 101 Header-same customer

Detail :

1. Copy Requirements : 303 Always an item

2. Update doc flow : X

Appriciate for your quick answer in advance and thank you in advance for your support.

Kind regards,

SAPSDBeginner

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check with below settings

From QT(Quotation) to CQ (Quantity Contract)

Header Level

Copying requirements - 001 (Header-same customer)

DataT (Copying requirements for data transfer VBAK) - 051 - General header data

DataT (Copying requirements for transferring business data) - 101 - Header business data

DataT (Copying requirements for partner data VBPA) - 001- Partner header

Item Level

AGN to KMN

Copying requirements - 303 - Always an Item

DataT (Copying requirements for data transfer VBAP) - 151 General item data

DataT (Copying requirements for transferring business data) - 102 Bus.data/item compl

DataT (Copying requirements for partner data VBPA) 002 Partner item

FPLA (Copying requirements for data transfer FPLA) - 251 Conditions

Update document flow - X

Pos./neg. quantity - +

Copy quantity- BLANK

Create contract with those in copy controls and see.

I have done this and it's working for me.

Best regards,

AnupaI

Former Member
0 Kudos

Hai Anupal,

Thank you for your help.

I've tried to customize based on your information. But it doesn't work

Example :

Quotation document : nr. 2000001 date: 01.04.2010 Material: A-10

Quotation document : nr. 2000008 date: 05.04.2010 Material: A-21

Contract document : nr. 3000001

  • Item 10 : A-1

  • Item 20 : A-21

When I saw the document flow for the second Quotation (20000008) is still open.

The document flow for first quotation (20000001)

Header :

    • Quotation No. 20000001 --> Completed

      • Contract No. 30000001 --> Open

Item 10 :

    • Quotation No. 20000001 / 10 --> Completed

      • Contract No. 30000001/10 --> Open

      • Contract No. 30000001/20 --> Open

And the document flow for Contract (30000001)

Header :

    • Quotation No. 20000001 --> Completed

  • Contract No. 30000001 --> Open

Item 10 :

    • Quotation No. 20000001/10 --> Completed

  • Contract No. 30000001/10 --> Open

Item 20 :

    • Quotation No. 20000001/10 --> Completed

  • Contract No. 30000001/20 --> Open

The item category we are used is AVN (Quotation) and MVN (Contract), and we are using MySAP 4.7.

And why the doc flow for item in quotation 20000001 there is item in quotation 20000008?

Thank you for your help.

Regards,

SAPSDBeginner

Former Member
0 Kudos

Hi,

I checked with test data. But it doesn't have what your mentioning.

Please refer below.

>Example :

>Quotation document : nr. 2000001 date: 01.04.2010 Material: A-10

>Quotation document : nr. 2000008 date: 05.04.2010 Material: A-21

In my example,

QT - 20000020 / 10

QT - 20000021 / 10

>Contract document : nr. 3000001

>* Item 10 : A-1

>* Item 20 : A-21

In my example,

CT - 40000048

LI 10 - for QT 20000020 / 10

LI 20 - for QT 20000021 / 10

>When I saw the document flow for the second Quotation (20000008) is still open.

In my example; doc flow of second QT (20000021)

Header

Quotation 0020000021- Completed

Quantity Contract 0040000048 - Open

Item

Quotation 0020000021 / 10 - Completed

Quantity Contract 0040000048 / 20 - Open

>The document flow for first quotation (20000001)

>Header :

>** Quotation No. 20000001 --> Completed

>*** Contract No. 30000001 --> Open

In my example:

Header

Quotation 0020000020 - Completed

Quantity Contract 0040000048 - Open

>Item 10 :

>** Quotation No. 20000001 / 10 --> Completed

>*** Contract No. 30000001/10 --> Open

>*** Contract No. 30000001/20 --> Open

In my example;

Quotation 0020000020 / 10 - Completed

Quantity Contract 0040000048 / 10 - Open

>And the document flow for Contract (30000001)

>Header :

>** Quotation No. 20000001 --> Completed

>* Contract No. 30000001 --> Open

In my Example;

Header

Quotation 0020000020 - Completed

Quotation 0020000021 - Completed

Quantity Contract 0040000048 - Open

>Item 10 :

>** Quotation No. 20000001/10 --> Completed

>* Contract No. 30000001/10 --> Open

In my example; Item 10

Quotation 0020000020 / 10 - Completed

Quantity Contract 0040000048 / 10 - Open

>Item 20 :

>** Quotation No. 20000001/10 --> Completed

>* Contract No. 30000001/20 --> Open

In my example; Item 20

Quotation 0020000021 / 10 - Completed

Quantity Contract 0040000048 / 20 - Open

For me there is nothing wrong for the configuration I have mentioned.

>And why the doc flow for item in quotation 20000001 there is item in quotation 20000008?

As I mentioned in my example, I haven't got anything like that.

Best regards,

Anupa

Former Member
0 Kudos

Hi Anupa,

Actually I've tried to do all of these transactions in ECC6 too. And all of the status could be updated. Nothing's wrong with the document flow.

But I don't know what happened in the 4.7 for the document flow when customizings between 4.7 and ECC6 are exactly the same. It looks like the document flow was updated but it went into the wrong room

Header :

    • Quotation No. 20000001 --> Completed

      • Contract No. 30000001 --> Open

Item 10 :

    • Quotation No. 20000001 / 10 --> Completed

      • Contract No. 30000001/10 --> Open

      • Contract No. 30000001/20 --> Open

I'm confused

Thank you for your help

Regards,

SAPSDBeginner

Former Member
0 Kudos

Hi,

What your saying is ECC6 and 4.7 is acting differently for same config settings?

Is for check for OSS notes on same area for 4.7

Best regards,

Anupa

Former Member
0 Kudos

Hi Anupa,

The problem is solved.

Actually we found there's user exit at program MV45AFZZ.

-


FORM userexit_move_field_to_vbap.

  • VBAP-zzfield = xxxx-zzfield2.

*{ INSERT D01K904058

LOOP AT cvbap.

cvbap-vgbel = vbak-vgbel.

MODIFY cvbap INDEX sy-tabix.

-


These coding make the system keep reference the first document.

So I should deactivate the userexit_move_field_to_vbap.

Anyway... thank you soooo much for your help

Regards,

Yanni

Answers (0)