2008 Aug 18 8:08 AM
Hi ALL,
I use FTP method to send XML file to different vendor at different location. SAP need to output the files in different folders and vendor will get the file themselves.
The challenge is how to generate filename as <SAP function module -time> <location> and put in different directory from same transaction ?
The solution i have is
1. change te standard function module and extract the "location" from table structure and append as flename.
2. another scrip run at FTP server and automatically move the file to different folder by cheking the filename.
Anyone encounter similar problem as me and have better suggestion ?
Thanks !
2008 Aug 18 8:40 AM
Rejoice,
You can look for "EDI*" FM´s to find more about using ftp and xml.
maybe these FM´s can help you to create the filename(s).
EDI_LPATH_CREATE_CLIENT_DOCNUM
EDI_LPATH_CREATE_USERNAME
EDI_PATH_CREATE_CLIENT_DOCNUM
EDI_PATH_CREATE_DATE_TIME
EDI_PATH_CREATE_LENGTH_LE_8
EDI_PATH_CREATE_POS_UNIX_DOS
EDI_PATH_CREATE_USERNAME
EDI_PATH_CREATE_USERNAME_DT_TM
EDI_PATH_NAME_IN
EDI_PATH_NAME_OUT
EDI_PATH_NAME_OUTXML
EDI_PATH_NAME_STATUS_IN
Hi ALL,
I use FTP method to send XML file to different vendor at different location. SAP need to output the files in different folders and vendor will get the file themselves.
The challenge is how to generate filename as <SAP function module -time> <location> and put in different directory from same transaction ?
The solution i have is
1. change te standard function module and extract the "location" from table structure and append as flename.
2. another scrip run at FTP server and automatically move the file to different folder by cheking the filename.
Anyone encounter similar problem as me and have better suggestion ?
Thanks !
2008 Aug 18 8:40 AM
Rejoice,
You can look for "EDI*" FM´s to find more about using ftp and xml.
maybe these FM´s can help you to create the filename(s).
EDI_LPATH_CREATE_CLIENT_DOCNUM
EDI_LPATH_CREATE_USERNAME
EDI_PATH_CREATE_CLIENT_DOCNUM
EDI_PATH_CREATE_DATE_TIME
EDI_PATH_CREATE_LENGTH_LE_8
EDI_PATH_CREATE_POS_UNIX_DOS
EDI_PATH_CREATE_USERNAME
EDI_PATH_CREATE_USERNAME_DT_TM
EDI_PATH_NAME_IN
EDI_PATH_NAME_OUT
EDI_PATH_NAME_OUTXML
EDI_PATH_NAME_STATUS_IN
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |