cancel
Showing results for 
Search instead for 
Did you mean: 

Sales deal not getting populated in Sales order.

Former Member
0 Kudos

Hi,

A new custom Agreement type is created for VISTEX agreement in our company. This has condition records table with primary keys as application, condition type, Sales orgs, materia, agreement and valididty date.

When I create a sales order for same Sales orgs, Sold to and material - it is not pulling sales deal in communication structure.What could be the reason for this. I debugged standard SAP and found that order is not finding access sequence. Access sequence does not get any data in agreement field which is VBAP-KNUMA_AG or KONP-KNUMA_AG. Fields is access sequence are VKORG MATNR and KNUMA_AG (table t682z).

Can anyone please help me to know if something missing in configuartion? Ot it is because order does not have enough data to find agreement or DO I need to manualy ipopulate value of agreement in field KONP-KNUMA_AG in any of sales order user exit.

Thanks

Swat

Edited by: Swati Swati on Mar 5, 2012 10:34 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184701
Active Contributor
0 Kudos

dear, did you check out the condition record? regards,

Former Member
0 Kudos

Yes, condition records are created in condtion tables when an agreement is created.

former_member184701
Active Contributor
0 Kudos

okay.

let's go from the beggining:

-maintain cond. tables

-maintain output types

-maintain access sequence

-assign output types to partner functions

-maintain output determ. procedure

-assign output determ. procedure

- determine communication strategy ?

did you look at all these things?

regards,

Former Member
0 Kudos

Let me put more information on my question. We already have an agreement type ZBAB for which a sales order is populating sales deal. But that has condtion tables with fields VKORG KUNAG (sold to) and KONDM Material Pricing Gr). When I create an order , it finds condition record number (within standard SAP logic), using above three fields ( which is VKORG KUNAG and KONDM) from condition table A700. A700 is conditon table creted for ZBAB.

But for this new agreement type which has condition table A777 has fields as VKORG MATNR and KNUMA_AG, it is not working.

I suspect that it is because for the first one, we can get all field values like VKORG KUNAG and KONDM in sales order. But for 2nd one we have KNUMA_AG maintained in access sequence for which we dont have data in sales order.. so we dont have condition record number to get corresponditing agreement. But I dont know where to link this in sales order config or user exit.

Former Member
0 Kudos

Yes, all steps are done. And I do have agreement created and I can see agreements in condtion tables.

former_member184701
Active Contributor
0 Kudos

i suggest your acc. sequence works incorrectly due to the cond. table A777 is not able to be populated

can you try to re-build it? do you use a routine(requirement) against this cond. table?

please focus on this place.

regards,

Former Member
0 Kudos

Thanks. I will try by creating a new table. I am not using any routine currently-but I will need to use routine once it gets populated.I also think that it is issue with access sequence. May be I will try to recreate everything.