Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

Dynamic action is not calling subroutine in the debug...

$
0
0

Hi,

We are writting a dynamic action and it is not calling the subroutine which is included in it. Tried several scenarios but nothing is working. not sure if this would have to do with Authorization.

 

Here is my config and code ...

      02 63 C ***HSY DELIMIT CORP FUNCTION IT0034 ON TERM

      02 65 P T001P-MOLGA = '07'/X

      02 66 P T001P-MOLGA = '10'/X

      02 67 P PSPAR-MASSN = 'H3'

      02 68 F ZDELIMIT_INFOTYPE(ZHR_PY_R0034)

      02 69 I MOD,0034,,,,(RP50D-DATE1),(P0000-ENDDA)/D

      02 70   ZDELIMIT_INFOTYPE(ZHR_PY_R0034)

      02 71   LIS9,0034,9014/D

      02 72 W P0034-ENDDA = RP50D-DATE1

 

 

SE38: Subroutine code:

   REPORT  ZHR_PY_R0034.

INCLUDE MPPDAT00.

TYPE-POOLS HRQTA.


TABLES: RP50D, P0000, t001p.
DATA: lw_begda TYPE BEGDA.


FORM ZDELIMIT_INFOTYPE .
SELECT SINGLE BEGDA FROM PA0000
     INTO lw_begda
     WHERE PERNR = p0000-pernr AND
           ENDDA = '99991231' AND
           MASSN = 'H3'.
IF sy-subrc = 0.
lw_begda = lw_begda - 1.
RP50D-DATE1 = lw_begda.
ENDIF.

ENDFORM.        

 

In the above code, i included MPPDAT00 to see if that will be called but it is not getting identifed at all. ..

Please help as i am out of ideas at this point... appreciate any kind of suggestions. .

 

Thanks          


Viewing all articles
Browse latest Browse all 7926

Trending Articles



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