cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Scrambling Error

Former Member
0 Kudos

Hi Friends,

I'm trying to scramble the operation text from the process orders. For this I have written custom scrambling rule ZCNV_SCR_OPTEXT as include name and ZCNV_SCR_OPTEXT as the routine name. When I try to execute, I'm getting error

Error;"include." "TYPE ..." "METHODS."  "STRUCTURE ..."  or "include IF FOUND." expected after "INCLUDE".

Message Class CNV_TDMS_SCR_UI

Message No. 111.

Could you please let me know where I went wrong?

Thank you.

Kishore

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Kishore,

Can you paste the code that is inside the include if possible ? Also when are you getting this error ? Is it in any activity execution or when you are validating the rule?

Best Regards,

Uma Tharmarajan.

Former Member
0 Kudos

Hi Uma,

I just had this code to log the values... and just to know whether the code is being executed or not. For that I have created a Z table ZTDMS_LOG and tried to populate the data into the table.

 

data: wa_ZTDMS_LOG type ZTDMS_LOG.

wa_ZTDMS_LOG-maktx_old = p_value.

perform scramble_data USING p_rule

CHANGING p_value

p_changed.

 

translate p_value to upper case.

 

wa_ZTDMS_LOG-maktx_old = p_value.

wa_ZTDMS_LOG-s_date = sy-datum.

wa_ZTDMS_LOG-s_time = sy-uzeit.

modify ZTDMS_LOG from wa_ZTDMS_LOG.

I'm getting this error while executing the process. I'm able to validate the rule.

Please let me know if you need any more details.

Thanks,

Kishore

Former Member
0 Kudos

Hi Kishore,

This coding would give you syntax errors. Can you open a OSS message in component CA-TDM-SCR and open connections for your Control/Central system ?

Best Regards,

Uma