UPDATE FM、CALL FUNCTION IN UPDATE TASK 技术标签:ABAP 查看原文 SAP数据更新的触发 和VBMOD表中,COMMITWORK时更新操作在UPDATE进程中执行,此时调用程序不等待被调用函数的返回,使用的为异步方式.如果使用COMMITWORKAND WAIT,此时调用程序等待被调用函数的返回,使用的为同步方式. 本地方式在调用函数前需要执行SET...
If the statementSET UPDATE TASK LOCALis executed before registration of an update function module in the currentSAP LUW, registration takes place in theABAP memoryrather than on the database, and for the current work process. The actual execution is triggered by the statementCOMMIT WORK. The for...
UPDATE MODULE里包含实际的数据库更新语句。 使用这样写法的FM不会立即执行,而是写进LOG TABLE,作为一个执行请求,一个SAP LUW下的更新请求存储在同一个UPDATE KEY下对一个SAP LUW来说UPDATE KEY是一个唯一的世界范围的识别码,意思就是一个SAP LUW的UPDATE KEY是唯一的,不会和另外的SAP LUW的UPDATE KEY重复 。
原文はこちらへ:IN UPDATE TASKを使用した汎用モジュールの呼出 命令 CALLFUNCTIONupdate_functionINUPDATETASK[EXPORTINGp1 = a1 p2 =a2 ...] [TABLESt1 = itab1 t2 = itab2 ...]. はじめに 汎用モジュールを実行する際にIN UPDATE TASKオプションを指定することにより、汎用モジュールが即時...
点F8,断点会停在SAPMSSY0的575行。双击变量vb_func_name,现在它的值是CRM_ACTIVITY_H_UPDATE_DU。 从callstack里,双击之前的程序,我们可以看到CRM_ORDER_TABLE_SAVE是如何调用CRM_ACTIVITY_H_UPDATE_DU的。 如果点F8,察看所有的callstacks,我们可以注意到变量VB_FUNC_NAME实际上就是被调用的更新模块的名称。
SAP Managed Tags: ABAP Development hi, In my program i have a requirement to save all the text after using COMMIT_TEXT. can anyone give me a sample code for using COMMIT_TEXT after SAVE_TEXT or give me an idea how and which FM to call in UPDATE TASK and do i required to use exp...
debug时发现,会直接跳过此函数,直接向下执行 发现失败的记录会记录到VBERROR表中
1,489 SAP Managed Tags: ABAP Development Hi, If update modules were called in update task and commit work (without wait) was triggered, assume that error occurred in update task, how does the system handle with this case? Is there a auto roll back? Regards, EricReply...
update fm update fm需要在属性中勾选“更新模块” 然后在程序中使用 call function in update task调用,此时不会立即执行函数,在执行到commit work时触发执行(注:debug隐式提交不会触发)。 update task不在当前dialog work process中执行,会在update work process中异步执行。dialog work process把修改数据写入簇表...
SAP Managed Tags: ABAP Development [debug function module in update task|http://www.sdn.sap.com/irj/scn/advancedsearch?query=debugfunctionmoduleinupdate+task#ABAP,%20General] Reply Former Member 2010 Mar 17 2:23 PM 1 Kudo 11,599 SAP Managed Tags: ABAP Development Hi, It is no...