Handling Positional EDI file
In 10.1.2.0.2 Positional EDI Document can be processed using Custom Document Plugin and following are the steps for the same.
1. Apply the latest B2B patch on 10.1.2.0.2 Installation.
2. Add the parser into registryValidator.xml
<Item
Name="SchemaFile">D:/Oracle/midtier/ip/oem/edifecs/XEngine/config/schema/IDoc_parser_40_2_ch
ar_delim.ecs</Item>
3. Design the ecs file in spec builder depending on the Positional Flat file.
4. As part of Document protocol Revision Override the Document Protocol parameter by specifying the ImplementationClass as oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin
5. Provide the IDOC Ecs file as part of the Document definition Parameter along with start position and End position.
6. Run the End to End test.
Hi Chandra,
Instead of using File Content Conversion to convert the file structure, try using the standard module StrictXML2PlainBean instead. The problem is File Content Conversion doesn't identify an empty payload, even if you don't pass anything from the proxy. It doesn't return an empty message to the file adapter.
StrictXML2PlainBean or MessageTransformBean will do the trick for you.
Don't forget to set the empty message handling to Write Empty File.
http://help.sap.com/saphelp_nwpi711/helpdata/en/44/748d595dab6fb5e10000000a155369/frameset.htm
HTH,
Erwin
Similar Messages
-
Positional Flat File Handling in B2B
Problem:
There is a big problem with handling positional flat files in Oracle B2B. We are trying to handle Positional Flat File, in UTF-8 with BOM encoding, after creating document definition and setting the agreement, we received:
B2B-51507 Error: The data starting at position 0 is not recognized as a valid data transmission.
What’s more, we remembered to locate Parser file into Config/schema location, which usually fixes problem.
Full description:
We have a sample flat file, with UNIX (LF) endline character, encoded in UTF-8 with BOM:
11B6Kamil Mazur Lazurowa 8 12 CityABCD PL
Junior Consultant MyCompanyX
StreetAAAAAA 00-000 CityABCD
First of all, we have created a guideline *.ecs and schema XSD, like that:
imgur: the simple image sharer
During XSD creation we have remembered to confirm, that our endline character is in UNIX standard (LF).
After that, we have created Parser Schema File, and paste it in the schema location in our server:
/oracle/Middleware/MyDomain/soa/thirdparty/edifecs/XEngine/config/schema,
after that we paste the schema location in XRegistry file:
imgur: the simple image sharer
After that action, we restarted SOA Server (which was running during these changes).
When SOA Server was in alive again, we’ve created a document definition :
imgur: the simple image sharer
Starting and Ending positions are from 2-5, because of BOM character existence. Then, we created Trading Partner and Inbound Agreement, based on this Document Definition:
imgur: the simple image sharer
Then we posted out test file via Generic File Listening Channel, with no Java Callout and other properties. Unfortunately, we receive error like this:
Business Message :
Id
AC18017B146145ADDCD00000178AA4F9
Message Id
AC18017B146145ADDCB00000178AA4F8-1
Refer To Message
Refer To Message
Sender Type
Name
Sender Value
Szkolenie
Receiver Type
Name
Receiver Value
MyCompany
Sender
Szkolenie
Receiver
MyCompany
Agreement Id
PersonIn
Agreement
PersonIn
Document Type
Person
Document Protocol
PositionalFlatFile
Document Version
Logistics2013
Message Type
REQ
Direction
INBOUND
State
MSG_ERROR
Acknowledgement Mode
NONE
Response Mode
ASYNC
Send Time Stamp
2014-05-19 14:00
Receive Time Stamp
2014-05-19 14:00
Document Retry Interval(Channel)
0
Document Remaining Retry(Channel)
0
Document Retry Interval(Agreement)
Document Remaining Retry(Agreement)
Native Message Size
141
Translated Message Size
Business Action Name
Business Transaction Name
Xpath Name1
Xpath Value1
Xpath Expression1
Xpath Name2
Xpath Value2
Xpath Expression2
Xpath Name3
Xpath Value3
Xpath Expression3
Correlation From XPath Name
Correlation From XPath Value
Correlation From XPath Expression
Correlation To XPath Name
Correlation To XPath Value
Correlation To XPath Expression
Wire Message
Wire Message
Application Message
Application Message
Payload Storage
Payload Storage
Attachment
Attachment
Label
soa_b2b_ - Thu May 15 15:04:40 CEST 2014 - 1
Collaboration Id
AC18017B146145ADD9200000178AA4F7
Collaboration Name
Collaboration Version
Business Action Name
Exchange Protocol Name
Generic File
Exchange Protocol Version
1.0
Interchange Control Number
Group Control Number
Transaction Set Control Number
Error Code
B2B-51507
Error Description
Machine Info: (soatest.corp.prv) The data starting at position 0 is not recognized as a valid data transmission.
Error Level
ERROR_LEVEL_COLLABORATION
Error Severity
ERROR
Error Text
Payload validation error.
Wire Message:
Id
AC18017B146145ADAB400000178AA4F1
Message Id
AC18017B146145ADAB400000178AA4F1
Business Message
AC18017B146145ADDCD00000178AA4F9
Packed Message
Packed Message
Payload
Payload
Protocol Message Id
test_4value.txt@AC18017B146145ADAE500000178AA4F5
Refer To Protocol Message Id
Protocol Collaboration Id
Protocol Transport Binding
filename=test_4value.txt filesize=143 ChannelName=SzkolenieChannel file_ext=txt fullpath=/home/oracle/POC/positional/Krzysiek/test_4value.txt timestamp=2014-05-07T10:23:30.000+01:00 tp_profile_name=Szkolenie MSG_RECEIVED_TIME=Mon May 19 14:00:37 CEST 2014
Message Digest
Message Digest
Digest Algorithm
Transport Protocol
File
Transport Protocol Version
1.0
Url
file://localhost//home/oracle/POC/positional/Krzysiek
security
Transport Headers
filename=test_4value.txt filesize=143 ChannelName=SzkolenieChannel file_ext=txt fullpath=/home/oracle/POC/positional/Krzysiek/test_4value.txt timestamp=2014-05-07T10:23:30.000+01:00 tp_profile_name=Szkolenie MSG_RECEIVED_TIME=Mon May 19 14:00:37 CEST 2014
certificates
certificates
State
ERROR
Reattempt Count
Error Code
B2B-51507
Error Description
Machine Info: (soatest.corp.prv) The data starting at position 0 is not recognized as a valid data transmission.
Error Text
Payload validation error.
exchange Retry Interval
exchange Remaining Retry
Message Size
141
Payload seems to be unchanged. Problem appears, when our B2B works in Cluster (but both configuration parameters b2b.HAInstance b2b.HAInstanceName are set properly for both soa-servers):
imgur: the simple image sharer
There are no additional info in logs :
[2014-05-19T14:07:47.994+02:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: DaemonWorkThread: '20' of WorkManager: 'wm/SOAWorkManager'] [userId: <anonymous>] [ecid: a8bc74c6eb84aa5b:452af1da:146046c88de:-8000-00000000000598a0,0] [APP: soa-infra] Engine: processIncomingMessageImpl: Message id = AC18017B14614616E1A00000178AA510-1 FromParty = Szkolenie Doctype = Person version = Logistics2013
That’s unfortunately all. Is there any configuration that we missed? How to fix this problem?Hi Anuj,
I have added a transformation in the mediator component and I'm now able to transfer the opaque data from Oracle B2B to composite and then write the contents of flat file to another specified file thorugh file adapter.
However I still have few more issues in different scenarios:
I have tried the excercise that was mentioned in your blog:
http://www.anuj-dwivedi.blogspot.com/2011/10/handling-positionaldelimited-flat-files.html
I tried to create a flat file with two records or lines as mentioned in the blog. First line contains header information whose length is 57 characters with 5 Fileds in it. Second line contains the actual data with 57 characters and 5 fields in it. In the agreement that was created to handle this flat file, I have checked the Validate & Translate check box.
During validation, B2B is failing to treat the second line as a new record and it considering it in one record and the validation is failing as nothing is specified from 58th character in the ECS & XSD files.
Following is the error:
Error -: B2B-51507: Payload validation error.: Machine Info: (corpdevsoa10) Extra Field was found in the data file as part of Record HEADER. Record HEADER is defined in the guideline at position 1.{br}{br}This error was detected at:{br}{tab}Record Count: 1{br}{tab}Field Count: 6{br}{tab}Characters: 57 through 116
Please advice me in resolving this issue.
Thanks,
Krishna. -
Handle edi file in BIC mapping
Hi folks,
I got edi file without end separator. Can you please tell me how to handle this edi file without end separators in BIC mapping
Thanks,
EnivassHi,
> I got edi file without end separator. Can you please tell me how to handle this edi file without end separators in BIC mapping
If the edi file doesn't have end separator then it should throw an errror. You can provide the end separator manually then send the message to PI again, otherwise it doesn't know where the file ends.
Regards,
Venkata Ramesh -
Getting error while reading the positional flat files
Hi,
I have a requirement to read a Positional Flat file and convert into XML through oracle B2B. I have created a positional flat file .ecs, XSD and parser .ecs file using the blog http://anuj-dwivedi.blogspot.in/2011/10/handling-positionaldelimited-flat-files.html and updated the same in the server.
I have created a agreemnt for inbound scenario But while testing the inbound scenario i am getting an error in B2B as :
Error Code B2B-50083
Error Description Machine Info: Description: Document protocol identification error.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Document protocol identification error.
I have tried all the possible ways but getting the same error.
Please guide me to overcome this.
Thanks,
NishanthNishanth,
Have you followed the step#2 correctly -
Copying the parser ecs in the installation directory and adding an entry in XERegistry.xml (of all machines if domain is spanned across multiple machines)
Also make sure that you have provided Identification Value, Identification Start Position and Identification End Position correctly in Document Defintion. Please remember that start position starts from 1 (instead of 0)
Regards,
Anuj -
Change to the existing outgoing positive payment file (EID 820)
Hello Experts,
I have to make a change to the existing outgoing positive payment file (EID 820).
The current scenario is:
We are running the payment run in SAP and generating IDocs using program RFFOEDI1 mentioned in printout data medium. The IDocs generated are of Basic Type PEXR2002. These IDocs then processed by SAP PI and converted to EDI and the EDI is sent to the Bank. Currently in this process, we are not assigning the check numbers at the time of payment run. Also the check numbers are not there in the IDocs. The Bank prints the checks and sends us the check number which we update in SAP using Z program.
Now there is a change in the requirement and we need to assign the check numbers at the time of payment run and also transmit them with the EDI file to the Bank. Bank will print the checks and send it to the vendors.
Now as per my understanding, the check number will not be assigned until I use the program RFFOUS_C in printout data medium.
Please suggest the possible options to generate IDocs which has the check number in it.
Thanks in advance
Sanjay SarodeYou can use RFFOEDO_1 can still generate check 3's, just maintain check number in the check lots configuration and ensure you assign the lots to the correct payment method.
Thanks
Shine -
4010_850 EDI file Generation issue.
Hi All,
We are facing issue in converting 850 EDI XML to EDI file.
We could generate a simple EDI based on mandatory elements. But when we try to provide DTM and AMT values , We are hitting below issues..
I am missing some basic stuff. Please find the EDI XML i am trying to convert to EDI file.
<?xml version = '1.0' encoding = 'UTF-8'?><Transaction-850 xmlns:ns1="urn:oracle:b2b:X12/V4010/850" Standard="X12" xmlns="urn:oracle:b2b:X12/V4010/850">
<ns1:Segment-ST>
<ns1:Element-143>850</ns1:Element-143>
<ns1:Element-329>000000010</ns1:Element-329>
</ns1:Segment-ST>
<ns1:Segment-BEG>
<ns1:Element-353>00</ns1:Element-353>
<ns1:Element-92>NE</ns1:Element-92>
<ns1:Element-324>12345678</ns1:Element-324>
<ns1:Element-373>20140703</ns1:Element-373>
</ns1:Segment-BEG>
<ns1:Loop-PO1>
<ns1:Segment-PO1>
<ns1:Element-350>001</ns1:Element-350>
<ns1:Element-330>1</ns1:Element-330>
<ns1:Element-212>96</ns1:Element-212>
<ns1:Element-639>AA</ns1:Element-639>
<ns1:Element-235_1>VC</ns1:Element-235_1>
<ns1:Element-234_1>571157</ns1:Element-234_1>
<ns1:Element-235_2>CB</ns1:Element-235_2>
<ns1:Element-234_2>00100</ns1:Element-234_2>
</ns1:Segment-PO1>
<ns1:Loop-PID>
<ns1:Segment-PID>
<ns1:Element-349>F</ns1:Element-349>
<ns1:Element-352>Rockford product</ns1:Element-352>
</ns1:Segment-PID>
</ns1:Loop-PID>
<ns1:Segment-DTM>
<ns1:Element-374>038</ns1:Element-374>
<ns1:Element-373>20140626</ns1:Element-373>
</ns1:Segment-DTM>
<ns1:Loop-AMT>
<ns1:Segment-AMT>
<ns1:Element-522>1</ns1:Element-522>
<ns1:Element-782>1</ns1:Element-782>
</ns1:Segment-AMT></ns1:Loop-AMT>
</ns1:Loop-PO1>
<ns1:Segment-SE>
<ns1:Element-96>#SegmentCount#</ns1:Element-96>
<ns1:Element-329>000000010</ns1:Element-329>
</ns1:Segment-SE>
</Transaction-850>
Only DTM passed :
=============
Error :
Extra Element was found in the data file as part of Segment DTM. Segment DTM is defined in the guideline at position 210.{br}{br}This error was detected at:{br}{tab}Segment Count: 5{br}{tab}Element Count: 1{br}{tab}Characters: 1014 through 1017
Extra Element was found in the data file as part of Segment DTM. Segment DTM is defined in the guideline at position 210.{br}{br}This error was detected at:{br}{tab}Segment Count: 5{br}{tab}Element Count: 2{br}{tab}Characters: 1052 through 1060
Element DTM01 (Date/Time Qualifier) is missing. This Element's standard option is 'Mandatory'. Segment DTM is defined in the guideline at position 210.{br}{br}This Element was expected in:{br}{tab}Segment Count: 5{br}{tab}Element Count: 1{br}{tab}Character: 1078
DTM + AMT Passed :
===============
Error : Extra Element was found in the data file as part of Segment DTM. Segment DTM is defined in the guideline at position 210.{br}{br}This error was detected at:{br}{tab}Segment Count: 5{br}{tab}Element Count: 1{br}{tab}Characters: 1014 through 1022 Extra Element was found in the data file as part of Segment DTM. Segment DTM is defined in the guideline at position 210.{br}{br}This error was detected at:{br}{tab}Segment Count: 5{br}{tab}Element Count: 2{br}{tab}Characters: 1057 through 1060 Element DTM01 (Date/Time Qualifier) is missing. This Element's standard option is 'Mandatory'. Segment DTM is defined in the guideline at position 210.{br}{br}This Element was expected in:{br}{tab}Segment Count: 5{br}{tab}Element Count: 1{br}{tab}Character: 1078 Unrecognized data was found in the data file as part of Loop PO1. The last known Segment was DTM at guideline position 210.{br}{br}This error was detected at:{br}{tab}Segment Count: 6{br}{tab}Characters: 1278 through 1286 Unrecognized data was found in the data file as part of Loop PO1. The last known Segment was DTM at guideline position 210.{br}{br}This error was detected at:{br}{tab}Segment Count: 7{br}{tab}Characters: 1295 through 1367
Thanks in advance,
Siddhardha
Manager , Deloitte Consutling.Issue is solved with the files provided by oracle support. They used Document editor version
Oracle Document Editor -> 7.0.5.4018 & X12 - 8.0.0.186
Not sure what is wrong with our files.
We used document editor 7.0.5.4043 & X12 - 8.0.0.186
Below is the update i put in SR.
==================================
My xsd contains below text.
<xsd:appinfo>
<UNMKey>Full|CodeList|-<Parent Node ID>.<Index>|Composite|-<Node ID>|Element|-<Node ID>|Loop|-<Node ID>|Segment|-<Node ID>|Transaction|-<Node ID>|ReplacementCharacter|_|InternalSeparator|-</UNMKey>
</xsd:appinfo>
===================
The file you provided have the below.
<xsd:appinfo>
<UNMKey>Full|Default|-<Node ID>|CodeList|-<Parent Node ID>.<Index>|ReplacementCharacter|_|InternalSeparator|-
</UNMKey>
</xsd:appinfo>
Not sure if that is really causing the issue.
==========================================
If anyone is interested here is the SR number (#3-9312618901)
Thanks,
Sid -
IE running under XP can't handle multiple SWF files, Why?
I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page.
Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file).
But more of these files in one page will stop IE.
Firefox ( 3.6.28) runs them fine.
And also IE 8 and/or Firefox under Windows 7 handles them perfectly.
Has anyone any idea what can cause this and how to resolve this?
Thanks,
Onno Tomson
The NetherlandsSorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled? -
Problem with CRLF in a EDI file....
Hello,
I receive from my client a EDI file with a charcater in the end of the file, for this, the map generate the error Length limit exceeded - no SEG. delim. found!!!, but if I set "on" in the ingnoreCRLF option on the BICMD of Seebubrger, the map works correctly, I try too with the instruction setIgnoreCRLF("on") in the last segment of the EDI and this works too fine.
But when I deploy the mappings_user.sda with this changes to XI and I receive the file in the BIC Module, the map doesn´t work, generate the same error to the character on the file.
Can comebody help me please with an idea about this problem??.
Greetings,
HerveyCheck the case of the file names such as map.jhm File names are not case sensitive when in a jar file.
-
Problem about Handling of Empty Files in File Adapter
Hello everyone,
NetWeaver 2004s --- XI
In Sender i have a File Adapter.
Now i meet a problem about Handling of Empty Files. When i send empty file, but don't cerate a leer message.
I have seen following text in help document. But in adapter configuration i can not find the correspond parameter.
can you give me some tips?
Thx in advance
best regards
Yaning
SAP Help Document über File Adapter
+Handling of Empty Files
Specify how empty files (length 0 bytes) are to be handled.
○ Do Not Create Message
No XI messages are created from empty files.
The files are processed according to the selected Processing Mode.
For example, if the processing mode is Delete, empty files are deleted in the source directory.
○ Process Empty Files
XI messages are created with an empty main payload.
The files are processed according to the selected Processing Mode.
○ Skip Empty Files
No XI messages are created from empty files.
Empty files are skipped and remain in the source directory.+
Help Docuhi,
it's available since Sp19 for XI 3.0
and the corresponding SPS fpr XI 7.0
http://help.sap.com/saphelp_nw04/helpdata/en/44/f565854b7341e6e10000000a1553f6/frameset.htm
so probably you need to install the new SP
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
"Message Rejection Handler" for the file/ftp adapter using fault policy
Hi guys,
We are trying to implement "Message Rejection Handler" for the file/ftp adapter using following fault policy configuration.
Fault Policy:
`````````````
<?xml version='1.0' encoding='UTF-8'?>
<faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
<faultPolicy version="2.0.1" id="ProcessNameGenericPolicy"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Conditions>
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
name="bpelx:remoteFault">
<condition>
<action ref="ora-retry"/>
</condition>
</faultName>
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
name="bpelx:bindingFault">
<condition>
<action ref="ora-rethrow-fault"/>
</condition>
</faultName>
</Conditions>
<Actions>
<Action id="ora-retry">
<retry>
<retryCount>3</retryCount>
<retryInterval>1</retryInterval>
<retryFailureAction ref="ora-rethrow-fault"/>
</retry>
</Action>
<Action id="ora-rethrow-fault">
<rethrowFault/>
</Action>
<Action id="ora-human-intervention">
<humanIntervention/>
</Action>
<Action id="ora-terminate">
<abort/>
</Action>
</Actions>
</faultPolicy>
<faultPolicy version="2.0.1" id="ProcessNameHumanInterventionPolicy"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Conditions>
<faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
name="medns:mediatorFault">
<condition>
<test>contains($fault.mediatorErrorCode, "TYPE_TRANSIENT")</test>
<action ref="ora-retry-with-intervention"/>
</condition>
</faultName>
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
name="bpelx:remoteFault">
<condition>
<action ref="ora-retry-with-intervention"/>
</condition>
</faultName>
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
name="bpelx:bindingFault">
<condition>
<action ref="ora-rethrow-fault"/>
<!--<action ref="ora-retry-with-intervention"/>-->
</condition>
</faultName>
</Conditions>
<Actions>
<Action id="ora-retry-with-intervention">
<retry>
<retryCount>3</retryCount>
<retryInterval>1</retryInterval>
<retryFailureAction ref="ora-human-intervention"/>
</retry>
</Action>
<Action id="ora-retry">
<retry>
<retryCount>3</retryCount>
<retryInterval>1</retryInterval>
<retryFailureAction ref="ora-rethrow-fault"/>
</retry>
</Action>
<Action id="ora-rethrow-fault">
<rethrowFault/>
</Action>
<Action id="ora-human-intervention">
<humanIntervention/>
</Action>
<Action id="ora-terminate">
<abort/>
</Action>
</Actions>
</faultPolicy>
<faultPolicy version="2.0.1" id="RejectedMessages">
<Conditions> <!-- All the fault conditions are defined here -->
<faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:PartnerLinkName">
<!-- local part of fault name should be the service name-->
<condition>
<action ref="writeToFile"/> <!-- action to be taken, refer to Actions section for the details of the action -->
</condition>
</faultName>
</Conditions>
<Actions> <!-- All the actions are defined here -->
<Action id="writeToFile">
<fileAction>
<location>Server/Loc/path</location>
<fileName>Rejected_AJBFile_%ID%_%TIMESTAMP%.xml</fileName>
</fileAction>
</Action>
</Actions>
</faultPolicy>
</faultPolicies>
Fault Binding:
``````````````
<?xml version='1.0' encoding='UTF-8'?>
<faultPolicyBindings version="2.0.1"
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<composite faultPolicy="ProcessNameGenericPolicy"/>
<service faultPolicy="RejectedMessages">
<name>PartnerLinkName</name>
</service>
<reference faultPolicy="RejectedMessages">
<name>PartnerLinkName</name>
</reference>
</faultPolicyBindings>
We have SyncFileRead partner link.
The expectation is: when the message read by SyncFileRead partner link is rejected,
that rejected message should come to particular directory in the server.
Could you please help us fixing this.
TIA.HI..
Have a look at this blog :
3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
Description: The request requires user authentication
Possible Tips:
u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
u2022 If the error is in Adapter Engine
u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
u2022 May be wrong password for user XIISUSER
u2022 May be wrong password for user XIAFUSER
u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
Http* Errors in XI
Thanks,
Pooja -
Removal of Line feed from EDI file in IDOC to EDI file scenario
Hi Experts,
I have one problem related to line feed in EDI file. Currently i am using seeburger mapping to do XML to EDI mapping. After mapping i am using File Adapter(with NFS) to create file in my PI server.
The line looks like
UNB+UNOA......
UNH+1.......
BGM.........
but i want my file in without line feed
UNBUNOA......UNH1......BGM
Can this be possible without use of Shell script?
Is anything i can do in Seeburger mapping [i checked BIC mapper in seeburger and see some parameters there]?
Regards,
ShradhaHi,
I am explaining my scenario in detail:
my Current EDI file looks like
UNAf1f2............'
UNBf1f2............'
BGMf1f2............'
UNHf1f2............'
now i want my file to be in following format
UNAf1f2............'UNBf1f2............'BGMf1f2............'UNHf1f2............'
NOTE: to create my current file i am using File adapter with NFS and seeburger mapping.
Can you please tell me a way to remove the line feed from the current file ?
I already tried newline checkbox from seeburger and it is not working. and other parameter i can use from see burger mapping tool which will remove my line feed.
Regards,
Shradha -
Hi -
I'm creating a positive pay file for my client (they are on Oracle Applications version 11.5.10.2), all has been successful with altering APXPOPAY, I've set this up under a custom directory and as a custom concurrent program. Users can submit the request for the positive pay file and it works correctly.
The problem I'm having is the checkbox in Payment Batches (this is under Payables Manager Responsibility) named "Create Positive Pay File", it is still trying to call APXPOPAY instead of the new custom concurrent program I've created. How do I change this form's checkbox option to start the new program instead of the old one?
Thanks for any help!!!I hope d_benhur 's suggestion would work, another workaround would be "not" selecting the check box for creating positive pay file as part of payment batch. You can write a simple pl/sql program to generate the file once the payment batch is over. This would give you freedom of format and any future enhancements.
Thanks
Girish -
Read incoming EDI File content and FTP file on R/3 server based on value
Hi,
We have the below scenario:
The incoming file is received in XI in the below directory:
/usr/feeders//interfaces/EP1/abc
The file name is- TCDE.BLQSAM.OCAA2682.C0084031
The file contains some data like below:
UNBUNOA:3HEXAGON-ABCABC10268002090806:1004+403140015324'
UNH1CONTRL:2:2:UN:APACS'
UCI1000284217ABC10268002HEXAGON-ABC7+C00'
Based on this incoming file reference number in line 3 as given (1000284217) for example, a lookup needs to be made in R/3 in a table to determine if the file should be placed in directory A or Directory B in R/3 without any XML conversion.
I have made the scenario and the details are as below:
Created the new Mapping Archive in the IR and import this .jar
Created an Interface mapping for the Control File processing and select the mapping program from the archive
Created a Business Service called "BSY_ECC6_FI_CENTRAL" and a communication channel called "CCIA_01_RFC_RECEIVER", for the connection to the R/3 system of type RFC and will have to have the connection settings for the R/3 backend with the client which has the data in it for the FM call.
I have the java code that I can forward you for reference.
I am not able to run the scenario successfully.
Plaese advise as to how I can develop this scenario.
Regards,
ArchanaHi Archana,
Based on this incoming file reference number in line 3 as given (1000284217) for example, a lookup needs to be made in R/3 in a table to determine if the file should be placed in directory A or Directory B in R/3 without any XML conversion.
Created the new Mapping Archive in the IR and import this .jar
Created an Interface mapping for the Control File processing and select the mapping program from the archive
Created a Business Service called "BSY_ECC6_FI_CENTRAL" and a communication channel called "CCIA_01_RFC_RECEIVER",
for the connection to the R/3 system of type RFC and will have to have the connection settings for the R/3 backend with the
client which has the data in it for the FM call.
What i understand from your Qs is, you want to get the location where the file need to be placed from the table in R/3 system
based on the ref. no mentioned in source EDI file, and the target file should be placed as a flat file format.
You are using RFC lookup to get the details of the location in Java mapping, Once you have the location you can map it to the
element in payload and using varaible substitution you can specify the target directory.
Regards,
Prasanna -
Acrobat 4.0 possible patch to handle newer .pdf files?
I am currently at a small printing company that uses a Heidelberg Prosetter and interconnected software programs for platemaking in our pre-press department. We currently have an outdated Heidelberg meta dimension system that I was told will only handle Acrobat version 4.0 files. I get errors when a newer .pdf version is sent to me from my customers. So far I have found work arounds such as saving the .pdf file down to a compatible file, but am running out of options, and the newest version 9.0 files are really giving me a headache. Saving the file down doesn't seem to help. Is there a possible patch I can find to allow version 4.0 to handle the newest files? Heidelberg has told me that if we were to upgrade to a newer version of Acrobat we would need to upgrade the rest of our software (PitStop Server, Meta Dimension, SignaStation) since they all work together to burn plates and that would cost us upwards of $25,000. Being a small company we can not afford this and the owners have basically told me to work with what I have. Can anyone help me?
I still keep having some issues with transparent objects and drop shadows with a spot colors. I just spoke to our Heidelberg rep and he mentioned that they even had to update their software to handle the 9.0, and are now recommending that customers upgrade to the newest version of Meta Dimension (which is very costly I might Ad!). I think I am just stuck between a rock and a hard place, and will be there as long as I work here! Not only do I have issues with the transparent objects, I am sometimes getting a flat out will not open error message in EnFocus PittStop which is our pre-flight software. I am going to have to post this on the EnFocus forums and hope that someone might be able to solve that for me. Thanks for the input. I kind of thought that a patch like that was out of the question! There is just no help for poor people like me!
-
EDI file Mapping.. problem with UNT segment..!!
Hi all,
Anyone who worked on EDI files, pls help me..
Doing Idoc to EDI scenario..
I done for all the mapping for all the fields except for the UNT segment and field D_0074
Here i need to provide no of segments in the EDI file...
like
*UNBUNOA:393777:ZZ93139:ZZ080108:09080+++1'
UNH0000016334368DESADV:D:01B:UN:EAN007'
BGM3510094147783+9'
DTM+137:200801080934:203'
DTM+11:200801080934:203'
DTM+17:200801100000:203'
ALI++168165'
RFF+ON:R-08007E'
DTM+171:20080107:102'
NADSU377996::92'
NADST9418GR::92'
CPS1+5'
PAC9+09::9'
MEAPDAAA+KGM:6306.628'
MEACTNPP+NAR:9'
CPS21+3'
PAC109::9F:CHEP'
MEAPDAAA+KGM:256.828'
PCI+33E'
GINAW393100471000832922'
LIN1+19310047208023:SRV'
QTY+12:44'
DTM+36:20090505:102'
CNT+2:2'
UNT240000016334368'
If you observe the above file which is my resultant file.. I need to count all the segments above UNT and pass the value( here total segments are 24) to D_0074 field .
Is it any way we can count all the segments.. and pass the value??
Kindly suggest me ..
waiting for your replys..
Regards
Seema.Problem here is ..
They have created only SCv Seebutger_EDI_Adpater
but they haven't created for Seebutger_GENERIC_EDI ..
all those mappings will be under Seebutger_GENERIC_EDI .. which they haven;t installed..
thats the problem..
If any one has that UDF .. kindly let me know..
-Seema.
Maybe you are looking for
-
Run a shell script at login?
I would like to run a simple shell script each time a user logs in. Currently, I have it wrapped in an Automator executable that is included in "Login Items", but figured there must be a more elegant way? Thanks. More info: The problem I'm trying to
-
Using offset for global variables in FOX
Dear all, I'm using global variables (i.e. defined in planning area)in my FOX formulas by using VARV-command. I'm doing this for fiscal year, which has default value current year. However I'd like to use this variable also for next year thus creating
-
Hey everyone I had a few problems with my computer a while back. I took it to the shop and they did a complete rebuild. In doing this they somehow got rid of Photobooth. I was wondering if there was anyway I can get it back? I've lost my instill disk
-
Intel HD Graphics 4000 - Error "Premiere Pro could not find any capable video play modules"
Hi I'm getting this error message while starting Premiere Pro (Macbook Pro - Intel HD Graphics 4000). Updating the softwares/drivers has not fixed the issue. Can anyone help ? Thank you for your support !
-
Redhat bluecurve and ximian industrial
I have made these available to arch and gnome 2.6 would anyone want them?