2010 Jan 29 2:29 PM
Hallo,
if got a problem with FM SD_SALESDOCUMENT_CHANGE. There is no problem for me to delete a condition e.g. 'Z100'.
The FM does what it should but if i want to add the same condition in a later step again. I get two lines of the contion 'Z100' in my conditionresult. They have the same condition value but different condition counts.
The way I delete the conditions is:
ls_order_conditions_inx-updateflag = 'D'.
ls_order_conditions_in-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_inx-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_in-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_inx-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_in-cond_count = ls_zsaws_conditions_tmp-cond_count.
ls_order_conditions_inx-cond_count = ls_zsaws_conditions_tmp-cond_count.They way I insert condition 'Z100' again is:
ls_order_conditions_inx-updateflag = 'I'.
ls_order_conditions_in-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_inx-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_in-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_inx-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_in-cond_value = ls_zsaws_conditions_tmp-cond_value.
ls_order_conditions_inx-cond_value = 'X'.
ls_order_conditions_in-currency = ls_zsaws_conditions_tmp-currency.
ls_order_conditions_inx-currency = 'X'.
Has anyone an idea why I get duplicated conditions back?
Yes I use cond_handl = X.
Thank you for your help,
regards,
Lutz Gundlach
Edited by: Lutz Gundlach on Feb 3, 2010 9:26 AM
My Problem is solved. It was a customizing checkbox missing.
Hallo,
if got a problem with FM SD_SALESDOCUMENT_CHANGE. There is no problem for me to delete a condition e.g. 'Z100'.
The FM does what it should but if i want to add the same condition in a later step again. I get two lines of the contion 'Z100' in my conditionresult. They have the same condition value but different condition counts.
The way I delete the conditions is:
ls_order_conditions_inx-updateflag = 'D'.
ls_order_conditions_in-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_inx-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_in-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_inx-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_in-cond_count = ls_zsaws_conditions_tmp-cond_count.
ls_order_conditions_inx-cond_count = ls_zsaws_conditions_tmp-cond_count.They way I insert condition 'Z100' again is:
ls_order_conditions_inx-updateflag = 'I'.
ls_order_conditions_in-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_inx-itm_number = ls_zsaws_conditions_tmp-itm_number.
ls_order_conditions_in-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_inx-cond_type = ls_zsaws_conditions_tmp-cond_type.
ls_order_conditions_in-cond_value = ls_zsaws_conditions_tmp-cond_value.
ls_order_conditions_inx-cond_value = 'X'.
ls_order_conditions_in-currency = ls_zsaws_conditions_tmp-currency.
ls_order_conditions_inx-currency = 'X'.
Has anyone an idea why I get duplicated conditions back?
Yes I use cond_handl = X.
Thank you for your help,
regards,
Lutz Gundlach
Edited by: Lutz Gundlach on Feb 3, 2010 9:26 AM
My Problem is solved. It was a customizing checkbox missing.
2015 Dec 12 4:52 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |