cancel
Showing results for 
Search instead for 
Did you mean: 

PROBLEM BAPI_SALESORDER_CREATEFROMDAT2 condvalue

Former Member
0 Kudos
182

Dear all,

We have an issue with BAPI BAPI_SALESORDER_CREATEFROMDAT2. We try change the value for the field condition KONV-KWERT with the following field from the bapi CONDITIONS_IN-CONDVALUE. The condition to modify is a percentage condition. We can modify the percentage condition (KONV-KBETR) with CONDITIONS_IN-COND_VALUE , but canu2019t modify KONV-KWERT without modify percentage. If not we assigned value for field COND_VALUE, the condition is 0. Always calculate the field KWERT based on percentage (cond_value).

This also happens if we try to modify the document with BAPI_SALESORDER_CHANGE

We can modify this field from VA01/VA02 without change the percentage.

We copied the source code where filled the condition structure.

CLEAR u_cond.

u_cond-itm_number = '000010'.

u_cond-cond_type = u2018ZPMAu2019.

u_cond-COND_COUNT = u201801u2019.

u_cond-cond_updat = 'X'.

u_cond-COND_ST_NO = u2018010u2019.

u_cond-CONDVALUE = u20182000u2019.

u_cond-currency = 'BRL'.

APPEND u_cond.

u_condx-itm_number = u2018000010u2019.

u_condx-COND_ST_NO = u2018010u2019.

u_condx-COND_COUNT = u201801u2019.

u_condx-cond_type = u2018ZPMAu2019.

u_condx-updateflag = 'U'.

u_condx-cond_value = 'X'.

u_condx-currency = 'X'.

APPEND u_condx.

Thank in advance,

Best regards,

Joel

View Entire Topic
Former Member
0 Kudos

I resolved

Former Member
0 Kudos

Hi Joel,

I am facing the same problem ...

can you tell me how u managed to resolve this ??

Regards,

Janaki.

former_member306083
Participant
0 Kudos

Joel, janaki, somebody else...

how do you resolve this problem?

thanks!

former_member185167
Active Contributor
0 Kudos

Is this even a Workflow problem?

Former Member
0 Kudos

Hi Joel, How to resolved this problem?

Thanks

0 Kudos

Hi,

I also have the same problem. Can you share how you were able to solve it.

Thanks.

Regards,

April

former_member185167
Active Contributor
0 Kudos

Hello,

Is this an unresolvable problem, or do people eventually fix it and then just decide to not share it?

April, could you restate the problem, I can't follow the original description.

I hope you will be the one to share the solution when you find it.

Probably best to open a new thread and put a link to it here.

regards

Rick Bakker

Hanabi Technology