on 02-26-2016 6:46 PM
Hi Dear,
I am trying to identify the payment received against the billing documents in BSAD table. expert could you please let me know what should be the field in BSAD that will have a reference to VBRK. Many many thanks in advance.
You can consider XBLNR field which should have the corresponding billing document reference which is also stored in VBRK
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whatever you'll give in reference in VBAK-XBLNR the same will be copied till accounting document item. This value normally populates from your copy control settings in VTFL from reference number field having values like purchase order, sales order, current billing document number etc. It depends that you want which field to get populated in XBLNR of your invoice if you want field of your own choice which isn't avaiable at copy control level then you've to go for development in this case by using include RV60AFZC and at FORM USEREXIT_FILL_VBRK_VBRP, put the logic with the help of your abaper to fill that field manually with the field of your choice. In case you need more help on this, please feel free to ask as i've done this scenario to fill that field manually via development. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a another way but a little bit triggy:
1. Lookup in table BKPF AWREF for 'VBRK' and AWKEY = Billing number
2. Lookup in table BSEG for cleared item with Keyfields of BKPF
3. Lookup payment in table BSAD with BSEG-AUGBL BSEG-AUGDT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Shakil Akthar,
Use transaction SQVI.
You can see the common fileds between two table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.