Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

P&F Issue when using SAP_PD and SAP_PA same form scenario

$
0
0

Hi guys,

 

I have a requirement to transfer the employee to an existing position and also change this destination position attributes, I mean Job relationship, Cost Center and other infotypes such as P1050.

 

I start the process with SAP_PA due to the fact the user should select the affected employee first. Then in the form the user picks the destination position and change its attributes.

 

I set up SAP_PD to save the position attributes and SAP_PA to run a transfer action and assigned the destination position to field I0001_PLANS of infotype 0001.

 

When I execute the process and click on Check button get the dump below.

 

Category                     ABAP Programming Error

Runtime Errors         UNCAUGHT_EXCEPTION

Except.                        CX_HRPA_INVALID_PARAMETER

ABAP Program           CL_HRASR00_PAITF_ADAPTER======CP

Application Component  PA-AS

Date and Time          23.06.2013 03:11:23

 

 

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_HRPA_INVALID_PARAMETER', was not

caught in

procedure "IF_HRASR00_PAITF_ADAPTER~DO_OPERATIONS" "(METHOD)", nor was it

propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

Invalid parameter EXCEPTION, value

 

The occurrence of the exception is closely related to the occurrence of

a previous exception "CX_HRPA_VIOLATED_ASSERTION", which was raised in the

program "CL_HRPA_OM_INTEGRATION========CP",

specifically in line 214 of the (include) program

"CL_HRPA_OM_INTEGRATION========CCIMP".

The cause of the exception was:

 

"UNCAUGHT_EXCEPTION" "CX_HRPA_INVALID_PARAMETER"

"CL_HRPA_RESOLVE_EXCEPTION=====CP" or "CL_HRPA_RESOLVE_EXCEPTION=====CM00

"RESOLVE"

 

 

*------------------------------------------------------------------------------------------------------------------------------------------- *

if we have a look at the exact point of the dump we can get a description of SAP.

* If we can not remap we would like to just re-raise the

* exception like below like "RAISE EXCEPTION exception.".

* Unfortunately the kernel will then forget about the

* original source position.

 

* So this is the fallback strategy. Calling this method

* is only allowed if the exception can be resolved. Since

* this is not the case we indicate a parameter violation.

   RAISE EXCEPTION TYPE cx_hrpa_invalid_parameter

     EXPORTING

       previous  = exception

       parameter = 'EXCEPTION'.

 

 

 

I realized that some people succeed using SAP_PD and SAP_PA in the same form scenario, could you please help me on this issue or give some directions??

 

thanks in advance.


Viewing all articles
Browse latest Browse all 1237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>