<?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 IDOC_INPUT_CREDITOR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-creditor/m-p/12576267#M2008946</link>
    <description>&lt;P&gt;Dear SDN community members,&lt;/P&gt;
  &lt;P&gt;I'm using function module IDOC_INPUT_CREDITOR to post Creditor masterdata from external system to SAP.&lt;/P&gt;
  &lt;P&gt;The report start and fill all segments and the Function module IDOC_INPUT_CREDITOR is called&lt;/P&gt;
  &lt;P&gt;in the next step a document is posted in agency business module via following function module: WLF_REGU_LIST_HEAD_MAINTAIN and WLF_REGU_LIST_ITEM_MAINTAIN. this function module need the new created creditor&lt;/P&gt;
  &lt;P&gt;My problem is following:&lt;/P&gt;
  &lt;P&gt;when i run the report the first time, the creditor is created ( i can see the new created number in the table) but in the 2nd step of the report, when i try to create the agency business document, we receive an error that this creditor do not exist.&lt;/P&gt;
  &lt;P&gt;when i restart the program again and and try to create the agency business document with the creditor created in the previous run, the program works without error. &lt;/P&gt;
  &lt;P&gt;in debugger i find out that before the creditor is created, IDOC_INPUT_CREDITOR checks if the given number of creditor is in lfa1, if not then he fills the global table GT_LFA1_NF with that number. but at the end of IDOC_INPUT_CREDITOR this global table is not refresh.&lt;/P&gt;
  &lt;P&gt;How can i refresh the global Table GT_LFA1_NF at the end of IDOC_INPUT_CREDITOR?&lt;/P&gt;
  &lt;P&gt;SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; }SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; }SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFF&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 21:08:02 GMT</pubDate>
    <dc:creator>germain_azambou2</dc:creator>
    <dc:date>2022-08-12T21:08:02Z</dc:date>
    <item>
      <title>IDOC_INPUT_CREDITOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-creditor/m-p/12576267#M2008946</link>
      <description>&lt;P&gt;Dear SDN community members,&lt;/P&gt;
  &lt;P&gt;I'm using function module IDOC_INPUT_CREDITOR to post Creditor masterdata from external system to SAP.&lt;/P&gt;
  &lt;P&gt;The report start and fill all segments and the Function module IDOC_INPUT_CREDITOR is called&lt;/P&gt;
  &lt;P&gt;in the next step a document is posted in agency business module via following function module: WLF_REGU_LIST_HEAD_MAINTAIN and WLF_REGU_LIST_ITEM_MAINTAIN. this function module need the new created creditor&lt;/P&gt;
  &lt;P&gt;My problem is following:&lt;/P&gt;
  &lt;P&gt;when i run the report the first time, the creditor is created ( i can see the new created number in the table) but in the 2nd step of the report, when i try to create the agency business document, we receive an error that this creditor do not exist.&lt;/P&gt;
  &lt;P&gt;when i restart the program again and and try to create the agency business document with the creditor created in the previous run, the program works without error. &lt;/P&gt;
  &lt;P&gt;in debugger i find out that before the creditor is created, IDOC_INPUT_CREDITOR checks if the given number of creditor is in lfa1, if not then he fills the global table GT_LFA1_NF with that number. but at the end of IDOC_INPUT_CREDITOR this global table is not refresh.&lt;/P&gt;
  &lt;P&gt;How can i refresh the global Table GT_LFA1_NF at the end of IDOC_INPUT_CREDITOR?&lt;/P&gt;
  &lt;P&gt;SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; }SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; }SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFF&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 21:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-creditor/m-p/12576267#M2008946</guid>
      <dc:creator>germain_azambou2</dc:creator>
      <dc:date>2022-08-12T21:08:02Z</dc:date>
    </item>
  </channel>
</rss>

