on 2005 May 27 12:52 PM
Hi All,
I had got a task to develop a interface for data upload from Application server and presentation server. the thing is i had 2 populate 15 SAP SCM tables from that interface. but i had been asked 2 develop a simple interface with one or 2 parameters and some radio buttons and check boxs. givme some idea on this topic na . it`ll be better for me 2 impress my lead in my 1st spec itself in my new project.
Bye .
guru
Hi...
Hope the below code helps you.
parameters : P_LOCAL type RLGRAP-FILENAME,
P_APPLN TYPW RLGRAP-FILENAME.
Parameters : R_LOCAL radiobutton group rad1,
R_APPLN radiobutton group rad1.
at selection-screen.
if R_LOCAL = 'X' and P_LOCAL is initial.
message e000 with 'Enter Local Path'.
elseif R_APPLN = 'X' and P_APPLN is intial.
message E000 with 'Enter Application Server Path'.
elseif P_LOCAL is initial and P_APPLN is initial.
message E000 with 'Enter either Local Path or Application Server Path'.
endif.
Regards,
Vara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vara,
I had got 15 flat files man. that interface has to populate the 25 SAP SCM tables. so it could be done with one or two parameters and some radio and checks. did u got my point now. thanx for ur reply and let me know the exact idea for my condition. bye.
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guru,
-> save your flat files in one directory on appl-server
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
EXPORTING
DIR_NAME = dir FILE_MASK = mask
TABLES
DIR_LIST = dir_list.
loop at dir_list.
concatenate dir '/' dir_list-name into file.
open dataset file for input in text mode.
do.
read dataset file into bstring.
if sy-subrc <> 0.
exit.
endif.
*your process / append your itab(s)
...
enddo.
...
endloop.
regards Andreas
Message was edited by: Andreas Mann
User | Count |
---|---|
112 | |
9 | |
8 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.