<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to know from what program is execute POSTING_INTERFACE_DOCUMENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969847#M1894135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know where i am calling the posting_interface_document FM or the call transaction FB01. I need to know in which program is the sentence because when we créate a document AE from a standar transaction we need to not allow to create the document, but when is created from a Z transaction we need to allow it. In the Z programs we do call transacton or use the posting_interface_document FM that starts a new LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;María&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 11:00:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-04-10T11:00:23Z</dc:date>
    <item>
      <title>how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969847#M1894135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know where i am calling the posting_interface_document FM or the call transaction FB01. I need to know in which program is the sentence because when we créate a document AE from a standar transaction we need to not allow to create the document, but when is created from a Z transaction we need to allow it. In the Z programs we do call transacton or use the posting_interface_document FM that starts a new LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;María&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969847#M1894135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-10T11:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969848#M1894136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please elaborate your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kannnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969848#M1894136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-10T11:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969849#M1894137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry. I try to explain better. I have a Z program in which I cal the posting_document_interface FM and also I do call tx FB01 and VF01. Then I have BTEs in which I make some checks. I would like to know in the BTE if I'am calling from the Z program or the standard transaction. Is there any way? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope now is better explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;María&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2015 07:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969849#M1894137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-11T07:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969850#M1894138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put break point in both and check which one is being executed in the BTE &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1249/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2015 08:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969850#M1894138</guid>
      <dc:creator>former_member195431</dc:creator>
      <dc:date>2015-04-11T08:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969851#M1894139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rajit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I put the breakpoint always say that is the FB01 the transaction. This is because when you make a call transaction starts a new LUW. This is my problema, I was thinking make a import and export sentence, but may be the concurrence can be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;María&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 08:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969851#M1894139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-12T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969852#M1894140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it the "new" debug? if yes, you can find the caller programs in the 'Abap and Screen Stack' under the 'Desktop 2'&amp;nbsp; tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_erp60_sp/helpdata/en/7b/0441c9f2e0174687bb77e69ce70f69/content.htm" title="https://help.sap.com/saphelp_erp60_sp/helpdata/en/7b/0441c9f2e0174687bb77e69ce70f69/content.htm"&gt;Stack - ABAP - Analysis Tools - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 11:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969852#M1894140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-12T11:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969853#M1894141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write the code "BREAK user_name" wherein user_name is your sap login id - (sy-uname) in the beginning of the Z program and it will be triggered if and when the Z prog is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if it works &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1249/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 11:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969853#M1894141</guid>
      <dc:creator>former_member195431</dc:creator>
      <dc:date>2015-04-12T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969854#M1894142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use import/export statement.&lt;/P&gt;&lt;P&gt;Please export to memory id in your z program also post a flag there and import it in BTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Z program&lt;/P&gt;&lt;P&gt;data flag(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;free memory id '&amp;lt;zprogramname&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export flag to memory id '&amp;lt;zprogramname&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in BTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import flag from memory id '&amp;lt;zprogramname&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav Ahluwalia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 12:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969854#M1894142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-12T12:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to know from what program is execute POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969855#M1894143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your BTE implementing FM (or Validation Exit) you could call FM &lt;A href="http://search.sap.com/ui/scn#query=SYSTEM_CALLSTACK"&gt;SYSTEM_CALLSTACK&lt;/A&gt;, analyze the call stack looking for your “allowed” programs or FM, if not found, raise an error. Another solution, store some information in memory when using the allowed program, check it at same exits, don't forget to clear/free memory after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: Of course that won't perform in some case, e.g.SM35 execution won't any longer allow identification of the caller but you could try to get field APQI-PROGID from BKPF-GRPID and some date/time fields, RFC execution, etc won't either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 06:37:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-know-from-what-program-is-execute-posting-interface-document/m-p/10969855#M1894143</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-04-13T06:37:15Z</dc:date>
    </item>
  </channel>
</rss>

