For BSID- Accounting Document Number corresponding PO Number is required
Hi Gurus,
I have got a requirement to develop a report similiar to 'FBL5N' . I am getting the details of open and cleared items of a customer from BSID and BSAD tables respectively. My requirement is also to fetch the corresponding PO number of the LINE items displayed in the report.
Can any one suggest how can I fetch PO number with Accounting document number(BSID-BELNR) or (BSAD-BELNR).
Your efforts in this matter are deeply appreciated and <<removed_by_moderator>>.
Thanking You,
ZIa.
Edited by: Vijay Babu Dudla on Jan 28, 2009 11:07 PM
If you have fields BSID-VBEL2 and BSID-VPOS2 are populated with the sales order, than access VBKD with the Sales Order to get the Customer PO (VBKD-BSTKD)
Or
First, You need to get the Billing document. Access BKPF with the BSID-BELNR to get the AWKEY where AWTYP = 'VBRK'
Now, you can go to SD document flow with the billing document to find out the Sales Document. Access VBKD with the Sales document to get the Customer PO
Regards,
Naimesh Patel
Similar Messages
-
Function module to find the attachment list for an accounting document?
Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
<b><REMOVED BY MODERATOR></b>
Thanks,
Ning
Message was edited by:
Alvaro Tejada GalindoHi,
i_object1-typeid = 'YARSATTA'. "<<< Give your Object id name
i_object1-catid = 'BO'.
i_object1-instid = i_yarsitem-docno. "<<<< Document Number
call method cl_gos_attachment_query=>count_for_object
exporting
is_object = i_object1
ip_arl = space
receiving
rt_stat = i_stat1.
read table i_stat1 into wa_stat1 index 1.
if sy-subrc eq c_0.
move wa_stat1-counter to v_attno1.
endif.
For link you need to check for table SRGBTBREL
and also please check class CL_GOS*
a® -
Manual creation of idoc for a Accounting document FIDCC1
Hi,
Some of the config for the change pointer was not moved to production and some accounting documents have been created which have not triggered the IDOC.
Is there a way to create the idoc for the accounting documents already created.
Regards,
Puneet.Once you have all your change pointers setup correctly (view bd52) then you should be good to go BUT to answer your question about the existing documents .. you would need to somehow "touch" those documents to trigger the creation of the IDOCs. You can modify something on then that also is attached to the change pointer say a date? 1/11/11 change to 1/12/11 but don't save that value .. change back to 1/11/11 then save.
Just my thoughts .. let me know how it goes.
Jay Esparza -
DMBE2(LC2 amount for a accounting document) in BW
Hello Friends,
The users have a requirement to display the LC2 amount for an accounting document along with LC1 and LC3 amounts. Now the problem I am facing is that the LC2amount is postive for both the actual debt and payments made against the debt amount. Now in the subtotal for a particular customer for that account is adding to the original debt value instead of subtracting as all the LC2 amount values are positive.
Now, the LC2 amount is mapped to DMBE2(LC2 amount for a accounting document) in SAP R3.It is stored in BSAD,BSIS and BSEG tables and its value is positive in those tables too.
I don't understand why LC2 is positive for both the debt and payment amounts. But LC1 and Lc3 have both positive and negative amounts.
Also, is this the standard SAP design or custom to a client.
How do I resolve this and provide the correct LC2 balance in the reports.
Regards,
TanyaHi Tanya,
Do you have a characteristic in the provider(Something like document type) which tell you whether the current record is debt or payment.
If you do have such a characterisic, then you can create a formula with an if condition -multiply LC2 by -1 if it is a debt.
Regards,
Sunmit. -
Document Summarization for External Accounting Documents - ECC 6.00
Hi All,
I would like to know about the Document Summarization for external accounting documents in controlling. please can anyone suggest when we have to use this in ECC 6.00.
Regards,
PranavHi,
Please see note 1070629 - FAQs: New General Ledger Migration
https://websmp204.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1070629&_NLANG=E
Extract :
77. How can I deactivate classic Profit Center Accounting (EC-PCA) after activating the new General Ledger?
Note 702854 explains how to deactivate classic Profit Center Accounting.
If you use document splitting for profit centers in ERP2004, delete the dummy profit center from the table TKA01 also. For this purpose, Note 702854 provides the program Z30PCA23. Use the program Z30PCA23 to delete the dummy profit center of classic Profit Center Accounting in the controlling area.
Hope this helps.
Cheers,
Gimmo -
Number range for Invoice & Accounting document to be same
Forum Members
The client requirement is to have same document number for both invoice & Accounting document.
Earlier for fiscial year 2006 it was same where as for fiscial year 2007 it is coming as different.
Can somebody help in providing the details & configuration details?
Regards,
VengatHi Vengat,
Go through this link and it may be helpful for you.
http://www.ficoexpertonline.com/archive/Volume_03_(2004)/Issue_05_(May)/V3I5A1.cfm?session=
Regards,
RitiG -
Number Range For the accounting document
Hai,
After creating the billing document, account determination error is coming.
Message says that number range 01 is not maintained for the accounting documentGo to OBA7, select the document type RV and execute. There ensure that the object 01 in the field number range assignment. Next go to FBN1, key in company code and ensure that the above object is maintained there.
thanks
G. Lakshmipathi -
GRN for respective Accounting document number
Hi guru,
I need to show a report like bellow:
+Accounting doc number+ +GRN+
4900030516 4900743137
Both document number and GRN is saved in same table MSEG.
can you please give me the relation, depending on that I can recognise 'GRN 4900743137' is created for
'doc number 4900030516'
with thanks
Moshior
Edited by: moshiur sohel on Oct 7, 2010 8:24 AMhi,
1st to find accounting docs for GR find BKPF - BLART = WE
read table field BKPF-AWKEY
suppose u found AWKEY = 49007431372010
AWKEY = GR number + GR year
for above example GR number is = 4900743137 and GR year = 2010
you can use reverse logic if want to go from accounting document to GR document .
hope this helps
regards
Avinash
Edited by: avinash goswami on Oct 7, 2010 12:11 PM -
Accounting document should get same number
HI,
User want accounting document number same as invoice number.Is is possible with standard SAP?HI,
Welcome to SDN !!!
Please search the forum before you post your questions as this question is answered many times.
Also please read the Welcome and Rules of Engagement before posting further.
Please click the below link to clear your doubt.
[Link|Accounting doc range number same as SD invoice;
Regards,
Phani Prasad -
Enhancement for updating accounting document in MIGO
When doing MIGO, material document gets generated in background. I would like to pass this material document num (mkpf-mblnr) to the assignment field of GR/IR line item of accounting document (BSEG-ZUONR)
Hi, Thanks for u r response. it is giving problem
My requirement : Transaction is : MIGO
Before posting of material document, update material document number in assignment field of GR/IR line item of accounting document (WE) at number commitment stage
Update MKPF-MBLNR (Material Document Number) in BSEG-ZUONR
but already i tried AC_DOCUMENT i got a problem .
What i did,
first use MB_DOCUMENT_BADI with method
mb_document_before_update.
here i tried to get the material document and export into memory
after use AC_DOCUMENT With method
change_after_check.
here Import the material document doc num and pass it to Assignment field in
but it is not working
when i debug first trigger the AC_DOCUMENT And then it goes to MB_DOCUMENT_BADI
Plese help me regarding this.
Edited by: vsreelakshmi on Feb 9, 2012 5:23 AM
Edited by: vsreelakshmi on Feb 9, 2012 5:29 AM -
User Exit or Enhancement for Material accounting document in VL02N at PGI
Hi,
I have 2 requirement at the time of PGI of Delivery.
1) Currently there are 2 accounting document getting created for 2 countries. i want to restrict acc. document creation for one company code.
2) I want to change the GL account in the accounting document while creation.
Could you please help me in finding any user exit or enhancement or BAdi or BTE which can resolve th eissue?
Thanks,Hi,
GL account can be changed through the badi AC_DOCUMENT.
Use the the method CHANGE_INITIAL to change the GL account..
Regards
Aromal R -
Population of XREF2-Reference Key 2 for a Accounting Document
Hi Gurus,
I have a requirement while posting an accounting document by clearing the Customer open item.
My requirement is Populating the BSEG-XREF2 with customer tolerance Group (KNB1-TOGRU) of the Customer.
I tried implementing the logic in the substitution rule but it is not working. At the time of the subsitution rule code, there is no value in the Field BSEG-KUNNR and i am not able to pull the Customer Tolerance Group.
Can you please tell me are there any user exist or enhancement points to Populate BSEG-XREF2 while posting an accounting Document.Hi Anand Sirgapuram ,
I don't know if you know what are BTE Business Transaction Events, but you can use them for this kind of needs, you can use the BTE: SAMPLE_PROCESS_00001120, you have to copy it and activate it using the SAP transaction FIBF.
Regards
Yassine NEJMY -
Standard Report to see reason for no accounting document
Hi All,
We have performed a material movement with value. While forward movement the accounting document was created but while reversing the same, there was no accounting document.
I want to know what is the reason for accounting document not been created. Is there a Standard Report to show the material documents with no accounting document and also the reason.
Request your quick help.
RegardsHi,
There is no such report.
The accouniting document is created based on some basic concepts of material valuation.
Please explain your scenario.
Anand -
Check list for automatic accounting document creation
Sir,
I have created a new depot [ STO process ]
After that I tested SOP in development server, and could successfully create sales order, delivery, billing, accounting document.
Accounting document was automatically created at the time of VF01.
But in production server, after billing document, I have to manually release the document for accounting.
I checked following conditions.
1] " Posting block" is unchecked in billing document type
2] Account Assignment is maintianed in VKOA
3] Account Assgn Grp is maintained in customer master and material master.
What could be possible reason, why accounting document does not generate automatically. For all previous depots created it is generated automatically in production.
Would appreciate reply
Regards
TruptiDear,
I think you do the check mark on posting block. I have check this scenario and it is work.
In STO process, There is no requirement to create accounting document because STO is process of company inter transfer process. and in this scenario, accounting document should not be generated and invoice create as a perform invoice.
Hope will help.
Regards,
Sandip -
LDB for BSEG - Accounting Document
Can anybody tell me the logical database for BSEG accounting Document
BKPF Accounting document header
BSEG Accounting document segment
BSET Tax data document segment
BSEC One-time account data document segment
<b>Logical databases: BRM </b>
reward if useful
Message was edited by:
santhosh reddy
Maybe you are looking for
-
I finally dud the update to my iPhone and now it's asking me to plug in to my computer and it shows the iTunes symbol. problem is I don't have a computer only an iPad. Is there any way of getting around that? My phone is not working. I have powered o
-
Why is my word and pdf files so large? How can I reduce the size?
My document contains mostly photos from a database via a path to the actual jpeg photos on disk. There are 39 jpeg photos + a small amount of text with each photo. The 39 jpeg photos on the disk add up to be 5.79 mb. If I export the crystal reports d
-
I deleted some videos on my ipad before synching with my library, and now I can't find them. How can i get them back?
-
Why is my iPad storage space filling up when transferring purchases to iTunes?
Hi there, Hopefully somebody can help. I recently bought an iPad & it's been great, but I noticed when I was Transferring my purchases from my Pad to my Mac, my iPads disk space starting filling up under the 'Other' catagory. Why is it doing it? Sure
-
As far as I can tell clamav is installed just to support the mail services and not as a general virus scanner. Conversely, I want to use it from the command line to scan my whole server, once I have made sure that the virus definitions are up to date