Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pass code 4.6 version to 6.0 version

Former Member
0 Likes
585

Hi i have this code and in the 6.0 version is obsolete, i need do the same with other code, can you help me please?,

IMPORT text-version

ptext

FROM DATABASE pcl1(tx)

ID tx-key

USING pcl1_exp_imp(sapfp50p).

thanx a lot.

4 REPLIES 4
Read only

Former Member
0 Likes
546

Welcome to SCN!

At least part of the problem may be due to the way text-version and tx-key are defined. Can you post their declarations please?

Rob

Read only

Kanagaraja_L
Active Contributor
0 Likes
546

You have to Use

To WA (workarea)

after

FROM DATABASE pcl1(tx)......

Ex: data wa_pcl1 like line of pcl1.

IMPORT text-version

ptext

FROM DATABASE pcl1(tx)

to wa_pcl1

ID tx-key

USING pcl1_exp_imp(sapfp50p).

Kanagaraja L

Edited by: Kanagaraja Lokanathan on Jun 25, 2009 5:20 PM

Edited by: Kanagaraja Lokanathan on Jun 25, 2009 5:22 PM

Read only

Former Member
0 Likes
546

i have this

DATA: BEGIN OF text-version,

nummer TYPE x VALUE '02',

END OF text-version.

DATA: tx-key LIKE pskey.

thanx.

Read only

0 Likes
546

Try text_version instead of text-version and tx_key instead of tx-key. The use of dashes is not allowed in field names. That should get rid of a couple of the problems.

Rob