SFTP to AS2(non-seeburger): How to get sender Filename to be used in AS2 Receiver Channel
Hi Experts,
I have this scenario,
SFTP > Process Orchestration > AS2(non-seeburger)
My interface is not using Message Mapping and I want to use the source Filename as my Receiver Filename.
Sender
orders_1234 - source filename
Receiver
orders_1234 - target filename
How to do it in Process Orchestration without Seeburger.
Thanks and Best Regards,
Orlan
Hi Orlan - So are you using SAP AS2 adapter?
If you so i think you can make use of dynamic configuration bean.
Unknown use case of DynamicConfigurationBean: Store file name to JMS header without mapping
Enable adapter specific attributes in sender SFTP channel and in the receiver AS2 channel use the above module to swap the dynamic attributes.
Dynamic attributes
http://sap.com/xi/XI/System/SFTP ,FileName
http://sap.com/xi/XI/AS2/AS2: AS2Filename
Similar Messages
-
How to get the filename from J2SE File adapter
In our project scenario , we are using J2EE and J2SE engine both .J2EE for mapping and J2SE for Deliveying the message .
In one senario, routing will be based on the filename .
J2SE Sender File adapter --- XI Adapter --- XI pipe line
So the File reaching to XI pipelane via J2SE File adapter--> XI adapter.
When we are using the dynamic configurator in the XI to get the filename
we are not able to get the file name becasue it is coming to XI via
XI adapter.
How to get the filename ????Hope I am clear about the problem.hi,
try this
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//obtengo la Key del FileName
DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
/people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
Hope it helps
Thanks
Rodrigo
Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM -
How to get resultset from oracle procedure use ejb3
how to get resultset from oracle procedure use ejb3
i know oracle procedure should like this
Create or replace PROCEDURE resultset_test(
aaa IN NUMBER,
bbb OUT sys_refcursor) ....
but what s the ejb3 scripts looks like? please give me an example or link~
ths- there are no EJB3 scripts, only compiled application code
- the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
Now you should know what to Google to get your "example script": "java jdbc oracle procedure" -
How to get inputtext's inputvalue by using javascript
how to get inputtext's inputvalue by using javascript?
and how to judge whether its be filled or empty stringWhy do you want to use javascript..? Why not action listener..? You can check whether its an empty string by checking
if(str != null && !str.equals("")) {..}
where str is the variable for inputText value.
If this is not helpful, do provide more details on which version of JDev you are using and what are you trying (your usecase).
regards,
~Krithika -
How to get Default Activity(Infotype 0315) using BAPI
Hi Everyone,
I have a task to get Default Activity by Personal number for my third party application. Unfortunately function HR_READ_INFOTYPE is not allowed for Remote Call.
Is there any simple way how to get this value from system using BAPI? E.e. using RFC_READ_TABLE function(but i don't know table name ).
Thanks,
Roman.Table -> PA0315 Field ->LSTAR (Activity Type)
Class :CL_HRPT_INFOTYPE_0315
You can also use FM "CATS_GET_INFOTYPE_0315" RFC Enable
Good luck !
~Saquib -
When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back. I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor. How do I stop this?
Does Firefox switch to full screen if you press F11 ?
You can also try the F10 key to see if that brings up the menu bar.
* If the above steps didn't help then see http://kb.mozillazine.org/Corrupt_localstore.rdf
Note: Do not delete localstore.rdf in the program folder (Windows: "C:\Program Files\Mozilla Firefox\defaults\profile\") (Mac: "/Applications/Firefox.app/defaults/profile/") -
how do you send file attachments (Particularly jpegs) so that receiver gets as a file not as an open embedded photograph?
This sends the attachment as an icon, not embedded inline. Copy/Paste into Terminal in Utilities and hit return.
defaults write com.apple.mail DisableInlineAttachmentViewing 1
To reverse the setting, change the 1 to a 0.
But how it will be viewed will all depend on the e-mail client and settings of the recipient. Not under your control. -
How do I Send HTML formatted email using class in javax.mail pkg
How do I Send HTML formatted email using javax.mail pkg class ?i mean is thr any class available in this package to do this ?
Please see
http://javaalmanac.com/egs/javax.mail/SendApp.html
for Quintessential Program to Send E-Mail.
Then substitute line
msg.setText(content);
/with this one
msg.setContent( content , "text/html");
it should do in simplest form. -
How to get a report "closed" when using the ReportViewerBean
I read the article /people/ted.ueda/blog/2008/12/20/crystal-reports-for-eclipse--ensuring-report-cleanup from Ted Ueda regarding cleaning up reports for the RAS server. However, I'm trying to figure out how to get this accomplished for a thick client accessing a local rpt file and then displaying that file using the ReportViewerBean. I can't seem to get the report closed. I tried the dispose() techniqe from the article, but with no success.
My basic process is:
1) Press button on main frame to open and set up report
2) Pass open report (via ReportClientDocument) object to the viewer frame class (which views report in separate window using ReportViewerBean)
3) Close viewer window when done, destroy ReportVieweBean and close ReportClientDocument
4) Press button again on main frame later to view report
If I set up the report but skip the step of sending the report to the viewer frame, ReportClientDocument.isOpen() will go from true to false after I execute just the ReportDocumentClient.close() command. However, if open the viewer frame, I cannot get the report closed.
In the window closing event for my viewer window I have:
public void quit() {
try {
CrystalReportViewer crv1 = new CrystalReportViewer();
crv1.setReportSource(reportClientDoc.getReportSource());
reportViewer.destroy(); //this is a ReportViewerBean
reportClientDoc.close(); //this is a ReportClientDoc
crv1.dispose();
//the following is always true
System.out.println("ReportClientDoc.isOpen: " + reportClientDoc.isOpen());
this.dispose();
catch(ReportSDKException ex) {
ex.printStackTrace();
catch(ReportSDKExceptionBase ex) {
ex.printStackTrace();
I'm using the latest Java CR4E 12.2.205.825 downloaded from the CR4E website. Any ideas?
Edited by: Joseph Huber on Mar 16, 2010 8:13 PMThe webservices you are trying to use are not the ones used for enterprise, they are used for non-enterprise applications accessing reports that are stored in a specific location on the web server.
Here are samples that use our Enterprise SDK:
[https://boc.sdn.sap.com/samples/84/1193|https://boc.sdn.sap.com/samples/84/1193]
Here are samples that use our Enterprise Web Service SDK:
[https://boc.sdn.sap.com/samples/84/1197|https://boc.sdn.sap.com/samples/84/1197]
You can also look at the SDK documentation available here:
[http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm] -
How to get open filename in Reader
Hello,
I am looking for a way to get the filename of the open document in Acrobat Reader window from a C# application I am working on.
I can't find a way to do it... I am so desperate I am thinking on create a plug in or something for Acrobat Reader so I will be able to get the information from the plugin...
Any help/ideas on how to do it are welcome.
ThanksThere is no approved/supported way to do so, other than the use of a custom plugin for Reader (which will require a Reader Integration License).
-
How to get the original query string in an event receiver when dialogs are enabled
I have scenario where I am adding a document to a document library which has an external data column on it. My goal for this column is to have it automatically populated with an appropriate value based on original query string to the page. The general
idea is that I am on a custom page that has various webparts on it including a view of my document library that is context sensative based on the query string, and I want to use that context sensitivity not just to filter the list but also when adding documents.
I have been searching around for solutions to this problem all day and have gotten this far:
I have an event receiver attached to my document library that handles the ItemAdded event syncronously (as such I have the new list item available to me). In that event receiver I am able to set the column values as required. Where I am stuck is on getting
the value from the query string that I need to actually set as the column value.
Based on:
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/8cfcb299-9a55-4139-86ec-0b53b2922a54 and several similar articles/posts I have been able to get the original source Url with the query string I want via the following
code in my event receiver:
private HttpContext context;
public EventReceiver1()
context = HttpContext.Current;
public override void ItemAdded(SPItemEventProperties properties)
var originalQueryString = context.Request.QueryString["Source"];
// Parse the query string and use the value ...
The problem is that this solution breaks down if the dialogs are turned on under the advanced settings for the list. The reason the solution fails is because the "Source" query string parameter goes away and is replaced by "IsDlg" set to a value of "1".
Does anyone know how to get past this hurdle? Any help would be greatly appreciated.Hi Stuart,
The reason I'm looking for "Source" in the query string is because that is something I found to be reliable when the Dialogs are turned off. I've dug around pretty deep in the Request object to see if anything had the data I was looking for and unfortunately
it doesn't appear to be there. The
context.Request.QUeryString.ToString()
returns a rather simple one of:
List=%7b43ECDCB0-8440-4652-B067-AA20481779D7%7d&RootFolder=&IsDlg=1
and the
context.Request.UrlReferrer.Query.ToString()
has the same value.
I suspect this is due to the dual step process that takes place in adding an item to a document library where the first modal popup (which I suspect likely has the information I need) gives you the opportunity to browse to your file and then the second
dialog (maybe this is getting brought up as a result of another request which is now referring back to the original request that brought up the first dialog?) where you edit your properties.
Thanks for the try though, if you've got anything else I'd love to hear it. -
How to get all events from calendar using calcalendar store framework.
Hello,
I have two problems with calcalendar store framework programming.
1. I need all the event which are present in iCal calendar.Event may be present in year 2025 or 2050. and if the event is recurring then i need only one event.
2. if the event is recurring then i need only one event within the calendar event predicates (start date and end date). I am not suppose to give the occurrence date for event.
How can I implement this with CalCalendar store framework.
Thanks And Regards,
xmax.Hi,
Per my knowledge, there is not a method to get all the recurring events using CAML query in one request.
Here is a thread with the similar question for your reference:
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/eed6be6d-c9ff-4d01-80de-8a4b67d3d7a5/use-caml-to-get-all-recurring-events-from-a-calendar
We can get all the calendar list events at first, then filter all the recurring event from the result set.
Best Regards
Dennis Guo
TechNet Community Support -
How to get the Mobile information by using J2ME application
hi all,
I am lakshman.I am developing an application in j2me,I want my program compatible to all mobile devices.
I want to know properties and the device information with the help of a j2me application.I got the information with the help of System.getProperty(String).I found some of the information like sms,videocapture,and some of the values and the variables ... in the following
platform...null
encoding...ISO-8859-1
configuration...CLDC-1.0
profile...MIDP-2.0
locale...null
fileconnection...1.0
comport...null
hostname...iwmc-07
sms...null
smartcard...null
location version...null
sip version...null
m3gversion...null
mms...null
videocapture...false
videoencoding...null
snapshotencoding...encoding=png encoding=jpeg encoding=gif encoding=bmp
audioencoding...null
supaudcap...false
suprecod...false
supmixing...false
mediaversion...1.1
streamcont...null
I want to know these are the only variables or is there are lot...
Now my question is I want to get the information of the service provider and also the present location that the mobile was present.I think there was some method to get that ...I want to get what firmware it was using .
Can anybody tell me that way and also the package to get the information
thanks in advance
lakshmanhi all,
I am lakshman,I found the answer for my question,By using the Location API(jsr179).It was not include in the WTK2.2.for that i have downloaded the WTK2.3 then i have implemented the location api in the application and it was working.
And I have the following warning...
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
I am running the application from my Emulator(by using the default color phone).I have to check that in the device.
Can any body please give me the way to fix that,i want to test my application from my emulator is that is possible if possible ...how?.what is the procedure to implement..
thanks in advance -
How to get 2nd line in smartforms using template
how to get 2nd line in smartforms main window using template. i have also defined loop .
if possible can you try with the TABLES..
Put one TABLE in your MAIN window
create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
Now, you will find three section under the tables: header, main, footer...
in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
in main section, you can access your data form the loop.
the footer secion will be called, just after the main will be finished.
Regards,
Naimesh Patel -
How to get a r/3 file using web dynpro
Hello Experts.
Actually I have a new request, I hope you can help me please.
I'm a web dynpro programmer (java), so my company need to take a r/3 file to download at the local pc. In fact, the file is en r/3 already.
The matter is, i have no idea how to get that file since my web dynpro app. to download it. the file is a compressed file may be a .ZIP file... so any of you can let me see the light in this??
thak you all.
walexHi Walex,
You will first need a RFM that returns the file that you need.
Then you can create a Adaptive RFC model in Web Dynpro to access this RFM and store the file in the Web Dynpro context. Web Dynpro provides APIs to save files to the local system
You can check this article for downloading the file.
http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0
Best Regards,
Supriya
Maybe you are looking for
-
Itunes locks up computer when I try to burn songs in itunes
i had to have this imac's original optical cd burner replaced with a MATSHITA DVD-R UJ-85J: at an authorized apple location due to it would not eject discs. I also had them replace the HD with a new WDC WD10EALX-009BA0 1TB drive plus the increa
-
Problem with display firefox 11
I installed Firefox 11.o today. Since then the display with the browser is all wrong. See the link below [http://lamortdanslart.com/firefox11_screen.jpg Print screen]
-
On 8 may I ask to sync photo on ipod from other library than my. I tray as you suggest but Appear an advise that say that it's impossible copy photo on ipod. my is an ipod touch 8g impossibleimpassible
-
Automation: Howto swap two areas in one Alpha Channel
Dear Forum members, another question. I have an Image with some alpha channels. In my automation plugin i need to exchange two areas in one alpha channel. At the moment i'm trying to cut one area, move the other area to the place of the first and the
-
HT1338 installation has taken over 2 days. wont let my computer restart
my installation of the new iphoto has taken over two days with out completion. computer wont let me restart. is it a virous or a glitch. please help