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: 

BAPI_SALESDOCU_CREATEFROMDATA

Former Member
0 Kudos
619

Hi,

Is it possible for us to pass condition value instead of condition per unit via BAPI BAPI_SALESDOCU_CREATEFROMDATA?

For e.g: condition per unit 250HKD, order qty 4. I want to pass the total amount 250 * 4 = 1000 to the BAPI. Which the BAPI parameter field that I can use to pass this total amount?

I only can find COND_VALUE to pass condition price per unit.

Is there solution for this matter? or.. do I have to create new BAPI?

thanks alots

Alia

1 ACCEPTED SOLUTION

Former Member
0 Kudos
292

Alia,

in BAPI_SALESDOCU_CREATEFROMDATA1 you can pass the value of the condition in field CONDVALUE of internal table SALES_CONDITIONS_IN. This parameter is distinct from COND_VALUE that you mention.

Best regards,

George

3 REPLIES 3

Former Member
0 Kudos
293

Alia,

in BAPI_SALESDOCU_CREATEFROMDATA1 you can pass the value of the condition in field CONDVALUE of internal table SALES_CONDITIONS_IN. This parameter is distinct from COND_VALUE that you mention.

Best regards,

George

Former Member
0 Kudos
292

Hi ,

I don´t sure if you have to used the TARGET_VAL field in the BAPI for instead this value.

Regards,

David

Former Member
0 Kudos
292

Hi ,

I don´t sure if you have to used the TARGET_VAL field in the BAPI for instead this value.

Regards,

David