BAPI_PR_CREATE (Enter G/L account) error

Hi
I am using <b>BAPI_PR_CREATE</b> to create Open PR , I passed all the fields  and entered  G/L account . But i am getting error as <b>'Enter G/L account'</b>. If I am not entering G/L account it is giving <b>error two times </b> as 'Enter G/L account'. What more I need pass to the BAPI .please help

I've tried regarding Helmut's advise and it works.
10 points (if i was a thread owner)

Similar Messages

  • Enter G/L account error while uploading open contracts using lsmw

    Hi Experts,
    I have a flat file for Open Contracts.While trying to upload using LSMW -BAPI method(BUS2014), it is throwing error as 'Enter G/L account' though G/L is present in the flat file.I have done with the mapping in the 5th step.
    Checked all the configuration settings of G/L.everything is fine. Not getting where is it going wrong.
    please help me out.

    I've tried regarding Helmut's advise and it works.
    10 points (if i was a thread owner)

  • BAPI_PR_CREATE Enter G/L account no.

    Hello,
    I am using BAPI_PR_CREATE to create PRs using the gl account but no material and it works fine if I create one with just one line item. However if I try and create one that has more than one line item I get the "Enter G/L account no" message returned even though the gl acct and the serial_no are passed in. Does anyone know what I need to do to get the PR to create for more than one line item?
    Here is a partial listing of the data being used:
    pritem line 1: preq_item=00001 pur_group=N1D Plant=WC01 matl_group=7510 qty=30 unit=EA preq_price=100 item_cat=K
               line 2: preq_item=00002 pur_group=N1D Plant=WC01 matl_group=7510 qty=30 unit=EA preq_price=100 item_cat=K
    praccount line 1: preq_item=00001 serial_no=01 creat_date=06/09/2011 qty=30 gl acct = 6100.3260 costcenter=80A415677B
                     line 1: preq_item=00002 serial_no=02 creat_date=06/09/2011 qty=30 gl acct = 6100.3260 costcenter=80A415677B
    I have also loaded up the X in the corresponding fields of pritemx and praccountx tables.
    If I just pass in one line item it will work but when I try two lines or more I get the old "Enter G/L account no" message returned.
    Thanks,
    Bert

    Hi,
    I think you need to set serial_no to 01 also for the second item. You can assign multiple accounts to PO item (for example 50/50 split between accounts) so serial number is additional part of primary key. I am not sure that it will fix your issue but it does not look right.
    Cheers

  • Reg. Enter G/L account error

    Dear Expers
    When I create Purchase order, After entered AAC,Material,Qty,Rate,Plant and st loc the G/L will assign acutomatically but in this
    case not assigned,especially  GBB is not calling, I have assigned Val class,G/L a/c in OBYC but not fetching the G/L
    Pls help me..............
    Thanks
    Rajakumar.K

    Hi Rajakumar ,
    At first check the below path :
    SproMaterials ManagementPurchasingAccount AssignmentMaintain Account Assignment Categories
    Click on the account ***.category choosen by you and check whether account modifcation exists in it.
    Later goto the below path :
    SproMaterials ManagementValuation and Account AssignmentAccount DeterminationAccount Determination Without Wizard--Configure Automatic Postings
    Click on Account Assignment -- Double Click on GBB - Enter Chart of accounts
    Now find out whether G/L account is assigned to the below combination:
    Val.Modification / Account Modification /Val.Class / Debit / Credit
    If the above two config are set properly then ur G/L will be picked automatically for the account category choosen.
    Regards
    Ramesh Ch

  • BAPI_PR_CREATE - Error 'Enter G/L account'

    hi,
                   when i tried to create purchase requisition with bapi BAPI_PR_CREATE for VISA/BGC, i m getting error as 'Enter G/L account' even after passing that value. I tried with BAPI_REQUISITION_CREATE, here i can create requisition but i cant enter HEADER TEXT so im using BAPI_PR_CREATE. please help me in solving the error with BAPI_PR_CREATE.

    Hi,
      could you explain how you solved your issue?
    Thanks
    Fabio

  • GL account error for BAPI_PR_CREATE

    Hi Experts,
    I am getting error while using function moule  BAPI_PR_CREATE for creating PR.
    Enter G/L Account
    No instance of object type PurchaseRequisition has been created. External reference: # 1
    here I have provided data like PREQ_ITEM, SERIAL_NO, CREAT_DATE, QUANTITY, GL_ACCOUNT and COSTCENTER for PRACCOUNT table.
    Please can you suggest solution for this.
    Thanks & Regards,
    BBC

    Hi,
    I have maintained indicators for PRITEMX then I got error maintain services or limits.
    here I am passing values for SERVICELIMIT table like DOC_ITEM, OVERALL_LIMIT & EXP_VALUE.
    here I have doubt , have to maintain indicators for PRACCOUNTX & SERVICELIMITX ?
    please suggest me.
    Regards,
    BBC

  • BAPI  BAPI_PR_CHANGE  giving error message: Enter G/L Account

    Hi Folks,
    I am using bapi Enter G/L Account to add new item in existing PR number.
    In return table, bapi is giving error mesage that, 'Enter G/L Account' . But i don't know where to pass the G/L number to this bapi and from where i can get the G/L number for existing PR document.
    Regards
    PG

    Hi,
    Enter the G/L account in the structure PRACCOUNT field GL_ACCOUNT. Enter the Purchase requistion item no in the field PREQ_ITEM  in the structure PRACCOUNT.
    Also,
    Enter the Purchase requistion item no in the field PREQ_ITEM  in the structure PRACCOUNTX. Set update field to 'X'  in the structure PRACCOUNT field GL_ACCOUNT.
    Hope it helps.
    Sujay

  • Inter compay EDI invoice error "Enter G/L Account No. Message no. ME083"

    Hi Friends,
    There is one IDOC in to error with the error message of "Enter G/L Account No. Message no. ME083".
    This IDOC is an intercompany EDI Invoice and I have checked the configuration of EDI intercompany in OBCA, OBCB, OBCD, OBCC, OBCE. The settings are maintained properly.
    Can any one let me know what is the problem and how to resolve this?
    Many thanks in Advance.
    Regards,
    Abdul

    Dear Karthik,
    There was an logic in the idoc processing for the text segment of the idoc.
    If some text/number avaialble in this segment (text) then system will check for the first 4 characters as chart of accounts and next 3 characters as transaction and look for the GL account in the T030 table of the OBYC.
    In my case there was a space (more than 4+3=7) and system was taking 4 spaces as COA and 3 spaces as transaction key and looking for the GL account in T030 table. And unfortunately there was an blank entry in T030 table and due to this system unable to find the GL account for this combination (Spaces).
    To resolve this issue go to SE16 and give table name EDID4 and give the segment name (segment of text field) and idoc number and search. You will get all the text related segments and try to find the segment having Space before the text/numeric filled in that segment.
    There after edit the IDOC and remove the space from the text field of the segment and try to re-process the IDOC from BD87 transaction code.
    Regards,
    Syed Abdul Mazid

  • Error:Enter a true account assignment object with revenues

    Hi expert,
    Pl advise it is coming at the time of making entry through F-02.I have selected GL for sales.Then this error comes.
    Regards,
    Samar

    Hi Experts,
    When i do entry in F-02,following error comes:
    Enter a true account assignment object with revenues
    Message no. KI166
    Diagnosis
    You made an account assignment for 700000, a revenue element, in controlling area 1000 to a cost center or profit center.
    System Response
    Cost centers and profit centers can carry revenues in the R/3 System as statistics only. To ensure reconciliation between FI and CO for revenue element 700000, a CO account assignment object must record the revenues as a real value. This object type is used for updating to the reconciliation ledger.
    In principle, it's possible for the R/3 System to automatically derive this CO account assignment object, the reconciliation object. However, all postings made in CO for costing-based Profitability Analysis are logged in the reconciliation ledger under "reconciliation object". In this manner, the reconcilation ledger identifies the exact values flowing into the operating profit. If you post reconciliation objects during revenue postings to cost centers or profit centers, you must do so while keeping the interpretation of the reconciliation ledger reports in mind. The sums of revenue postings to profitability segments, cost centers, and profit centers cannot be broken down further.
    Procedure
    To avoid posting to reconciliation objects, make account assignments to a real CO account assignment object.
    If you want to post to reconciliation objects, you can change this message to a caution or a note for future users, or deactivate the message entirely. Use the Implementation Guide under "Controlling: General" and choose Change message control. Enter area KI and message number 166. If you do not enter an individual user here, the change is valid for all users.
    Pl advise.
    Regards,
    Samar

  • G/L Account Error

    Hi All
    Iam facing an error while creating a PO with account assignment category "K". I have assigned cost center to the G/L Account.
    "Error: G/L Account XXXXXXX cannot be used"
    Please suggest to proceed further
    Regards
    Jagadish

    Hi,
    It is happening due to mismatch of fields in account assignment category and G/L account.
    I think cost center field in G/L account is suppress mode.
    Goto FS00, enter g/l account number. In create/bank/interest tab take the Field status group (E.g 0001).
    Goto OBC4. Select the field status variant, double click on field status group.
    Choose the field status group and click on details.
    In addition account assignment tab, make cost center field as optional entry.
    This will solve your issue.
    Regards,
    Chandra

  • Enter a true account assignment object with revenues

    Hi there,
    At my current client site we implemented COPA - Costing Based. I mapped a few revenue accounts  to COPA. Now when I try to make a posting in to COPA using FB70 . The system issues a error Message "Enter a true account assignment object with revenues" . I know  the Prof Segment is the account assignment object  its looking for and the system is not deriving it  from the information I entered in the FB70 document. Am I missing somethig here? Did anyone out there face similar issue??
    You inputs are highly appreciated!
    Regards,
    Siva Padallaparthy

    Hi Siva,
    Please check note 373823 for this error. Also please go through the long text of error message KI166. The solution of the error is mentioned in the long text itself.
    Regards,
    Abhisek

  • Non-stockable items - Error of G/L Account - ( Error No - ME45 )

    Hi MM Experts,
    While creating PO for Non-stockable items I am getting one error which says that - " You can not enter G/L account directly for the controllling area/ Co. Code".
    Can u pls. help on this issue..
    Thanks & Regards,
    Mahesh

    Dear Karthik,
    There was an logic in the idoc processing for the text segment of the idoc.
    If some text/number avaialble in this segment (text) then system will check for the first 4 characters as chart of accounts and next 3 characters as transaction and look for the GL account in the T030 table of the OBYC.
    In my case there was a space (more than 4+3=7) and system was taking 4 spaces as COA and 3 spaces as transaction key and looking for the GL account in T030 table. And unfortunately there was an blank entry in T030 table and due to this system unable to find the GL account for this combination (Spaces).
    To resolve this issue go to SE16 and give table name EDID4 and give the segment name (segment of text field) and idoc number and search. You will get all the text related segments and try to find the segment having Space before the text/numeric filled in that segment.
    There after edit the IDOC and remove the space from the text field of the segment and try to re-process the IDOC from BD87 transaction code.
    Regards,
    Syed Abdul Mazid

  • Non-Stock Items -  G/L Account Error ( Error No - ME45 )

    Hi MM Experts,
    While creating PO for Non-stockable items I am getting oner error which says that -  " You can not enter G/L account directly for the controllling area/ Co. Code".
    Can u pls. help on this issue..
    Thanks & Regards,
    Mahesh

    Hi Mahesh,
    I think u are trying to create a PO with a GL a/c to which no cost element is assigned.  Check with ur FI guys to give a correct GL a/c.
    chintu

  • Billing Document is not released to Account -Error

    Hi,
    I am getting the below error while releasing the billing document into accounting.kindly help me
    Error Log
                 0900000165 000000 Document 0900000165 saved (no accounting document generated
                 0900000165 000000 Enter a true account assignment object with revenues
                Long txt
                    Detail
                     Diagnosis
                         You made an account assignment for 420100, a revenue
                         element, in controlling area 9000 to a cost center or
                         profit center.
                     System response
                         Cost centers and profit centers can carry revenues in the
                         R/3 System as statistics only. To ensure reconciliation
                         between FI and CO for revenue element 420100, a CO account
                         assignment object must record the revenues as a real value.
                         This object type is used for updating to the reconciliation
                         ledger.
                         In principle, it's possible for the R/3 System to
                         automatically derive this CO account assignment object, the
                         reconciliation object. However, all postings made in CO for
                         costing-based Profitability Analysis are logged in the
                         reconciliation ledger under "reconciliation object". In
                         this manner, the reconcilation ledger identifies the exact
                         values flowing into the operating profit. If you post
                         reconciliation objects during revenue postings to cost
                         centers or profit centers, you must do so while keeping the
                         interpretation of the reconciliation ledger reports in
                         mind. The sums of revenue postings to profitability
                         segments, cost centers, and profit centers cannot be broken
                         down further.
    Procedure
        o   To avoid posting to reconciliation objects, make
            account assignments to a real CO account assignment
            object.
        o   If you want to post to reconciliation objects, you can
            change this message to a caution or a note for future
            users, or deactivate the message entirely. Use the
            Implementation Guide under "Controlling: General" and
            choose Change message control. Enter area KI and
            message number 166. If you do not enter an individual
            user here, the change is valid for all users.
    Technical data
        Tech. data details
         Client
         Group Number
         Sales Document Number                  0900000165
         Item Number of the SD Document         000000
         Schedule Line Number                   0166
         Counter in Control Tables              00
         Message Identification                 KI
         System Message Number                  166
         Output Type                            E
         Message Variable 01                    420100
         Message Variable 02                    9000
         Message Variable 03
         Message Variable 04
    Please help me
    Thanks
    Supriya

    Hi Supriya,
    The following step is missing in your configuration: So please check the following step:
    Financial Accounting (New) - Financial Accounting Basic Settings (New) - Ledgers - Real-Time Integration of Controlling with Financial Accounting - Account Determination for Real-Time Integration - Define Account Determination for Real-Time Integration
    The above step is used for:
    You define account determination for the real-time integration of Controlling (CO) with Financial Accounting (FI).
    You have two options for the definition of account determination:
    Account determination without substitution (standard account determination)
    The level of differentiation with which you want to trace the postings to Financial Accounting determines how many accounts you create and whether you assign transactions or object classes. You can assign the accounts as follows:
    You specify an account for all reconciliation postings.
    You assign an account to each business transaction.
    You assign an account to each object class.
    You assign an account to each transaction and to each object class.
    Account determination with substitution
    In addition to account determination without substitution, you can determine the reconciliation account using substitution. For this, you have to define account determination at least for the specification of the posting key. Furthermore, you can use substitution to refine account determination.
    In contrast to when the reconciliation ledger is used, additional fields are available when real-time integration is used:
    RCL_ICCF-BEKNZ
    RCL_ICCF-RSEGMENT
    RCL_ICCF-SSEGMENT
    These fields are only filled by the system when real-time integration is used.
    Caution
    If you deploy the following functions, you may not use the additional fields in account determination:
    You still use reconciliation posting instead of real-time integration.
    You use real-time integration but you still have the reconciliation ledger activated so that you can use the reconciliation reports from Cost Element Accounting, such as CO/FI Reconciliation in Company Code Currency.
    These functions use the reconciliation ledger data, which does not contain the additional fields.
    For more information about defining account determination, see Define Adjustment Accounts for Reconciliation Posting.
    Please let me know if you need more clarification
    Thanks & Regards,
    Venkataraju Khottari

  • GL account error Valuation Clearing Account for multiple valuations

    Hi
    I am trying to configure multiple valuations. There is one path:
    IMG --> Controlling --> General Controlling --> Multiple Valuation Approaches/Transfer Prices --> Level of Detail --> Define Valuation Clearing Account
    I created in chart of account 1000 (assigned to company code 1000) GL account 490000 with PL account tick in FS00 and i created cost element as 01. Further i entered trading partner 100001 which is assigned to company code as a 'company' and in the GL account in trading partner. Now when i entered the GL account in above path, it gave following error:
    Account 490000 is not a profit/loss account
    Message no. KM125
    Please let me know why its giving the error.

    Hi,
    I have maintained indicators for PRITEMX then I got error maintain services or limits.
    here I am passing values for SERVICELIMIT table like DOC_ITEM, OVERALL_LIMIT & EXP_VALUE.
    here I have doubt , have to maintain indicators for PRACCOUNTX & SERVICELIMITX ?
    please suggest me.
    Regards,
    BBC

Maybe you are looking for

  • Find the implementation class of a Business object

    HI Gurus, Is there any path in SPRO from where we can find the implementation class of a BOL object? For an example, I am working with BuilHeader. The backend table for BUL Header which will be updated while modifiyng BuilHeader is BUT000. So how can

  • Can we Automate User Creation in SAP IDES?

    Hey Guys, I found this piece of information on Internet somewhere. "SAP provides a simple user creation mechanism for IDES system. An enhancement is already active by the name USRADMIN this contains code that executes just after the user logon. If so

  • How do i remove a phone from my itunes?

    I have 3 phones on my itunes account.  I would like to remove one, how do I do this?

  • Oracle Apps.XML reports ending with warning when the report output contains

    Hi I have XML reports. When we run these reports as concurrent program through Oracle Apps. window and if the report output contains special characters(like Chineese data) in between of English, then the concurrent program is ending with warning. If

  • App Conn Error

    Hi, Application team sent me a message that they are getting below error: Here is the error message. —--------------------------------------------------------------------------------------------------------------------Test connection failed for data