2018 Nov 27 9:34 AM
capture.jpgDear Team,
Kindly need your help
while creating SO through bapi i am able to create a SO but issue is in header conditions the discount amount is not appearing. could anyone please help on this urgent.
Do you get same result with VA01, in this case check your condition Customizing, may not be Abap relevant.
2018 Nov 27 9:42 AM
my code for Header
conditon-cond_type = 'ZPER'.
conditonx-cond_type = 'X'.
conditon-cond_value = gs_header-kbetr3.
conditon-cond_value = conditon-cond_value / 10.
conditonx-cond_value = 'X'.
conditon-condcoinhd = '01'.
conditon-cond_updat = 'X'.
conditonx-updateflag = 'U'.
For Item
conditon-itm_number = v_index.
conditonx-itm_number = v_index ."'X'.
conditon-cond_type = 'ZW01'.
conditonx-cond_type = 'X'.
conditon-cond_count = '01'.
conditon-cond_updat = 'X'.
conditonx-cond_count = '01'."'X'.
conditonx-updateflag = 'U'.
conditon-cond_value = gs_item-kbetr1.
conditon-cond_value = conditon-cond_value / 10.
conditonx-cond_value = 'X'.
2018 Nov 27 11:01 AM
2018 Nov 28 1:25 AM
Yes, but while creating through va01 after entering header condition there will be a user action like enter or save then it will update in va01.
2018 Nov 27 11:01 AM
Or even check the price determination what it says...
2018 Nov 28 1:27 AM
Pricing conditions are already determined .
2018 Nov 30 2:21 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |