<?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: Problem in passing parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779845#M647934</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;check whether u had declared P_ACCOUNTGL as a work area  or internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :P_ACCOUNTGL type bapiache08. ////////// means  a work area not internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       P_ACCOUNTGL like table of bapiache08.    ///////// its a internal table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2007 10:35:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-10T10:35:05Z</dc:date>
    <item>
      <title>Problem in passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779840#M647929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know why the following code always have "P_ACCOUNTGL" is not an internal table." error message. I've already defined P_ACCOUNTGL as type of table. thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ls_documentheader TYPE bapiache08,&lt;/P&gt;&lt;P&gt;        lt_accountgl      like table of bapiacgl08 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM create_gl_doc USING ls_documentheader&lt;/P&gt;&lt;P&gt;                                                  lt_accountgl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form create_gl_doc using p_documentheader&lt;/P&gt;&lt;P&gt;                         p_accountgl&lt;/P&gt;&lt;P&gt;                         p_currencyamount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      documentheader = p_documentheader&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      obj_type       = lv_obj_type&lt;/P&gt;&lt;P&gt;      obj_key        = lv_obj_key&lt;/P&gt;&lt;P&gt;      obj_sys        = lv_obj_sys&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      accountgl      = p_accountgl&lt;/P&gt;&lt;P&gt;      currencyamount = p_currencyamount&lt;/P&gt;&lt;P&gt;      return         = lt_return&lt;/P&gt;&lt;P&gt;      extension1     = lt_extension1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      others         = 1.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 10:15:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779840#M647929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T10:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779841#M647930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare the internal tabel of type BAPIACGL08  or convert it into one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 10:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779841#M647930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779842#M647931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you explain more, i've already defined internal table of of BAPIACGL08. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 10:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779842#M647931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T10:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779843#M647932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason was the type conflict in matching of the parameters to be pased to be passed to the function module ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check out the tables variables (accountgl) for the function module in se37 tcode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 10:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779843#M647932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T10:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779844#M647933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here si the revised code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;** changes
types: types_accountgl type standard table of bapiacgl08.

data: ls_documentheader TYPE bapiache08,
*lt_accountgl like table of bapiacgl08 with header line.
lt_accountgl type types_accountgl.

PERFORM create_gl_doc USING ls_documentheader
lt_accountgl


form create_gl_doc using p_documentheader
p_accountgl type types_accountgl
p_currencyamount type bapiache08.


CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
EXPORTING
documentheader = p_documentheader
IMPORTING
obj_type = lv_obj_type
obj_key = lv_obj_key
obj_sys = lv_obj_sys
TABLES
accountgl = p_accountgl
currencyamount = p_currencyamount
return = lt_return
extension1 = lt_extension1
EXCEPTIONS
others = 1.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will Work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anirban M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 10:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779844#M647933</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2007-09-10T10:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in passing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779845#M647934</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;check whether u had declared P_ACCOUNTGL as a work area  or internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :P_ACCOUNTGL type bapiache08. ////////// means  a work area not internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       P_ACCOUNTGL like table of bapiache08.    ///////// its a internal table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 10:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-passing-parameter/m-p/2779845#M647934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T10:35:05Z</dc:date>
    </item>
  </channel>
</rss>

