Error in posting to a ledger using sapfgubt

Hi experts,
May I ask your help regarding the dump error I get when posting to a ledger using the sap standard program sapfgubt. Below is my code.
loop at itab.
move correspoding fields of itab to sidata.
perform e10_ext_table(sapfgubt) using ' ' ' ' 'X' sidata.
endloop.
perform f80_set_end_docnr(sapfgubt).
perform f40_update(sapfgubt) using 'X' ' '.
commit work.
The error happens inside the "commit work" statement. It calls another sap standard program SAPLGLIU. The error specifically happens under the include program "LGLIUF11" when it inserts the entries into the ledger.
The error says runtime errors: "SAPSQL_ARRAY_INSERT_DUPREC" and Except.: "CX_SY_OPEN_SQL_DB".
It is saying that the record already exists with the same key even if it doesn't exist in the ledger yet.
I was able to find a partial solution by adding a number per document line. Now it posts to the ledger successfully but there are times also that it fails to post and the program still dumps.
Is there an OSS for this? do I need to add something.
Any suggestion would be much appreciated.
Thanks a lot!
Edited by: bgmis pma on Dec 9, 2008 6:57 AM

check
V_T52EL
V_T52EK
t code OBYE  OBYG  once
check especially for The TDS  wage type
if possible send me the screen shot of pay roll accounting simulation
check my bcard for my info
Edited by: Sikindar on Oct 16, 2008 3:59 PM

