Seeburger AS2 MDN: Reading AS2 Header DATE field
Hello,
in my AS2 scenario (using Seeburger Adapter) I forward MDN messages to PI. Now I have the requirement to read the "DATE" field of the MDN AS2 Header an map it to a target field.
In the XML message monitoring there are two payload messages:
AckReport (application/xml) and
RAWMIMEMDN (application/octet-stream)
In the message RAWMIMEMDN I see the header data and also the DATE field, now the question is, can I use the RAWMIMEMDN somehow to extract the DATE field?
Thank you for your input.
Looks like this: (However I am not sure how to use it in mapping as there are two PAYLOADS entries in SXMB, I have not seen this in any other scenario before, I guess I only have access to the XML part):
AS2-VERSION: 1.2
CONTENT-TYPE: multipart/report; report-type=disposition-notification; boundary="----=_Part_372_22591582.1258028532189"
AS2-TO: xxxxxx
FROM: xxxxxx
CONTENT-LENGTH: 798
AS2-FROM: xxxxx
MIME-VERSION: 1.0
SERVER: xxxxxx
MESSAGE-ID: <xxxxxx>
DATE: Thu, 12 Nov 2009 12:22:12 GMT
EDIINT-FEATURES: CEM
=_Part_372_22591582.1258028532189
Content-Type: text/plain; charset=us-ascii
This MDN (Message Disposition Notification) was automatically built on
Thu, 12 Nov 2009 12:22:12 GMT in response to a message with id
xxxxxx received from
xxxxx on Thu, 12 Nov 2009 12:22:10 GMT.
Unless stated otherwise, the message to which this MDN applies
was successfully processed.
=_Part_372_22591582.1258028532189
Content-Type: message/disposition-notification
Original-Recipient: rfc822; xxxx
Final-Recipient: rfc822; xxxxx
Original-Message-ID: xxxxx
Disposition: automatic-action/MDN-sent-automatically; processed
Received-Content-MIC: fzj1sSC/z3kmTWhfA6NaIQ==, md5
=_Part_372_22591582.1258028532189--
Similar Messages
-
How to read BP header data in standardaddress context node
Hi,
we have the next requirement in CRM 7.0 WebUI:
In view BP_ADDR/StandardAddress the field STRUCT.TELEPHONETEL should only be an input field if the authorization group of the business partner has a certain value. So I tried to solve this in the I-getter method for this STRUCT.TELEPHONETEL field by reading the authorization group and change the rv_disabled value.
How should I read the authorization group? This is field STRUCT.AUTHORIZATIONGROUP and belongs to the HEADER node.
Can you please supply me an example code for this?
Thanks in advance!!
Kind regards,
Roy WillemsHi,
In the get_i method use the below code to get BuilHeader entity.
Data: lv_entity type ref to cl_crm_bol_entity.
lv_entity ?= collection_wrapper->current( ).
lv_entity ?= lv_entity->get_parent( ).
if lv_entity is not bound.
lv_authgrp = lv_entity->get_property_as_string( iv_attr_name = 'AUTHORIZATIONGROUP' ).
endif.
Regards,
Arun
Edited by: Arun Kumar on Aug 9, 2010 12:58 PM -
Header data field status control
Hi SAP gurus
Where can I configure transaction code dependent field
status. What exactly I need is :"to control the
appearance of fields of Document Header like
"Reference", "Document
header text", "Translation date" etc in the
transaction F-02(General posting)".
Like for example I want to suppress the field
"Translation date" in the TC F-02, what should I do?
Thanks
Regards
PavanHi Ambar
Try to find in the list of fields in Table Extensions. GO to the respective Table Extension configuration under WebDynpro Field Control in SRM Config(Extensions and Field Control).
If it is not there , then you wont find it available for dynamic control on this field.
Regards
VIrender Singh -
Purchase order status tab(header data) field correction program
Hi,
Is there any correction program to correct status tab header details(purchase order - ME23N) ?
There is a mismatch between order quantity,delivered quantity & still to deliver quantity, I want to correct these data.
Please respond, if any thing can be done.
Thanks
DipakHi,
Be careful,
I have never heard of this being worng, however, sometimes it LOOKS wrong.
For instance you can have
ordered 100
delivered 90
still to deliver 0
(Due to the use of the delivery completed indicator)
You can also have
Ordered 100
Delivered 90
still to deliver 0
(due to the fact that one of the items was flagged as not GR relevant)
So you really MUST make sure that the data is incorrect before you consider any action.
this would be the first time in 17 years that I have ever heard of this data being worng (and that would be across MILLIONS of POs)
Steve B -
Hi experts,
we enhanced the BI Standard content DataSource 2LIS_P_ARBPL "Work Center View from PP/PP-PI" with the AFKO (Order Header) Date fields
- GLTRP (Basic fin. date)
- GSTRP (Bas. start date)
- GLTRS (Sched. finish)
- GSTRS (Sched. start)
- GLTRI (Actual finish)
- GSTRI (Actual start)
After the statistical setup of the application 04 (t/code OLI4BW) there are incorrect (regarding to the AFKO table) Date information for the fields GLTRP, GSTRP, GLTRS, GSTRS.
t/code CO03 "Production order: Header"
Table AFKO "Production Order Header"
Table CAUFV
PSA Table of DataSource 2LIS_04_P_ARBPL
The Date information of the fields GLTRP, GSTRP, GLTRS, GSTRS not equals to the information in CO03, AFKO, CAUFV:
Any ideas or experiences?
Many thanks in advance and best regards,
MichaelHi Anshu,
thanks for your reply!
yes, the release version settings in t/code OPL5 are relevant for the update.
Helpful SAP Notes:
- 787807 - Different data for a request in the R/3 and BW systems
- 100082 - Change is not updated after release
Regards,
Michael -
Hi there,
Does anyone know if Cold Fusion is required to activate the
flash "Date Field" component? I would like to create a form in
flash 8 that allows the user to select the date from a calendar.
Thanks in advance!no - ColdFusion isn't required. you should be able to tell
this by starting a new AS2 Flash file, dragging a Date Field
component on, and compiling. -
How to change order header data before SAVE in CRM 2007
Hi,
I want to modify service order header value before saving it, to achieve this :
1) Implemented BADI ORDER_SAVE
2) in the method CHECK_BEFORE_SAVE, read order details by using FM CRM_ORDER_READ and done all validations.
3) Now i want modify one field value. how to do that ?
i came to know that by using FM CRM_ORDER_MAINTAIN or CRM_ORDERADM_H_MAINTAIN_OW data can be update/modify.
Is this right ? what are the parameters i need to pass and exactly in which method i have use this FM.
I want to pass the value in CRMT_ORDERADM_H_WRK(ET_ORDERADM_H) structure i.e. only for one filed.
Please let me know how it can be done.
Thanks
BhanuHi,
I am using following code, please correct if it is wrong.
DATA : IS_ORDERADM_H_COM TYPE CRMT_ORDERADM_H_COM,
CT_ORDERADM_H TYPE CRMT_ORDERADM_H_COMT,
IT_INPUT_FIELDS TYPE CRMT_INPUT_FIELD_TAB,
WA_INPUT_FIELDS TYPE CRMT_INPUT_FIELD,
IT_FIELD_NAMES TYPE CRMT_INPUT_FIELD_NAMES_TAB,
WA_FIELD_NAMES TYPE CRMT_INPUT_FIELD_NAMES,
IT_SERVICE_H TYPE CRMT_SERVICE_H_COMT,
WA_SERVICE_H TYPE CRMT_SERVICE_H_COM.
After reading order header data from "'CRM_ORDER_READ", pass header data to below structure
MOVE-CORRESPONDING EW_ORDERADM_H TO IS_ORDERADM_H_COM.
IS_ORDERADM_H_COM-ZZFLD00000Y = '123456'. <== want to save value in this field created on service header screen by using AET
APPEND IS_ORDERADM_H_COM TO CT_ORDERADM_H.
WA_SERVICE_H-REF_KIND = 'A'.
WA_SERVICE_H-REF_GUID = EW_ORDERADM_H-GUID.
WA_SERVICE_H-MODE = 'B'.
APPEND WA_SERVICE_H TO IT_SERVICE_H.
WA_INPUT_FIELDS-REF_GUID = EW_ORDERADM_H-GUID.
WA_INPUT_FIELDS-REF_KIND = 'A'.
WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'. <= Is this right ?
WA_INPUT_FIELDS-LOGICAL_KEY = ? what is nothing but logical key
WA_FIELD_NAMES-FIELDNAME = 'ZZFLD00000Y'.
WA_FIELD_NAMES-CHANGEABLE = 'X'.
APPEND WA_FIELD_NAMES TO IT_FIELD_NAMES.
WA_INPUT_FIELDS-FIELD_NAMES = IT_FIELD_NAMES.
APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_SERVICE_H = IT_SERVICE_H <= is this required ?
CHANGING
CT_ORDERADM_H = CT_ORDERADM_H
CT_INPUT_FIELDS = IT_FIELD_NAMES
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
awaiting for your replies
Thanks
Bhanu
Edited by: Bhanupracash on Apr 6, 2011 2:14 PM -
How can read BOM component date before save the production order??
Hi Experts,
In our company, we need to develop a program to read the BOM component data of the production order
before we save the production order.
That for example ,when we create and release a production order , before we save the production
order,we want a porgram to read the BOM component data. If some component data can meet our
requriement (may be if there is material requirement quantity>100 EA),then the system will pop up a
small dialog box to remind us.
There is user exit PPCO0007 and PPCO0007.But it seems they only can read the head data of the
production order before we save the production order. And the BOM component data of the production
order are saved in the RESB(Reservation Table).So if we do not save the production order,all the BOM
component data are not saved in the RESB table.
So how can slove the problem??
How can read component date before save the production order??
Are there any other user exit we can use???Hi Just wanted to check am I right that you are trying to check if you have enough Materials Available before you release or Save the order right ? if this is your business objective then when you create order you have material availability tab which checks and gives error if shortage is there. Please let me know if is this wht you asking for ?
-
Logic for Header data required
1.I have a Sales Cube.
2.i have field called Header Data.
3.I need to populate Header data by calculating Net Order amount based on Sales order no and Sales order item details.
For Example:-
Sales order , Sales Item Data , Net order amount , Header Data
001 , 1 , 200 , 500
001 , 2 , 300 , 500
002 , 1 , 300 , 1000
002 , 2 , 500 , 1000
002 , 3 , 200 , 1000
4. I need to Sum all the items for each order to populate my Header data.
I m using BI 7.0 .... how and where should i write the logic to populate my Header data field.Hi,
Why do you maintain Header level data in Infocube? Just create a report with Sales Order in rows and Net order amount (Change description to Header Data)in Rows system will automatically give header level data as shown below:
Sales order , Header Data
001 , 500
002 , 1000
hope it helps...
regards,
Raju -
Hi All,
I am using AS2 to communicate with a supplier. The setup is :-
Host Trading Partner :-
Acknowledgement Mode Sync
Global Usage Code Test
Is Non-Repudiation of Receipt Required True
Is Non-Repudiation of Origin Required True
Encryption Enabled True
Transport Security Enabled True
Remote Trading Partner :
Acknowledgement Mode Sync
Global Usage Code Test
Is Non-Repudiation of Receipt Required True
Is Non-Repudiation of Origin Required True
Encryption Enabled True
Transport Security Enabled False
According to the b2b.log file, the MDN is being received but it is erroring with : java.lang.NoClassDefFoundError: oracle/security/crypto/smime/SmimeDataContentHandler
The log file from sending message to the mdn erroring is listed below :-
2007.12.03 at 10:47:35:494: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create Event Table row for Message Retries
2007.12.03 at 10:47:35:494: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit timeToAck = Thu Jan 01 10:00:00 WST 1970
2007.12.03 at 10:47:35:498: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Enter
2007.12.03 at 10:47:35:499: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Event Type = 2
2007.12.03 at 10:47:35:499: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow EventId = 12
2007.12.03 at 10:47:35:499: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Id = 2d383235383836363134353830383438
2007.12.03 at 10:47:35:506: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Exit
2007.12.03 at 10:47:35:509: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Current TimeStamp isMon Dec 03 11:47:35 WST 2007
2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Retry shall happen at Mon Dec 03 13:47:35 WST 2007
2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit business transaction info name null revision null
2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Exit
2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) DBContext commit: Enter
2007.12.03 at 10:47:35:516: Thread-13: B2B - (DEBUG) DBContext commit: Transaction.commit()
2007.12.03 at 10:47:35:517: Thread-13: B2B - (DEBUG) DBContext commit: Leave
2007.12.03 at 10:47:35:517: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2007.12.03 at 10:47:35:517: Thread-13: B2B - (DEBUG) Protocol Name: HTTP
2007.12.03 at 10:47:35:518: Thread-13: B2B - (DEBUG) Version Name: 1.1
2007.12.03 at 10:47:35:518: Thread-13: B2B - (DEBUG) Endpoint: http://aaaaa.bbbbb.cccccc.dddddd:80/as2/as2.aspx?action=receive
2007.12.03 at 10:47:35:518: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send proxy 203.0.173.114
2007.12.03 at 10:47:35:519: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send proxy port4545
2007.12.03 at 10:47:35:519: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTP://aaaaa.bbbbb.ccccc.dddddd/AS2/AS2.ASPX?ACTION=RECEIVE
2007.12.03 at 10:47:35:519: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 501 http://aaaaaa.bbbbbb.ccccccc.ddddddd:80/as2/as2.aspx?action=receive
2007.12.03 at 10:47:35:520: Thread-13: B2B - (DEBUG)
Protocol = HTTP
Version = 1.1
Transport Header
Content-Transfer-Encoding:binary
Message-ID:<2d383235383836363134353830383438@HCNB2BTEST>
MIME-version:1.0
From:HCNB2BTEST
Disposition-Notification-To:[email protected]
AS2-To:PACCOMTEST
User-Agent:AS2 Server
Date:Mon, 03 Dec 2007 03:47:34 GMT
Disposition-Notification-Options:signed-receipt-protocol=required, pkcs7-signature; signed-receipt-micalg=required, sha1
AS2-From:HCNB2BTEST
AS2-Version:1.1
Content-Type:application/pkcs7-mime; smime-type="enveloped-data"
Parameters
-- listing properties --
http.sender.timeout=0
2007.12.03 at 10:47:35:521: Thread-13: B2B - (DEBUG) scheme null userName null realm null
2007.12.03 at 10:47:44:062: Thread-13: B2B - (DEBUG)
Protocol = HTTP
Version = HTTP/1.1
Transport Header
Message-ID:87f555c8-6954-4637-8ddf-bbf7f50f18e4@HCNB2BTEST
X-Powered-By:ASP.NET
Subject:Message Disposition Notification
Cache-Control:private
X-Cache:MISS from lxfm027bzl.hdwa.health.wa.gov.au
AS2-To:HCNB2BTEST
X-AspNet-Version:1.1.4322
Content-Length:3550
MIME-Version:1.0 (produced by the IP*Works! MIME Component)
Content-Description:MIME Message
Server:Microsoft-IIS/5.0
Date:Mon, 03 Dec 2007 02:10:20 GMT
AS2-Version:1.1
AS2-From:PACCOMTEST
Content-Type:multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="boundaryu1ADmw=="
2007.12.03 at 10:47:44:063: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Message Successfully Transmitted
2007.12.03 at 10:47:44:063: Thread-13: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Send Successful!, Request Message sucessfully Transmitted
2007.12.03 at 10:47:44:063: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling postTransmit to do post transmit processing of request message
2007.12.03 at 10:47:44:064: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Enter
2007.12.03 at 10:47:44:064: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2007.12.03 at 10:47:44:064: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Leave
2007.12.03 at 10:47:44:065: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit Enter
2007.12.03 at 10:47:44:065: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit AckMode is SYNC
2007.12.03 at 10:47:44:065: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
2007.12.03 at 10:47:44:068: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2007.12.03 at 10:47:44:068: Thread-13: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
2007.12.03 at 10:47:44:076: Thread-13: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
2007.12.03 at 10:47:44:079: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2007.12.03 at 10:47:44:080: Thread-13: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
2007.12.03 at 10:47:44:091: Thread-13: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
2007.12.03 at 10:47:44:091: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
2007.12.03 at 10:47:44:091: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit Update the Message Table Row with message state Wait for Incoming Acknowledgment
2007.12.03 at 10:47:44:094: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2007.12.03 at 10:47:44:094: Thread-13: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2007.12.03 at 10:47:44:112: Thread-13: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2007.12.03 at 10:47:44:112: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit Commit
2007.12.03 at 10:47:44:112: Thread-13: B2B - (DEBUG) DBContext commit: Enter
2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext commit: Transaction.commit()
2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext commit: Leave
2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Enter
2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2007.12.03 at 10:47:44:117: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Leave
2007.12.03 at 10:47:44:117: Thread-13: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
2007.12.03 at 10:47:44:124: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
2007.12.03 at 10:47:44:124: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Enter
2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Exit
2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) MimePackaging:unpack:Enter
2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) MimePackaging:doUnpack:Enter
2007.12.03 at 10:47:44:127: Thread-13: B2B - (DEBUG) MimePackaging:processMessageContent:Enter
2007.12.03 at 10:47:44:128: Thread-13: B2B - (DEBUG) MimePackaging:processMultipartMessage:Enter
2007.12.03 at 10:47:44:128: Thread-13: B2B - (DEBUG) MimePackaging:processSignedMultipartMessage:Enter
2007.12.03 at 10:47:44:135: Thread-13: B2B - (ERROR) MsgListener:onMessage processing IP_MESSAGE_TYPE Throwable - oracle/security/crypto/smime/SmimeDataContentHandler
2007.12.03 at 10:47:44:136: Thread-13: B2B - (ERROR) java.lang.NoClassDefFoundError: oracle/security/crypto/smime/SmimeDataContentHandler
at oracle.tip.adapter.b2b.packaging.DataContentHandlerFactoryImpl.createDataContentHandler(DataContentHandlerFactoryImpl.java:99)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:561)
at javax.activation.DataHandler.getContent(DataHandler.java:501)
at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:531)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processSignedMultipartMessage(MimePackaging.java:872)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMultipartMessage(MimePackaging.java:727)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:684)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.doUnpack(MimePackaging.java:624)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.unpack(MimePackaging.java:554)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1130)
at oracle.tip.adapter.b2b.msgproc.Request.postTransmit(Request.java:1822)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1386)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
at java.lang.Thread.run(Thread.java:534)I got an update from a colleague in Oracle with regard to this and he supplied me with the missing classes, in the folder $ORACLE_HOME/ip/lib/osdt/ :-
osdt_cms.jar
osdt_smime.jar
osdt_core.jar
osdt_cert.jar
No idea why they were not available as part of the original install. Thanks. -
Unable to identify the exchange protocol of the message (sync AS2 MDN)
Hi,
We got the following error:
Description: Unable to identify the exchange protocol of the message
StackTrace:
Error -: AIP-50080: Exchange protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1367)
at oracle.tip.adapter.b2b.msgproc.Request.postTransmit(Request.java:2370)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1813)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1152)
at oracle.tip.adapter.b2b.xmlgwIntg.XMLGWIntegration.raiseOutboundMessage(XMLGWIntegration.java:168)
at oracle.tip.adapter.b2b.xmlgwIntg.Outbound.onMessage(Outbound.java:297)
at oracle.jms.AQjmsListenerWorker.dispatchOneMsg(AQjmsListenerWorker.java:316)
at oracle.jms.AQjmsListenerWorker.run(AQjmsListenerWorker.java:129)
at java.lang.Thread.run(Thread.java:534)
Here is the Wire message (sync MDN)
=======================
Message-ID=<23033756.391232032071968.JavaMail.SYSTEM@INUBITTEST>
Subject=Your ORDERS AS2
[email protected]
Content-Length=1347
MIME-Version=1.0
Server=Apache
Date=Thu, 15 Jan 2009 15:07:52 GMT
Content-Type=multipart/mixed; boundary="----=_Part_53998_23619909.1232032071968"
[email protected]
------=_Part_53998_23619909.1232032071968
Content-Type: text/plain; charset=UTF-8; name=test.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=test.txt
Message-ID: <17080722.371232032071906.JavaMail.SYSTEM@INUBITTEST>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=disposition-notification;
boundary="----=_Part_53997_14786767.1232032071906"
AS2-Version: 1.1
AS2-From: test_AS2
AS2-To: as2me
------=_Part_53997_14786767.1232032071906
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
MDN for Message ID: <33156:4:0:137@as2me>
From: as2me
To: test_AS2
Received on: Thu, 15 Jan 2009 16:07:51 +0100
Status: processed
Comment: This is not a guarantee that the message has
been completely processed or unterstood.
------=_Part_53997_14786767.1232032071906
Content-Type: message/disposition-notification
Content-Transfer-Encoding: 7bit
Reporting-UA: inubit Integration Server
Original-Recipient: rfc822; test_AS2
Final-Recipient: rfc822; test_AS2
Original-Message-ID: <33156:4:0:137@as2me>
Disposition: automatic-action/MDN-sent-automatically; processed
Received-Content-MIC: 5kFOLMXOUurpm6DUTA8IMRj5gcs=, sha1
------=_Part_53997_14786767.1232032071906--
------=_Part_53998_23619909.1232032071968--
============================
The communication with our TP is going well, we are able to send, receive messages over AS2 and send back MDN, but we are not able
to receive their MDN.
Edit:
It seems that after the latest MLR patch, the error changed to [IPT_HttpSendError] HTTP encounters send error :. Premature EOF encounter but the roots seem to lead to the problem with MDN as B2B is sending the message a couple of times now and gives the mentioned EOF error.
Please advise,
Thank you
Edited by: Kamil Zadora on Jan 30, 2009 3:44 AMHi Ramesh,
Yes, agreement uses AS2 IDentifiers. Incoming messages are recognized correctly, and we send back sync MDN that is correctly received by our TP. They also recieve our messages correctly although Oracle B2B does not recognize the MDN from them. I think that this causes that, now after applying the latest MLR patch, B2B tries to send it around 6 times and gives the Unexpected EOF error.
Thank you for your help in advance,
Kind regards, -
Correlating AS2 MDN to Original IDoc?
Hi All -
I have got the following scenario:
1) Backend system (ECC) sends IDoc to SAP PI.
2) SAP PI maps IDoc to EDIFACT message and sends via AS2 to B2B Partner.
3) B2B Partner sends back AS2 MDN to acknowledge receiving of AS2 message.
__Question:__
How can I now correlate the AS2 MDN to the original IDoc and so forward the acknowledgement to the Backend system?
I was thinking to use the 'Correlation ID' which is contained in the AS2 MDN and is the same ID as the original SAP PI message.
However, how do I practically retrieve the IDoc number (part of original IDoc message and used as identifier in the ECC system) from the persisted messages of SAP PI?
Can I code an ABAP or JAVA program which is than called within a mapping to query the persisted messages and give back the correlating IDoc number?
Are there other ways to achieve this?
Thanks for your inputs.
Best Regards, Mathias.Hi Mathias,
Approach1:
I would definately not consider using BPM overhead on a high volume scenario. As the Output file(that will be generated) will be a simple XML message with just the data required for corelating with the MDN. All MDN's are expected to received within 1 min or less than 5 min.(B'cos it is a System level Acknowledgement), Hence if the BPM is not closed within the specified time period(1min or 5 min), raise an exception.
The Corelation file that will be generated can look like
<MDN_Corr>
<SenderAS1ID> --> Will be used for Corelating the MDN
<ReceiverAS2ID> --> Will be used for Corelating the MDN
<TimeStamp>
<IDOCNumber>
<EDI_ISA_Control_No> --> Will be used for Corelating the MDN
<EDI_Message_Type>
</MDN_Corr>
Approach2:
It might be very resource intensive to perform payload search. (and in some cases, the messages are archived, hence might result in bad search). Hence, you can have Z-Table all the fields as mentioned in the XML message. 1:1 mapping b/n EDI_ISA control number & IDOC_Number will be your lookup key-value params
-SM -
Not able to generate AS2 MDN when receiving custom XML via AS2
Hi friends,
I have setup the trading partner and the corresponding TP certificate import for receiving the custom XML via AS2 channel.
I am receiving the custom xml properly to oracle b2b and able to receive the same to bpel as well. however in the oracle b2b console under reports tab i am seeing only one record for inbound document receive and i am not seeing the other record for the AS2 MDN going back to vendor. I have setup the AS2 channel under the external trading partner --> Channel using the vendor AS2 URL and selected all the security parameters while creating the Outbound AS2 channel.
1. Not able to generate AS2 MDN when receiving custom XML via AS2.
2. eventhough i am able to decrypt the inbound custom XML and ablr to recieve it in bpel also for processing, in the reports tab the inbound message state is changing to MSG_ERROR and it has the folloing error message:
Error Code
B2B-50037
Error Description
Machine Info: (***********) Description: B2B inbound message processing error
Error Level
ERROR_LEVEL_COLLABORATION
for AS2 MDN generation for custom XML receiving using As2 protocol, do we need to setup anything other than the outbound As2 Channel using the external vendor AS2 URL?
Can you please help me how can i generate the AS2 MDN for the inbound custom XML document i have received and also why the inbound message is failing even though i am receiving the custom XML properly to bpel?
Thanks,
Amirineni.Hi Prasanna,
Vendor has enabled the ACK mode as SYNC.
Below are the headers for the inbound message to B2B. and we are able to receive the input message to bpel also.
Protocol Transport Binding
ChannelName=******** AS2-To=****AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=****** Recipient-Address=https://******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=****** Content-Disposition=attachment; filename="smime.p7m" Host=****** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=****** Mime-Version=1.0
Message Digest
Message Digest
Digest Algorithm
sha1
Transport Protocol
HTTP
Transport Protocol Version
1.0
Url
http://******
security
Transport Headers
ChannelName=****** AS2-To=******AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****AS2_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=***** Recipient-Address=*******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=******* Content-Disposition=attachment; filename="smime.p7m" Host=***** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=***** Mime-Version=1.0
Thanks,
Amirineni -
Base line date field ( header data 2nd tab) to be made noneditable in MIRO
Hi friends,
My requirment is to make Base line date field ( header data 2nd tab) to be noneditable in Tcode MIRO .
This base line date should be noneditable only for one specific company code.
Help me with some clues.
regards
Sathishwhy cant you use a screen variant....In SHd0..
also check this..
[http://forums.sdn.sap.com/click.jspa?searchID=37685778&messageID=8389969] -
Can I handle the outgoing AS2 MDN in a sync fashion ?
... before they are returned to the partner using the same http connection ?
As per the guide, it tells me there is no subscription to the messagebox. I need to capture the outgoing sync mdn before it is sent to the partner (connected to a request-response port), pretty much as we are doing so today with the outgoing async mdns.
Fabrikam will send us a message, the receive pipeline will validate, I need to handle the mdn resolution just before it goes back throught the as2 send pipeline. Is this possible ?Hi René,
Not tried it personally but I hope you can. I am not sure whether you can edit the disposition. But handle it like access it context properties etc.
Give it a go..
In case of synchronous mode, the MDN will
generated by the AS2 Decoder in the AS2Receive receive pipeline. You will get
MDN message (if enabled) as well as payload message
after the disassemble stage. Here (may be in party resolution stage) you can create a custom pipeline component to handle the MDN as per your requirement. At this stage you will have both the
MDN and AS2 message-payload, so you have to differentiate whether it’s a MDN or payload by the following code:
if (!(bool)inmsg.Context.Read("IsAS2PayloadMessage", "http://schemas.microsoft.com/BizTalk/2006/as2-properties"))
//Then this is a MDN not a AS2-Payload message
//Handle the MDN here..
Once the MDN has been generated (after you handle it), AS2 Encoder of AS2 Send pipeline
acts as a passthrough pipeline and route the MDN.
Refer
this BizTalk Hotrod magazine and check the “Custom Pipeline Component for Promoting Properties” section where the
author handle the payload where as in your case you have to handle the MDN.
Regards,
M.R.ASHWINPRABHU
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.
Maybe you are looking for
-
Turning off all battery draining services but keeping phone reception?
Is it possible to switch off all the services that drain batter life such as GPRS, EDGE, WI-FI etc etc etc with one switch and still keeping your phone reception. I know you can turn the phone on Airplane Mode but this loses your phone reception. Als
-
Is any way to set up a preparestatement in this situation?
Here are two related tables: friends ( id varchar(20), myfriends []varchar(20) account ( id varchar(20), name varchar(20) I need to find out someone's friends' names, if there is any. Two SQL statements are needed to achieve the result. In order to p
-
HR_INFOTYPE_OPERATION - Need help w/Deleting infotype records
Hello all, We have an issue where infotype records got created where the ENDDA is less than the BEGDA (ENDDA = 06/30/2006 and BEGDA = 07/01/2006). We are trying to delete these using HR_INFOTYPE_OPERATION but we are getting message PG-009 (No data s
-
Hi I want to download Adobe Edge Animate, but it doesn't show up anywhere, not on the Creative Cloud App overview page and not in the Adobe Application Manager. What is wrong???
-
Network issues with Apple products?
I've got a weird issue with my Apple products connecting to certain networks. Two different instances: 1) My parents house, my iPhone, iPad, and MacBook Pro all have issues in contacting certain sites and apps. Things from google or apple servers won