Billing and the Account document Number should be same
Hi
I have a requirement for the customisation to have the same number for both the Billing Document and the Accounting Document
How can we do this ?
Regards
Raju
Dear Raju
By applying the same number range in <b>FBN1</b> (for accounting document) and <b>VN01</b> (for billing document), you can have the same number ranges for accounting document and billing document as well.
Thanks
G. Lakshmipathi
Similar Messages
-
Billing document and Excise invoice document number should be same
Dear SD gurus
kindly help me following client requirement
in order to cash (domestic & Exports)
and sto (intra and Inter plant to plant) scenarios the billing document number and excise invoices number should trigger same number
Example order- delivery- pgi- commercial invoice (VF01) --- billing document no.1234 here it should create automatically excise invoice no 1234
in J1iin disply it show ref document no( billing document no: 1234. & excise invoice no 1234Dear All,
As per the standard it is not possible. But some times client says why two different numbers ranges we require same numbers ranges for both billing doc. & Excise invoice.
Please go through the following link
http://saptechsolutions.com/pdf/SDDocumentNumberRangeEnhancements.pdf
Also check with the Abaper with explicit enhancement by maintaining the number range values in Custom table where we go when ever there is no option for(if client is not convincing) but which is not reccomandable but left out with no choice when client is demanding.
Regards,
S.Himavanth. -
Need to find out the account group given the accounting document number
I am new to SAP. Please help.
Need to find out the account group given the accounting document number?If you are asking about account assignment group then that can be seen in billing document -> Header -> Accounting Data.
-
Link between Customer Purchase Order and Accounting Document Number
Hello all,
is there a table in SAP that contains the purchase order number of the customer and the Accounting Document Number (belnr)?
thanks in advance
AnneDo this:
SELECT awtyp awkey
FROM bkpf
INTO CORRESPONDING FIELDS OF bkpf
WHERE bukrs = bsis-bukrs
AND belnr = bsis-belnr
AND gjahr = bsis-gjahr.
ENDSELECT.
This should give you SD billing document information.
Rob -
Excise No. using Accounting Document Number and the P.O. number
Hi All ! In my GL report, I'm displaying the Accounting Document Number and the P.O. number.
Now, the requirement is to display the excise no..
Tried different tables in SE11 using J_1EXC for excise detials, but to no avail.
And last which vendor to pick, Because vendors in P.O and BSEG differs.
If I use the BSEG-BELNR I get a different vendor & If I use the P.O. no. in EKKO then also I get a different vendor.
Please suggest.Hi,
Actually the vendor in the accounting document and PO should match. If not look in table EKBE, It will have the accounting document or at least the invoice receipt against which accounting document would have been created. Check if the vendor number matches with the invoice receipt.
Regarding the excise number I'm not sure what you mean, If you mean excise invoice number, you can look at the J_1IEXCDTL
J_1IEXCHDR tables. You could check with FC on what basis the document is getting created to make out the relation ship. If it is vendor excise no etc. you can hit F1 help to find out the table etc.
Hope it helps.
Sujay -
Link between billing document and accounting document number
Hi Frnds,
When i receive a partial receipt (of an invoice) from a customer using f-28, i am getting the link between invoice number and accounting document number from a table (BSEG), but when i am receiving the final settlement amount from the customer, i m not getting the link between the inv. no. and accounting document number. Can anyone tell me how can i get the same?
I have tried table BSAD and BSID.Hi,
I will give you two options.
1)Goto FBL5n.Enter your customer number and company code.Select All items.
Execute.
Search for your billing document number using CTRL+F.Select that line.Click on display.
Here you will find the reference number and clearing document number also.
2)Goto VF02.
Enter your billing document number.Enter.
Press Shift+F4 or the path is:goto-->Accounting document.
You will get the accounting document number here.
3)Goto FB03.Key in the document number.Enter.
Regards,
Krishna. -
Accounting document number from billing data
hi
i have billing document with multiple items. I need to find out the accounting document number corresponding to each of the billing document item. which tables i need to refer for this.give me the field names.
thanksHi,
You can read the FI document with the function module AC_DOCUMENT_RECORD
call function 'AC_DOCUMENT_RECORD'
exporting
i_awtyp = 'VBRK'
i_awref = awref
i_aworg = aworg
i_awsys = awsys
i_awtyp_incl = 'BKPF'
i_valutyp = '0'
x_dialog = ' '
tables
t_documents = docs_fi
exceptions
no_reference = 1
no_document = 2
others = 3.
where docs_fi is as the table ACC_DOC. Read the records where awtyp = 'BKPF' in itab docs_fi. Search AWREF, AWORG and AWSYS in equivalent fields in table VBRK.
I hope this helps you
Regards,
Eduardo
Edited by: Eduardo Hinojosa on Jun 14, 2010 3:35 PM -
How to get Accounting document number from billing document number
Hi,
How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
Cheta PantHi,
VBAK is the Sale Order header table, Billing document table is VBRK.
Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
Regards,
Chintan Joshi -
How to find the invoice number from accounting document number?
Hi
I am using the bapi BAPI_AP_ACC_GETSTATEMENT and trying to get the invoice numbers of all the payments.
but i am unable to find the link between the accounting document number from the bapi and the vendor invoice number.
i have tried the tables BSE_CLR, BSEG and BKPF. the field AWKEY in BKPF has the combination of BELNR & BUKRS & GJAHR when the document type is anything other than RE.
How can i get the invoice numbers from the accounting doc. numbers?
Regards
SujaiI am unable to find the link between BKPF-BELNR and RBKP-BELNR from the bapi return values.
XBLNR is blank when i check the table.
the output of the bapi is something like this
COMP VENDOR CLEAR_DATE CLR_DOC_NO ALLOC_NMBR FISC DOC_NO ITE
1000 1100 ........ ......................................... 20020123 2002 1900000202 002
1000 1100 ........ .........................................20020123 2002 1900000203 002
1000 1100........ .........................................20020123 2002 1900000204 002
1000 1100........ .........................................20020123 2002 1900000205 002
now i try passing the doc_no (1900000XXX) and the fiscal year (2002) and company code to BKPF
the XBLNR field is blank. This document number sequence doesn't seem to be the accounting document number of the invoice coz that starts with 51XXXXXXXXX.
If i try passing the number with sequence 51XXX... to BKPF i get the invoice number there in the AWKEY field.
I am not sure what this sequence (19___) represents.
Sujai
Edited by: Sujai S on Nov 5, 2008 7:22 PM
Edited by: Sujai S on Nov 5, 2008 7:22 PM -
How to find out SD billing doc # using accounting doc number ?
Hi Experts,
Using accounting doc tables such as BKPF , BSEG and BSID , I need to find out respective SD billing doc no when I have accounting doc number.
The issue is I cannot use either 'reference number' or assignment number' because the same numbers are not flowing to accounting doc from SD ( enabled by a enhacement ).
Regards
Mahesh.Hi,
In BKPF : AWKEY / XBLNR with these fields we can identify the SD billing document number.
In BSEG table VBELN field is Billing document number
Or
Goto T.Code FB03 enter the accounting document number,company code and fiscal year and press enter.
select the line and choose details, choose addtional data tab, here we can see the billing document number.
Regards,
Chandrasekhar.S -
Accounting document date should be current date
Hi,
When i am releasing a invoice to accounting , accounting document date is billing date not current date
i need acc doc date should be the date when invoice is released .not billing date how can i configure thisHI,
I am not getting your business requirement here, Where as logically it should be same as Billing date and accounting document date.
because some times the billing date and the billing creation date may change. in that case it may be difficult you to prove the accounting document date.
for Eg. you billing creation date is 30.01 .2013
and your billing document date is 05.02.2013
if you posting the accounting document in 01.02.2013, and you need to the accounting document date should be 01.02.2013 , then it is logically not valid.
So if you need to find the exact date for accounting posting then you can refer the "posting date field" , that means (
Date which is used when entering the document in Financial Accounting or Controlling)
Hope it ll help you to understand.
Else you have to use any user exit to do so.
Regards
Pitabash -
How to fetch accounting document number from known material document number
Hi,
Using MIGO transaction, by giving mblnr(material document number) as input, I get accounting document number by clicking FI document.I have to add this accounting document number in my report for corresponding known mblnr(material document number) values.
My question is how to fetch the accounting document number present in MIGO to add in my report program.
I used the xblnr(Reference Document Number) which is present both in mkpf and bkpf tables to fetch values.
I extracted xblnr values with known mblnr values from mkpf (Header: Material Document table).
and then extracted belnr(accounting document number) from bkpf (Accounting Document Header table) by using xblnr values.
But the query is running for a long time.
Is there any other method to extract the values in a simpler way.
Kindly advise.
Thanks and Regards,
SanjeevI had the values of xblnr and some other fields such as mblnr, budat etc in wi_item table.
I created a new internal table i_xblnr and got down those values.
And then created a new internal table i_belnr and tried to get values of belnr in it.
The code I wrote is given below:
IF not wi_item[] is initial.
loop at wi_item.
at new xblnr.
ws_xblnr-xblnr = wi_item-xblnr.
append ws_xblnr to i_xblnr.
endat.
endloop.
select belnr xblnr from bkpf into table i_belnr for all entries in i_xblnr where xblnr = i_xblnr-xblnr.
ENDIF.
Kindly look after it.Thank you.
Regards,
Sanjeev -
Link to find Accounting document number from Material document number / PO
Hi
We are working on a custom report, in which we need to print purchasing details (from EKPO, EKKO & EKBE) as well as accounting details (from BSEG & BKPF). We need to hit BKPF/BSEG with the accounting document number, since it is the only key field (though PO number is there in BKPF, we can not use this because it is not a key field)
My question from which table we get the accounting document number ? We need to provide a link between purchasing & accounting through accounting document number, but how to find the accounting document number. ?
Thanks
Venkat.Venkat,
I guess you are trying to fetch Accouting Documents for goods receipt against PO.
To do this, you need to look at the PO History table (EKBE) and find out the Corresponding material document (VGABE = 1 for good receipt).
Get the value of BELNR and GJAHR.
Concatenate BELNR and GJAHR into your refernce key (like BKPF-AWKEY).
Then use this key to read table BKPF with the following key
AWTYP = 'MKPF' for Material document
AWKEY = reference key generated above.
AWSYS = the value of the logical system (if used) or blanks
This will get you quicker access as compared to what you've described below. In this case, the system uses a standard SAP Index "Index by application type and key" to fetch the relevant records.
Hope this helps. -
How to catch accounting Document Number in SE37 for BAPI_ACC_DOCUMENT_POST
HI Frds,
My ReQ is i have to post Customer Invoice from Legacy to ECC through PI interface. So i am using one BAPI , ' BAPI_ACC_DOCUMENT_POST''. I had customized this BAPI by adding 2 fields (1.zstatus, 2.zsaprefno) as i have to send the status(1. Success/Fail, 2.Account Document Number) back to Legacy.
For PI i have to give the BAPI structure. So when i am executing in SE37 zstatus field is catching the value as 'Success'. But the ZSAPREFNO is not catching the account document number. Bez we have to execute BAPI_TRANSACTION_COMMIT after this BAPI(in test sequence from Menu bar). So directly updating in Database tables.
when i was excuting in SE38 the Accounting Document Number is returned in RETURN parameter of MESSAGE_V2 as we are checking the return parameter after BAPI_TRANSACTION_COMMIT.
when i am trying in SE37 its not catching the value in MESSAGE_V2(catching as $). After COMMITing we have no option to check the RETURN parameter.
So, any idea how to get the Account Document Number in SE37.......Or any other way to do..........
Edited by: priya tavanam on Sep 3, 2010 7:02 AMHi,
if standard BAPI did not return the Acc. document number before BAPI_COMMIT then create wrapper FM
1) call actual BAPI and BAPI_COMMIT with in that.
2) retrun the account document back.
otherwise you can try sync proxy as well.
Regds,
Suresh -
Retrieving Accounting Document number based on PO numbers
Hey All,
I have a list of PO numbers(EBELN) for which I am trying to get all Accounting information from BSIS. But before going to BSIS I am trying to determine the Accounting document number(BELNR) from some other table so that my select on BSIS will be efficient.
What I have tried uptill now is to go to EKBE with the PO numbers and get the Material document numbers. For some cases the material document number is the accounting document number and for others I have to go to BKPF with this material document number to get the accounting document number.
Is there any other easier and efficeint way of doing this?
Any input is highly appreciated.
ThanksI am retrieving Large amounts of data, around 1.5 million from BSIS.
The code related to our discussion looks like this:
"First I get all related PO's for the last three years and determine the no of packets.
DO v_no_of_packets TIMES.
IF v_end_indx GT v_total.
v_end_indx = v_total.
ENDIF.
REFRESH i_ebeln_range[].
APPEND LINES OF t_ebeln_range FROM v_start_indx TO v_end_indx TO i_ebeln_range.
v_start_indx = v_end_indx + 1.
v_end_indx = v_end_indx + p_pkjsiz.
IF NOT i_ebeln[] IS INITIAL.
CLEAR l_bkpf.
REFRESH l_bkpf[].
SELECT ebeln ebelp zekkn vgabe gjahr belnr buzei FROM EKBE INTO TABLE t_belnr
WHERE ebeln IN i_ebeln_range
AND vgabe IN ('1' ,'2').
IF sy-subrc EQ 0.
LOOP AT t_belnr.
l_awkey+0(10) = t_belnr-belnr.
l_awkey+10(10) = t_belnr-gjahr.
IF t_belnr-vgabe = '1'.
l_awtyp = 'MKPF'.
ELSE.
l_awtyp = 'RMRP'.
ENDIF.
SELECT SINGLE bukrs belnr gjahr blart budat
FROM bkpf INTO l_bkpf
WHERE awtyp = l_awtyp
AND awkey = l_awkey.
IF sy-subrc EQ 0.
APPEND l_bkpf.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
"Then
SELECT zuonr hkont gjahr belnr buzei budat blart wrbtr shkzg xblnr
waers bukrs
INTO TABLE i_bsis
FROM bsis
FOR ALL ENTRIES IN l_bkpf
WHERE bukrs = l_bkpf-bukrs
AND hkont IN r_hkont "Contains all Accounts
AND budat = l_bkpf-budat
AND augdt = 0
AND augbl = space
AND gjahr = l_bkpf-gjahr
AND belnr = l_bkpf-belnr
AND blart = l_bkpf-blart
AND gsber = c_zrl1.
SELECT zuonr hkont gjahr belnr buzei budat blart wrbtr shkzg xblnr
waers bukrs
APPENDING TABLE i_bsis
FROM bsas
FOR ALL ENTRIES IN l_bkpf
WHERE bukrs = l_bkpf-bukrs
AND hkont IN r_hkont
AND budat = l_bkpf-budat
AND augdt = 0
AND augbl = space
AND gjahr = l_bkpf-gjahr
AND belnr = l_bkpf-belnr
AND blart = l_bkpf-blart
AND gsber = c_zrl1.
"Then process this data
Maybe you are looking for
-
Re: No Contacts Showing As Online on GE DECT 31591...
I am facing the same problem. I cannot see the contacts on my GE Dect 6.0 phone. I am able to sign in to my account but cannot see the contacts. I called the GE Tech support and they suggested me to contact Skype for the software issue. Please help m
-
I know extremely little about Flash and AS but i would to be able to set my flash site into full screen at a touch of a keypress. I have seen tutorials on achieving this in Flash 8 but they were beyond my level of Flash knowledge. Would anyone be abl
-
How do I change file type?
I am trying to upload a video that I edited onto my hard drive in order to share and view it through different players. My problem is that after I upload the video, the players do not recognize the file type. How do I change the file type in order
-
ORA-01780: string literal required ( ERROR at line 7:)
Can anyone help me ? The XMLQuery below show me ORA-01780: with t as ( select xmltype('<Root> <Child1 attribute1=''1'' attribute2=''2''></Child1> <Child1 attribute1=''3'' attribute2=''4''></Child1> <Child1 attribute1=''5'' attribute2=''6''></Child1>
-
I want form to open with fields automatically highlighted.
I am creating a form that, when opened, I want the fill-in fields to automatically be highlighted. When I open the form in Acrobat, there is checkbox at the upper right side to check - it says "Highlight Fields" - by default, it is not checked. Is t