Journal Entry/Document headers
In the journal entry layout, certain fields are coming in the header portions and I want to bring it to line item level so that I can enter the data against line item.
For example I have ' Trading partner' field. Rather than coming in document header I need the same to come in line item, so that I can enter the trading partner detail against each line item level.
This is specific situation in regard to manual adjustment for Intercompany related transaction.
How to handle this? Appreciate the helpful answers...
Stepanie,
are you talking about the text for the Journal Entry or the actual entry configuration?
We only have been able to set the text/description for the document, not the individual line items.
For the BCS experts - is it possible to do that? There is no attribute for the line item text - would we need to create a new one and maintain it?
thanks
Similar Messages
-
Journal Entry Document List (Including Total Dr and Cr)
Hi,
Is there are report that I can run to give me all journal entries for a specified period, including the following information: User, Company Code, Document No., Doc type, Reference, Document Header, doc date, posting date and dr. and cr. values? When I run TCode FB02 I get all the info except for the dr. and cr. values.
Regards,
TracyDear,
Please use the table BSEG, where you give document type and period. Remember it is a primary table if your time period is vast then i dont suggest you to use this. You can make a query with table BKPF and BSIS to get the required details.
Transaction code : SE16 or SE16N and give the above tables and check the data, before you make a query. -
Date deviates from permissible range [journal entry - Document Date]
Hi, i have problem to add journal entry, when i creat journal document last year with:
Posting date: 06-02-09 (this date)
Due date: 06-002-09
and Document date: 20-11-08 (couse the document late to creat at the journal)
kindly, and thx for solution..
Regards,
AniAni,
Take a look at this thread
Re: Delivery Date on Sale Order
Suda -
Create a payment based on a journal entry document
Hello!
In SBO 2007A PL44 I could add an incoming payment based on journal entry, but my code doesn't work in PL46.
It's a bug?
The Code:
Dim oPay As SAPbobsCOM.Payments = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
oPay.DocType = SAPbobsCOM.BoRcptTypes.rCustomer
oPay.DocDate = Today
oPay.TaxDate = Today
oPay.DueDate = Today
oPay.VatDate = Today
oPay.CardCode = "310000010"
oPay.Invoices.DocEntry = 1882
oPay.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_JournalEntry
oPay.Invoices.SumApplied = 12000
oPay.CashAccount = "38117000"
oPay.CashSum = 12000
oPay.DocCurrency = "Ft"
If oPay.Add <> 0 Then
Dim errCode As Integer = 0
Dim errmsg As String = ""
oCompany.GetLastError(errCode, errmsg)
End If
I got the following error:
errCode: -10
errMsg: Cannot pay partial down payment
Regards Csaba
Edited by: Csaba Fülöpcsei on Apr 8, 2009 4:49 PMDear Jane Jing!
Yes I have a issue in B1 app for this payment:
In Incoming payments windows select the customer doctype and select the customer (310000010), and the list of the invoices check the line (1882, journal entry) and type 10000 in the Total Payment column. And after 'Payment Mean' icon, I can add the payment.
The problem is still on all payments of jourlnal entries from DI API.
If I assign any value to oPay.Invoices.SumApplied field, I couldn't add the payment.
Regards Csaba -
Manual Document Number for Journal Entry
I tried to upload invoices via DTW. I used manual doc. series for those invoices. SAP automatically creates a journal entry for every invoice but with it's auto numbering series. How can I use manual number for journal created by system? Thank's a lot.
Hi,
as far as I know, there is no manual option series like in document e.g. sales order.
you could create new series and it is intended to manual operation of journal entry. By using this way, we can manage and differentiate the journal entry document numbering. Which one is for document accounting transaction journal and memorial journal (manual journal).
Rgds,
(http://tech.groups.yahoo.com/group/SBO_Knowledge_Village/ ) -
Hello,
I am using SAP 2007 B PL 15 and SAP user making a journal entry document but after 115 lines users unable to add new rows its happned more then one user
Is there limitation for rows ? if not then how can i solve this issue please take a higher priority.
Thanks and Regards
RahulRahul,
You can try to create more than 100 line of journal entry but make sure if the total debit or credit digit number are not more than 13.
JimM -
Mass Printing of Journal Entries
Good Morning.
I'm trying to figure out how to print a large number of journal entries without having to click on each one individually, but am having difficulty figuring this out.
I need the Journal Entry/Document print out to match how the print out would look in FB03.
I read on a previous thread that a Query can be created to do this. Is that the only way? If so, can someone walk me through how to create a Query for this?
I've never created a Query in SAP before and am having difficulty figuring it out.
Thank you for your help. Let me know if I need to clarify what I'm trying to accomplish.Hi,
Sir.
As far as concern there is no Tcode or BAPI avaliable for MASS Reversal of MIRO. Instead simply you
can write LSMW for MR8M with appropriate data in .TXT format and run once.
LSMW for MR8M is possible solution.
I hope this helps you.
Regards,
Pankaj A Bhalerao. -
How to reverse a manual Journal Entry Voucher created via Custom BO
Hi All,
I have created a custom BO for triggering a Journal Entry Voucher for each and every Customer Invoice created in the system.Normally all Customer Invoice will be having a corresponding Journal Entry document ,apart from the default JE document I have created an additional Journal Entry for each CI through a Custom BO because of the Business requirement.I am using the default JE as the source document for the newly created JE for the same CI.
If a custom invoice gets cancelled only the default JE will get reversed.How to reverse the newly created JE too.I there a way to carry out this reversal process through PDI using ABSL.
Please find below the code for details.
Custom BO contains these lines.
import ABSL;
import AP.FinancialAccounting.Global;
import AP.CustomerInvoicing.Global;
var query;
var selparam;
var resultset;
var query1;
var selparam1;
var resultset1;
var query2;
var selparam2;
var resultset2;
query = AccountingDocument.QueryByElements;
selparam = query.CreateSelectionParams();
selparam.Add(query.UUID.content, "I", "EQ", this.ZJEUUID.content);
resultset = query.Execute(selparam).GetFirst();
selparam.Clear();
if (resultset.IsSet())
var CI_ID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
if (!CI_ID.IsInitial())
query1 = CustomerInvoice.QueryByElements;
selparam1 = query1.CreateSelectionParams();
selparam1.Add(query1.ID.content, "I", "EQ", CI_ID);
resultset1 = query1.Execute(selparam1).GetFirst();
selparam1.Clear();
if (resultset1.IsSet())
foreach (var itemIns in resultset1.Item)
var qty = itemIns.Quantity.content;
var pid = itemIns.ItemProduct.ProductKey.ProductID.content;
query2 = ZProductTax.QueryByElements;
selparam2 = query2.CreateSelectionParams();
selparam2.Add(query2.ZprdID.content, "I", "EQ", pid);
resultset2 = query2.Execute(selparam2).GetFirst();
selparam2.Clear();
if(resultset2.IsSet())
this.ZEnvTax.content = this.ZEnvTax.content + (qty * resultset2.ZtaxPrice.content);
this.ZEnvTax.currencyCode = resultset2.ZtaxPrice.currencyCode;
this.InvID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
//Manual creating of Journal Voucher //
var newJV = AccountingEntry.Create();
newJV.CompanyID = resultset.Company.ID;
newJV.Note.content = resultset.Note.content;
newJV.AccountingDocumentTypeCode = "00047";
newJV.BusinessTransactionTypeCode = "601";
newJV.TransactionCurrencyCode = resultset.Item.GetFirst().BusinessTransactionCurrencyAmount.currencyCode;
newJV.AccountingClosingStepCode = resultset.AccountingClosingStepCode;
newJV.ZcustomerID.content = resultset1.BuyerParty.PartyKey.PartyID.content;
newJV.PostingDate = resultset.PostingDate;
var sob = newJV.SetOfBooks.Create();
sob.SetOfBooksID.content = resultset.SetOfBooksID.content;
//Making the Credit account of Original JE as Debit account in this JV//
var debitAccIns = resultset.Item.Where(c => c.DebitCreditCode == "2").GetFirst();
var debitAcc = debitAccIns.ChartOfAccountsItemCode;
var newJVGL = newJV.Item.Create();
newJVGL.DebitCreditCode = "1";
newJVGL.ChartOfAccountsItemCode.content = debitAcc.content;
newJVGL.TransactionCurrencyAmount.content = this.ZEnvTax.content;
newJVGL.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
// Posting the debited account to a new GL account//
var newJVGL1 = newJV.Item.Create();
newJVGL1.DebitCreditCode = "2";
newJVGL1.ChartOfAccountsItemCode.content = "101000";
newJVGL1.TransactionCurrencyAmount.content = this.ZEnvTax.content;
newJVGL1.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
Please respond ASAP
Regards,
Navin KandasamyHello Navin,
There is an action "Cancel" in the Accounting Entry BO. Try calling that action from ABSL whenever the CI is canceled. But to do that you should have the reference of the created JEV through code.
Hope this helps.
Thanks & Regards,
Meghna -
hello sap experts
how can i track Booking Document No.( SO & PO DOC NO's)
Document date (SO & PO DOC date)
Posting Date (SO & PO DOC posting date)
vendor name
vendor address in journal entry pld pls answer asap
regards
JennyHi Jenny,
IF you need to get the SO (or) PO No, Doc Date & Posting Date(invoice based) on Journal Entry.
Try this,
When you add the invoice at that time
you can add the SO (or) PO No, Doc Date & Posting Date in Journal Remarks Field in invoice.
Journal Remark field value will be store to Remarks field on Journal Entry document.
Table -> OJDT - Journal Entry.
Column -> Memo - Details.
Try this,
->> Open the Journal Entry(System) PLD and Save as the New PLD.
->> Open the New *J.E *PLD and Create Database Field then Assign the Journal Entry Remarks field.
Table -> OJDT - Journal Entry.
Column -> Memo - Details.
Save the PLD and run Print Preview.
Else,
Try to Create QPLD
Regards,
Madhan. -
Duplicate rows on Query with journal entries and AP documents
Hi Experts,
I ahve the below query allowing me to have some information from journal entries and retrieve some other from AP docuements and PO.
The thing is the query duplicates rows because the AP docuements have several rows but i don t know how to do to remove them (i guess this has to do with JOIN function...)
SELECT
T2.[GroupMask] as 'Account Family',
T2.[FatherNum] as 'Parent Account',
T2.[AcctCode] AS 'Account Code',
T2.[AcctName] AS 'Account Name',
T0.[TaxDate] AS 'Document Date',
T0.[Number] AS 'Number',
T0.[DocSeries] AS 'Document Series',
T0.[BaseRef] AS 'Base Reference',
T0.[TransId] AS 'Transaction Number',
T0.[Ref2] AS 'Reference 2',
T1.[ContraAct] AS 'Offset Account',
T4.[BaseRef] AS 'PO code',
T1.[Project] AS 'Project Code',
T1.[ProfitCode] AS 'Distribution Rule',
T1.[OcrCode2] AS 'Costing Code 2',
T1.[OcrCode3] AS 'Costing Code 3',
T1.[OcrCode4] AS 'Costing Code 4',
(T1.[SYSdeb]-T1.[SYSCred]) AS 'Total Amount EUR',
(T1.[FCDebit]- T1.[FCCredit]) AS 'Total Amount (FC)',
T5.[DocTotalSy] AS 'PO Amount (EUR)'
FROM [dbo].[OJDT] T0
INNER JOIN [dbo].[JDT1] T1 ON T1.[TransId] = T0.[TransId]
INNER JOIN [dbo].[OACT] T2 ON T2.[AcctCode] = T1.[Account] AND T2.[AcctCode] = T1.[Account]
INNER JOIN [dbo].[OPCH] T3 ON T3.[DocNum] = T0.[BaseRef]
INNER JOIN [dbo].[PCH1] T4 ON T3.[DocEntry] = T4.[DocEntry]
LEFT JOIN [dbo].[OPOR] T5 ON T5.[DocNum] = T4.[BaseRef]
WHERE
(T2.[AcctCode] > (N'599999' ) ) AND (T2.[AcctCode] < (N'799999' ) )
AND (T0.[TaxDate]>= [%0] ) AND (T0.[TaxDate]<= [%1])Try This
SELECT T2.[GroupMask] AS 'Account Family',
T2.[FatherNum] AS 'Parent Account',
T2.[AcctCode] AS 'Account Code',
T2.[AcctName] AS 'Account Name',
T0.[TaxDate] AS 'Document Date',
T0.[Number] AS 'Number',
T0.[DocSeries] AS 'Document Series',
T0.[BaseRef] AS 'Base Reference',
T0.[TransId] AS 'Transaction Number',
T0.[Ref2] AS 'Reference 2',
T1.[ContraAct] AS 'Offset Account',
T4.[BaseRef] AS 'PO code',
T1.[Project] AS 'Project Code',
T1.[ProfitCode] AS 'Distribution Rule',
T1.[OcrCode2] AS 'Costing Code 2',
T1.[OcrCode3] AS 'Costing Code 3',
T1.[OcrCode4] AS 'Costing Code 4',
sum(T1.[SYSdeb]-T1.[SYSCred]) AS 'Total Amount EUR',
sum(T1.[FCDebit]- T1.[FCCredit]) AS 'Total Amount (FC)',
T6.[DocTotalSy] AS 'PO Amount (EUR)'
FROM OJDT T0
INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OACT T2 ON T1.Account = T2.AcctCode
INNER JOIN OPCH T3 ON T0.TransId = T3.TransId
INNER JOIN PCH1 T4 ON T3.DocEntry = T4.DocEntry
INNER JOIN POR1 T5 ON T4.[BaseEntry] = T5.[DocEntry]
AND T4.[BaseLine] = T5.[LineNum]
INNER JOIN OPOR T6 ON T5.DocEntry = T6.DocEntry
GROUP BY T2.[GroupMask],
T2.[FatherNum],
T2.[AcctCode],
T2.[AcctName],
T0.[TaxDate],
T0.[Number],
T0.[DocSeries],
T0.[BaseRef],
T0.[TransId],
T0.[Ref2],
T1.[ContraAct],
T4.[BaseRef],
T1.[Project],
T1.[ProfitCode],
T1.[OcrCode2],
T1.[OcrCode3],
T1.[OcrCode4],
T6.[DocTotalSy]
Regards,
Kennedy -
Journal entry series based on base document series
We defined series starting with 141 and 142 for two locations for almost all document types. When I post a document (A/P invoice or outgoing payment or any other), the journal entry is getting posted with default series (141) instead of being based on the Origin document series (141 for 141 and 142 for 142). Is there any way to configure this?
Hi,
JE numbering document can not base on origin document. But they can be set default by user only. That is system behavior.
Hope this helps,
TVSon -
How to update UDF from marketing documents to Journal Entry UDF
Hi Experts,
I have a UDF in the marketing documents and I want to save the value to Journal Entry UDF.
Regards,
JummieHello Jummie,
If I understand correctly, the scenario is that copy the value of UDF from marketing document to the UDF its target JE from when the marketing document is created.
if so, just listen to FormDataAdd Event for the marketing document, copy the value of udf when document is created.
Here is the sample code.
Private Sub FormDataEventHandler( _
ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _
ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
'You may add the target documents, 133 - A/R invoice.
'Before action = true, start the transation
If BusinessObjectInfo.FormTypeEx = "133" _
And BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
And BusinessObjectInfo.BeforeAction = True Then
oCompany.StartTransaction()
'BubbleEvent = False
End If
'Before Action = false,
'Update product item tree
'Succeed, commit, otherwise rollback
If BusinessObjectInfo.FormTypeEx = "133" _
And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD) Then
If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
Dim objectKey As String = String.Empty
oCompany.GetNewObjectCode(objectKey)
MsgBox(BusinessObjectInfo.Type)
Dim oInvoice As SAPbobsCOM.Documents = Nothing
oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
If oInvoice.GetByKey(CInt(objectKey)) Then
'Retrieve the UDF value in documents
Dim udfValueInDoc As String = oInvoice.UserFields.Fields.Item("***").Value
Dim oJE As SAPbobsCOM.JournalEntries = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
'Retrieve the JE for the document
oJE.GetByKey(CInt(oInvoice.JournalMemo))
Dim succeeded = True
'add you code to copy the UDF from document into JE
If succeeded Then
'update the production tree succesfully,
oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
Else
oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
End If
End If
End If
End If
End Sub
Regards, Yatsea -
Attaching a document to a specific Journal entry
I have been trying to figure out if there is a preconfigured system method to attach a document to substantiate a Journal Entry. So the document should be linked to the Journal ID number (not to the intersection of other dimensions)
Thank youTara,
I also don't think it is possible, but I can only think about one silly workaround.
-Create in the Web administration a document type "Journals"
-Post your document to the BPC Web content library
-Choose journals as the document type and define your Journal ID as the subtype. In this way you can even post multiple documents for one Journal ID, like a Word doc and an Excel spreadsheet for example.
Now you can filter and search for comments based on journal ID's, but it does need some instrction to the users how to post the document with the correct document type and subtype. But since journals are mostly made by a controlled group of users this would not be a very big problem I think.
But as said, just a workaround, no build-in solution...
-Joost
Edited by: Joost Hoppenbrouwers on Aug 20, 2008 3:01 PM -
Script to update UDF in document to journal entries
Hi,
Customer is using 2007A PL30. In SAP B1, there is only 2 global analysis codes(ie Project and Profit Center) but customer has more information to analyse. We add UDF in document row(eg UDF=Customer)but after adding such UDF did not automatically flow to journal entries.
May I know how to update those additional UDF in document row into journal entries as well so that the "Financial people" will be able to analyse company position by pulling these information in journal entries rather than from AR, AP, Incoming & outgoing payment etc?
Regards
ThomasThomas,
Out of the box the system is designed to take User field defined in the marketing document from the base marketing document to the target document when you use a Copy from or Copy to function.
This will not work for JE's as JE is not a marketing document. Updating JE through Transaction Notification might be possible but it is not supported by SAP as it is in violation of their Support agreement.
Leaving the choice finally to create a SDK solution
Suda -
Document numbering of Journal Entry problem
Hi,
I've set document numbering format of all documents by related with period indicator. Document number format of all documents such as A/R invoice, A/P invoice, etc is correct except Journal Entry. It is still running by series of default but not relate with peiod indicator which specified in document numbering set up. Please suggest me how to solve or there is any restriction for Journal Entry?
Thanks you in advanced.Thanks Thanga Raj.K for your response.
I've already defined period indicator in document number series for JE document. And period indicator is related to posting period. When I create JE, document number series is not changed to relate with posting period. But for other document ( ex. A/R invoice), document number series is changed to relate with posting period automatically. I'm not sure what wrong with JE or there is restriction or not.
Thanks,
Maybe you are looking for
-
How to make a process form field non updatable in OIM 11G PS1
Hello all - I have a filed in process form, which once filled should be not be updated. Could you please let me know how to achieve this? Should we create a process task, where in we can say 'updating this filed is not possible' ? I tried this. But O
-
I'm planning on using my iPad mini for an art project, and it will be in an exhibition for a few weeks constantly on. Will anything happen to the iPad?
-
There was an advance payment (30000 INR), Actual PO is 20000 INR ) made to the vendor against PO 1 as a result vendor send back the balance amount (10000 INR). Now, can that advance (10000) be adjusted against the PO 2 (New PO) for the same vendor
-
Hi, I have a web application running. It has a download link for downloading a file. My requirement is to download this file without asking the user where to download. This file is kind of an executable. I also want this file to execute after downloa
-
How to read and write(a file .txt) from a URLConnection
I try to read and write on one URLConnection. Is it possible ? How can i make it ? The reading part of my application work's but not the writting part That's a part of rhe code that i use to write : String Line = "Hi"; MyUrl = new URL(this.getCodeBas