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

Assignment Contract through BAPI _ SALESORDER _ CREATEFROMDAT2

Former Member
0 Likes
528

hi,

i have developed an data migration report.

i have used the bapi for BAPI _ SALESORDER _ CREATEFROMDAT2 creating order and for doing contract assignment.

but.. when the program runs.. it creates the condition items but the pricing conditions are not similar to the pricing conditions if we create an order with same contract..

Example:

when we created an order and assigned it manually through VA01

the condition record ZSPA - Discount got created.. but

when we do it through the bapi. - BAPI _ SALESORDER _ CREATEFROMDAT2 , the condition record ZSPA .. is not found...

can you plese guide me

thanks & REgards

DInesh..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
435

Give me a detailed description.

I have already done this type of thing.

You have to define the condition type with a line item no.'000000'.if you r using it for header.an dwant to reflect in all line items accordingly.....

check that condition type is assigned for both header and line item level or not...you can consult with functional ...and also check any routine is defined for this condition type or not...

Thanks

Sakti.

2 REPLIES 2
Read only

Former Member
0 Likes
436

Give me a detailed description.

I have already done this type of thing.

You have to define the condition type with a line item no.'000000'.if you r using it for header.an dwant to reflect in all line items accordingly.....

check that condition type is assigned for both header and line item level or not...you can consult with functional ...and also check any routine is defined for this condition type or not...

Thanks

Sakti.

Read only

0 Likes
435

HI

CAN YOU PLEASE COME TO YAHOO..

MY YAHOO ID IS <REMOVED BY MODERATOR>

THANKS & REGARDS

DINESH

Edited by: Alvaro Tejada Galindo on Feb 28, 2008 2:57 PM