Similar Messages

  • Posting a particular Ledger using BAPI_ACC_DOCUMENT_POST

    Is it possible to post to a specific ledger using the BAPI_ACC_DOCUMENT_POST.
    Currently we use a BDC on FB01L and would like to convert this into a BAPI, Can this be done ?

    Hi,
    You can try with Posting Interface, please try with the following posting interface.
    POSTING_INTERFACE_CLEARING     Post with clearing (FB05) using internal posting interface
    POSTING_INTERFACE_DOCUMENT     Post document using the internal posting interface
    POSTING_INTERFACE_END
    POSTING_INTERFACE_RESET_CLEAR  Reset clearing via posting interface
    POSTING_INTERFACE_REVERSE_DOC  Cancel document via posting interface
    POSTING_INTERFACE_START        Initial information for internal accounting interface
    Regards
    Pugazhenthi.P

  • The error when post a New Form use sap demo news

    Hi all!
    When I post a newform use the SAP Demo News form, I found the text(Title,Date,etc) on the post page is not found.and when I saved,The news text can't display.
    The trace file display:
    #1.5 #00145ED2F356006D0000021D000670C200047D17ADB8AB81#1263440559123#System.err#sap.com/irj#System.err#index_service#275030##DSAPBPRD_DPP_15757350#index_service#dc9235c000be11df9e9600145ed2f356#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###Exception while loading External XMLSource in 'document': javax.xml.transform.TransformerException: Error downloading from URL: wcm://XFBuilderConfig/Global-ResourceFile__en.xml, Invalid RID: No repository manager found for prefix: /XFBuilderConfig#
    #1.5 #00145ED2F356006D0000021E000670C200047D17ADB8AD1D#1263440559123#System.err#sap.com/irj#System.err#index_service#275030##DSAPBPRD_DPP_15757350#index_service#dc9235c000be11df9e9600145ed2f356#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###Exception while loading External XMLSource in 'document': javax.xml.transform.TransformerException: Error downloading from URL: wcm://SAP_DemoNews/SAP_DemoNews__en.xml, Invalid RID: No repository manager found for prefix: /SAP_DemoNews#

    Hi.
    Check SAP Note 1007805.
    Best regards,
    Aliaksandr Zhukau

  • Getting error while posting GR using IBD from BAPI_GOODSMVT_CREATE

    Hi Experts,
    While posting GR from IBD using BAPI_GOODSMVT_CREATE with all necessary values like plant,material,mvttype and serial numbers etc...
    getting error from BAPI return "1  E VLA 315 Item 000010 requires serial numbers; use the inbound delivery dialog".
    I have tried with same IBD number from Tx: VL32N able to post Goods receipt successfully with above data,but whereas tried to post same IBD with Tx:MIGO getting same bapi error as above mentioned.
    I have tried with solutions some of the blogs from SCN but no luck
    is it necessary to implement this note in my system?
    Error message VLA315 during GR for inbound deliv. using MIGO
    Can you please give me suggestions what i have missed in my code/Configurations.
    Thanks,
    Syam

    is it necessary to implement this note in my system?
    Error message VLA315 during GR for inbound deliv. using MIGO
    Yes. Installing notes using Tx SNOTE is very easy. If you find a note that is relevant for your system, just install it.

  • Error while posting initial quantities using stocktaking template of DTW

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode WarehouseCode Counted
    ItemCode WarehouseCode Counted
    CHA0002 1 500
    CHA0076 1 4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    Hi Gordon,
    Thanks a lot for your time. I am able to post the quantities. Now please let me know how to update the item cost/price for these items using DTW ?
    Regards,
    Noor Hussain

  • "Submission status" error while posting comments using evcom

    Hi friends,
    I am  getting "Submission status" error while posting comments using evcom. This error comes up even when we use "post comments" option in Action Pane.
    The error text goes like this :
    Error Message -
    This cell can not be updated.  Submission status must be modified to allow changes.
         010_000|2009.TOTAL|INTERCO|NOPC
    How can we get rid of this error?

    That's means the status for that specific category, time entity is approved and you can not do any changes including
    comments chnages.
    You have to change first the work status for that entity and after that you will be able to submit your comments.
    Regards
    Sorin radulescu

  • Getting error msg while posting entry in GL using F-02

    Hi gurus,
    While i am posting entry in GL using F-02 getting error message as "no controlling area has been assigned to company code"
    can any help me out at the stage i dint want to configure co settings is there any way to pass the entries
    Thanks & regards
    Nandini

    Hi Nandini,
    Have you defined a GL account as a cost element? I think you have multiple company codes which are using same chart of accounts and this company code is also using the same chart of accounts. And also you have configured single controlling area for all company codes. Even though you have not assigned this company code to controlling area. The cost elements will create at controlling area level.
    Due to this system is throwing error message.
    Please check and let us know if you have other issue.
    Regards,
    Mukthar

  • Ever seen this error message? You tried to use HTML or other restricted code. We, currently, do not allow HTML or other types of code in our message board posts or signatures. Try again with simple text only.

    Trying to load this site
    http://southcarolina.247sports.com/
    and it redirects me to this address
    http://media.247sports.com/Oops.html?aspxerrorpath=/
    and gives me the error message. "You tried to use HTML or other restricted code. We, currently, do not allow HTML or other types of code in our message board posts or signatures. Try again with simple text only. "
    Thanks for your help

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • F.05 Posting for general ledger account .......[Error]

    Hi expert,
    I am running a transaction in F.05 and encounter several error messages such as:
    1 Incorrect account determination: ABC 11111 >> No performance Assistant message
    2 Enter account number with a maximum of 10 characters  No performance Assistant message
    3 Posting for general ledger account 11111 amount >> 
    Performance Assistant message prompt:
    Posting for general ledger account 11111 amount 199,999.00 set in batch input
    Message no. FR008
    Diagnosis
    In an evaluation that affects the financial statements, the posting for company code ABC and G/L amount 199,999.00 SGD, could not be carried out.
    System Response
    The posting is entered in a batch input session.
    Procedure
    Correct the error, for example, missing account determination, and run the batch input session. This ensures that the posting and the evaluation difference noted in the documents agree again.
    Please advise.
    Thank you!

    1.  Financial Accounting (New) > General Ledger Accounting (New) > Periodic Processing > Valuate > Foreign Currency Valuation.
    Check your settings
    2. Check if how you have defined you account groups in OBD4. Most probabaly you have defined 10 digit account length.
    3. Check if the document type is relevent only for batch input.
    Rgds
    Harmees

  • DTW error while posting initial quantities using stocktaking template

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode     WarehouseCode     Counted
    ItemCode     WarehouseCode     Counted
    CHA0002     1     500
    CHA0076     1     4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    HI,
      The error might be because of the cell format of warehouse code. Check if the warehouse code in the system is "1" or "01". If it is "01" u need to change the format of the cells to text or else just put the symbol (  ' ) before  the warehouse codes. This might solve your problem.
    Thanks and regards.
    Pritesh.

  • Error while posting a write up for asset belonging to affiliated company

    Hi,
    I am facing an error while posting a write up for an asset which belong to an affiliated company. Error is
    Transaction type 790 not possible (posting to affiliated company)
    Message no. AA390
    I am using Transaction type 711 which is linked to 790 in custo. Kinldy let me know how to resolve this issue.
    Thanks
    Pragya

    Hi
    According to this note for document type used, we should not select the 'inter company posting' or 'enter trading partner indicator'
    but as i m doing writeup for asset belonging to affiliated company, so i need to set this indicator. the document type used is standard AA
    Is there any other way, to resolve the issue
    Thanks
    Pragya

  • Incoming payment by F-28: Reason code error while posting

    Hello everyone,
    I want to post Incoing Payment using F-28 net of TDS. I want the separate GL account to be picked up automatically for the difference when I enter the Reason Code 003.
    I did the following customization for the same.
    1. Financial Accounting> Accounts Receivable and Accounts Payable> Business Transactions>Incoimng Payments> Incoming Payments Global Settings>Overpayment/Underpayment> Define Reason Codes:- Here I selected the Indicator 'C' for reason code 003 which is for "Indicator: Charge off difference via separate account". The reason code 003 is for TDS Netted
    2. Below the Define Reason Code node, I selected the node 'Define Accounts for Payment Differences' . Selected the key ' Rules' and selected the checkbox 'Reason Code'. Then clicked on 'Accounts' and enetered the desired GL account against the reason code '003'.
    After doing the above customization I posted the Incoming payment using T code F-28. I entered the difference in the field 'Difference Posting'. Then entered reason code '003' which is for 'TDS netted' in the field 'Reason Code'. Now, I am getting the follwoing error.
    Reason codes with automatic charge-off are not permitted here
    Message no. F5605
    Diagnosis
    The reason code entered is designed to ensure that the payment difference amount is posted to an account specially set up for this purpose.  Postings of this nature usually require additional specifications (e.g. tax code, business area). If the difference stems from a single open item, the necessary specifications can be taken from that item. In the case that led to this error message, however, the difference does not stem soley from one item, which means that this method cannot be used.
    System Response
    The reason code entered is not accepted.
    Procedure
    You can either select a different reason code, which would create a new open item for the customer or vendor OR write off the difference using the function Charge off diff.. This function either takes you into a pre-configured account assignment model or into the document overview. From here you can enter the required difference postings.
    How can I proceed ahead?
    Thanks and Regards,
    Pradnya

    Hi Saulo,
    Thanks for ur reply.
    I had alreay done the config in OBXL and OBBE. Only thing I wanted to know is while posting Incoming Payment by F-28, how to use this reason code.
    Ur reply was a gr8 help for me.
    Regards,
    Pradnya

  • FA Acquisition - 21151: error while posting asset document: '100000006'

    Hi All,
    When I was performing the FA Acquisition for a fixed asset code, the above error message prompt. I am using SAP B1 8.8 PL 15. Before this error appear, I was able to perform all other transactions like FA Acq, Credit Note, Retirement and depreciation run.
    After this error prompt, subsequently FA acquisition and other FA transactions will have the similar error. Even though the subsequent FA acquisition involved FA code that was able to post acquisition before.
    Realized that it seems that if 2 users are performing the FA Acquisition and happen to press on 'Add' button at the same time, this error will prompt. Then you can't proceed with any FA transactions later even though another user is log off. Anyone have idea on this error?
    Regards,
    MH

    Hi Too Mui Hwee,
    What we did is to put letters on the number so the series will continue example there is already 100333, 100334, 100335 since the error is encountered from 100333. We add 100333A, 100334A, 100335A.
    Thanks

  • Error while posting the parked document in ECC 6.0

    Hello ABAPers,
    After upgrade from R/3 4.6c to ECC 6.0, when we try to post the parked documents ,It calls FM :POSTING_INTERFACE_DOCUMENT".
    Inside it a call transaction is done using FBVB which throws error while posting for more than 4 withholding tax types.
    Error : Field WITH_DIALG-WT_BASE(5) does not exist in the screen SAPLFWTD 0100.
    On running BDC in foreground mode ,Error is happening when the withholding dialog opens and screen seems to be small to input all the tax codes i.e it shows only 4-5 rows and hence only 4 tax types passes to the screen and remaining is left out and error is thrown. This results in document not getting posted.
    But in 4.6 c a bigger screen pops up and no error is thrwon.
    We are not able to check FBVB directly, since it does'nt allow Direct call to this transaction.
    We have checked lots of thread and notes ,But nothing seems to be relevant or helpful in our case.
    Could you please help us in resolving this issue/ let us know if any configuration/ screen variant change is required?
    Thanks!
    Regards,
    M M Jaffer.

    Hello Nabheet ,
    It is a standard code. We are calling the FM  'PRELIMINIARY_POSTING_POST_ALL'  for posting the parked document. The FM calls internally another FM 'POSTING_INTERFACE_DOCUMENT'. This calls the transaction FBVB where we get the above error.
    Thanks.

  • Error while posting parked documents

    HI ALL,
    After upgrade when we try to post the parked documents ,It calls FM :POSTING_INTERFACE_DOCUMENT"
    Inside it a call transaction is done using FBVB which throws error while posting for more than 4 withholding tax types.
    Error : Field WITH_DIALG-WT_BASE(5) does not exist in the screen SAPLFWTD 0100.
    On running BDC in foreground mode ,Error is happening when the withholding dialog opens and screen seems to be small to input all the tax codes.
    But in 4.6 c a bigger screen pops up and no error is thrwon.
    We have checked lots of thread and notes ,But nothing seems to be relevant or helpful in our case.
    Please check it.
    Thanks!

    Hi,
    Please follow as given below:
    1. Use T.Code KO31 and enter order and deactivate the control
    2. Then try to post the parked document
    3. And use T.Code KO30 and enter the order to activate the control
    Some times system will check budget availability which already commited for parked documents.
    Hope it will work.
    Chandu

Maybe you are looking for