Getting Express document 'Update was Terminated' in Call Transaction AS02
Hi All,
I've written BDC for changing the Asset Master using Call Transaction Method. After the Call Transaction it it showing me the Success message that 'The Asset has been Changed'.But it is not reflecting in the Database table.When i navigate back from th e screen I'm getting the Express document as 'Update was terminated'.
Please help me in this regard.
Thanks and Regards.
Hi,
have you used commit statement after the call transaction statement, or if there is any enhancement for AS02 transaction remove the commit work statement from the enhancement.
Regards, Qamar
Similar Messages
-
Getting "Express Document Update was terminated" while creating BP..
HI All
I am creating Business Partner using HR Pernr using following BAPI's.
1. BUPA_CREATE_FROM_DATA - To create BP.
2. BUPA_ADDRESS_ADD - To create address..
3. BUPA_ROLE_ADD_2 - To create role.
4. BUPR_RELATIONSHIP_CREATE - To create relationship.
5. BUPA_BANKDETAIL_ADD - To create acounts.
6. BUPA_STATUS_ADD - To create status.
BP is creating fine...along with I am getting the Error like "Express Document update was terminated received from author ......" . Error descriptin looks like below.
Error Info... CD 328: DUPREC:POS&BUPA_ADR&DP00243572.
I have verified in SM13 T code...It is showing in BUPA_ADR_WRITE_DOCUMENT.
Please suggest me how we can resolve this issue...
Thanks in advance..
RamaHi Rama Krishna,
This can also happen when your number ranges are incorrectly defined.
Try checking number range assignment for BP and check in table if number already exist.
We faced similar problem when migrated data from prod server and someone change the number ranges for PO.
Regards,
Mohaiyuddin -
Express Document Update was Terminated in VA01 Transaction
Hi to All,
I am facing problem when Sales Order is creating in VA01 Trasaction when document get created but after going to Va02 it is throwing error 'Update Terminated' I studied the Dump analysis and Update Analysis in ST22 and SM13 it is due to GETWA_NOT_ADSSIGNED. I cant understand what may be the problem. Can any one help me, Its urgent
Please help> > check short dump in ST22 it will show more info on
> > which variable/table is causing this error.
> > one of the posisble reasons - WRONG vlaue in UPDKZ
> > field.
> > to check - set breakpoint to
> > USEREXIT_SAVE_DOCUMENT_PREPARE and at the end of
> this
> > userexit check the value of UPDKZ field in XVBAP,
> > XVBEP,... tables.
> > It should NOT have 'U' in VA01
>
> Thanks,
> Yes what u told is correct, after the
> userexit_save_document_prepare the updkz is becoming
> 'U' n how can we overcome this, i have to harcoded
> with 'I' when that is 'U'.
When i change XVBAP-updkz with 'I' then its not getting error but another error is coming of update termination. Error is 'sapsql_insert_duprec' but i check there are not Duplicate sales order and i also check the number intervals they are fine. Whay may the problem????
Can any one help. plzzzzzzzz. -
Express document 'Update was terminated' in vf02
Hi Gurus,
I am getting Express document 'Update was terminated' error while triggerring customized
output type in vf02.
i found dump in st22 and describes as below.
Error analysis :
This program is triggered in the update task. There, the
following ABAP/4 statements are not allowed:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- SUBMIT
Pls kindly suggest me what could be the reasonHi Sheshikanth,
you have an exit in the update section of the transaction VF02 calling one of those statements (CALL...). This is prohibited.
Go to SM13 and follow the error. You will find the code that is causing your problem.
regards,
Edgar -
Express Document "Update was terminated" in FM: BUPA_ADDRESS_CHANGE
Hi all,
As per our requirement we needed to add different types of phone nos to an Business Partners Address. We are using the Function Module BUPA_ADDRESS_CHANGE to insert the Telephone nos by passing values to the internal table for ADR2 table in the FM. The function module updates the phone nos successfully twice. The Function module fails the third and subsequent times within the same session. The code used for the same is as below:
CALL FUNCTION 'BUPA_ADDRESS_CHANGE'
EXPORTING
iv_partner = l_bpnumber "BP no.
iv_addrnumber = l_addrnumber "BPs address no
iv_addrguid = l_addrguid " Address guid
is_address = t_addrdetails "Address details
TABLES
it_adtel = t_teldetails "Telehphone nos to be inserted with the sequence nos from 001(Home telephone no), 002(Work Phone No.) & 003(Mobile no)
it_adfax = t_faxdetails "One Fax No and its extension with the sequence no set to 001
it_adsmtp = t_emaildetails "Email Details with sequence no set to 001
it_comrem = t_telremarks "Adding a remark to a particular phone no as WORK PHONE No.
it_adtel_x = t_teldetailsx "Setting the updateflag to I for insertion of telephone nos.
it_adfax_x = t_faxdetailsx "Setting the updateflag to I for insertion of fax nos.
it_adsmt_x = t_emaildetailsx "Setting the updateflag to I for insertion of email.
it_comre_x = t_telremarksx "Setting the updateflag to I for insertion of remarks nos.
et_return = t_returntab. "Returns tab for error message
The FM Inserts the Telephone nos successfully twice but fails the third time within the same cic0 session, with the error message as below:
"Express Document "Update was terminated" received from author Kumaran Vurunathan".
Displaying the Document we get the following detail:
Update was terminated
System ID.... DD0
Client....... 040
Transaction.. CIC0
Update key... 42A303E8F2B23E97E1000000947F220A
Generated.... 13.06.2005, 04:43:28
Completed.... 13.06.2005, 04:43:28
Error info... CD 328: DUPREC:POS&BUPA_ADR&0000105277
Again, if everytime new Business Partner is used to add telephone nos within the same cic0 session, the program works fine.
The problem occurs only on the same BP being used for the third time within the same session. We are thinking that this might be a Locking problem and thats why the Update is getting terminated.
If anyone had encountered the same issue while using this FM, please advise the reason for the same and how this could be rectified.
Thanks & Regards,
Babu Changalvala,
AOL: babuchangalva.Hi,
To be clear, my understanding is that you are updating the same partner multiple times with this function.
Try 'commit work' after each call of the FM, if that is not an issue for your current logic.
Another option you can try is calling it with destination option. This is just a guess. Try it like 'Call .... destination NONE importing.....'
cheers, -
SmartForm error: Express document "update was terminated" received from aut
Hi friends
we requirement to send PO smartform through Print out as well as through mail.
after creating PO i am getting popup box saying that :
" Express document "update was terminated" received from author "XXXX".
Please help me.
my code as follows:
IF sy-subrc = 0.
CLEAR g_outop.
SELECT SINGLE ldest dimme FROM nach INTO (g_outop-tddest,
g_outop-tdimmed) WHERE knumh EQ knumh.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'YNZ_PO'
IMPORTING
fm_name = sf_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION sf_name
EXPORTING
output_options = g_outop
user_settings = 'X'
wa_ynz_po_head = wa_ynz_po_head
control_parameters = w_ctrlop
IMPORTING
job_output_info = w_return
TABLES
t_ynz_po_item = t_ynz_po_item
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
for mail
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'YNZ_PO'
IMPORTING
fm_name = sf_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CLEAR g_outop. " Commented by sharma
g_outop-tddest = nast-ldest.
g_outop-tdimmed = nast-dimme.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION sf_name
EXPORTING
output_options = w_compop
user_settings = 'X'
wa_ynz_po_head = wa_ynz_po_head
control_parameters = w_ctrlop
IMPORTING
job_output_info = w_return
TABLES
t_ynz_po_item = t_ynz_po_item
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
i_otf[] = w_return-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Convert PDF from 132 to 255.
LOOP AT i_tline.
Replacing space by ~
TRANSLATE i_tline USING ' ~'.
CONCATENATE w_buffer i_tline INTO w_buffer.
ENDLOOP.
Replacing ~ by space
TRANSLATE w_buffer USING '~ '.
DO.
i_record = w_buffer.
Appending 255 characters as a record
APPEND i_record.
SHIFT w_buffer LEFT BY 255 PLACES.
IF w_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
REFRESH: i_reclist,
i_objtxt,
i_objbin,
i_objpack.
CLEAR w_objhead.
Object with PDF.
i_objbin[] = i_record[].
DESCRIBE TABLE i_objbin LINES v_lines_bin.
Object with main text of the mail.
i_objtxt = 'Find attached the output of the smart form.'.
APPEND i_objtxt.
i_objtxt = 'Regards,'.
APPEND i_objtxt.
i_objtxt = 'Narasimha'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
Document information.
w_doc_chng-obj_name = 'Smartform'.
w_doc_chng-expiry_dat = sy-datum + 10.
w_doc_chng-obj_descr = 'Smart form output'.
w_doc_chng-sensitivty = 'F'. "Functional object
w_doc_chng-doc_size = v_lines_txt * 255.
Pack to main body as RAW.
Obj. to be transported not in binary form
CLEAR i_objpack-transf_bin.
Start line of object header in transport packet
i_objpack-head_start = 1.
Number of lines of an object header in object packet
i_objpack-head_num = 0.
Start line of object contents in an object packet
i_objpack-body_start = 1.
Number of lines of the object contents in an object packet
i_objpack-body_num = v_lines_txt.
Code for document class
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Packing as PDF.
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'Smartform'.
CONCATENATE 'Smartform_output' '.pdf'
INTO i_objpack-obj_descr.
i_objpack-doc_size = v_lines_bin * 255.
APPEND i_objpack.
Document information.
CLEAR i_reclist.
e-mail receivers.
i_reclist-receiver = '[email protected]'.
i_reclist-express = 'X'.
i_reclist-rec_type = 'U'. "Internet address
APPEND i_reclist.
Sending mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = i_objpack
object_header = w_objhead
contents_bin = i_objbin
contents_hex = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
WRITE:/ 'Error When Sending the File', sy-subrc.
ELSE.
WRITE:/ 'Mail sent'.
ENDIF.Hi ashok
thanks for your reply.
i got the error at commit in the below Func module.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = i_objpack
object_header = w_objhead
contents_bin = i_objbin.
if i remove commit = 'X'. no error but mail is not sending.
please advice. -
FMBBC Express document " Update was terminated error"
Hi ,
while saving data FMBBC i am getting saved message , after that if i come out of the Tcode i am getting message as
Express document " update was terminated".I was debugging the standard code found that the error comes from SXOP table entry, This table is get filled from FM SO_EXPRESS_FLAG_SET. But this FM is called from background I think. There is no job also created.After displaying the message automatically the SXOP table entry is get deleted. I want to debug this FM or wht is the reason for displaying message.
Regards,
siva kumarFollowing steps may help you.
1. GO to SM13 transaction.
2. Check your update request.
3. You can see exact point in the standard program where you are getting this message -
Express document "Update was terminated" recev from auth While BAPI change
Hi.
Iam trring to change sales order which is exist in the system provided to insert a new item
for a existing sales oder and pass values to header and update flag as 'U'
and item details and flags for corresponding items.once it throws an error as
"Express document "Update was terminated" recev from auth "
while iam executing bapi_salesorder_change once control goes to the
Bapi_transaction_commit it throws Error .
may i know what is problem and how pass values to BAPI_SALESORDER_CHANGE
Why that kind of errors occur oftenly.
Thanks & Regards
sivakumar kasaThanks Mr.JP
Error analysis:
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
when i comment partner details it works but
Iam not getting quantity and partner details so how to pass Partner Details and item quantity
to updated existing line item number.
Thanks & Regards
sivakumar kasa -
How to suppress the popup 'Express document "update was terminated" ?
Hi,
I am calling few BAPIs in UPDATE TASK Function Module.
Whenever any of the BAPI returns any Error message I get a popup for 'Express document "update was terminated" from the author'.
I know that my SAP Inbox has the Update Terminated Message triggered by the system.
Is there any way to suppress this popup, even if BAPI returns any error message?
I am storing the error messages sent by BAPI in an internal table and those error messages are enough for the user.
But the popup is misguiding to the user thats the reason we dont need the popup for 'Express document "update was terminated" from the author'.Hi,
Its not possible to suppress the express termination message popup. I hope document could not have been saved to database.
Just try to find out the route cause of the error.
Error messages are not allowed in FMs called in UPDATE TASK.
One work around i can suggest is, try to run the BAPI in test mode before calling the update task FM. If the test mode call is error free then only call the UPDATE TASK fm.
Hope this solves your issue.
Thanks,
Vinod. -
Express document "Update was terminated" received from author " "in VA21
Dear SAP Experts,
i just set up Output determination for quotation type. and created VA21, while coming out i am getting error
as Express document "Update was terminated" received from author "
below is the dump i am getting. Could you please help me to solve this?.
Update was terminated
Created m8050032 on 06.01.2010 13:04:43
Update was terminated
System ID.... E6I
Client....... 800
User..... M8050032
Transaction.. VA21
Update key... DD95FADEFC90F19591EF001D0915C7EC
Generated.... 06.01.2010, 13:04:42
Completed.... 06.01.2010, 13:04:43
Error Info... 00 671: ABAP/4 processor: SYNTAX_ERRORHi,
Goto T.code ST22 - ABAP runtime error
click today button,
check for the error and double click to get the detailed long text
see "How to correct the error"
take a help of ABAPer
Regards
senya -
Express document "Update was terminated" received from author in MM01
Hi gurus,
When we are trying to create the MM by using the t-code MM01 we are getting the error message as Express document "Update was terminated" received from author "XXXX". Based on this error we have verified the t-code SM13 and received the below details and there is no dumb in ST22.
Update was terminated
Created SOLIYAPPAN SADASIVAM on 23.11.2011 ; 05:07:18
Update was terminated
System ID.... MD1
Client....... 500
User..... SSADASIVAM
Transaction.. MM01
Update key... 4ECC6061B2567110E10080000A795665
Generated.... 23.11.2011, 05:07:18
Completed.... 23.11.2011, 05:07:18
Error Info... Error inserting in table MBEW
Please suggest me how to fix this issue.
Thanks
SadaHi Jürgen,
When we verified SM13 the error is occuring as below when we double click the SM13 error.
1 MATERIAL_UPDATE_DB V1 (no retry) Error
Please suggest me how to proceed further.
Thanks
Sada -
Express Document "update was terminated" received from author in MIGO
Hi All,
We are getting the below error message at the time of goods receipt at receving plant for STO OBD delivery, when user trying to post the GR, then GR number created and when they try to open the number , then they get this error message.
Express Document "update was terminated" received from author
When we went in to SM13 and saw that everything is fine , there was no message in red.
Erro details showing the s032 update error with Internal session terminated with a runtime error DBIF_RSQL_SQL_ERROR.
Short text
SQL error "-413" when accessing table "S032".
What happened?
Error Text of the Database: "SQL0413N Overflow occurred during numeric data type conversion. SQLSTATE=22003 row=1"
Please help to solve this issue ASAP.
Thanks,
MuruHello
This is probably an overflow of a field on the infostructure S032.
Please check this table for this material and plant combination and observe if there is any field with a high value.
As a workaround, you may deactivate the updating of S032 via OMO9 to "no updating" to avoid the dump.
Best regards,
Caetano Almeida -
MRKO Error : Express document "update was terminated" received from author
Hi Gurus,
When settling Consignment through MRKO we are getting error 'Express document "update was terminated" received from author xxxx' in ECD system.
At workplace inbox, the error shows "Error Info... XS 007: Address invalid".
Please note that I am not getting any short dump at ST22 for the same error.
My queries are:
1. How can I create a short dump for this error....this will help in analyzing the issue.
2. What are the probable reasons for this error can be.
Thanks in advance for helping.
Regards,
MCHi,
I have tried SM13 and getting ERROR XS007(Address Invalid).
Diagnosis says:
The address specified is invalid or initial (address value, address type INT).
Procedure:
Enter a correct address that is suitable for address type INT.
The formats are:
1. INT (Internet Mail Address): <name>@<domain> or comment<name>@<domain> or <name>@<domain>(comment)
2. FAX(fax addresses): <country><number>
ETC
Now as already told, I have properly maintained mail-id in "Email" field & "StandardComm.Mtd" field as E-Mail of the Vendor Master.
The mail ID is my official ID and working.
Please advice further.
Regards,
MC. -
PM workorder printing problem -- *"Express document "Update was terminated"
Hi All,
I have designed a PM workorder smartform.
This form is getting triggered from the standard transaction IW32. There is a Z driver program and Z smartform.
However when I am directly trying to print the this smartform(Order> Print>order) using the shoppaper number customized for my Zdriver program and zsmartform, the workorder gets saved but then on again entering into the workorder its gives the message :-
"Express document "Update was terminated" received from author "XXX".
And hence I am not able to print the smartform.
However when I see its print preview and then try to print the smartform its allowing me to do so.
Can anyone provide me the solution for the same.
Thanks in advance for your help.Hi,
the exception in fm CO_BH_ORD_HEADER_PRE_READ appears in two places:
1.-
IF import_message_id IS INITIAL.
ELSE.
IMPORT order_tab FROM MEMORY ID import_message_id.
ENDIF.
* Aussteigen falls überhaupt kein Auftrag/Netzplan gefunden wird
IF NOT sy-subrc IS INITIAL.
RAISE not_found.
ENDIF.
2.-
IF no_afpo IS INITIAL.
ELSE.
IMPORT pos_tab FROM MEMORY ID import_message_id.
ENDIF.
* Aussteigen falls überhaupt kein Auftrag/Netzplan gefunden wird
IF NOT sy-subrc IS INITIAL AND
counter_tot = 1 AND
no_afpo IS INITIAL.
RAISE not_found.
ENDIF.
Put a break point and execute to see what is going on.
Best regards. -
Earmarked funds - Express document "Update was terminated" error
Hi,
When i create a contract(RECN), a earmarked funds document getting created and it updates the table KBLK with single primary key BELNR.
I see in the Tcode OK60, the number range assinged is '05' - 0200000000 to 0299999999.
KBLK table has entries created from 0200000000 to 0299994311 which were created earlier.
From this financial year, when i am creating a contract, the new BELNR is started again from 0200000000 series, hence it throws an error message "Express document "Update was terminated" since entries are already exist in the KBLK table.
Finally i understand we have to change number range assignment.
Where can i do this? Please help if my understanding is wrong, how can i rectify this issue.
Thanks,
Bharath.Hi,
U can change the number range for the contract for this fical year and make it start from 0299994312 to 0299999999.
But it seems u have already used most of the numbers, so go for a new number range for both the documents.
Hope this helps
Deepak
Maybe you are looking for
-
Morning when posting one vendor, it credits one G/L and debits the other. how do i clear them? Regards
-
Loose Desired Fonts during Online PDF Conversion
Often fonts change when I upload files to the acrobat.com website to convert them to .pdfs. How can I request that fonts I want and that are visible on my computer monitor to be embedded into the PDF? Ajacks72
-
hi, I am using the standard report of S_ALR_87012168 to identify the due date analysis of customers. in that report i can't get the amount in foregin currency. only local currency amount is displaying. when creating a invoice we enter both local curr
-
Default adminUser and password for jazn tool.
HI Can any one please tell me the default admin user and password of jazn tool. i want to add new user but i don't know the default admin user and password. tnx. Mahesh
-
I know I have done this in CVI before.. I just can't remember how I did it.. (braindead today???!!!???) Here goes: Take a string: "Mary had a little lamb" FindPattern "little" resulting string: ""Mary had a lamb" What I have works up to finding the