on 06-11-2021 12:21 PM
Hallo,
I can't update de field VBAP-KZVBR when I do the following abap code in the user Exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT_PREPARE) BUT called by SPROXY transaction:
LOOP AT xvbap ASSIGNING <lfs_xvbap>
WHERE posnr = xvbep-posnr.
IF <LFS_XVBAP>-BEDAE = 'blabla'.
CLEAR <LFS_XVBAP>-KZVBR.
<lfs_xvbap>-updkz = 'U'.
ENDIF.
ENDLOOP.
yvbap[] = xvbap[].
in the SPROXY I use the "BAPI_SALESORDER_CREATEFROMDAT2 "
When I use the tcode VA01 the field VBAP-KZVBR is well updated! but not via SPROXY.
Any help please?
OR.
Thanks to both of you. I should do the enhancement in in the interface if_ex_badi_sd_sales_item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I use the tcode VA01 the field VBAP-KZVBR is well updated
Can you please let me know what value is filled there? For information, the control is based on the item category where there is a field "Special Stock". This you can check in vov7. Meanwhile, have a look at OSS note 1172030
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you set the TESTRUN flag in the BAPI call, in this case the exit will not be called.
Else did you look for OSS notes and did you consider reporting an incident?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whenever you add any text to your post, please do so under "Comment" and not under "Answer", as you were not answering to a query but only providing additional information as required by the members. By adding text under Comments, a mail will be triggered to the person to whom, you respond but not for Answer. Meanwhile, I have converted your above Answer to Comment
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.