{"id":7668,"date":"2025-08-27T15:33:11","date_gmt":"2025-08-27T10:03:11","guid":{"rendered":"https:\/\/www.sapewmhelp.com\/?question=difference-betweeen-call-transaction-and-session-method"},"modified":"2025-08-27T15:33:11","modified_gmt":"2025-08-27T10:03:11","slug":"difference-betweeen-call-transaction-and-session-method","status":"publish","type":"question","link":"https:\/\/www.sapewmhelp.com\/?question=difference-betweeen-call-transaction-and-session-method","title":{"rendered":"Difference betweeen call transaction and session method ?"},"content":{"rendered":"<p><strong>Call Transaction Method<\/strong><\/p>\n<ul>\n<li>\n<p>Executes the transaction <strong>immediately<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Data is processed <strong>online<\/strong> in the same program run.<\/p>\n<\/li>\n<li>\n<p>Uses the ABAP statement:<\/p>\n<\/li>\n<\/ul>\n<p>CALL TRANSACTION &#8216;MM01&#8217; USING lt_bdcdata MODE &#8216;N&#8217; UPDATE &#8216;S&#8217;.<\/p>\n<ul>\n<li>\n<p>Error handling: Errors can be captured in the <strong>BDCMSGCOLL<\/strong> table.<\/p>\n<\/li>\n<li>\n<p>Faster but less reliable for large data volumes.<\/p>\n<\/li>\n<li>\n<p>If the system fails, data may be lost (no log saved unless programmed explicitly).<\/p>\n<\/li>\n<\/ul>\n<p><strong>Session Method<\/strong><\/p>\n<ul>\n<li>\n<p>Creates a <strong>batch session<\/strong> (stored in SAP system).<\/p>\n<\/li>\n<li>\n<p>Session can be executed <strong>later via SM35<\/strong> (Batch Input: Session Overview).<\/p>\n<\/li>\n<li>\n<p>Uses Function Modules: <code>BDC_OPEN_GROUP<\/code>, <code>BDC_INSERT<\/code>, <code>BDC_CLOSE_GROUP<\/code>.<\/p>\n<\/li>\n<li>\n<p>Provides <strong>detailed error log automatically<\/strong>.<\/p>\n<\/li>\n<li>\n<p>More reliable for <strong>large volumes of data<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Slower than Call Transaction because it records session and processes later.<\/p>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Main Keyword:<\/strong><\/p>\n<table>\n<thead>\n<tr>\n<th>Feature<\/th>\n<th><strong>Call Transaction<\/strong><\/th>\n<th><strong>Session Method<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Execution<\/td>\n<td>Immediate (online)<\/td>\n<td>Stored session, run later via SM35<\/td>\n<\/tr>\n<tr>\n<td>Speed<\/td>\n<td>Faster<\/td>\n<td>Slower (creates and processes session)<\/td>\n<\/tr>\n<tr>\n<td>Error Handling<\/td>\n<td>Must capture manually (BDCMSGCOLL)<\/td>\n<td>Automatic error log in SM35<\/td>\n<\/tr>\n<tr>\n<td>Reliability<\/td>\n<td>Less reliable for huge data<\/td>\n<td>More reliable for mass data loads<\/td>\n<\/tr>\n<tr>\n<td>Logging<\/td>\n<td>No session log<\/td>\n<td>Full log available in SM35<\/td>\n<\/tr>\n<tr>\n<td>Use Case<\/td>\n<td>Small\/medium data, online processing<\/td>\n<td>Large volume data migration, background<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","question-category":[158],"question_tags":[178,390,177,389],"class_list":["post-7668","question","type-question","status-publish","hentry","question-category-abap","question_tags-abap","question_tags-call-transaction","question_tags-sap","question_tags-session-method"],"_links":{"self":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question\/7668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question"}],"about":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7668"}],"wp:attachment":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7668"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion-category&post=7668"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion_tags&post=7668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}