2022 Nov 09 1:48 PM
This below code snippets is hardcoded, i need to modify that by passing sales org (vkorg) and billing type (fkart) through ZXREF table ,
IF ( ( I_xmcvbrk-FKART = 'F2' Or I_Zmcvbrk-FKART = 'g2' or I_xmcvbrk-FKART = 'L2') and ( I_xmcvbrk-VKORG = 'LMX' Or I_xmcvbik-VKORG = 'lmx1' ) and (I xmcvbrk-VBTYP = 'N' or I_xmcvbrk-VBTYP = 'S') ). update VBAK set FAKSK = 'ZZ' where VBELN = I_ XMCVBRP-AUBEL.
Endif.
This below code snippets is hardcoded, i need to modify that by passing sales org (vkorg) and billing type (fkart) through ZXREF table ,
IF ( ( I_xmcvbrk-FKART = 'F2' Or I_Zmcvbrk-FKART = 'g2' or I_xmcvbrk-FKART = 'L2') and ( I_xmcvbrk-VKORG = 'LMX' Or I_xmcvbik-VKORG = 'lmx1' ) and (I xmcvbrk-VBTYP = 'N' or I_xmcvbrk-VBTYP = 'S') ). update VBAK set FAKSK = 'ZZ' where VBELN = I_ XMCVBRP-AUBEL.
Endif.
2022 Nov 09 1:48 PM
Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.
For example, you can:
- outline what steps you took to find answers (and why they weren't helpful)
- share screenshots of what you've seen/done
- make sure you've applied the appropriate tags
- use a more descriptive subject line
The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html
Should you wish, you can revise your question by selecting Actions, then Edit.
By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html
Questions on how to draw responses from members? Check out this discussion on how to improve questions. https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-a...
2022 Nov 09 2:22 PM
Your company should better use BRF+ rather than a custom table ZXREF but it's up to you.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |