on ‎2019 Feb 17 6:35 AM
First ,I am adding a component/material using CO_XT_COMPONENT_ADD. and then CO_XT_ORDER_PREPARE_COMMIT. It is working fine.
Next, for the same order i am adding a co-product using CO_XT_COMPONENT_ADD.
It gives me a dump while commit function.
Using the below code before commit.
ASSIGN ('(SAPLCOBC)RESB_BT[]') TO <ft_resb_bt>.
LOOP AT <ft_resb_bt> ASSIGNING <fs_resb_bt>.
lv_numc = sy-tabix * 10.
<fs_resb_bt>-posnr = lv_numc.
CLEAR lv_numc.
ENDLOOP.
Is there any other way to add products and co-products into CO02 using program ?
Request clarification before answering.
| User | Count |
|---|---|
| 33 | |
| 17 | |
| 14 | |
| 13 | |
| 9 | |
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.