EDI,FTP on BI data
Hello Everyone
We have an EDI, FTP team. They conntect to ECC tables, and add relevant fields/data to an IDOC and then send that data through EDI to external partners.
They have a question on how to send BI data using such techniques. Can this be done from BI as well?
Please suggest options.
Merci
YZ
Hello,
The same Basis infrastructure is available in BI also. They may also look at infospoke functionality of BI.
BR/
Mathew.
Similar Messages
-
Trying to use FTP to get data from a different server
Hi Friends,
I have to use FTP to get data from a different server and upload it on SAP server. Now my problem is when I m trying to do ftp through command line it brings the file but with no data.
Through ABAP program nothing is happening.
Here's my code--
V_PASSWORD = 'test@123'.
V_PWD_LEN = STRLEN( V_PASSWORD ).
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = V_PASSWORD
SOURCELEN = V_PWD_LEN
KEY = CS_KEY_500098
IMPORTING
DESTINATION = V_PASSWORD.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = 'test'
PASSWORD = V_PASSWORD
HOST = '176.0.1.6'
RFC_DESTINATION = 'SAPFTPA'
IMPORTING
HANDLE = MI_HANDLE
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
CHECK SY-SUBRC = 0.
cmd = 'lcd d:\ftp'. .
PERFORM FTP_COMMAND USING CMD.
CMD = 'asc'.
PERFORM FTP_COMMAND USING CMD.
CONCATENATE 'dir' 'ftpt*' INTO CMD SEPARATED BY SPACE.
PERFORM FTP_COMMAND USING CMD.
cmd = 'ls'.
concatenate 'ls' INTO CMD SEPARATED BY SPACE.
PERFORM FTP_COMMAND USING CMD.
cmd = 'mget trial.txt'.
CONCATENATE 'mget' 'trial.txt' INTO CMD SEPARATED BY SPACE.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = MI_HANDLE
COMMAND = CMD
TABLES
DATA = MTAB_DATA1
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC = 0.
LOOP AT MTAB_DATA1.
WRITE: / MTAB_DATA1.
ENDLOOP.
ELSE.
CONCATENATE 'Error in FTP Command while executing' CMD INTO ERROR SEPARATED BY SPACE.
WRITE: / ERROR.
ENDIF.Hi
try this.....in one of my reqt, i done this successfully....
FORM FTPCON.
FTP-------------------------------------------------------*
CLEAR DSTLEN.
SET EXTENDED CHECK OFF.
DSTLEN = STRLEN( S_PWD ). -
> (S_PWD (password) is a selection screen field )
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = S_PWD
SOURCELEN = DSTLEN
KEY = KEY
IMPORTING
DESTINATION = S_PWD.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = P_USER -
> Username
PASSWORD = S_PWD -
> password
HOST = P_HOST -
> Host
RFC_DESTINATION = P_DEST -
> Destination
IMPORTING
HANDLE = HDL
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = HDL
COMMAND = 'set passive on'
TABLES
DATA = RESULT
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
HANDLE = HDL
FNAME = G_FCNAME
CHARACTER_MODE = 'X'
TABLES
TEXT = T_FILE1
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
HANDLE = HDL
FNAME = G_FCNAME1
CHARACTER_MODE = 'X'
TABLES
TEXT = T_FILE2
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
HANDLE = HDL.
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
EXPORTING
DESTINATION = P_DEST
EXCEPTIONS
DESTINATION_NOT_OPEN = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " FTPCON
Hope it helps..... -
Error message "EDI: Field SEGNAM in data record is default"
Hi all,
I am facing issue in Idoc creation. I am getting error message saying 'EDI: Field SEGNAM in data record is default' and so Idoc is not getting created.
Can anybody tell me how to resolve this. I checked in debugging mode and found that this error message is coming from a standard program.
Waiting for some good replies.
Thanks,
ArchanaHi,
Yes, it is getting displayed from FM 'EDI_SEGMENTS_ADD_BLOCK'.
But not getting any clue how to resolve this as it is getting displayed from standard program.
Any clue on this?
Thanks,
Archana -
EDI Shipment Output Master Data Conversion
Hi,
I am using LSMW to upload EDI Shipment Output Master Data into file can anyone suggest me any standard BAPI or Idoc avail for the same or any function module available to do this.
Thanks
Dhirendrawe have below LSMW IDOC methods
OILSHL TD Shipment to TAS
RECSHP Recommended shipments
SHIPMENT_CREATEFROMDATA Create shipment
SHIPPL Inbound planned shipments
SHPMNT_TNDR Shipment tendering
TPSSHT Shipping planning system: Transfer planned shi -
Hello,
We are implementing EDI invoice using BAPI_INCOMINGINVOICE_SAVE and MRBP (background engine).
We would like the posting date be set at the date when the invoice is posted. At the present time the posting date is set at the date when the invoice document is created from the EDI file.
We tried substitution rules (OBBH) but the field posting date (BUDAT) is not available for substitution.
We also plan to run a daily job which change the posting date of the planned and erroneous document (RBSTAT = 1 or 3) to the current date. But we do not find any BAPI which do it properly. As a result we plan to change the posting date directly in RBKP. Do you think this operation is safe and will not generate inconsistencies?
Or do you have any idea to solve our problem?
Thanks
Pascalthe documentation clearly says it can chnage invoice which is 'onhold'.
FU BAPI_INCOMINGINVOICE_CHANGE
Short Text
Invoice Verification: Change Provisional Invoice
Functionality
You can use this method to change provisional invoice documents. Provisional invoice documents have the status:
'On hold' or
'On hold (from parking)' or
'Parked' or
'Parked as complete' or
'Parked and released'
With regard to the reference document categories to which an invoice can relate, this method offers the following functionalities:
If you do not make any changes to the items of an invoice document, the originally chosen reference to a document category is retained.
If a change is made to items of an invoice document (i.e. if you supply the method with information via the Itemdata table, the purchase order is used as reference document category -
Where does DW CS5 store FTP and other data in W7
My computer self destructed the boot sectors of it's system disc. I managed to get a clever chap to rescue all the app data and have managed to get back all my browserss book marks, pass words etc.
My next stap is to try and get back all my presets and FTP data for all my client's web sites in dreamweaver, without all the pain and grief of reloading it all manually.
So - where does Dreamweaver CS5 store all the site data etc on a Windows 7 (64bit) machine?
Many thanks
Ralph
Vision Design UK LimitedThe only way to retrieve site definitions is from previously exported .ste files.
To backup, go to Sites > Manage Sites > Export...
To recover, go to Sites > Manage Sites > Import > browse to .ste files on your hard disk, local site folders or removable flash drive.
If you didn't backup your site definition settings to a safe place, I'm afraid you'll need to manually input this info again.
See Migrating snippets, workspace and extensions...
http://cookbooks.adobe.com/post_Migrating_Dreamweaver_configuration__site_settings-17658.h tml
Nancy O. -
FTP client Default Data Connection Ports
I'm developing a simple FTP client from the socket level. The only documents I am referring are J2SDK API and RFC 959. For the control connection I am ok, but for the data connection is not. According to the RFC 959 : "The user-process default data port is the same as the control connection port". The control connection port is used by my FTP command connection while connected to the FTP server, so how can I "listen" to the same port before I send the "RETR" command to the server ?
Pls give me a hint , Thanks
SamuelThe way I read it is that the client opens the control connection by connecting to the server control port (usually 21) from a random port. The client also listens on its own port 21. The server will eventually establish a connection from a random port to the client port 21. I may be wrong though. The best way, IMHO, to proceed, is to use a network monitor such as TCPDUMP or WINDUMP and see what other FTP clients/servers do. I also know for a fact that there are open source FTP clients and servers, even in Java.
-
Ftp error - internal data error
Can anyone help me???
I have several computers. On the primary computer I use,
Dreamweaver says when I am trying to connect to a server that there
is an internal data error. What does that mean and what can I do
about it. I have no problems connecting through ftp on other
computers.
Thanks,
JESAMPLWhen you go to the Remote site definition (Advanced tab) and
click on the
Test button, what happens?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"jesampl" <[email protected]> wrote in
message
news:e2drgp$g2i$[email protected]..
> Can anyone help me???
>
> I have several computers. On the primary computer I use,
Dreamweaver says
> when
> I am trying to connect to a server that there is an
internal data error.
> What
> does that mean and what can I do about it. I have no
problems connecting
> through ftp on other computers.
>
> Thanks,
> JESAMPL
> -
4r Transactional data ALE or EDI
Hi Guys!
I ve my customer using SAP System & me too, Shall i use ALE to Connect my SAP to my customer SAP System to transfer transactional data or i ve to go for EDI.
Thanks In Advance.Hi,
Since both are having SAP systems, no need to go with EDI to transfer transactional data. You can use IDoc as an interface technology.
If you decide to go with EDI then you may need to have middleware for data transformation/translation. In your case, no needed.
Regards,
Ferry Lianto -
Exit for delivery Date check in Sales order [Via EDI]
Hi Friends ,
We have a requirement in which if the Sales Order is created Via EDI with INVALID delivery date then I have to set a flag in some Z Table . I have tried searching for exits and debugging the code but was unable to find a place where SAP checks for delivery date validity . Please help me with possible exits/Badis?Enhancement Pts etc where I can mark this flag .
Thanks & Regards
Gaurav Deep@Vinod Thanks for your reply , the delivery date is there in EXIT_SAPLVEDA_009 .
But how will i check if the delivery date is valid or not , If you go to VA01 and give a invalid delivery date a warning message is issued , here if the warning message is issued then I want to set my flag , this might save my from coding redundant delivery date check logic , can someone please help me how can i track if this warning message is issued .
Thanks & Regards
Gaurav Deep -
SAP to 3rd party: EDI and XI: Needed advantages and disadvantages
HI All,
I have a requirement to sent PO data from SAP to 3rd party Vendors.(more than 30 vendors). Client insists on using EDI.!!
I have completed the config on SAP R/3 side and IDOCS are created in SAP R/3.
Since we have XI in the landscape, I have a few questions in my mind. Appreciate if you could give you feedback on these questions:
1. Should we send data directly from SAP to 3rd party using EDI adapter and avoid XI.
2. I assume EDI adapter will automatically convert IDOC to vendor format data and vice-versa.
3. All 30+ vendors will need to access this EDI adapter system or do they all need to have a separate one installed in there landscape.
4. If we use XI, will the adapter be able to communicate to XI. If yes what is the adapter name which connects to XI.
5. All vendors need this data in a slightly different format, so will the EDI adapter do the format conversion for every vendor ?
6. Since all vendors have a diff file format needed, I want to avoid doing extensive message mapping in XI. So can the EDI adapter handle it or is ther any easy way to do this mapping.
7. If mapping is not possible, then does it mean I will have to create a separate IDOC for each vendor in R/3 ( in vendor specific format) and send that to them.
Thanks in advance.
Regards
ShirinHi,
1) Should we send data directly from SAP to 3rd party using EDI adapter and avoid XI.
A) For EDI integration u need to have the EDi adapters and for that u need to purchase the seeburger license and which is need to be installed on XI and after that only u can use EDi adapter with Xi.
U can not ignore XI.
2. I assume EDI adapter will automatically convert IDOC to vendor format data and vice-versa.
A) Yes but only when u purchase the seeburger license. there are other ways as well either use conversion agent or module program which convert the XML to EDI format.
3. All 30+ vendors will need to access this EDI adapter system or do they all need to have a separate one installed in there landscape.
A) U have to use the EDI adapters with Xi and configure ur scenario in XI for all the vendors.
4. If we use XI, will the adapter be able to communicate to XI. If yes what is the adapter name which connects to XI.
A) Seeburger provide As2,X400,FTP,VAn adapters for EDi integration.
5. All vendors need this data in a slightly different format, so will the EDI adapter do the format conversion for every vendor ?
A) What EDI format ur vendor receivers the data it depends upon that.
6. Since all vendors have a diff file format needed, I want to avoid doing extensive message mapping in XI. So can the EDI adapter handle it or is ther any easy way to do this mapping.
A) Mapping is the part of desing and mapping changes accroding to the business requirement and mapping rule which is provided by Functional people.
7. If mapping is not possible, then does it mean I will have to create a separate IDOC for each vendor in R/3 ( in vendor specific format) and send that to them.
A) u need to do the mapping between IDOC and EDi then only the data will be mapped with the required target EDI strcuture.
chirag -
Hi All,
I am new to B2B and I have a situation where there is an EDI supplier which sends data containing multibyte characters (Japanese). Is B2B adapter the only way for realising this condition?
What if the EDI supplier FTPs the document and I have to make use of FTP server to realise the same. Is BPEL XSLT processor capable of parsing that multibyte document and convert it to XML?
Please advice I am in the middle of a project delivery.
ThanksHi Ramesh,
Sorry for the late reply. Actually I haven't got the software with me and this decision will be taken by the client.However I am searching for different options for multibyte character parsing.
Currently I am using File adapter and also tried using FTP adapter to parse multibyte data file using native schema and using enocoding = MS932,JISAutoDetect. However everytime I am running into an exception which is as follows:-
ORABPEL-11111
Failed to create scanner.
Charset "JISAutoDetect" not supported.
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
at oracle.tip.pc.services.translation.xlators.nxsd.ByteReader.<init>(ByteReader.java:87)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.createScanner(NXSDTranslatorImpl.java:800)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.translateFromNative(NXSDTranslatorImpl.java:440)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:504)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:266)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:179)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
at java.lang.Thread.run(Thread.java:595)
Don't know how to resolve this problem.Alternately wrote a Java file parser but if Oracle FTP/File adapter is giving me these encoding options then why at runtime am I getting this error?
Thanks -
Need to copy .txt file from FTP server and downloaded on local server directory.
I need to figure out a way to copy .txt file from ftp server in local server directory using sql jobs.
Below links will help achieving it:
https://www.virtualobjectives.com.au/sqlserver/ftp_scripts.htm
http://www.mssqltips.com/sqlservertip/2884/sql-server-integration-services-ssis-ftp-task-for-data-exchange/ -
Problem with downloading file from FTP server
Hello all
I have uploaded a file from an application i developed and i want to download this file from another application. The code is
public static void FTPcon() throws FtpException{
String hostname = "my.ftp.server";
String username = "myusername";
String password = "mypass";
Ftp ftp = new Ftp(hostname,username,password);
ftp.setHostname(hostname);
ftp.setUsername(username);
ftp.setPassword(password);
ftp.connect();
ftp.setBinary();
ftp.download("file.dat");
ftp.disconnect();
}The error i receive is java.io.FileNotFoundException: public.dat (The system cannot find the file specified) but the file is on the server.
Thanks in advance for any helpCotton thank you for your reply
Any other sugestions please?The server disagrees. So...
- the file does not existThe file exists.I checked it with an FTP client program.
- the file has a different nameThe file name is correct
- you are connected to the wrong serverI am connecting to the correct server
- you are in the wrong ftp directoryThe file is placed in the home directory
- the ftp library you are using is broken (less
likely)I am using the library from jscape.I dont think is broken because i can upload the file from the first application.
>
FTP isn't somehow broken in Java. I use it all the
time. The problem is something listed above. I would
check all of the first four if I were you because
that's most likely where the problem is.Message was edited by:
flightcaptain -
EDI:Sale order and delivery order
hi friends
1.Our process is customer send the PO Through B2B Server (third party system)
my how i get the notification throgh mail..what i do for configuration.....iam sure this is for inbound message ..is it require EDI Configuration or master data
2. Parner profile WE20
MESSAGE CONTROL
MESSAGE TYPE--RD04 What is the purpose maintain there
PROCESS CODE -SD09 What is the purpose maintain there
3..During delivery document
Partner profile shall i maitain out boud parameter is DESADV For Partner function SP, INVOIC For Partner function BP, DESADVI For Partner function SH.
Isit right way? any thing missing pls suggest me to maintain the data
wiht regards
dineshYou are right. If your customer is sending you a purchase order, then it can come thro' EDI.
For this, you should have your customer in WE20 with inbound. Partner is KU. It is standard. You can go to WE60/61 to see the documentation on the same. If you have the connections properly done (which Basis has to help you with), you should be able to get the sales order into the system.
For delivery, desadv is correct. However, WE20 should have to be configured on SH.
RD04 is usually used for intercompany invoice posting to MM within SAP. You need not have to use it. You can use a diffient out put type configured to EDI output. INVOIC01 is the one used to send the customer invoices out of SAP.
Invoices are usually configured on BP or PY. Usually BP and PY are same in most of the scenarios.
Maybe you are looking for
-
MYOB AccountEdge - Sharing data file with remote Windows PC
I use MYOB AccountEdge in a Mac environment at my office. Bookkeeper uses MYOB AccountEdge in a PC environment. We both would like to be able to have access to my MYOB data file. Simultaneous access to the file is not a requirement. We're not in the
-
Hello! I'm having troubles syncing now that I have iOS7.0.4 on my iPhone 5 - I keep getting an error message stating "iTunes could not sync information to the iphone because a connection could not be established to the iphone". It's also taken home v
-
Plan order text in CM29 screen
How to display plan order text in CM29 screen? Reply appreciated.
-
Anybody using a Proavio Studiorack for storage?
I wasn't sure where to post this question, but there must be some of these RAID arrays in use out there. We are looking to add a Proavio StudioRack S4FR to augment the storage on our X-Serve. I haven't found any reviews on the Web...and am hesitant t
-
One more crazy question:Turbo Boost and Middletion BIOS
I guest my mind is crazy. Have anyone tried this combination in a TP61? Cheers Rolando E Creagh, MD. FACS. USA. T61p, 64608WU, Dual Core Centrino 2.6 GHz, T9500, 8GB RAM, Intel TurboMem 4GB (working). HDD 0: 1.0TB 7.4K rpm AF w/ W-7 Ultimate SP1 64b