Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

My 1st ABAP

I have just been trying to make a change suggested by a member in response to a previous post. When I add the code I get an error. Can someone check this and let me know what my problem is...this is my 1st ABAP code of any kind

CONSTANTS:

" pathes and connections:

" replaced by code below

"SERVER_PATH TYPE string VALUE '
bwdevt\bwdtemp',

&----


*& Code to vary the server path depending on the system the code is being run on *

&----


data : SERVER_PATH TYPE string .

case sy-sysid

when 'BWD'.

SERVER_PATH = '
bwdevt\bwdtemp'.

case 'BWP'.

SERVER_PATH = '
bwpsrv\bwdtemp'.

endcase.

" BW technical names for the verification of data uploads

" in :Confirm_Upload_MT and Confirm_Upload_IC

SALES_CUBE TYPE string VALUE 'IC_MMSALE' ,

FOREC_CUBE TYPE string VALUE 'IC_FORE' ,

LEGAL_CUBE TYPE string VALUE 'IC_INTE' ,

PRODREF_IO TYPE string VALUE 'IO_PR_ATTR_AB' ,

ENTITY_IO TYPE string VALUE 'IO_ENTITY_ATTR_AB' ,

FCTORY_IO TYPE string VALUE 'IO_FCTORY_ATTR_AB' ,

LOGCTR_IO TYPE string VALUE 'IO_LOGCTR_ATTR_AB' .

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question