<?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: Error in adobe form in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145077#M747634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Matthew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="625405"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied the same program to my abap editor i just used my own function module thats it. &lt;/P&gt;&lt;P&gt;This program  u can find in so many threads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 11:22:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-14T11:22:04Z</dc:date>
    <item>
      <title>Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145070#M747627</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;While calling a adobe form i got an error in my report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         CALL_FUNCTION_PARM_MISSING&lt;/P&gt;&lt;P&gt;Except.                CX_SY_DYN_CALL_PARAM_MISSING&lt;/P&gt;&lt;P&gt;Date and Time          14.12.2007 14:05:35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Short text&lt;/P&gt;&lt;P&gt;     Incorrect parameter with CALL FUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What happened?&lt;/P&gt;&lt;P&gt;     When calling a function module, one of the parmaeters was not&lt;/P&gt;&lt;P&gt;     specified.&lt;/P&gt;&lt;P&gt;     Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The current ABAP program "!ADOBE" had to be terminated because it has&lt;/P&gt;&lt;P&gt;     come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Error analysis&lt;/P&gt;&lt;P&gt;     An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;     The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was&lt;/P&gt;&lt;P&gt;      not caught and&lt;/P&gt;&lt;P&gt;     therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;     The reason for the exception is:&lt;/P&gt;&lt;P&gt;     When calling the function module "/1BCDWB/SM00000081", one of the parameters&lt;/P&gt;&lt;P&gt;     needed according to the interface description was not specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     This parameter was "BOOKINGS".&lt;/P&gt;&lt;P&gt;Missing Handling of System Exception&lt;/P&gt;&lt;P&gt;    Program                                 !ADOBE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger Location of Exception&lt;/P&gt;&lt;P&gt;    Program                                 !ADOBE&lt;/P&gt;&lt;P&gt;    Include                                 !ADOBE&lt;/P&gt;&lt;P&gt;    Row                                     50&lt;/P&gt;&lt;P&gt;    Module Name                             START-OF-SELECTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; and this is my program&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZADOBE
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZADOBE.
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
DATA: FM_NAME TYPE RS38L_FNAM.
PARAMETERS : pa_cusid TYPE scustom-id.

SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.

SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.

outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.

CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc &amp;lt;&amp;gt; 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.

CALL FUNCTION '/1BCDWB/SM00000081'
EXPORTING
/1bcdwb/docparams = docparams
is_customer = is_customer
it_bookings = it_bookings
* IV_IMAGE_URL =
iv_sending_country = 'US'
* IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
.
IF sy-subrc &amp;lt;&amp;gt; 0.
*MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
*WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.


CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
.
IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;My adobe form is a copy of standard adobe form FP_EXAMPLE_01&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 08:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145070#M747627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T08:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145071#M747628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the error message says, you've not properly coded your call to  /1BCDWB/SM00000081 You have to have a BOOKINGS parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 09:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145071#M747628</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-14T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145072#M747629</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;Plz give me solutionn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 10:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145072#M747629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T10:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145073#M747630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a BOOKINGS parameter!  Look at the function module through SE37, and see what type is expected.  It should give you a hint of what to put in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 10:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145073#M747630</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-14T10:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145074#M747631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I had already made some changes in my coding you can check that below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; *&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZADOBE
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZADOBE.
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : IT_CONNECTIONS TYPE TY_CONNECTIONS.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
DATA: FM_NAME TYPE RS38L_FNAM.
PARAMETERS : pa_cusid TYPE scustom-id.

SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.

SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.

outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.

CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc &amp;lt;&amp;gt; 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.



CALL FUNCTION '/1BCDWB/SM00000080'
EXPORTING
/1bcdwb/docparams = docparams
customer = is_customer
bookings = it_bookings
CONNECTIONS = IT_CONNECTIONS
* IV_IMAGE_URL =
iv_sending_country = 'US'
* IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
.
IF sy-subrc &amp;lt;&amp;gt; 0.
*MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
*WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.


CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
.
IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Now its going to short dump saying that&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    Function parameter "IV_SENDING_COUNTRY" is unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "ZADOBE" had to be terminated because it has&lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Function module "/1BCDWB/SM00000080" was called&lt;/P&gt;&lt;P&gt;    with the parameter "IV_SENDING_COUNTRY".&lt;/P&gt;&lt;P&gt;    This parameter is not defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was&lt;/P&gt;&lt;P&gt;     not caught and&lt;/P&gt;&lt;P&gt;    therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    Function module "/1BCDWB/SM00000080" was called&lt;/P&gt;&lt;P&gt;    with the parameter "IV_SENDING_COUNTRY".&lt;/P&gt;&lt;P&gt;    This parameter is not defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 10:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145074#M747631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145075#M747632</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;If i comment the line &lt;/P&gt;&lt;P&gt;iv_sending_country = 'US'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then its showing an message as &amp;lt;b&amp;gt;No job started&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 10:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145075#M747632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T10:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145076#M747633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use a parameter that's not defined - IV_SENDING_COUNTRY is not a parameter of the function module you are calling.  The error means precisely what it says.  Do you understand function modules at all?  I suggest you read the ABAP help for CALL FUNCTION MODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, the function module parameters are defined in tx SFP in the "interface" section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 10:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145076#M747633</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-14T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145077#M747634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Matthew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="625405"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied the same program to my abap editor i just used my own function module thats it. &lt;/P&gt;&lt;P&gt;This program  u can find in so many threads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 11:22:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-adobe-form/m-p/3145077#M747634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T11:22:04Z</dc:date>
    </item>
  </channel>
</rss>

