<?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 Re: Regarding Functon Modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396024#M191870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt; tables will be having the values which needs to be processed.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Eg&amp;lt;/b&amp;gt; For BAPI_PO_CHANGE  POITEM is a data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATAX&amp;lt;/b&amp;gt; will be the table which tells the function module which fields should be considered for process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Eg:&amp;lt;/b&amp;gt; For BAPI_PO_CHANGE  POITEMX is a datax table.&lt;/P&gt;&lt;P&gt;It will be just a flag which tells the fields to be considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;TM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jul 2006 10:54:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-05T10:54:47Z</dc:date>
    <item>
      <title>Regarding Functon Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396021#M191867</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;What is the purpose of EX: &amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt; &amp;amp; &amp;lt;b&amp;gt;DATAX&amp;lt;/b&amp;gt; Internal tables in Function Modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 10:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396021#M191867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Functon Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396022#M191868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA table has all the fields related to a document and DATAX has one character flag field for each field in the structure DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg DATA - VBELN VKGRP KUNNR &lt;/P&gt;&lt;P&gt;DATAX VBELN VKGRPX(1) KUNNRX(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to change the document attributes you need to pass the new values to the fields in DATA and the corresponding flags in DATAX should be set to X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;P&gt;*Please reward useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 10:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396022#M191868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Functon Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396023#M191869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATAX is generally used for setting a flag to the value.&lt;/P&gt;&lt;P&gt;see the example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: POHEAD  TYPE BAPIMEPOHEADER.&lt;/P&gt;&lt;P&gt;DATA: POHEADX TYPE BAPIMEPOHEADERX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POHEAD-COMP_CODE = '0010'.&lt;/P&gt;&lt;P&gt;POHEADX-COMP_CODE  = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_PO_CREATE1'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    POHEADER         = POHEAD&lt;/P&gt;&lt;P&gt;    POHEADERX        = POHEADX&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;    EXPPURCHASEORDER = EX_PO_NUMBER&lt;/P&gt;&lt;P&gt;    EXPHEADER        = EXP_HEAD&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    RETURN           = I_RETURN&lt;/P&gt;&lt;P&gt;    POITEM           = POITEM&lt;/P&gt;&lt;P&gt;    POITEMX          = POITEMX&lt;/P&gt;&lt;P&gt;    POSCHEDULE       = POSCHED&lt;/P&gt;&lt;P&gt;    POSCHEDULEX      = POSCHEDX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 10:52:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396023#M191869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T10:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Functon Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396024#M191870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt; tables will be having the values which needs to be processed.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Eg&amp;lt;/b&amp;gt; For BAPI_PO_CHANGE  POITEM is a data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATAX&amp;lt;/b&amp;gt; will be the table which tells the function module which fields should be considered for process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Eg:&amp;lt;/b&amp;gt; For BAPI_PO_CHANGE  POITEMX is a datax table.&lt;/P&gt;&lt;P&gt;It will be just a flag which tells the fields to be considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;TM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 10:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396024#M191870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Functon Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396025#M191871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA : is the structure to hold the values of certain fields.&lt;/P&gt;&lt;P&gt;DATAX : the structure of this also similar to DATA but the field attributes will be CHAR 1. its just indicating what values in DATA is given for modification.&lt;/P&gt;&lt;P&gt;the fields who has X in DATAX, those fields from DATA will be taken for consideration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example : BAPI_MATERIAL_SAVEDATA function module,&lt;/P&gt;&lt;P&gt;we have CLIENTDATA &amp;amp; CLIENTDATAX.&lt;/P&gt;&lt;P&gt;both these structures having 95 fields. to inform to sap what values we are populating in CLIENTDATA, we will keep 'X' to those fields in CLIENTDATAX. sap will consider only 'X' fields from CLIENTDATAX structure &amp;amp; retrieves values for only those fields in CLIENTDATA structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 10:57:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functon-modules/m-p/1396025#M191871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T10:57:11Z</dc:date>
    </item>
  </channel>
</rss>

