Lock Error while posting document through bapi_acc_document_post
Hi,
We are trying to Post documents in R/3 using Bapi_acc_document_post from BW system using ABAP report. The report groups data using certain criteria and makes a Bapi call for each group.
Problem : The program has 2 modes test mode and actual run.
When the program was run in a test mode 15 groups were created. Hence 15 documents should get created in R/3.
Now when the actual run was done the program gave an output saying doc1 created,doc2 created....doc11 created.. and suddenly Bapi error .. doc1 is locked by another user, doc1 is locked by another user, doc1 is locked by another user, doc1 is locked by another user.
Moreover Doc1 never got created in R/3. Doc 2 to Doc11 were created in R/3 and then the BApi error.
Can anyone please help me understand why this could have happened?
P.S : We use same Bapi for Check run as well as Actual run. Only difference is that in actual run a BApi_commit is done.
Do you think using BAP_ACC_DOCUMENT_CHECK during check run will help ?
PLease advice.
Setting the WAIT parameter = 'X' will make your updates synchronous which might solve your problem.
Please try and let me know.
Similar Messages
-
Error while Posting Document in FBV0
Hi Guys,
Iam getting following error while Posting Document in FBV0 which is already parked and it is with tax code.
Error: "No batch input data for screen SAPMF05A 0700"
Kindly suggest
Thanx and Regards
MunenderAlso have a look at the following notes:-
=> Note 26050 - FIPP:Posting not poss. (SAPMF05A,0700,batch input)
=> Note 800177 - FB01: No batch input data for SAPMF05A 0700
thanks
G. Lakshmipathi -
Error While Posting documents using F-28
Dear Friends,
While posting Documents using 'F-28' after I passed posting key and account number I m getting the Error
'Entry not Possible'. Can anyone tell what may be the problem how to clear this error.
Regards
Balamurugan N
Moderator message: duplicate post locked, follow up on your previous one instead of opening a new thread for the identical problem.
Edited by: Thomas Zloch on Apr 26, 2011 8:34 PMHi,
I Guess this error is occuring because of the posting key and account number (Account type) combination is not correct. For each account type a perticular posting is is defined for debit and credit entries.
Check with your functional the correct posting key for account type and account number you are using. -
Error while generating document through bursting process
<?xml version="1.0" encoding="UTF-8" ?>
- <BURS_REPORT>
<REQUESTID>29462818</REQUESTID>
<PARENT_REQUESTID>29462816</PARENT_REQUESTID>
<REPORT_DESC>RDA Invoice Print Selected Invoices XML</REPORT_DESC>
<OUTPUT_FILE>/applog/common/app/RDDEV3/out/RDDEV3_uspvloradev1/o29462818.zip</OUTPUT_FILE>
- <DOCUMENT_STATUS>
<KEY />
<OUTPUT_TYPE>pdf</OUTPUT_TYPE>
<DELIVERY />
<OUTPUT />
<STATUS>fail</STATUS>
<LOG>Error while generating the Document...</LOG>
</DOCUMENT_STATUS>
</BURS_REPORT>Hi,
only MM documents will be reveresed through MR8M transaction code.
so what ever document you have created in MIRO and want to reverese it.
enter the same document number and do the MR8M transaction.
then the debit will be credit and credit will be debited.
when you do the reversal original value will be zero and gets knock off.
so, redo the process.
Regards,
Padma -
Error While Posting Data Through Tcode MM41
Hi Experts,
Getting error when entering article data through tcode MM41 :
Following errors occurred while posting data :
E M3 072 : Enter the RP type
I m already entering RP type in both DC and store tab available on article screen.
Thanks.Hi Friend,
Youhave to enter for third time for your reference site say for example RFST and again third time i have to enter the RP.
Idealy you should first maintain for reference site initially.
eample I am maintaining MM41 for my store (site) so first at DC level and then at store level and then again when I accept to save the article at refercne Store level I have feed in the RP type.
Hope this solves you query.
Regards,
Ashutosh -
FIPP object, getting error while posting document in background step
Hi Experts,
Once approval is done we are posting document in background, but getting following error
No batch input data for screen SAPMF05A 0607
We have delegeted object FIPP to ZFIPP and added method zpost with same code as post with some initial validations.
Your help in solving this error would be really appreciated.If you really haven't done any relevant changes to the SAP standard post method, I would look for an answer from OSS. And if not found, then ask from SAP. But if you have replaced the standard post method code with for example some BDC code, then you need to check this with your ABAP guys... I don't think that it has anything to do with workflow.
Regards,
Karri -
Hi,
While we try to post a payment document for a customer invoice with Spl GL indicator, the system gives an error message - Reference to order is missing.
Help does not give any information except the message number - WHT-BR003.
Can anyone help me to find out the reason?
Regards,
MikeHi Ravi,
Thanks for your response.
Let me elaborate a little more. We are running a BRAZIL specific functionality - Vendor Financial Operation. The vendor arranges for finance options from banks to the customer for making the payment. Hence, the customer invoice is cleared by a payment document with a Spl GL indicator. Later, the vendor will recieve the money from the bank.
How to see the error message WHT-BR003?
Regards,
Mike -
Error while posting TDS through J1INC
Hi,
My client is posting TDS with TCode: J1INC and while executing error message ," FI/CO interface: Inconsistent FI/CO line item data for updating" is displayed. Message No is RW016. I have checked all the configurations for Tax codes and its fine. The error is applicable to one particular document no. This document is normal IV document with a PO.
Please help in this regardsHi Friend,
Youhave to enter for third time for your reference site say for example RFST and again third time i have to enter the RP.
Idealy you should first maintain for reference site initially.
eample I am maintaining MM41 for my store (site) so first at DC level and then at store level and then again when I accept to save the article at refercne Store level I have feed in the RP type.
Hope this solves you query.
Regards,
Ashutosh -
Non PO Invoice Workflow - Error while Posting Document
Hi Experts
Hope I am posting this in the right forum as I am new to SDN!
We have customized a multi-level non PO invoice workflow which triggers at the time of clicking 'Save as Completed' in tcode FV60.
It has been configured to automatically post the document once it is approved at all the required levels. However, the document cannot be posted even after it receives all levels of approval. The status shows as 'Complete' but the error message shown is 'No Amount Authorization for Customer/Vendor in Company Code' in the workflow screen (MSGID F5, MSGNO 155).
Now as I understand, this is the error for maintenance of user ID in tolerance groups. However, all user IDs have already been maintained and no matter who parks the document, the same error appears in the workflow screen.
We have no idea whether this is happening due to some missing config from FI side or WF side.
RegardsHi
Go to Tcode: OBA3 Assign tolerance group under your company code and give all limits for each group. If you done this one your properly your problem should solve. -
Error while posting document in FB01
Hello All,
While creating a document I encounter th below error:
Please specify LBZ code
Kindly help me what the meaning of this.
Thanks in advance,
Jherohello,
thanks for the feedback.
its ZH285
thanks in advance,
Jhero -
Error while Posting document in MB1B
Hi all,
When posting transfer document in transaction MB1B for
Movement type 311 for particular plant, System posts the
document and generates document no also, But as soon
as I press any key to back from that screen i am getting
error 'Express Document : update was terminated'.
If i check the material document number in MKPF table, there is no entry for that document number.
Could you please help.
Thanks,
Shankar.Hi
There are many reasons why an update could be terminated, not
just
number ranges.
Go to transaction SM13.
Enter the date and user ID if known and find your transaction that was
terminated. Drill-down until you find which function (line) caused the
termination and double click. That should help you determine why the update failed.
update was terminated
regards
kunal
Edited by: kunal ingale on Nov 7, 2008 7:03 AM -
Error while posting document in FS-CD
Hello,
When trying to post a document in FS-CD, I am getting the following error. Can someone please guide as to what could be the reason.
Central settings not maintained
Message no. >4071
Procedure for System Administration
Check and where necessary change your system settings.
To do this, choose Maintain entries or Customizing.
Thanks and RegardsAlso have a look at the following notes:-
=> Note 26050 - FIPP:Posting not poss. (SAPMF05A,0700,batch input)
=> Note 800177 - FB01: No batch input data for SAPMF05A 0700
thanks
G. Lakshmipathi -
Error while posting 561 Document
Dear All
Error while posting document with movement 561. "Account Determination for entry 999 BSA 6000 not possible."
Even OBYC setting for that valuation class already assigned.
please advice.
Regards
Kumar.Hello Anandhakumar ,
please check whether you have assigned the Company code which you are using to controlling area with same chart of accounts and check the OMWD settings..
and check the FS02 tCode in that the see the control data for currency and chart of accounts settings.
it could solve your query.
regards,
Ninad Kshirsagar -
Error while posting FBS1 via BAPI
Hi Experts,
getting below error while posting FBS1 via BAPI_ACC_DOCUMENT_POST
TYPE ID NUMBER MESSAGE
E |RW |609 Error in document: BKPF 10000022440GF3032010 TERCLNT303
E |RW |609 Error in document: 100000224 AC_DOC_NO
FB03 Header values --
Document Number 100000250 Company Code 40GF Fiscal Year 2010
Document Date 30.11.2010 Posting Date 30.11.2010 Period 11
Currency EUR
FB03 Line item 1 ( posting key 40 )
G/L Account 711014
Company Code 40GF
Amount 100,00 EUR
Cost Center 40GF219001
Quantity 0,000
FB03 Line item 2 ( posting key 50 )
G/L Account 167005
Company Code 40GF
Amount 100,00 EUR
Assignment 20101130
Text ITEM TEXT 7
Please tell me what i am missing in below code because of which i am getting error in return table
FORM fill_header.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = gd_documentheader-obj_sys.
gd_documentheader-obj_type = 'BKPF'.
gd_documentheader-obj_key = '10000022440GF3032010'.
gd_documentheader-username = sy-uname.
gd_documentheader-header_txt = 'BAPI Test'. "#EC NOTEXT
gd_documentheader-obj_key_r =
GD_DOCUMENTHEADER-reason_rev = '05' .
gd_documentheader-comp_code = '40GF'.
GD_DOCUMENTHEADER-AC_DOC_NO = '100000224' .
gd_documentheader-fisc_year = '2010'.
gd_documentheader-doc_date = sy-datum.
gd_documentheader-pstng_date = sy-datum.
GD_DOCUMENTHEADER-TRANS_DATE =
GD_DOCUMENTHEADER-VALUE_DATE =
GD_DOCUMENTHEADER-FIS_PERIOD = '11' .
GD_DOCUMENTHEADER-DOC_TYPE = 'SA' .
GD_DOCUMENTHEADER-REF_DOC_NO =
GD_DOCUMENTHEADER-COMPO_ACC =
gd_documentheader-bus_act = 'RFBU'.
ENDFORM. "fill_header
FORM fill_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 1.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = -100.
APPEND T_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 2.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = '100'.
APPEND T_currencyamount.
CLEAR T_currencyamount.
ENDFORM. "fill_currencyamount
FORM fill_accountgl.
CLEAR T_accountgl.
T_accountgl-itemno_acc = 1.
T_accountgl-gl_account = '0000711014'.
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-DE_CRE_IND = 'S' .
T_accountgl-tax_code = 'V1'.
T_ACCOUNTGL-ACCT_KEY =
T_accountgl-item_text = 'BAPI Test G/L line item'. "#EC NOTEXT
T_ACCOUNTGL-BUS_AREA =
T_accountgl-costcenter = '40GF219001' .
T_ACCOUNTGL-ORDERID =
T_ACCOUNTGL-MATERIAL =
T_ACCOUNTGL-QUANTITY =
T_ACCOUNTGL-BASE_UOM =
T_ACCOUNTGL-BASE_UOM_ISO =
T_ACCOUNTGL-PLANT =
T_accountgl-profIT_ctr = 'S001' .
T_ACCOUNTGL-WBS_ELEMENT =
T_ACCOUNTGL-BILL_TYPE =
T_ACCOUNTGL-DISTR_CHAN =
T_accountgl-ac_doc_no =
T_accountgl-acct_type =
T_accountgl-doc_type =
T_accountgl-comp_code = '40GF' .
T_accountgl-func_area =
T_accountgl-plant =
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
T_accountgl-pstng_date =
T_accountgl-value_date =
T_accountgl-customer =
T_accountgl-vendor_no =
T_accountgl-costobject =
T_accountgl-acttype =
T_accountgl-val_area =
T_accountgl-po_number =
T_accountgl-po_item =
APPEND T_accountgl to t_accountg2 .
CLEAR T_accountgl.
T_accountgl-itemno_acc = 2.
T_accountgl-gl_account = '0000167005'.
T_ACCOUNTGL-STAT_CON =
T_ACCOUNTGL-REF_KEY_1 =
T_ACCOUNTGL-REF_KEY_2 =
T_ACCOUNTGL-REF_KEY_3 =
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-DE_CRE_IND = 'H' .
T_accountgl-tax_code = 'V1'.
T_ACCOUNTGL-ACCT_KEY =
T_accountgl-item_text = 'ITEM TEXT 7'. "#EC NOTEXT
T_ACCOUNTGL-BUS_AREA =
T_accountgl-costcenter = '40GF219001' .
T_ACCOUNTGL-ORDERID =
T_ACCOUNTGL-MATERIAL =
T_ACCOUNTGL-QUANTITY =
T_ACCOUNTGL-BASE_UOM =
T_ACCOUNTGL-BASE_UOM_ISO =
T_ACCOUNTGL-PLANT =
T_accountgl-profIT_ctr = 'S001' .
T_ACCOUNTGL-WBS_ELEMENT =
T_accountgl-ac_doc_no =
T_accountgl-acct_type =
T_accountgl-doc_type =
T_accountgl-comp_code = '40GF' .
T_accountgl-func_area =
T_accountgl-plant =
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
T_accountgl-pstng_date =
T_accountgl-value_date =
T_accountgl-customer =
T_accountgl-vendor_no =
T_accountgl-costobject =
T_accountgl-acttype =
T_accountgl-val_area =
T_accountgl-po_number =
T_accountgl-po_item =
APPEND T_accountgl to t_accountg2 .
ENDFORM. "fill_accountglHi Experts,
getting below error while posting FBS1 via BAPI_ACC_DOCUMENT_POST
TYPE ID NUMBER MESSAGE
E |RW |609 Error in document: BKPF 10000022440GF3032010 TERCLNT303
E |RW |609 Error in document: 100000224 AC_DOC_NO
FB03 Header values --
Document Number 100000250 Company Code 40GF Fiscal Year 2010
Document Date 30.11.2010 Posting Date 30.11.2010 Period 11
Currency EUR
FB03 Line item 1 ( posting key 40 )
G/L Account 711014
Company Code 40GF
Amount 100,00 EUR
Cost Center 40GF219001
Quantity 0,000
FB03 Line item 2 ( posting key 50 )
G/L Account 167005
Company Code 40GF
Amount 100,00 EUR
Assignment 20101130
Text ITEM TEXT 7
Please tell me what i am missing in below code because of which i am getting error in return table
FORM fill_header.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = gd_documentheader-obj_sys.
gd_documentheader-obj_type = 'BKPF'.
gd_documentheader-obj_key = '10000022440GF3032010'.
gd_documentheader-username = sy-uname
gd_documentheader-obj_key_r =
GD_DOCUMENTHEADER-reason_rev = '05' .
gd_documentheader-comp_code = '40GF'.
GD_DOCUMENTHEADER-AC_DOC_NO = '100000224' .
gd_documentheader-fisc_year = '2010'.
gd_documentheader-doc_date = sy-datum.
gd_documentheader-pstng_date = sy-datum.
GD_DOCUMENTHEADER-FIS_PERIOD = '11' .
GD_DOCUMENTHEADER-DOC_TYPE = 'SA' .
gd_documentheader-bus_act = 'RFBU'.
ENDFORM. "fill_header
FORM fill_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 1.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = -100.
APPEND T_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 2.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = '100'.
APPEND T_currencyamount.
CLEAR T_currencyamount.
ENDFORM. "fill_currencyamount
FORM fill_accountgl.
CLEAR T_accountgl.
T_accountgl-itemno_acc = 1.
T_accountgl-gl_account = '0000711014'.
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-item_text = 'BAPI Test 1'.
T_accountgl-costcenter = '40GF219001' .
T_accountgl-profIT_ctr = 'S001' .
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
APPEND T_accountgl to t_accountg2 .
CLEAR T_accountgl.
T_accountgl-itemno_acc = 2.
T_accountgl-gl_account = '0000167005'.
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-item_text = 'ITEM TEXT 7'.
T_accountgl-comp_code = '40GF' .
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
APPEND T_accountgl to t_accountg2 .
ENDFORM. "fill_accountgl -
Runtime error while posting a document (FB70/FBS1)
Hi
I am getting a runtime error while posting a document through FB70 or FBS1 .
The erro description tells The type "CL_BCS_OBJHEAD" is unknown.
And the program dumps in Function module SO_KPRO_DECIDE.
Has any one faced this problem?Hi,
Please check the psoting date and also the reversal date in FBS1. Please check when you have posted the document and when you want ot reverse the same.
Thank you,
Shilpa.
Maybe you are looking for
-
Reg: Servce Interface in PI 7.1
Hi Friends I need some clarification regarding the service interface significance in PI 7.1. Actually we can multiple opertions option in SI. What is the eact use and functinality of this . Thanks in Advance Thanks&Regards satya suman
-
L875D-S7332 keeps dropping wireless connection
HELP!!! I have 4 Toshiba laptops that will not stay connected to the internet. They keep dropping the wireless. My latest one L875D-S7332 has Windows 8 which is the the biggest PITA yet. All of them drop the internet though. I have reset the Yubi rou
-
I have had a small project come in, where we have several hours on security footage. I have managed to export it to avi format but my computer for some reason will not read it. I have in the past been able to see avi and asf files but now i cant see
-
Is there a way to get a list of the emails that any events are scheduled to contact in your iCal set up? I have a bunch of reminders set up that are no longer relevant to certain people and I am pretty sure that they do not want to keep recieving ema
-
Using Regular Expressions To Remove Characters JDK 1.4
I want to write a regular expression to remove all commas in a string of text. string is: 1,000 or 1,000,000 I want it to return 1000 and 1000000. I have tried some but I am just starting with Regular Expressions. Please Help!