on 2008 Jan 26 2:12 PM
Hi,
We are looking at setting a default value for the BSEG-REBZG field so that the due date for the Sales Order is determined by the payment terms? How do we stop these from being due immediately after creation?
Thanks,
Mounika.
Request clarification before answering.
Hi,
Refer to OSS note 17410
We have the same issue and here's what we did to resolve it:
- create a user exit to automatically populate the "Invoice Reference Field" (BSEG-REBZG) for all credit memos.
Reward points if found helpfull..
Cheers,
Chandra Sekhar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
After a long search outside SDN I found the right UserExit. For more details about what UserExit exactly to use you can refer to SAP OSS Note 301077 which is applicable up to release 600.
Consequently Ive used successfully UserExit EXIT_SAPLV60B_002 which is part of Enhancement SDVFX002 and uses include ZXVVFU02. This UserExit is described in the mentioned OSS Note as:
EXIT_SAPLV60B_002: Changes the ACCIT vendor line.
In this exit, you can influence the vendor line of the accounting document.
This exit is processed from the VBRK document header after structure ACCIT is filled.
Ive applied the following code in the include:
*&---------------------------------------------------------------------*
*& Include ZXVVFU02
*&---------------------------------------------------------------------*
* Lokale Schnittstelle:
* IMPORTING
* VALUE(XACCIT) LIKE ACCIT STRUCTURE ACCIT
* VALUE(VBRK) LIKE VBRK STRUCTURE VBRK
* REFERENCE(DOC_NUMBER) LIKE VBRK-VBELN OPTIONAL
* EXPORTING
* VALUE(XACCIT) LIKE ACCIT STRUCTURE ACCIT
* TABLES
* CVBRP STRUCTURE VBRPVB OPTIONAL
* CKOMV STRUCTURE KOMV
*-----------------------------------------------------------------------
* Called by Function Module: EXIT_SAPLV60B_002
* Part of SD Enhancement : SDVFX002 - User exit for A/R line in
* transfer to accounting
*-----------------------------------------------------------------------
************************************************************************
* PROGRAM INFORMATION
************************************************************************
* PROGRAM....... ZXVVFU02
* TITLE......... User exit EXIT_SAPLV60B_002 (project ZINV_SD)
* AUTHOR........ Arie Folkers (AFOLKERS)
* DATE WRITTEN.. 17-4-2008
* ENH.PROJECT... ZINV_SD
* R/3 RELEASE... SAP ECC 6.0
* CR LOG........
* RELEASE.......
* TRANSPORTNR...
* SPECIFICATION. 133
* COPIED FROM... n/a
*----------------------------------------------------------------------*
* PROGRAM FUNCTION:
* UserExit to set Invoice Reference (BSEG-REBZG) to 'V' in order to
* use the Payment Terms for Due Date calculation during Credit Note
* processing.
*----------------------------------------------------------------------*
* PROGRAM TYPE.. INCLUDE
* DEV. CLASS.... ZUX0
* LOGICAL DB.... n/a
************************************************************************
************************************************************************
* CHANGE HISTORY
************************************************************************
* DATE CHANGE... <date in DD.MM.YYYY format>
* AUTHOR........ <author>
* CHANGE DESCR.. <change description>
* R/3 RELEASE... <release>
* CR LOG........ <change release log number>
* RELEASE....... <transport release>
* TRANSPORTNR... <transport number>
************************************************************************
* Only process Credit Notes...
CHECK vbrk-vbtyp = 'O'.
* Set Invoice Reference to V...
xaccit-rebzg = 'V'.
This worked fine for us.
Arie Folkers
SAP ECC 6.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
We have a similar issue were we need to automatically set field [BSEG-REBZG] to V. However, Im struggling to find the right place to do so. Ive tried UserExit of enhancement in include where Ive populate field [XACCIT-REBZG] with value V as described in the following SDN thread:
However, this doesnt work; if I check the Financial Document using transaction <FB03>, the field [BSEG-REBZG] is not set with V and consequently the document is set for due on the baseline date. Ive checked OSS Note 17410 but this Note only describes the issue and suggests setting field [BSEG-REBZG] to V; unfortunately it doesnt tell me how to do so.
In this thread it seems you have found the right place to automatically set [BSEG-REBZG] to V. Therefore, I would like to ask you, if you would be so kind to share this with us on SDN? Could you please describe where and how you implemented the correct UserExit or Enhancement Point?
Many thanks in advance and kind regards,
Arie Folkers
SAP ECC 6.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Message no. F5272
One of the rules specifies that the field demands a required entry, the other rule says that the field is to be suppressed.
Correct one of the two rules for the field selection.
kindly rectify this error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
16 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.