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

EXPORT syntax

Former Member
0 Likes
318

The EXPORT syntax for cluster database:-

EXPORT <f1> [FROM <g1>] <f2> [FROM <g2>] ...

TO DATABASE <dbtab>(<ar>) [CLIENT <cli>] ID <key>.

Are the following declared at this point of ncode writing that is as a literal or a variable:-

<dbtab>

(<ar>)

[CLIENT <cli>]

<key>.

2 REPLIES 2
Read only

Former Member
0 Likes
297

Hi,

If you pass value sthru variables then use as a variable only.dontput any quote to variable.

If you are hardcoding the values Means if you are using literals then put Singlequote to left side and right side also.

For example,

DATA WA LIKE INDX.

DATA F1.

WA-AEDAT = SY-DATUM.

WA-USERA = SY-UNAME.

WA-PGMID = SY-REPID.

EXPORT F1 = F1 TO DATABASE INDX(AR)

CLIENT '002' ID 'TEST'

FROM WA.

here '002' is a literal.

f1 is a variable .

Thanks

Sivaparvathi

Please reward points if helpful.

Read only

Former Member
0 Likes
297

hi,

those are variables

regards,

pavan