on 10-26-2018 8:58 AM
Hello,
I am working on a requirement where user wants to copy the reference invoice number to the credit memo instead of the credit memo request number.
For this purpose we have created a new routine and assigned in the copy control from credit memo request to credit memo.
Issue is when I create credit memo the reference invoice number is updated but when i save the document, I get an express error and the invoice is not saved.
Error screen print enclosedcapture.jpg
Thanks in advance
Regards,
HB
Have a look at OSS note 1103079
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you change VBRK-XBLNR in FM RV_INVOICE_DOCUMENT_ADD? Usually this dump is caused by incorrect implementation of userexits. There are some important rules, which need to be considered when implementing userexits:
- Do not use standard workareas (VBRP, VBRK, VBAK...) as workareas, always use custom defined workareas such as ZZ_LIPS, ZZ_VBRK... - With READ TABLE or LOOP AT use always INTO a Workarea. Otherwise, the Pointer and/or the headline is changed.
- With SELECT-Statements you should always work with INTO.
- Don't sort any SAP tables like XVBRK, XVBRP also. Kindly review all userexits (for example RV60AFZZ, RVCOMFZZ) and custom enhancements and check for the unallowed statements outlined above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.