cancel
Showing results for 
Search instead for 
Did you mean: 

How to debugge RUN_CURR_CONVERSION

Former Member
0 Kudos

Hi experts!

I want to debug the script logic fxtrans.lgf but i dont want to use the UJKT.

I want to use SE24 transacion. I try debug the Method RUN_CURR_CONVERSION on the class CL_UJP_CURR_CONVERSION

but when I try to execute the method The following DUMP occurs:

GETWA_NOT_ASSIGNED

I use the following parameters:

I_APPSET ZTECSA

I_APPLICATION LEGAL

I_CATEGORY 100

I_CURRENCY BRL

I_GROUP G_T1

I_MODULE_ID ???????

I_RATEENTITY 1001

I_REF_TIMEID 2010.DEC

I_SIMU_CAT_MEMBER ?????

I don´t know how information i need to use on fields ????

My script logic:

*RUN_PROGRAM CURR_CONVERSION

//*SELECT(%GROUPS_SET%,"[ID]",GROUPS,"[CURRENCY_TYPE]='R'")

CATEGORY = %VERSAO_SET%

GROUP = %GROUPS_SET%

TID_RA = %MESANO_SET%

RATEENTITY = GLOBAL

OTHER = //INTCO=%INTCO_SET%]

*ENDRUN_PROGRAM

Thanks

Marilia

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200327
Active Contributor
0 Kudos

Hi Marilia,

Usually you can't debug a Method directly. This is mostly because whatever runs before that Method is called creates an environment in which Method runs. The most important part of the environment is created by Method CONSTRUCTOR, but even that could be insufficient.

Can you please tell why you don't want to use UJKT? It is provided specifically for similar purposes. You can just put a break-point in your Method and start running your script in UJKT. This way all the environment will be created for you and you can go directly to debugging of that Method.

Please let me know if this doesn't work for you.

Regards,

Gersh