on 2008 Jul 24 1:42 AM
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
I resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.