2009 Nov 19 6:05 PM
Hi friends,
I have a some invoice numbers say 100 invoice numbers. now my requirement is i should find weather the invoices has entry in BSAD or BSID tables.
what are the fields i need to use..
can any one let me know..
Regards
kUMAR
2009 Nov 19 6:10 PM
Hi friends,
I have a some invoice numbers say 100 invoice numbers. now my requirement is i should find weather the invoices has entry in BSAD or BSID tables.
what are the fields i need to use..
can any one let me know..
Regards
kUMAR
2009 Nov 19 6:10 PM
2009 Nov 19 6:17 PM
Hi,
can you be clear..
actaully i have vbrk -vbeln which is my invoice number..
now how should i make a check.... in bsid or bsad table
what will be the invoice field in those table bsad and bsid.
Regards
kumar
2009 Nov 19 6:22 PM
No need to go to BSID and BSAD. You can get the data you need directly from BKPF and BSEG using AWTYPE and AWKEY.
Rob
2009 Nov 19 6:25 PM
The check iam doing is because i have to find out what are the invoice numbers which have been flowed to financial accounting.
regards
kumar
2009 Nov 19 6:25 PM
vbrk-vbeln is mapped with BELNR in BSID/BSAD...
both are invoice number..
2009 Nov 19 6:38 PM
BELNR is your required field...
That's not necessarily true. That's a configuration dependent setting which varies by company. Many companies pass through the invoice number as the accounting document number but many do not. AWTYP and AWKEY (from BKPF) are the more correct fields, unless of course the poster knows how to verify this and can make the assumption.
As for the question, why do you need to check BSID or BSAD? The customer line item on BSEG (found after using BKPF) will identify whether the item is cleared or not.
2009 Nov 19 6:39 PM
vbrk-vbeln is mapped with BELNR in BSID/BSAD...
both are invoice number..
How do you know that? Do you work for the same company?
2009 Nov 19 6:42 PM
let him check with his system.. and let him respond please.. i am posting my view.
thank you.
2009 Nov 19 6:42 PM
Hi
Just Rob said u need to start from BKPF and BSEG.
If the FI invoice is posted for the billing:
A) U need to find the FI invoice selecting the record of BKPF where AWTYP = 'VBRK' and AWKEY = VBRK-VBELN
B) U need to select the customer items from BSEG where BUKRS = BKPF-BUKRS, BELNR = BKPF-BELNR, GJAHR = BKPF-GJAHR and KOART = 'D'
C) U need to check if the item is open or cleared:
IF BSEG-AUGBL IS INITIAL.
-
> The item is open => the item will be in BSID
ELSE.
-
> The item is cleared => the item will be in BSAD
ENDIF
Max
2009 Nov 19 6:56 PM
let him check with his system.. and let him respond please.. i am posting my view.
But again, your answer is not the correct one. As a 14 year veteran of SAP, I can tell you that I've worked with several companies that don't follow that rule. Think of not only this poster but also the person who will search for the same answer and find that your answer doesn't work for him/her. If it were me, I would have the courage to admit when I didn't give the right answer instead of 'this is my view'...
2009 Nov 21 12:25 AM
> Total Questions: 16 (9 unresolved)
There is a 56,25% chance of clarifying what the context is, so I think Kumar is the problem here...
Cheers,
Julius
2009 Nov 23 12:48 PM
Have patience Julius... Things cant be achieved in a day...
I Guess u havent learned SAP in a single day...!!!\
Kumar
2009 Nov 23 1:01 PM
> I Guess u havent learned SAP in a single day...!!!\
Hey, Brad learnt SAP in 14 years but that is also no reason to leave questions unanswered forever (like many often are).
> Total Questions: 16 (2 unresolved)
Thank you for following up...
Cheers,
Julius
2009 Nov 23 3:21 PM
Thanks for your answer MAX...
Julius questions are Resolved FOREVER.....!!!!!! Happy....
Kumar...!!!!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |