How to do an inbound and outbound interfacing using UTL_FILE ?
dear members,
How can we do interfacing from a legacy system to oracle and vice versa using the UTL_FILE package. I mean how to do an INBOUND and OUTBOUND interfacing using utl_file.
regards
sandeep
in/
file/
bad/
done/
out/
file/
bad/
done/
I would start by ftping / putting the file in in/file/ folder, once ftp has completed move it to complete/ folder and process the file. If errorrs are generated move the file over to bad folder. If completed successfully move over to done folder.
Having said that you would use UTL_FILE_DIR init parameter to set your directory.
ALTER SYSTEM SET UTL_FILE_DIR='directory1','directory2' scope=spfile;
Then you would use the regular utl_file packages to read / write to the files.
UTL_FILE.FOPEN and so on.
Similar Messages
-
How to do inbound and outbound interfacing using UTL_FILE?
dear members,
How can we do interfacing from a legacy system to oracle and vice versa using the UTL_FILE package. I mean how to do an INBOUND and OUTBOUND interfacing using utl_file.
regards
sandeepHi Sandeep,
I do not know if I got your question correct.
Here is my understanding of it, pls correct me if I am wrong:
You want to read from and write to the OS from inside the DB? Right?
There are differnt waysa to do so, depanding on your Oracle version:
1. you can use the initialization parameter UTL_FILE_DIR to specify a directory on OS where you can read from and write to through the package UTL_FILE.
2. You can use a directory object in the DB to manage read write access to the OS. This is also usable with the package UTL_FILE as location where to read from and write to.
=> CREATE DIRECTORY my_dir AS '/home/oracle/my_directory';
GRANT read , write ON DIRECTORY my_dir TO scott;
SELECT * FROM dba_directories;
You need CREATE ANY DIRECTORY system privilege for this.
You can use directory objects also for external tables.
With these you can read from flat files in teh directory on OS with a select statement as if it were a table inside the DB.
Does this go into the direction you were thinking of?
Hope it helps for the first.
Regards,
Lutz -
When To Use Inbound and Outbound Interfaces?
I use an Inbound message type when i am receiving some data and outbound message type when i push data out of the XI box??Is this correct..
And how to decide when to use a Inbound and Outbound Interface?Hi Barik,
<b>I use an Inbound message type when i am receiving some data and outbound message type when i push data out of the XI box??Is this correct..</b>
WRONG!!!
outbound message->XI->Inbound message...
(sender system)->XI->(reciever system)
remeber: when u r sending some data to XI u send it using outbound interface.
and when u r sending some data from Xi to other system u use inbound interface...
Hope ur doubt is clear!!
regards
BILL
Use a Good Subject Line, One Question Per Posting - Award Points -
Regarding Inbound and outbound interfaces in ABAP HR
Hi,
Iam new to SAP. Can you send the document related to Inbound and Outbound Interfaces in detail.
i.e What these interfaces comes under and steps to develop these inerfaces.
Thanks&Regards,
B.Thulasi.Hi,
Iam new to SAP. Can you send the document related to Inbound and Outbound Interfaces in detail.
i.e What these interfaces comes under and steps to develop these inerfaces.
Thanks&Regards,
B.Thulasi. -
Including Inbound and Outbound Interfaces to Business System
Hello
Iam new to SAP XI, but have expierence in webMethods EAI Tool.
Iam developing a sample interface to pick and put a file in SAPXI itself and for this have created the Interface(data type,mesg typ , mesg inetface , mappin and interface) in Repository.
Now to pick and put file what setting should have to do in Directory.
I have added a Business Service, but it is not listing the Component which was created by me from SLD (only standard component versions which came along with SAPXI are listed). Because of this the interface (inbound and outboound) which was created in my component is not listed.
Can any one help me with this.
Also can you suggest an devleopment doc to refer.
Thanks
VinodHi Vinod,
Check out this thread..
Inconsistence Adapter Framework
No entry for adapter engine in CPACache
Also check OSS Note : 764176 - Error in XI due to inconsistent SLD contents
This note provides a lot of information, but may not be enough. Carry out the following checks:
check that the CPACache works ok
check that sxi_cache works ok
check that sxi_cache->goto-->AE Cache shows an entry for the adapter engine
check the roles for the service users, especially xidiruser
Nilesh -
Unit test plan for inbound and outbound interfaces
I am trying to create a UNIT TEST PLAN for an interface. In this interface a flat file in IDOC format is picked up from the application server and processed using EDI_DATA_INCOMING for the relevant posting ( example : Sales order creation from a PO IDOC). IF the file is not in IDOC format then it is reformatted to the IDOC format manually.
In second scenario(outbound), after sales order creation or billing document creation, IDOC is created which is read and a custom flat file is created and sent to a middleware.
PLease suggest a unit test plan for these kind of scenarios or send a sample UTP if possible.
REgards
Nishant
PS: points will be awarded to helpful answers.Unfortunately this isn't possible, the esa has only one routing table. You'll have to add specific routes for your internal networks.
I usually avoid two-armed setups because of this and it gets even worse if you want to use virtual gateways (traffic gets sent via the internal interface with an IP from the external interface) -
Please let me know How to handle IDOC inbound and Outbound preferably with example. I am new to it.
hi,
your question is very broad,
start reading continue from there...
<a href="http://help.sap.com/saphelp_46c/helpdata/en/19/3cf334c20ccc52e10000009b38f83b/frameset.htm">Doc Interface: EDI Application Scenarios (BC-SRV-EDI)</a>
<a href="http://help.sap.com/saphelp_46c/helpdata/en/dc/6b8a4943d711d1893e0000e8323c4f/frameset.htm">IDoc Interface / Electronic Data Interchange (BC-SRV-EDI)</a>
An example:
inter company invoiceing:
the SD invoice has an output type (INVOICE01) that sends an Idoc that creates the mm invoice (invoice verification)
for more data see the links above
good luck -
Hi Every One,
I have a very small question.
How do we define INBOUND and OUTBOUND?
I got this doubt, when I read some material, sometimes the directions (INBOUND and OUTBOUND) are told as per application systems which participate in message exchange? Sometimes the directions are told as per the XI integratin server.
Which of the 2 methods stated above is correct?
I hope I am clear in what I wanted to convey.
Bye, tschüs, adeu
-Naveen.Hi NaveenKumar,
You use a message interface to describe a platform-independent or programming-language-independent interface, which you want to use to exchange messages between application components using SAP Exchange Infrastructure. Depending on the communication parameters defined for a message interface, it can either have the task of sending a request (outbound) or receiving a request (inbound).
An outbound interface sends a request message that is only used to make a communication party aware of data sent, without waiting for a response message. In the case of the latter, we also refer to publishing interfaces.
An inbound interface receives a request message that you reply to with a direct response message or whose data you can process in the system without a response.
I guess i have helped you solve your confusion.
Regards,
abhy -
ALE Inbound and Outbound programs
Hi,
Can someone tell me as to how we create the inbound and outbound programs for ALEs??And the cenerio where we use the std FMs and where we use the customs programs for the corresponding action?
Thanks,
Supriya Manik.Hi,
Go thru this Book : Aravind Nagpal
go thru this links,
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400365
Idoc's
http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm (change pointer)
http://www.erphome.net/pdf/tech/J07.pdf#search=%22ALE%20Change%20pointers%22
http://www.****************/articles/ALE/IDOCExtension/IDOCExtension.htm
Thanks
Sunil -
How to do IDOC debugging for both inbound and outbound
Hi
can somebody please help me on how to debug the idoc both inbound and outbound in SAP PI.
Regards
BlueHi,
Yes, i have checked but did not get any satisfactory answer.
here is the solution:
Inbound:
We19, Give the idoc #,
click on the inbound functional module and select the radio button in the fore ground
check the check box call in debug mode, this will enter in the functional module debugging.
Outbound:
Check BD73, give the idoc # and execute
or
RSNASTED program and set the breakpoint there
is this correct, i have not tested/ checked yet.
Regards
Blue -
How to add Total Quantity in Inbound and Outbound Delivery screen
Hi,
I want to add Total quantity field in Inbound and Outbound Delivery screens.
In document flow i can see the line item quantities in ALV Format, but if i select Display the totals above the entry check box
in Change Layout--> Display, i didn't see any totals displayed.
Please help me on this?
Regards
BhuvanaHi
If the field is a customer field, see BADI 'LE_SHP_TAB_CUST_HEAD'
Regards
Eduardo -
Hi,
I have a practice lab with two physical servers 2012 R2, one of them is Hyper-V host and one of VMs is a domain controller. I was doeing some exercises with firewall rule deployment through Group Policy, so I created an outbound rule to block port 80 which
was targeted to Domain Computers. Now my other physical server has inbound and outbound connections set to block and domain controller cannot be contacted to update policy ( with rule removed ). At least that is my understanding. Maybe I messed up something
with the profiles too, because port 80 would not have block all outband traffic, or?
I am new to IT so my understanding is still poor.
Best
RobertHi Robert,
If we block inbound connections, all connections that do not have firewall rules that explicitly allow the connection will be blocked.
If we block outbound connections, all connections that do not have firewall rules that explicitly allow the connection will be blocked.
If we block outbound TCP port 80, it will mean all websites will be unreachable, for TCP port 80 is for HTTP.
Regarding Windows firewall security settings, the following article can be referred to for more information.
Windows Firewall with Advanced Security Properties Page
http://technet.microsoft.com/en-us/library/cc753002.aspx
Best regards,
Frank Shen -
In UCCE TCD table how to indentify inbound and outbound call records.
Hi
I'm using TCD table to build custom report. I would like to know is there any flag to differentiate Inbound and outbound call records in TCD table.
Please advice.. I would be much appreciated.
Thanks
Regards,
ParamHi Geoff and David
Thanks you very much for your reply.
I have used "PeripheralID" to classify the call.
Thanks
Regards,
Param -
To Monitor inbound and outbound messages for ECC 6.0 business system
Hi Guys,
I am working on ABAP proxy. I want to monitor the flow of Inbound and Outbound messages for my Business system (ECC 6.0).
XI server is on a different system.
I understand that SXMB_MONI is used for tracking XML messages. What kind of tracking can we do by this transaction in our Business system and the XI system?
And how do I know whether the outbound XML message sent is lying in the Sending Business system or in the XI system?
When I am testing my interface, there is a fault message generated. How do I know whether the fault message is being sent to XI?
Thanks,
James.James,
Go to SXMB_MONI in your sending system.
Here you will find a message ID fro your Message.
Go to XI, --> SXMB_MONI -->Monitor For Processed XML messages --> Advanced Selection Crieteria and use the Message ID here to see if the Message has hit XI or not.
Likeiwse it can be traced in the target system as well.
The basic point, The messages will have same Message Id on your R3 and on XI.
Regards
Bhavesh -
Gl balance inbound and outbound
Hi sap gurus,
We are having legacy systems that should interact with sap.I need to know the following for the GL balances through inbound and outbound
1.How data will flow parallely into sap.what steps i have to follow to do this.
2.what user exits or idocs or interfaces i have to use.
3.how the GL balances data will trigger into sap.
Plz help.This is most urgent for me.
Thanks in advance
KiranmayiHi Vijay,
I am assuming that you are asking about inbound and outbound process.
These process comes under SAP Electronic Data Interchange (EDI)
Outbound process--> When a document is sent from SAP system to any other system (to business partners say bank or vendors).
eg sending a quotation to vendor.
Steps:
1. Application doc is created
2. IDoc is generated
3. IDoc transferred from SAP to the Operating System layer
4. IDoc is converted to EDI standards
5. IDoc transmission to business partners
6. Status report sent to SAP system.
Inbound process is reverse of Outbound process-->When a document is sent from business partner to SAP system.
eg Bank sending account statement.
Steps:
1. EDI transmission received
2. EDI Doc is converted into IDoc
3. IDoc transferred to SAP layer
4. Appication document creation
5. View appliation doc.
ALE (Application Link Enabling) method uses tRFC (Transactional Remote Functional Call) port for communication and refer to same concept mostly.
Hope it helps.
Maybe you are looking for
-
Plano de Contas, contas contabeis fora de ordem todas as titulos juntas
Grupo, Já aconteceu em varios clientes a destruturacao do plano de contas, e nao tenho ideia do que faz acontecer isto, gostaria de saber se existe uma forma de colocar as contas contabeis em ordem se nao for manualmente. Jaqueline Martins
-
S_ALR_87012169 R3 FCC 6.0 drill down help (AR account balance)
Can anyone teach me how to display 87012169 Classic Drill Down Report? I need check the history data from Oct. 2010 to Feb. 2012 AR transactions. The Help > Application Help showed "No documentation available", I believe we did not install the hel
-
Dear Team, When i recive the stock, in MIGO (Mvmt type 101) i will select post to inspection stock & before clearing the Inspection, I still can post the IR (Invoice Verification) manally. How to stop posting the IR posting before clearing the Inspec
-
Desktop Software Improvement Suggestions
Comments and suggestions about Desktop software v 4.5.0.81 (platform 2.7.0.78) The Main Menu that pops up when launching the synchronization software shows icons for : Application Loader, Media, BackUp and Restore, Synchronize, Device Switch Wizard
-
Context Menu in J2ME (LWUIT)
Hi All, I have a requirement to have a drop down menu from header icon. I am currently using LWUIT. As far as i know we can have context menu from softkey command, but if we want to have separate menu. I am not sure how to do that. I have tried to us