Localejbs/Seeburger/AttribMapper issue
Hi all,
we are using "localejbs/Seeburger/AttribMapper" module in SFTP adapter to add the Date stamp to file name.
Module Name Type Module Key
localejbs/Seeburger/AttribMapper Local Enterprise Bean 1
localejbs/ModuleProcessorExitBean Local Enterprise Bean 2
Module Key parameter Name Parameter Value
1 GetDateTime "mmddyy"
1 http://seeburger.com/xi/SFTP/dtSubject TEST
2 JNDIName deployedAdapters/SeeXISFTP/shareable/SeeXISFTP
But, it is not attaching the date stamp to file. its only generating TEST as file name.
Any ideas......
Hi, This issue has been solved.
There was slight mistake with declaration . we needed to use 1 paramters instead of 2.
Module Name Type Module Key
localejbs/Seeburger/AttribMapper Local Enterprise Bean 1
localejbs/ModuleProcessorExitBean Local Enterprise Bean 2
Module Key parameter Name Parameter Value
1 http://seeburger.com/xi/SFTP/dtSubject 'TEST'&GetDateTime("MMddyy")&'.csv'
2 JNDIName deployedAdapters/SeeXISFTP/shareable/SeeXISFTP
Ours is file to file interface. No IR objects.
Another imp thing is , we need to set Dynamic attributes both on sender & reciever.
-santosh.
Similar Messages
-
Issue with JMS Receiver Comm. Channel using Seeburger AttribMapper
Hello,
I'm using a JMS_RECEIVER Comm. Channel on which the Seeburger AttribMapper is configured (I need to use the DCJMSCorreleationID dynamic attribute).
In the module tab, I added a new module:
Module Name Module Type Module Key
localejbs/Seeburger/AttribMapper Local Enterprise Bean map
And I added the following parameter:
Module Key Parameter Name Parameter Value
map http://sap.com/xi/XI/System/JMS/DCJMSCorreleationID "TEST"
When processing a message, I get the following error on the Communication Channel Monitoring:
Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of AttribMapper.
Does anyone has an idea on how to fix this problem?
Thanks for your help!
BenoitHI,
Refer the discussion of
Setting DCJMSCorreleationID in JMS RECEIVER using Seeburger AttribMapper
Dynamic subject in AS2 receiver
Thanks
Swarup -
Setting DCJMSCorreleationID in JMS RECEIVER using Seeburger AttribMapper
Hello
Has anyone managed to set the DCJMSCorreleationID dynamic attribute in a JMS RECEIVER using Seeburger AttribMapper module?
Here is how I configured the JMS_RECEIVER:
In the module tab, I added a new module:
Module Name Module Type Module Key
localejbs/Seeburger/AttribMapper Local Enterprise Bean map
And I added the following parameter:
Module Key Parameter Name Parameter Value
map http://sap.com/xi/XI/System/JMS/DCJMSCorreleationID "TEST"
When I process a message, I can see in the adapter engine Audit log the following lines:
SEEBURGER/AttribMapper: Setting dynamic property http://sap.com/xi/XI/System/JMS - DCJMSCorreleationID = TEST
SEEBURGER/AttribMapper: Finished succesfully, 1 properties set or deleted
However looking at the Message Content/SOAP Document, I can see no dynamicConfiguration (it should be the case according to Seeburger documentation).
If I check the message properties on the JMS queue, I can see the correlation ID is not set to TEST.
Any idea?
Thanks in advance!
GregAre you using the AttribMapper in the Sender or in the Receiver Channel ? Please be aware that you will not be able to see the change of attribmapper in the message content in receiver channels (they are not updated/persisted there).
-
Hi,
when we try to upload multiple file into destination server. We are receiving a error as handshake failure.
We are working on HA clustered enviornment.
The error is basically happen, when muti-session pull and push on the
destination server, the server will reject the connection.
We tried in Dev, single node server architecture, which works fine for
muti-file transaction,but getting error traffic for muti-file failed for QA environment.
I assume it is the crusting server setup in QA that cause the problem. So
do you have any idea of how to disable cluster nodes only for seeburger FTP
adapter?
regards,
MMKHello Frederic,
I also have a similar issue.
I have two communication channels configured: one communication channel which is a VAN sender and one communication channel is a VAN receiver (both are FTP adapters from Seeburger). From the configuration guide of the Seeburger FTP/VAN adapter, I understand that IE/FTP interfaces only allows for a single connection for a single mailbox. The documentation refers the users to the "Seeburger Master Installation Guide" but I can't find any relevant details there.
My XI environment has two server nodes used to connect to the VAN. Consequently, I ran into problems with "duplication session" errors. I am currently experimenting with Resource Management available from the Seeburger Workbench, in particular, setting up resources and assignments to ensure that only one session is connected to the VAN at any one time. However, I am struggling with how the resource should be created/configured (logical/logical choice, # of channels (total), # of channels (incoming)) and how they should be assigned. Please advise on what is the proper setup in the context of my environment.
Your help is greatly appreciated.
Thanks.
Henry Lim -
Hello All,
I am having an issue with the Seeburger adapter especailly with 997 or Functional Acknowledgments.
Whenever I receive a X12 997 message, the adapter is sending out a 997 for it. Is there a way, I can tell the Seeburger splitter adapter to disable this?
Thank you in advance for your help.
Sumant.Sura,
Aamir is talking about the segment ST and D_143 field. So basically you need to check this field to see whether the transactin is 997 or others. If it is 997 then ignore as aamir told else do the original functionality you are doing.
Just for your reference see this field in the file:
ST9977493~
Regards,
---Satish -
IDOC to EDI Seeburger Mapping Issue
Hi,
I am new to seeburger, Currently I am working on PAYEXT IDOC to EDI scenario using seeburger adapter.
As per my little knowledge i can understand that i need two step mapping:
1) IDOC XML to EDI XML
2) EDI XML to EDI
Now the problem is how can i do 1st mapping if i have to do 1:1 mapping in PI mapper than it will be a tedious task as I dont know which idoc field is mapped to which EDI XML field.
Also i dont know how i can map the 2nd mapping.
when we installed seeburger adapter than i got three files from basis guys related to PAYEXT
msg_PAYEXT_UN_D96A.xml
msg_XML_PAYEXT_UN_D96A.xml
XML_PAYEXT_UN_D96A.xsd
Note: I imported .xsd file in IR, but i dont know what to do with these xml files.
Please experts reply soon as it is delaying my project
Regards,
ShradhaShradha,
You can check the seeburger software component versions where all the mappings would be provided by Seeburger as part of the package.
You can have a look whether PAYEXT is there and would be useful
To start with
1. You need a functional or EDI Business analyst to guide you on the various mapping specifications needed.
2. You should also liase with your business partners to prepare an business rules and other conditions.
3.Also decide whether you are going to deliver it via AS2 communication or via VAN
4. Accordingly you need to configure the seeburger adapters.
5.The mappings provided to you are from XML to EDI and EDI to XML which is a second stage automatically done by seeburger once you specify the module steps in the comms channel.
I am afraid that without knowing business rules or mapping specifications, you can't work on EDI.
Regards
Krish -
Seeburger AS2 issue after PI Upgrade to 7.31
Hi,
After we upgrade the PI from 7.11 to 7.31, we have the following error when we test the Outbound AS2 scenarios.
Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resources.ResourceException:
com/seeburger/uri/dt/master/schema/ReportCategoryType : cannot initialize class because prior initialization attempt failed,
com/seeburger/uri/dt/master/schema/ReportCategoryType : cannot initialize calss because prior initialization attempt failedHi Rick
What is the SP and patch level of your PI 7.31 system? Also, what is the version of your Seeburger installation, and was it upgraded as well?
You can refer to Stefan Hilpp's guide for upgrading Seeburger Upgrade Guide available for Seeburger EDI-Adapters , as well as check OSS note 890721 for the compatibility matrix.
Rgds
Eng Swee -
Does Seeburger's SFTP adapter support dynamic filename creation
Hi all,
Does the SFTP adapter support dynamic filename creation.
If yes, then do we have to use UDF's and are there any specific settings that have to be done in the SFTP communication channel.
Please provide a blog which helps in the configuration process of the above case.
thanks,
younusDynamic Creation of File using counter in Seeburger Variable:
1. Configuration Needed in the Communication Channel:
The process of dynamic creation of files can be done we have to select the following checkbox in the receiver channel:
Dynamic Attribute in receiver Channel:
Import the following modules:
Localejbs/Seeburger/solution/sftp
Localejbs/Seeburger/AttribMapper
Localejbs/ModuleProcessorExitBean
Enter the desired file naming convention:
Use the Parameter GetCounter("ID") to the place where the counter is expected to come.
2. Configuration Needed in the SeeBurger Workbench:
If the J2EE server is listening on a port different from 50000 (which is the standard for the SAP client 000), the port number must be configured:
Login into the seeburger workbench using the URL
http://<localhost>:<port number>/seeburger/index.html
Select Property Store.
Create or edit the following property:
Parameter
Value
Namespace
http://seeburger.com/xi/SeeFunctions
Key
provider.servlet.server
Value
http://localhost:50000/ (where the port number 50000 must be set
accordingly to the J2EE server configuration).
Note: The configured value (server URL) has to end with a slash (/). Otherwise,
SeeFunctions will not work correctly.
If we need to start the counter from any specific value , it can be configured in the SeeBurger workbench, this value can be maintained in Mapping Variables : -
SFTP sender to File receiver mapping of file names
My scenario is: sender channel = SFTP (Seeburger) transferring multiple PDF files to Receiver adapter File (NFS).
These PDF files need to have the same name as the original files from the sender (3rd party) system.
Because these files are being processed without an interface, I can't use UDF to help map the file names.
I've tried using Seeburger's localejbs/Seeburger/AttribMapper to map the names, as follows:
File (NFS) receiver channel config:
- ASMA boxes for 'Use Adapter-Specific Message Attributes' and 'File Name' are ticked
- Module localejbs/Seeburger/AttribMapper is on the first line in the module tab under processing sequence, with module key = AttributeMapper
- Under Module Configuration:
- Module Key = AttributeMapper
- Parameter Name = http://sap.com/xi/XI/System/File/FileName
- Parameter Value = @http://seeburger.com/xi/SFTP/dtSubject
(I haven't entered any attribute module config on the sender side)
This setup fails on the receiver side with the message 'Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.RetryControlException: Channel stopped by administrative task.' (not very helpful!). All I can get from that is that it doesn't like my module configuration!
Can anyone help me understand the correct way to do the file name mapping for my specific scenario?
Regards,
ChristineWe've got this working at last!
The main problem was indeed the missing .sca file from Seeburger: SeeModuleCollectionPI.sca
Our Basis team deployed this file this morning. After a bit of fiddling around with the attribute mapping, my test files were transferred successfully with their original names.
The config I ended up with is just as described in another forum post for SFTP to FTP, but I'll repeat it in more detail here:
Sender channel
Parameters tab:
Adapter Type = SFTP (Seeburger)
(sender, transport & message protocol = SFTP)
Scheduler = x in all appropriate days, with interval = 1 (minimum allowed)
(rest here is specific to your environment, but I set filename to *.pdf to get all .pdf files from the sender)
Module tab
Processing Sequence
Number Module Name Type Module Key
1 localejbs/Seeburger/AttribMapper Local Enterprise Bean AttribMapper
2 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
3 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Configuration
Module Key Parameter Name Parameter Value
AttribMapper http://sap.com/xi/XI/System/File/FileName @http://seeburger.com/xi/common/dtSubject
Receiver Channel
Parameters tab:
Adapter type = File
(receiver, with transport protocol File System (NFS), etc)
Target tab:
Target directory (set to your required PI server directory)
File Name Schema = * (can be anything, will be ignored)
Processing tab:
(your requirements-specific settings - mine were create, write directly, file type binary)
Advanced tab:
Under Adapter-Specific Message Attributes (ASMA):
tick the following:
Use Adapter-Specific Message Attributes
Fail If Adapter-Specific Message Attributes Missing
File Name
Modules tab:
Processing Sequence
Number Module Name Type Module Key
1 CallSapAdapter Local Enterprise Bean 0
(nothing under Module Configuration)
Thanks to those who kindly took the time to try and help me, your suggestions pointed me at the real problem.
Christine -
Dynamic Attribute in AS2 Receiver
Hello,
in the Seeburger AS2 Receiver channel I have found "AS Message ID" in the last of possible Dynamic Attributes. How do I set this one, so what is the name of the dynamic configuration key. Any idea on this?Let me expalin you the complete thing.
In mapping i m using this UDF for dynamic subject.
DateFormat dfCurrentDate = new SimpleDateFormat("yyyy-MM-dd");
DateFormat dfCurrentTime = new SimpleDateFormat("HH:mm:ss.SS");
Date dCurrentDate = new Date();
String strCurrentDate = dfCurrentDate.format(dCurrentDate) + "T" + dfCurrentTime.format(dCurrentDate) + "Z";
String strSubject="Literal"+ "_" + strCurrentDate;
// Dynamic Subject
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
conf.put(keySubject,strSubject);
return "";
In receiver service I have used "localejbs/Seeburger/AttribMapper" module.
Parameter name http://seeburger.com/xi/common/dtSubject
Parameter value @http://seeburger.com/xi/common/dtSubject/DYNSUBJECT
In moni I can see the dynamic configuration tab(neither Tab nor value)
But in RWB comm. channel monitoring I can see in Audit log but not in SOAP document.
Hope i have cleared you..
Thanks
Jaideep -
Dynamic subject in AS2 receiver
hi experts,
I have a scenario in which i am sending data to third party using AS2 adapter.
My scenario is PROXY->XI->AS2. In AS2 receiver adapter I need to use dynamic subject.
For that I have used adpater module "localejbs/Seeburger/AttribMapper"
*PARAMETER NAME:-- http://seeburger.com/xi/common/dtSubject*
PARAMETER VALUE:-- DYNSUBJECT
while mapping in IR I am passing one field(strSubject) as input data to the below code:-
DynamicConfiguration conf = (DynamicConfiguration) container.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
conf.put(keySubject, strSubject);
The value of strSubject should be the subject in AS2 message.
The scenario is working fine but I m getting below error in communication channel:
Exception caught by adapter framework: AttribMapper:Could not evaluate expresion DYNSUBJECT . Error: Unexpected token <EOT> at position 0. ( expected
Help will be appreciated
Thanks
JaideepLet me expalin you the complete thing.
In mapping i m using this UDF for dynamic subject.
DateFormat dfCurrentDate = new SimpleDateFormat("yyyy-MM-dd");
DateFormat dfCurrentTime = new SimpleDateFormat("HH:mm:ss.SS");
Date dCurrentDate = new Date();
String strCurrentDate = dfCurrentDate.format(dCurrentDate) + "T" + dfCurrentTime.format(dCurrentDate) + "Z";
String strSubject="Literal"+ "_" + strCurrentDate;
// Dynamic Subject
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
conf.put(keySubject,strSubject);
return "";
In receiver service I have used "localejbs/Seeburger/AttribMapper" module.
Parameter name http://seeburger.com/xi/common/dtSubject
Parameter value @http://seeburger.com/xi/common/dtSubject/DYNSUBJECT
In moni I can see the dynamic configuration tab(neither Tab nor value)
But in RWB comm. channel monitoring I can see in Audit log but not in SOAP document.
Hope i have cleared you..
Thanks
Jaideep -
Dynamic Subject in Smartforms (CRM)
Hi,
Our requirement is that we want the Dynamic Text in the Subject Line of the mail, whether is it possible ?
I tried with the putting &, but it displays only the Trxn Number.
Example : In Subject line we need Trxn Description, Customer No, Customer Name
Thanks in advance for any solution.
Regards
Pethukumar PLet me expalin you the complete thing.
In mapping i m using this UDF for dynamic subject.
DateFormat dfCurrentDate = new SimpleDateFormat("yyyy-MM-dd");
DateFormat dfCurrentTime = new SimpleDateFormat("HH:mm:ss.SS");
Date dCurrentDate = new Date();
String strCurrentDate = dfCurrentDate.format(dCurrentDate) + "T" + dfCurrentTime.format(dCurrentDate) + "Z";
String strSubject="Literal"+ "_" + strCurrentDate;
// Dynamic Subject
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
conf.put(keySubject,strSubject);
return "";
In receiver service I have used "localejbs/Seeburger/AttribMapper" module.
Parameter name http://seeburger.com/xi/common/dtSubject
Parameter value @http://seeburger.com/xi/common/dtSubject/DYNSUBJECT
In moni I can see the dynamic configuration tab(neither Tab nor value)
But in RWB comm. channel monitoring I can see in Audit log but not in SOAP document.
Hope i have cleared you..
Thanks
Jaideep -
AS2 Sender Channel Dynamic Configuration
Hello All,
I have an AS2 to Proxy scenario.
For this I am using the following UDF and Modules in ESR and ID respectively :-
==========================================================================
UDF in ESR :-
public String AS2Name(Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration)
container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://seeburger.com/xi/AS2","dtSubject");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
================================================================================
ID:
Module in AS2 Sender Channel :-
No. Module Name Type Module Key
1 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean Plain2XML
2 localejbs/Seeburger/AttribMapper Local Enterprise Bean AttribMapperEnterprise Bean
3 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Key Parameter Name Parameter Value
AttribMapper http://seeburger.com/xi/FileName @http://seeburger.com/xi/AS2/dtSubject
==============================================================================================
Could anyone please let me know asap if the above details will suffice the requirement?
Thanking you all in advance.
NeetishHi Aditya,
In the link its mentioned as
so, you can give any unique name. simple.
Hope this helps..
warm reg,
avinash M -
Seeburger SFTP - Message Transformation Bean Issue
Using Seeburger SFTP adapter to read a tab delimited file. File is being successfully read; however, content conversion need to be performed to convert the file content to XML. Thus, using Message Transformation Bean with the following module parameters.
Issue: It is reading the file as is u2013 there is not content conversion is being performed.
Processing Sequence:
1 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean mtb
3 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Configuration:
mtb Transform.Class com.sap.aii.messaging.adapter.Conversion
mtb Transform.ContentType text/xml;charset=utf-8
mtb xml.conversionType SimplePlain2XML
mtb xml.documentName XXX_EXPENSES_mt
mtb xml.fieldContentFormatting trim
mtb xml.fieldNames FIELD1,FIELD2,FIELD3,FIELD4
mtb xml.fieldSeparator '0x09'
mtb xml.processFieldNames fromConfiguration
mtb xml.structureTitle RECORD
The following the noticeable details on CC:
Error type: TASK_ERROR >> Error date: 12/5/10 12:42 PM >> Description: Polling finished with errors. 1 file initiated. 1 file not polled due to errors.
Message initiated succesfully
Error type: TASK_ERROR >> Error date: >> Description: File <amex.dat> could not be polled from directory </usr/sap/interfaces/FTP1/send> on host <sapdv1ci>; Reason: removeFile: File xxx.dat could not be removed. SftpStatusCode: SSH_FX_NO_SUCH_FILE; Reason: No such file
Any help is greatly appreciated.
ThanksCheck the following...
1. Make sure you don't have any scripts running at your target folder.
Example: If you are reading your file from TEST folder make sure you don't have any scripts running here.
2. In File Setting section make sure you uncheck Delete file checkbok.
Regards
Srikanth Baki -
Hi Experts,
I am getting below error in the sender file adapter:
errors: u201Coffset[249(read Segment : IEA)]: caught ReadingException: Length limit exceeded - no SEG. delim. found!!!u201Derrors:
I have used replace string parameter but of no use I think.
key searchString "\n"
key replaceString "~"
I am getting the below file without the delimeter at the end,for example:
ST1814455292
GS1SM*1
but no delimeter at the end of the line like ~ , for the reason it is failing. If I use this at the end it is processing successfully.
Can anybody please let me know the what BIC module parameters steps to use or any workaround?
RegardsHi Experts,
Let me tell you the issue again, I need to process the file from the vendor which is coming without segment delimeter ~.
so it is failing in sender file adapter with the below error:
Reason: InhouseDocReader readNextSegment(): offset[249(read Segment : IEA)]: caught ReadingException: Length limit exceeded - no SEG. delim. found!!!
the BIC parameters I am using are:
localejbs/Seeburger/ReplaceString key
localejbs/CallBicXIRaBean bic
bic destSourceMsg MainDocument
bic destTargetmsg MainDocument
bic mappingName See_E2X_
key replaceString "~"
key searchString "\n"
file format:
AK9A1*1
SE50001
GE12359
Is there any workaround for this?? how can I process this.
Maybe you are looking for
-
Dunning procedure and interest calculation
Hi All, usually in dunning procedure, the interest is calculated on over due items based on the period from Last Dunning date to run date. If the customer is never dunned before and this MDAT is never populated, how will the program generally calcula
-
Performance issue with a particular query
Hi Experts, OS version : Sun solaris 5.10 DB version : 10.1.0.4 We have a report designed in SAP BO and for which we have below SQL query written SELECT SNOW_DIM.SERV_REP_INCIDENT.INCIDENT_NUMBER, ISAC_GL_APPL_HIERARCHY_SERVIMP.SOL_NAME ISAC_GL_APPL_
-
Goods receipt without PO reference
There is one case.... Like My client wants to do some cash purchasing... means GR without PO. but he need that there should be some restriction on the amount like in this kind of cash purchasing they should be allowed only Upto 5000 Rs for cash not m
-
How to copy/paste texts/images from webpages in iBooks Author?
Hi, I want to copy/paste text/image contents from webpages with iBooks Author, somehow images can't be copied, only texts can be copied with copy/paste editing. Wonder if there are any ways to include images with simple copy/paste? Tried to search iB
-
Reports in discoverer - help needed
hi, I have a question: is it possible in discoverer: a) put 2 or more queries/tables on one sheet b) use query results in header of a report eg I would like to make sth like this: (bold are data that I would like to retrive from db): Address: Poland,