cancel
Showing results for 
Search instead for 
Did you mean: 

Generate PDF form

Former Member
0 Kudos

Hi all,

I'm using the code below to generate a pdf form ('ZPDF_TEST_FORM').

When the function in FM_NAME is called, it returns with SY-SUBRC eq 2 and this error message:

Adobe document services error: SOAP Runtime

Exception: CSoapExceptionFault : SOAP (100102)

Any ideas??

Thanks,

Jeroen

data: FP_OUTPUTPARAMS   type SFPOUTPUTPARAMS,
      FM_NAME           type RS38L_FNAM,
      FP_DOCPARAMS      type SFPDOCPARAMS,
      LV_FORMOUTPUT     type FPFORMOUTPUT.

initialization.
  FP_OUTPUTPARAMS-GETPDF = 'X'.

  call function 'FP_JOB_OPEN'
    changing
      IE_OUTPUTPARAMS = FP_OUTPUTPARAMS
    exceptions
      CANCEL          = 1
      USAGE_ERROR     = 2
      SYSTEM_ERROR    = 3
      INTERNAL_ERROR  = 4
      others          = 5.

  call function 'FP_FUNCTION_MODULE_NAME'
    exporting
      I_NAME     = 'ZPDF_TEST_FORM'
    importing
      E_FUNCNAME = FM_NAME.

  call function FM_NAME
    exporting
      /1BCDWB/DOCPARAMS  = FP_DOCPARAMS
    importing
      /1BCDWB/FORMOUTPUT = LV_FORMOUTPUT
    exceptions
      USAGE_ERROR        = 1
      SYSTEM_ERROR       = 2
      INTERNAL_ERROR     = 3.

  call function 'FP_JOB_CLOSE'
    exceptions
      USAGE_ERROR    = 1
      SYSTEM_ERROR   = 2
      INTERNAL_ERROR = 3
      others         = 4.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Gurus,

i too have the same issue but unable to solve the issue.

Adobe document service error: SOAP Runtime Exception

Test Program: Version Information (for Analysis Only) 1

***************************************************

      • SYSTEM ERROR

***************************************************

ERROR CODE : 100.102

ERROR MESSAGE :

SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document /java.lang.StackOverflowError/<ns1:java.lang.StackOverflowErr

SOAP Framework error: SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document /java.lang.StackOverflowError/<ns1:java

No version information available

Former Member
0 Kudos

This should be due to a user authorization error.

You should look for the ADS Configuration Guide at https://www.sdn.sap.com/irj/sdn/adobe -> Installation and Configuration and pick your scenario or http://help.sap.com/saphelp_nw70/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm

Look specially at the chapter 5 Creating a User in the SAP NetWeaver AS ABAP for Basic Authentication -> Assigning the Security Role in Java at the ADS Conf. Guide.

If you need more information, I'll glad to assist you.

Regards,

Darwin Castillo

SAP Netweaver Consultant

Edited by: Darwin Castillo on May 17, 2009 6:27 AM

Former Member
0 Kudos

HI

GOOD

AS YOU HAVE MENTIONED IN YOUR QUETY IT IS NOT A COMPLETE REPORT,

ANYWAY I HOPE THERE WOULD BE SOME MISTAKE WHILE YOU R CALLING THE PDF FORM.

CHECK WITH THE FUNCTION MODULE.

THANKS

MRUTYUN

FredericGirod
Active Contributor
0 Kudos

Hi,

Read OSS notes : 717568, 724763.

Rgd

Frédéric

Former Member
0 Kudos

Hi,

Thanks for the fast reply..

This is the full error message:


Error in SOAP Framework: SOAP Runtime Exception: CSoapExceptionFault :
SOAP fault found in SOAP document  /User jver does not have access to method rpData./

<ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException
xmlns:ns1="http://sap-j2ee-engine/client-runtime-error"> User jv (100.102)

I suspect it to be an ADS related exception... I'll ask on