OSN - Inbound XML AP Invoices
We are attempting to receive AP invoices from one of our suppliers directly from the OSN.
1) We can successfully import the sample AP invoice from the OSN into the AP interface tables.
2) We can receive the suppliers invoice into the ECX_DOCLOGS table but when it tries to import into the AP interface tables it errors with;
"Incomplete OAG Date:20061030"
Any suggestions would be greatly appreciated!
Thanks,
Kelly
Hello Fisher,
This Webblog will help you.
/people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
From this blog you will understand the code behind SXMB moni .. which performs the selection from database. You can write a report as well.
Cheers,
Himadri
Similar Messages
-
How can I retrieve the inbound XML messages (invoices) by ABAP program?
Where are the inbound XML messages (invoices) saved in XI box?
How can I retrieve the inbound XML invoices in XI box by ABAP program?
Is there any method/BADI/function module to retrieve these XML invoices, so I can output these XML invoices in an ABAP report?
Thanks in advance for your help!Hello Fisher,
This Webblog will help you.
/people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
From this blog you will understand the code behind SXMB moni .. which performs the selection from database. You can write a report as well.
Cheers,
Himadri -
Enhancement Fields missing in the Inbound XML payload
We are using XI3.0. We need to send some Purchase Order data from R/3 to SRM(SUS), in addition to what is available in the standard content. We have created the required datatype enhnacement. we have mapped these additional fields in the message mapping to their respective sources. We have also generated and activated the ABAP proxies on the SUS side. However at runtime whenever a PO is created, none of the additional fields are available in the inbound XML payload.
Can some one help me to know what could be wrong ?
Thanking You
Regards
Vinay RaneHi Vinay,
You can try one of the following options:
1) Clear/reload XI cache using trx SXI_CACHE, after that try to test again and check whether you are getting the correct fields.
2) Are you using the RFC adapter? if you do; then try to restart it. This adapter also caches a lot of meta data and information during runtime.
3) Last but not least; (You probably know this better than me , but just in case...) If you had previously generated the proxy classes, and after that you did some changes in the repository then you certainly will need to regenerate those proxy classes.
Cheers,
R. -
Standard IDoc Type for Inbound NonPO Vendor Invoices - FB60
What should be the perfect standard IDoc Type for Inbound NonPO Vendor Invoice posting. Tcode FB60.
I found IDoc Type FIDCCP02 but the Function Module 'IDOC_INPUT_FIDCC2' for FIDCCP02 is not released.
In the same way many other standard function modules like - IDOC_INPUT_ACLPAY, IDOC_INPUT_FIDCCH, IDOC_INPUT_ACC_INVOICE_RECEIPT and few more are not released.
My question : If at all I have to use standard IDoc Type, Message type and Function module (Released) for Inbound NonPO Vendor Invoices, then what should be the solution from SAP ?
Thanks,
Veeru.Hi,
IDOC_INPUT_FIDCC2 for FIDCCP02 works for us in ECC6.0
If you want Automatic tax calculation functionality using FIDCCP02.. then FIDCC2 is not correct message type for you. In that case you should probably go for :
Msg: INVOIC
Basic type: INVOIC02
FM: IDOC_INPUT_INVOIC_FI
Process code: INVF
Thanks,
Kumar -
Issue with inbound xml..
Hi All,
We have an issue with inbound XML :
XML structure is as follows:
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<Q-ENV:Header>
</Q-ENV:Header>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<Q-ENV:Body>
<Q-ENV:Content-Type>text/xml</Q-ENV:Content-Type>
<Q-ENV:Message-Type>xCBL</Q-ENV:Message-Type>
<Q-ENV:Encoding>UTF-8</Q-ENV:Encoding>
<Q-ENV:Message-Body>
<?xml version="1.0"?>
<?soxtype urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?>
<OrderResponse>
The issue is see at the <Q-ENV:Message-Body> we are receiving <?soxtype urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?> for OrderResponse header ..it is neither validating as valid xml or unable to read the items after that namespace with graphical mapping or xslt ..if anybody have any idea, thanksHello,
The issue is see at the <Q-ENV:Message-Body> we are receiving <?soxtype urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?> for OrderResponse header
You can use java mapping for your requirement. The key is to convert the inputStream into String and then use a find/replace that value and then write to outputStream afterwards.
Here is a sample code using PI 7.1 API:
https://wiki.sdn.sap.com/wiki/display/XI/SampleJAVAMappingcodeusingPI7.1+API
Hope this helps,
Mark -
Adapter type for inbound xml message XI3.0 SP10
Hi,
We are using XI3.0 SP10 and are about to set up a scenario where we will receive an xml to process. Up until now we have only received simple flatfiles to process.
My question is, can I use adapter type "File" to process this inbound xml file? And are there any special considerations I should be aware of, that is different from processing an textfile?
At the moment I have started to set it up as follows:
Adapter Type: File
Transport Protocol: FTP
Message Protocol: File Content Conversion
Adapter Engine: Integration Server
Transfer Mode: Binary
File type: Binary
Thanks,
FredrikHello,
Yes you can but you don't need "File Content Conversion".
Choose "File" and well done.
Regards,
Chris -
Processing of huge no of Inbound xml files
Dear All ,
I have a query related to Performance in <b>FILE-XI-IDOC</b> scenario :
If I am having 1200 inbound xml files in my Inbound folder and I have to process 1200 xml it in a span of 2 hours ,
<b>Can anybody suggest how I should configure in my Sender File adapter to process huge no of xml files .</b>
Regards
PrabhatHi Prabhat,
>>>Can anybody suggest how I should configure in my Sender File adapter to
there's not a lot you can you can do in your sender file adapter
try using: Permanently connection mode instead of Per File Transfer cause with the last one:
"A new connection to the FTP server is established for each file transfer."
BTW
the most important thing is: how big your files are
that's the thing that can tell you: yes you can process 1200 in 2 hours or not
Regards,
michal -
Inbound XML validation failed against schema
Hi Experts,
we are getting mapping exception at the time of Inbound XML validation but in the trace it is not displaying
like which fields are not validating.
I have gone through the Interface mapping in that we are using 2 mapping programs one is imported archives(java mapping) for validation
and another one is for Messaging mapping.we are getting the problem at the time of validation itself,
i have navigated by double clicking on the imported archive mapping program it is taken into another page
where we will get the archive programs.we have soo many xsd files and its path, and one .java file and class file
for validatting the xsd files. up to now everything is fine.
please find the remaining question in the below postCONTINUATION QUESTION FOR THE ABOVE
If i click on the xsd files it is displaying the complete schema structure, but in the case of 2 xsd files(those are using in one
interface where we are getting validation error)it is displaying the error like "cannot display file com/AAA/BBB/java/CCC/xi/bc/validator/xsds/<filename.xsd> unable to determine code".as per my assumption the xsd file
is not present in that perticular path, if so how can i put these xsd files into the path specified? how can i get that folders to nagvigate into that path? And also i am not able to download the xsd file from the external defination, is it work if i copy the file into note pad and by changing the extension as .xsd ?
We are using PI7.0, give me an idea how to resolve the issue
Thanks in Advance -
Receiving a inbound xml file in Business Connector
Hi All,
The requirement is we are receiving an inbound xml file at the BC end from a third party application.
We have configured the url in the third party end as follows -
http://ip address of BC:port address/invoke/Folder/Service
When the file is posted, the xml file is normally routed to the service in the developer.
In the developer we are using the service load document to load the file from the url location.
But at present when a xml file is triggered from the third party application it is routed to the service, and on checking the url location http://ip address of BC:port address/invoke/Folder/Service the server slows down slowly and we are not able to access both the developer and administrator after this.
Are we following the correct steps, or else is there anyother way of receiving the inbound file in BC.
Any suggestions on this would be of great help.
Please let me know if we are going wrong anywhere.
Regards,
PriyaHi priye,
I am agreed with you approach, and this is what everyone do. :). So that is not a problem. May be something else will be the cause.
>>>>In the developer we are using the service load document to load the file from the url location
For load document, i don't think its necessary because using the URL post, you are submitting data directly to the Flow Service. So no need to do document load or anything. Also i am against to use the Save data in pipeline (savePipeline) service because when you transport this in production you need to comment this step otherwise it will give other problems when this will run.
if this approach is giving you performance problem, then try putting your xml file in you package directory and the write a file pooler and then parse this xml for ur use. this is one of the simple solutions.
hope this will help you.
Regards
Aashish Sinha
PS : reward points if helpful -
Inbound XML file into ECC6 .. is middleware required?
Hi
We are running SAP ECC6 and do not have SAP XI.
An external system needs us to send an outbound WMTORD in XML format. We have configured the XML port and succesfully got an xmla file out of the system.
The external system will return a WMSUMO idox in XML format. ... but I am unclear if SAP can process this directly without some middleware or having to run special function modules (somehow?!).
Can anyone help clarify what needs to be done for the inbound xml file ... do I create a file port and SAP simply converts the xml into normal format?
I see some post about running function modules .. im not cleear on what program is used to run these
Any help appreciated
ThxHI,
To answer your question specifically, No, there is no need for an middleware for your case.
You can just create an inbound port of type xml file port and do the necessary IDOC inbound configuration and that should be enough.
http://help.sap.com/saphelp_nw70/helpdata/en/3f/faa288bb7911d2897f0000e8216438/content.htm
Best Regards,
Ravi -
hello guru's,
i have to make Inbound Freight EDI Invoices using direct input method so can anyone please tell me the steps that what i will have to follow for the same? i have to pick the file from application server because file will save on there only.
regards.Hi,
You can check this program as a reference: It deals with VTMMAS and not the message type you are referring to, but the concept remains the same.
http://wiki.sdn.sap.com/wiki/display/ABAP/FiletoIdocFACTProgram
cheers
Aveek -
Hello,
Would like to know if there is a different option to parse the inbound XML without using JaxB in OCEP. I have a JMS TextMessage inbound through JMS Adapter. I can use JaxB to convert this TextMessage via MessageConverter but more steps involve. Would like to know if there is a different way to convert complex XML.
Thanks,
BrandonThanks guys for both options.
Trying to manipulate the XML directly within CQL, I have some issues with event-type for xmltype. Do you have a sample of how to do this especially the EDN. Documentation shows how to use it in CQL and getting error bellow.
<wlevs:event-type type-name="XMLEvent">
<wlevs:properties>
<wlevs:property name="msg" type="xmltype" />
</wlevs:properties>
</wlevs:event-type>
Caused By: java.lang.IllegalArgumentException: Event <xml.....> does not include event type. Please make sure event has been built using the event type repository
at com.oracle.cep.processor.cql.impl.CQLEventReceiver.sendToEngine(CQLEventReceiver.java:389)
at com.oracle.cep.processor.cql.impl.CQLEventReceiver.onInsertEvent(CQLEventReceiver.java:248)
at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListener(EventSenderImpl.java:360)
at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSenderImpl.java:331)
at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:79)
at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendInsertEvent(RecordPlaySendEventInterceptor.java:160)
at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:79)
at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(EventInspectInterceptor.java:133)
at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:79)
at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsertEvent(MonitorSendEventInterceptor.java:480)
at com.bea.wlevs.channel.impl.ChannelImpl.onInsertEvent(ChannelImpl.java:439)
at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListener(EventSenderImpl.java:360)
at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSenderImpl.java:331)
at com.bea.wlevs.ede.impl.EventSourceEventSenderImpl.sendInsertEvent(EventSourceEventSenderImpl.java:86)
at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:79)
at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendInsertEvent(RecordPlaySendEventInterceptor.java:160)
at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:79)
at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(EventInspectInterceptor.java:133)
at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:79)
at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsertEvent(MonitorSendEventInterceptor.java:480)
at com.bea.wlevs.adapters.jms.InboundJmsAdapter.onMessage(InboundJmsAdapter.java:187)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:544)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
at com.bea.core.asyncbeans.internal.DefaultMessageListenerContainer.receiveAndExecute(DefaultMessageListenerContainer.java:59)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:983)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
at com.bea.core.asyncbeans.internal.WorkManagerTaskExecutor$1.run(WorkManagerTaskExecutor.java:39)
at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Thanks,
Brandon -
Getting StatelessBeanAdapter's inbound XML
Is there any way to dump the inbound XML request sent to the StatelessBeanAdapter
servlet? I have a client (C#) that's behaving badly, and I don't have the source
so that I can dump the XML being sent to my web service.
I'm using WLS 6.1 SP3.
Thanks for any help you can provide...
BrianHi Brian,
You might try SOAPScope (www.mindreef.com); it is a tool that is useful
for troubleshooting webservice interop issues.
Hope this helps,
Bruce
Brian Manley wrote:
>
Is there any way to dump the inbound XML request sent to the StatelessBeanAdapter
servlet? I have a client (C#) that's behaving badly, and I don't have the source
so that I can dump the XML being sent to my web service.
I'm using WLS 6.1 SP3.
Thanks for any help you can provide...
Brian -
Inbound processing of INVOIC IDOC without PO number and item check
Hi All,
I'm processing an Inbound INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order but wish to do process this based on the delivery note number rather than the PO number. The INVOIC IDOC will not contain a reference to the Purchase order and thus the need to process it based on the delivery note number which will be referenced in the Purchase order Goods receipt.
However, when processing the Inbound INVOIC IDOC it is validating that the number in IDOC segment E1EDP02 with QUALF 001 is the purchase order number. In this scenario it won't be and therefore it errors. The delivery note number is in IDOC segment E1EDP02 with QUALF 016.
Could someone please tell me if there is a standard way that we can have this Inbound INVOIC IDOC processing using only the delivery note?. If I manual process in the MIRO transaction I can process an Invoice based on the dleivery note in the Goods receipt so would expect I should be able to do so also with the IDOC processing.
I have noticed that IDOC segment E1EDP19 with QUALF 003 is not being populated and therefore according to the SAP help the IDOC segment E1EDP19 with QUALF 002 holding the Vendor material number is checked. Could this have something to do with it not being able to process the Invoice using only the delivery note number reference?.
Thanks in advance,
MichaelHi Karen,
According to Note 103051 - EDI: Multiple reference to same purchase order item.
Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active. Please check the note.
Thank you,
Shyam -
Hello B2B Gurus,
I am able to process B2B inbound files successfully from Trading Partner --> B2B --> BPEL. When it comes to BPEL i am not able to parse/transform the received XML as i am getting selection failures in assign and empty nodes in transformation. When i look at the input XML payload which i received in ReceiveB2BConsume Payload i observed that i am getting namespace as " xmlns="NS_495C37A0921C418BB66A86A6E75B2CA120070312140549" instead of actual namespace xmlns="urn:oracle:b2b:X12/V4010/856" which is in my XSD as well and i am getting the XML start tag <?xml version="1.0" encoding="UTF-8" ?> 2 times. :
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<Transaction-856 xmlns="NS_495C37A0921C418BB66A86A6E75B2CA120070312140549" mlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V4010" CreatedDate="2013-08-21T16:33:57" CreatedBy="XEngine_2956" GUID="{00C28978-0AA1-11E3-88B9-80C16E7DC6DA}">
<Internal-Properties>
</Transaction-856>
I went back and checked the XSD which i loaded in the B2B Console and i am having the following namespace
"<xsd:schema xmlns="urn:oracle:b2b:X12/V4010/856" targetNamespace="urn:oracle:b2b:X12/V4010/856" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0" elementFormDefault="qualified">"
I am not sure why the XML translated from EDI in B2B console has the different namespace and XML start tag 2 times. Can you please help me resolve the issue. Let me know if i am missing anything.
Thanks in Advance..Hi,
Please set property as b2b.setDynamicNameSpace=false.
To use EDI ecs and xsd files from Oracle B2B 10g version, set this property to true.
When using EDI ecs and xsd files in Oracle B2B 11g which were used in Oracle B2B 10g, the XEngine may generate dynamic namespace for the translated xml. For example,
xmlns="NS_31CA8D0F33324F95A0BF15D85539C27E20060518215520"
To turn off dynamic namespace generation for inbound EDI messages, set this property to false.
Thanks
Satendra Pare
Maybe you are looking for
-
Serial Communication through TCP/IP Socket
There are several companies offering a serial to ethernet software solution--emulating a terminal server, however they are all for Windows or MAC. I am looking for a starting point, examples, or a final solution (yeah) that is 100% java. In the field
-
Partner Function Structure in Sales Order
Hi All, What is the Partner Function Structure in Sales Ordere (Item Level)? (In which structure the partner functions are displays in sales order item level?) Thanks in advance.
-
Consignment process sold to party
experts in reference to this thread i am posting the similar question which I dont understand . Re: Billing process in consignment I want to place my products in shoppers stop and then shoppers stop will sell the products. Now when i do fill up -> do
-
I am working on a program that will generate 'clean' svg (vector graphics) graphs from data sets. It is still very much in it's infancy - so much so that I would not even yet announce it except for the fact that it came up in another discussion. I f
-
Typing audio that isn't on slide playing when published
using Captivate 4 when I publish my project, a typing noise appears at the beginning of the project. There is no typing on the first slide at all, and the only audio file is some music. I don't hear it when previewing. any ideas?