How to block journal entry posting

How to block journal entry posting 

Hi Rajeesh...
Can you explain in detail  what  case you need to block the Journal..
sample for the dimensions...
IF @object_type = '30' AND @transaction_type = 'A'
  BEGIN
    IF EXISTS (SELECT
        TransId
      FROM jdt1 t1     
      WHERE @list_of_cols_val_tab_del = TransId AND (ISNULL(t1.ProfitCode, '') = '' OR ISNULL(t1.OcrCode2, '') = ''))
    BEGIN
      SET @error = -2
      SET @error_message = 'Select the Dimensions and Departments'
    END
  END
Regards
Kennedy

Similar Messages

  • GL Journal Entry & post - control by GL accounts?

    Hi all,
    There are many users assigned with GL Journal Entry & Post responsibility. Some of them are budgeting staff and some of them are comptrollers.
    Questions:
    1. Is it possible to restrict a user to enter/post journal entries to only a group of GL accounts?
    2. Is a finance comptroller supposed to enter and post journal entries?
    Thanks in advance.

    Hi
    Yes, it is possible through Cross Validation rules or Security Rules. And this is as per your requirement
    Regards
    Sunil

  • How to block duplicate invoice posting in MIRO

    Hello,
    How to block duplicate invoice posting in MIRO?
    Regards,

    Hi Niteen,
    In addition to the expert's comment use the note 305201
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=305201]
    Please check and revert.
    Thanks,
    Hrishi

  • Unbalance transaction Error - Journal Entry Posting

    Hi all,
    Good afternoon. i posted  journal  entry using DI -API. I have two  Journal Entry when i add the first journal Entry added the second journal entry not added its show the Error Unbalanced transaction
    Each Journal Entry have 2 lines
    I am using 8.8 patch Level 12
    Please anyone help me out of this issue
    Edited by: lakshmi narayanan on Oct 19, 2011 9:11 AM

    Hi Jitin,
    Did you solved this issue? I just have the same problem with SAP Business One 2007 A (8.00.181) SP: 00 PL: 47
    Here my oJournalEntry XML before Add.
    You can see that Debit amount is equal to Credit amount (highlited with red)
    I would like to receive some suggestions.
    <?xml version="1.0" encoding="UTF-16"?>
    <BOM>
      <BO>
      <AdmInfo>
      <Object>30</Object>
      </AdmInfo>
      <OJDT>
      <row>
      <BatchNum>0</BatchNum>
      <TransId>0</TransId>
      <BtfStatus>O</BtfStatus>
      <TransType>-1</TransType>
      <BaseRef/>
      <RefDate>20140104</RefDate>
      <Memo>AS400-89532</Memo>
      <Ref1/>
      <Ref2/>
      <CreatedBy>0</CreatedBy>
      <LocTotal>0.000000</LocTotal>
      <FcTotal>0.000000</FcTotal>
      <SysTotal>0.000000</SysTotal>
      <TransCode/>
      <OrignCurr/>
      <TransRate>0.000000</TransRate>
      <BtfLine>0</BtfLine>
      <TransCurr/>
      <Project/>
      <DueDate/>
      <TaxDate>20140104</TaxDate>
      <PCAddition>N</PCAddition>
      <FinncPriod>0</FinncPriod>
      <DataSource>N</DataSource>
      <UpdateDate/>
      <CreateDate/>
      <UserSign>0</UserSign>
      <UserSign2>0</UserSign2>
      <RefndRprt>N</RefndRprt>
      <LogInstanc>0</LogInstanc>
      <ObjType>30</ObjType>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <StornoDate/>
      <StornoToTr>0</StornoToTr>
      <AutoStorno>N</AutoStorno>
      <Corisptivi>N</Corisptivi>
      <VatDate/>
      <StampTax>N</StampTax>
      <Series>1543</Series>
      <Number>0</Number>
      <AutoVAT>N</AutoVAT>
      <DocSeries>0</DocSeries>
      <FolioPref/>
      <FolioNum>0</FolioNum>
      <CreateTime>0</CreateTime>
      <BlockDunn>N</BlockDunn>
      <ReportEU>N</ReportEU>
      <Report347>N</Report347>
      <Printed>N</Printed>
      <BaseTrans>0</BaseTrans>
      <U_MIGSAP_KEY/>
      <U_YVA_RENDI/>
      <U_YVA_NUMREN>0</U_YVA_NUMREN>
      <U_YVA_ANULADO/>
      </row>
      </OJDT>
      <JDT1>
      <row>
      <TransId>0</TransId>
      <Line_ID>0</Line_ID>
      <Account>12121</Account>
      <Debit>0.000000</Debit>
      <Credit>0.000000</Credit>
      <SYSCred>0.000000</SYSCred>
      <SYSDeb>0.000000</SYSDeb>
      <FCDebit>0.000000</FCDebit>
      <FCCredit>863.420000</FCCredit>
      <FCCurrency>USD</FCCurrency>
      <DueDate>20140104</DueDate>
      <SourceID>0</SourceID>
      <SourceLine>0</SourceLine>
      <ShortName>C10211220550</ShortName>
      <IntrnMatch>0</IntrnMatch>
      <ExtrMatch>0</ExtrMatch>
      <ContraAct>C10211220550</ContraAct>
      <LineMemo>AS400-89532</LineMemo>
      <Ref3Line/>
      <TransType>-1</TransType>
      <RefDate/>
      <Ref2Date/>
      <Ref1/>
      <Ref2>89532</Ref2>
      <CreatedBy>0</CreatedBy>
      <BaseRef/>
      <Project/>
      <TransCode/>
      <ProfitCode/>
      <TaxDate/>
      <SystemRate>0.000000</SystemRate>
      <MthDate/>
      <ToMthSum>0.000000</ToMthSum>
      <UserSign>0</UserSign>
      <BatchNum>0</BatchNum>
      <FinncPriod>0</FinncPriod>
      <RelTransId>-1</RelTransId>
      <RelLineID>-1</RelLineID>
      <RelType>N</RelType>
      <LogInstanc>0</LogInstanc>
      <VatGroup/>
      <BaseSum>0.000000</BaseSum>
      <VatRate>0.000000</VatRate>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <ObjType>30</ObjType>
      <VatDate/>
      <PaymentRef/>
      <SYSBaseSum>0.000000</SYSBaseSum>
      <MultMatch>0</MultMatch>
      <VatLine>N</VatLine>
      <VatAmount>0.000000</VatAmount>
      <SYSVatSum>0.000000</SYSVatSum>
      <Closed>N</Closed>
      <GrossValue>0.000000</GrossValue>
      <CheckAbs>0</CheckAbs>
      <LineType>0</LineType>
      <DebCred/>
      <SequenceNr>0</SequenceNr>
      <StornoAcc/>
      <BalDueDeb>0.000000</BalDueDeb>
      <BalDueCred>0.000000</BalDueCred>
      <BalFcDeb>0.000000</BalFcDeb>
      <BalFcCred>0.000000</BalFcCred>
      <BalScDeb>0.000000</BalScDeb>
      <BalScCred>0.000000</BalScCred>
      <IsNet>Y</IsNet>
      <DunWizBlck>N</DunWizBlck>
      <DunnLevel>0</DunnLevel>
      <DunDate/>
      <TaxType>0</TaxType>
      <TaxPostAcc>N</TaxPostAcc>
      <StaCode/>
      <StaType>0</StaType>
      <TaxCode/>
      <ValidFrom>19000101</ValidFrom>
      <GrossValFc>0.000000</GrossValFc>
      <LvlUpdDate/>
      <U_BPP_CTAD/>
      <U_BPP_CTAPAT/>
      <U_BPP_DCCD>0</U_BPP_DCCD>
      <U_BPP_DCPR>N</U_BPP_DCPR>
      <U_INFOPE01/>
      <U_INFOPE02/>
      <U_INFOPE03/>
      <U_InfoCo01/>
      <U_YVA_TIENDA/>
      <U_YVA_UNDTRANS/>
      <U_YVA_FECDOC/>
      <U_HYP_Status>3</U_HYP_Status>
      <U_HYP_BofEx400>89532</U_HYP_BofEx400>
      <U_HYP_Closed>N</U_HYP_Closed>
      </row>
      <row>
      <TransId>0</TransId>
      <Line_ID>0</Line_ID>
      <Account>12311</Account>
      <Debit>0.000000</Debit>
      <Credit>0.000000</Credit>
      <SYSCred>0.000000</SYSCred>
      <SYSDeb>0.000000</SYSDeb>
      <FCDebit>431.710000</FCDebit>
      <FCCredit>0.000000</FCCredit>
      <FCCurrency>USD</FCCurrency>
      <DueDate>20140203</DueDate>
      <SourceID>0</SourceID>
      <SourceLine>0</SourceLine>
      <ShortName>C10211220550</ShortName>
      <IntrnMatch>0</IntrnMatch>
      <ExtrMatch>0</ExtrMatch>
      <ContraAct>C10211220550</ContraAct>
      <LineMemo>LT-268302</LineMemo>
      <Ref3Line/>
      <TransType>-1</TransType>
      <RefDate/>
      <Ref2Date/>
      <Ref1/>
      <Ref2>268302</Ref2>
      <CreatedBy>0</CreatedBy>
      <BaseRef/>
      <Project/>
      <TransCode/>
      <ProfitCode/>
      <TaxDate/>
      <SystemRate>0.000000</SystemRate>
      <MthDate/>
      <ToMthSum>0.000000</ToMthSum>
      <UserSign>0</UserSign>
      <BatchNum>0</BatchNum>
      <FinncPriod>0</FinncPriod>
      <RelTransId>-1</RelTransId>
      <RelLineID>-1</RelLineID>
      <RelType>N</RelType>
      <LogInstanc>0</LogInstanc>
      <VatGroup/>
      <BaseSum>0.000000</BaseSum>
      <VatRate>0.000000</VatRate>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <ObjType>30</ObjType>
      <VatDate/>
      <PaymentRef/>
      <SYSBaseSum>0.000000</SYSBaseSum>
      <MultMatch>0</MultMatch>
      <VatLine>N</VatLine>
      <VatAmount>0.000000</VatAmount>
      <SYSVatSum>0.000000</SYSVatSum>
      <Closed>N</Closed>
      <GrossValue>0.000000</GrossValue>
      <CheckAbs>0</CheckAbs>
      <LineType>0</LineType>
      <DebCred/>
      <SequenceNr>0</SequenceNr>
      <StornoAcc/>
      <BalDueDeb>0.000000</BalDueDeb>
      <BalDueCred>0.000000</BalDueCred>
      <BalFcDeb>0.000000</BalFcDeb>
      <BalFcCred>0.000000</BalFcCred>
      <BalScDeb>0.000000</BalScDeb>
      <BalScCred>0.000000</BalScCred>
      <IsNet>Y</IsNet>
      <DunWizBlck>N</DunWizBlck>
      <DunnLevel>0</DunnLevel>
      <DunDate/>
      <TaxType>0</TaxType>
      <TaxPostAcc>N</TaxPostAcc>
      <StaCode/>
      <StaType>0</StaType>
      <TaxCode/>
      <ValidFrom>19000101</ValidFrom>
      <GrossValFc>0.000000</GrossValFc>
      <LvlUpdDate/>
      <U_BPP_CTAD/>
      <U_BPP_CTAPAT/>
      <U_BPP_DCCD>0</U_BPP_DCCD>
      <U_BPP_DCPR>N</U_BPP_DCPR>
      <U_INFOPE01/>
      <U_INFOPE02/>
      <U_INFOPE03/>
      <U_InfoCo01/>
      <U_YVA_TIENDA/>
      <U_YVA_UNDTRANS/>
      <U_YVA_FECDOC/>
      <U_HYP_Status>3</U_HYP_Status>
      <U_HYP_BofEx400>268302</U_HYP_BofEx400>
      <U_HYP_Closed>N</U_HYP_Closed>
      </row>
      <row>
      <TransId>0</TransId>
      <Line_ID>0</Line_ID>
      <Account>12311</Account>
      <Debit>0.000000</Debit>
      <Credit>0.000000</Credit>
      <SYSCred>0.000000</SYSCred>
      <SYSDeb>0.000000</SYSDeb>
      <FCDebit>431.710000</FCDebit>
      <FCCredit>0.000000</FCCredit>
      <FCCurrency>USD</FCCurrency>
      <DueDate>20140305</DueDate>
      <SourceID>0</SourceID>
      <SourceLine>0</SourceLine>
      <ShortName>C10211220550</ShortName>
      <IntrnMatch>0</IntrnMatch>
      <ExtrMatch>0</ExtrMatch>
      <ContraAct>C10211220550</ContraAct>
      <LineMemo>LT-268303</LineMemo>
      <Ref3Line/>
      <TransType>-1</TransType>
      <RefDate/>
      <Ref2Date/>
      <Ref1/>
      <Ref2>268303</Ref2>
      <CreatedBy>0</CreatedBy>
      <BaseRef/>
      <Project/>
      <TransCode/>
      <ProfitCode/>
      <TaxDate/>
      <SystemRate>0.000000</SystemRate>
      <MthDate/>
      <ToMthSum>0.000000</ToMthSum>
      <UserSign>0</UserSign>
      <BatchNum>0</BatchNum>
      <FinncPriod>0</FinncPriod>
      <RelTransId>-1</RelTransId>
      <RelLineID>-1</RelLineID>
      <RelType>N</RelType>
      <LogInstanc>0</LogInstanc>
      <VatGroup/>
      <BaseSum>0.000000</BaseSum>
      <VatRate>0.000000</VatRate>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <ObjType>30</ObjType>
      <VatDate/>
      <PaymentRef/>
      <SYSBaseSum>0.000000</SYSBaseSum>
      <MultMatch>0</MultMatch>
      <VatLine>N</VatLine>
      <VatAmount>0.000000</VatAmount>
      <SYSVatSum>0.000000</SYSVatSum>
      <Closed>N</Closed>
      <GrossValue>0.000000</GrossValue>
      <CheckAbs>0</CheckAbs>
      <LineType>0</LineType>
      <DebCred/>
      <SequenceNr>0</SequenceNr>
      <StornoAcc/>
      <BalDueDeb>0.000000</BalDueDeb>
      <BalDueCred>0.000000</BalDueCred>
      <BalFcDeb>0.000000</BalFcDeb>
      <BalFcCred>0.000000</BalFcCred>
      <BalScDeb>0.000000</BalScDeb>
      <BalScCred>0.000000</BalScCred>
      <IsNet>Y</IsNet>
      <DunWizBlck>N</DunWizBlck>
      <DunnLevel>0</DunnLevel>
      <DunDate/>
      <TaxType>0</TaxType>
      <TaxPostAcc>N</TaxPostAcc>
      <StaCode/>
      <StaType>0</StaType>
      <TaxCode/>
      <ValidFrom>19000101</ValidFrom>
      <GrossValFc>0.000000</GrossValFc>
      <LvlUpdDate/>
      <U_BPP_CTAD/>
      <U_BPP_CTAPAT/>
      <U_BPP_DCCD>0</U_BPP_DCCD>
      <U_BPP_DCPR>N</U_BPP_DCPR>
      <U_INFOPE01/>
      <U_INFOPE02/>
      <U_INFOPE03/>
      <U_InfoCo01/>
      <U_YVA_TIENDA/>
      <U_YVA_UNDTRANS/>
      <U_YVA_FECDOC/>
      <U_HYP_Status>3</U_HYP_Status>
      <U_HYP_BofEx400>268303</U_HYP_BofEx400>
      <U_HYP_Closed>N</U_HYP_Closed>
      </row>
      </JDT1>
      </BO>
    </BOM>

  • Re: BPC Journal Entry Posting

    Hello Everyone,
    Would it be possible to perform a test run before posting journal entries into the BPC system?
    Is there any task available in BPC to check debit/credit mismatch or error in the journal entries?
    Please let me know.
    Kind regards,
    RJ

    i don't think so that there is any task which does the TEST RUN kind of activity for Journals in BPC.
    If no body id posting the values in that account  from input schedule then you can easily find out the diference.

  • DTW How to Import Journal Entries

    I am attempting to test import some journal entries, but I cannot get DTW to work.
    I need help with the .csv format (date format, account code format, any crucial fields i need)
    I also need to know what could be causing DTW to constantly crash, and freeze after an action is performed.
    This is my current setup:
    OJDT Journal Entries.csv
    1,08/31/2014,Test 1,BN,,,,,,,,,,,,,,,,,,
    2,08/31/2014,Test 2,BN,,,,,,,,,,,,,,,,,,
    3,08/31/2014,Test 3,BN,,,,,,,,,,,,,,,,,,
    JDT1 Journal Entries_Lines.csv
    1,,,1000-00-00,1000.2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    1,,,2120-00-00,,1000.2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    2,,,1000-00-00,255.95,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    2,,,2120-00-00,,255.95,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    3,,,1000-00-00,165123.5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    3,,,2120-00-00,,165123.5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Is the JdtNum field supposed to be the next journal entry number sequence? i.e. 36745,36746...
    I would hope the import would automatically select the next available je number.
    Thank you for any help.

    Hi Nadeem,
    OJDT -
    JdtNum
    TaxDate
    VatDate
    DueDate
    Memo
    JdtNum
    TaxDate
    VatDate
    AutoVAT
    Memo
    1
    20140831
    20140831
    20140831
    Test
    JDT1-
    ParentKey
    LineNum
    AccountCode
    Debit
    Credit
    JdtNum
    LineNum
    Account
    Debit
    Credit
    1
    0
    OACT.ACCTCODE
    100
    1
    1
    OACT.ACCTCODE
    100
    is your GL segmented ? If yes, get the acctcode value and not 1000-00-00 .
    Try to run a query for the accountcode -
         select AcctCode From OACT
    Hope this helps.
    Regards,
    Darius

  • How to add DNS entry Post Installation in Solaris 10?

    Hi, I have installed Solaris 10 without mentioning the DNS entry while installation. How do I add that now in order to make that Solaris 10 to get connected to Internet ?
    Thanks in Advance.
    Girish Prabhakara.

    Solaris 10 changed the way that some things work regarding networking, but this should still work.
    1. Change the hosts: line in /etc/nsswitch.conf to include dns.
    For example, change:
    hosts files
    to
    hosts files dns
    2. Create /etc/nsswitch.conf with the IP addresses of your DNS servers:
    Example:
    nameserver 192.168.1.100
    nameserver 192.168.2.100
    3. kill -HUP 1
    4. Run nslookup or ping another server via host name (not IP address) to determine if the system is properly communicating with your DNS servers.

  • Journal Entry posting Error

    Hi,
    I am FICO consultant,
    Got an issue with document posting.
    User is not able to post document because of below error:
    Balancing field "Profit Center" in line item 003 not filled
    Message no. GLT2201
    Diagnosis
    The field Profit Center marked as balancing is not filled with any value in line item 003, even after document splitting.
    System Response
    The document cannot be posted.
    Procedure
    First check your entries.
    Additional causes could be:
    No value can be derived for this field from the current document data.
    You have entered a document type that is not designed for this business purpose.
    Procedure for System Administration
    Customizing
    Please advise..........

    hi san777,
    this means that the G/L account is not within the range of G/L accounts assigned to the specific transaction code that  you are using in the document splitting configuration.
    check document splitting config and search for the t-code you are using and you'll be able to see that this G/L is not included in that group. afterwhich, you need to evaluate if you need to add the G/L account group to be allowed to a specific transaction as you might just need to use a different G/L account.
    hope this helps!
    jG

  • How to Block Manual Entries in STO Outbound VL02N

    Hi Fyi's,
    I Have a Requirement i have to block putting manual entries in Outbound Delivery Document. It should allow PGI for line items with reference STO Order only.
    Here in outbound delivery with reference to STO we are doing PGI, But in some cases endusers trying to add 1 or more line items directly in outbound delivery without document reference. for this system should not allow manual entries in outbound delivery.
    Guys can you please give me step by step solution so that it would so helpfull to me.
    Saravanan.S
    Edited by: S.Saravanan on Nov 27, 2009 5:39 AM

    Go to 0VLK, select your delivery type and click on "details". you will find a field for "item requirement". for LF, the standard entry is 202... change this to 101. what this does is to prevent manual entries without reference to a sales order."
    thanks
    G. Lakshmipathi

  • MIRO - How to block system from posting to 2 different vendors

    Hi,
    Is there a way in the system to prevent parking/posting an invoice document in MIRO which has multiple Purchase Orders that belong to different vendors? I can't seem to see any configuration settings that would enable the system to display an error/warning message to block the transaction.
    Thanks and regards

    >
    Patrick wrote:
    > Hi,
    >
    > Is there a way in the system to prevent parking/posting an invoice document in MIRO which has multiple Purchase Orders that belong to different vendors? I can't seem to see any configuration settings that would enable the system to display an error/warning message to block the transaction.
    >
    >
    > Thanks and regards
    Check SAP Note 393431 - MIRO - Vendor
    Select it by vendor in MIRO.

  • How to get Data from SAP B1 through Journal Entries objects (Excel VBA)

    Hi Genius
    i had try to login SAB B1 thorugh MS Excel VBA code and it worked well. but i need some questions regards getting the data from after login. that means i want the Posting date, Transaction No, account code, debit and credit amount from Journal entries posted in a particular day through MS excel VBA into excel sheets 1 cell A1:E1
    how i get it if any possible ways to do that
    here my code to login
    Public Sub login()
        Sheets("Login").Select  'access the login tab
        Worksheets("Login").Range("B1").Activate 'put focus on cell B1 (manager)
        B1UserID = Trim(ActiveCell.Value2) 'set Businsss One user
        ActiveCell.Offset(1, 0).Activate
        B1Password = Trim(ActiveCell.Value2) 'set Business One password
        ActiveCell.Offset(1, 0).Activate
        sqluser = Trim(ActiveCell.Value2) 'set SQL user
        ActiveCell.Offset(1, 0).Activate
        sqlpass = Trim(ActiveCell.Value2) 'set SQL password
        ActiveCell.Offset(1, 0).Activate
        Db = Trim(ActiveCell.Value2)      'set Database name
        ActiveCell.Offset(1, 0).Activate
        Server = Trim(ActiveCell.Value2)  'set Server name
        Set company1 = New SAPbobsCOM.Company  'initialate DI company object
        company1.DbServerType = dst_MSSQL2005
        company1.Server = Server
        company1.DbUserName = sqluser
        company1.DbPassword = sqlpass
        company1.CompanyDB = Db
        company1.UserName = B1UserID
        company1.Password = B1Password
        'connect to the database
         lRetCode = company1.Connect
            If lRetCode <> 0 Then
                sErrMsg = company1.GetLastErrorDescription
                MsgBox (sErrMsg)
            Else
                MsgBox ("Connected to: " & company1.CompanyName)
            End If
    End Sub
    pls help me
    advance thanks to solvers

    Gordons way is the easiest - just query the OJDT table for journal entry headers and JDT1 for journal entry lines if needed.
    But if you want to work with the business objects:
    'Journal entry
       Dim oJE As SAPbobsCOM.JournalEntries
       Set oJE = company1.GetBusinessObject(oJournalEntries)
       oJE.GetByKey(1234)
       Dim postingDate as String
       postingDate = oJE.DueDate
    'etc etc

  • BAPI or Function Module for FBCJ Posting of Parked Cash Journal Entries

    Hi Experts,
    A blessed day.
    We have one requirement that requires the creation of Batch Program that will post all the outstanding (status is set in yellow) Cash Journal Entries in transaction FBCJ.
    Hereu2019s the issue, to satisfy the requirement, we either use BDC/Call Transaction OR use a Function Module/BAPI. 
    I would prefer to use Function Module/BAPI.  However, currently thereu2019s only one BAPI available for FBCJ (BAPI_CASHJOURNALDOC_CREATE).  This BAPI can only create cash journal entries BUT DO NOT change the cash journal entry for posting.  The Function Modules (Function Modules of FCJ_POST* series) cannot be used for background processing because of GUI pop-ups. These FMs also donu2019t have the Exceptions functionality for error handling and would not report the Accounting document created from the Cash Journal Entry posting.
    The problem with using BDC/Call Transaction is that it should incorporate line item selection of the cash journal entries, which I havenu2019t tried yet.  Iu2019m not sure if this is possible and if itu2019s possible, how much complexity will it incur.
    If you have the availability, would it be possible if you can help us explore on the potential solutions for this requirement?
    Thanks so much.  God bless!
    Cheers,
    ianne

    You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
    This program requires a file to be on application server in a certain format.
    You may also refer the program RFBIBLT0 on how the file format should be.
    Hope this helps.
    Thanks,
    SKJ

  • How to create a journal entries by sdk

    hi Experts
    I know how to create invoice or order by sdk . but I do not know how to create Journal Entry by sdk. i mean what fields are required. Plz send me a basic template for Journal Entry.
    Regards
    Gorge

    Dim oJounalEntry As SAPbobsCOM.JournalEntries
                ''Passing Jounal Entry
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oRecset)
                oJounalEntry = Me.SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
                oJounalEntry.Series = 14
                oJounalEntry.DueDate = Now
                oJounalEntry.ReferenceDate = Now
                oJounalEntry.TaxDate = Now
                oJounalEntry.Lines.ShortName = bpcode
                oJounalEntry.Lines.Credit = amount
                oJounalEntry.Lines.Debit = 0
                oJounalEntry.Lines.DueDate = Now
                oJounalEntry.Lines.TaxDate = Now
                oJounalEntry.Lines.ReferenceDate1 = Now
                oJounalEntry.Lines.Add()
                oJounalEntry.Lines.AccountCode = AccountCode
                oJounalEntry.Lines.Credit = 0
                oJounalEntry.Lines.Debit = amount
                oJounalEntry.Lines.DueDate = Now
                oJounalEntry.Lines.TaxDate = Now
                oJounalEntry.Lines.ReferenceDate1 = Now
                oJounalEntry.Lines.Add()
                lRetCode = oJounalEntry.Add()

  • JOURNAL ENTRY BLOCK USER WISE

    HI EXPERT ALL.
                   ONE OF MY CLIENT REQURIMENT IS THAT  THEY WANT TO BLOCK JOURNAL ENTRY OF ANOTHER(USER WISE). EXAMPLE  SAP BUSINESS ONE HAVE  TWO USER (A1,B1) WHEN A1 ADD
    THE JOURNAL ENTRY IN SAPB1 AND B1 ADD THE JOURNAL ENTRY IN SAP B1 , A1 NEVER SHOW THE B1  JOURNAL ENTRY AS WELL AS B1 NEVER CAN SHOW A1  JOURNAL ENTRY.   I HAVE SEEN IN FORUM  IT IS POSSIBLE USING STORE PROCEDURE.
      PLEASE EXPLAIN ME.

    Hi,
    Please stop using all caps. It is like shouting in public.
    If you want to stop certain user to view other user's JE, no SP could help you.
    Thanks,
    Gordon

  • Journal Entry

    Hi All,
    I have to update one field(Header- User defined) in journal entry using DI API for each and every transaction. I know how to update journal entries using DI API but my issue is under which event i will write my update code when system post Journal entries automatically
    or
    How I will update journal entry which is posted by system using DI API.
    I dont want to write update query in Transaction notification Procedure also.
    Regards
    Firos

    Hello Firoz,
    The problem:
    Documents using integration booking (JE-s) are notified by SP_TRANSACTIONNOTIFICATION,  but JE.-s are not recorded there. So you cannot monitor the creation of JE-s.
    But, some logic you can find the JE-s booked by Integration
    You monitor the et_form_data_Add  event on all forms,
    -  if you are before action, record the journal entry autokey from ONNM (object type 30)
    -  and when this event executed, you can compare the autokey of journal entries in ONNM table as you have recorded. If the number is difference, you have a background posting happened, so you can call your DI API update procedure.
    What i would do in this situation (running logic of the addon)
    1. Create an SQL table for storing the updated JE keys
    2. Check the OJDT table by time to time (ET_FORM_DATA_ADD event is a good)
    3. Update JE headers and record the updated keys in the SQL table created in point 1.
    By this method you can populate your field. This solution is also good when an addon is not running on each client.
    Regards
    János

Maybe you are looking for