Application Development 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: 

HOW TO INSERT DISCOUNT VALUE WHILE CREATING SALE ORDER THROUGH BAPI_SALESORDER_CREATEFROMDAT2 ??

former_member623135
Participant
0 Kudos

DEAR EXPERTS,

I HAVE DESIGNED 1 Z PROGRAM TO CREATE SALE ORDER USING BAPI BAPI_SALESORDER_CREATEFROMDAT2 AND IT IS WORKING WELL...

Now i want to insert discount condition and discount value also while creating sale order through this bapi...

Kindly guide me how to do this???

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Aseem,

There is a tables parameter ORDER_CONDITIONS_IN. Here give COND_TYPE corresponding to discount. Check in T685 for entries to be filled in KSCHL corresponding to discount etc. Give value in COND_VALUE.

Regards,

Sheetal.

1 REPLY 1

Former Member
0 Kudos

Hi Aseem,

There is a tables parameter ORDER_CONDITIONS_IN. Here give COND_TYPE corresponding to discount. Check in T685 for entries to be filled in KSCHL corresponding to discount etc. Give value in COND_VALUE.

Regards,

Sheetal.