‎2007 Dec 18 10:55 AM
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>.
‎2007 Dec 18 11:34 AM
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.
‎2007 Dec 18 11:34 AM