Skip to Content
0
Former Member
Oct 22, 2007 at 08:32 AM

FACING PROBLEM IN macro

19 Views

Hi Experts,

i am facing a problem while upgrading a 4.6c to ecc 6.1program. its a macro program. after checking unicode a error is coming like.IN TEXT MODE THE ENCODING ADDITION MUST BE SPECIFIED.

DEFINE m_open.

----


  • FORM F_DSOPEN_&1_&2 *

----


  • This is a macro to dynamically open unix files *

----


  • --> dsn *

  • --> type *

  • --> c *

----


form f_dsopen_&1_&2 using

p_xpath.

data msg(80).

open dataset p_xpath for &1 in &2 mode message msg.

if sy-subrc <> 0.

message e135(fr) with p_xpath msg.

endif.

endform.

END-OF-DEFINITION.

*----


m_open input text.----


ERROR.

m_open input binary.

m_open output text.

m_open output binary.

.

PLEASE TELL ME HOW CAN I RESOLVE IT.

Thanks & Regards

Pankaj Acharya