Dynamic configuration- Is file name stored in any abap table in PI
Hi.
Is there any ABAP table in XI containing the dynamic configuration's xml of a message.
For any file scenario Can I get the file name from any of the abap table in PI
Regards,
Deepak
Interesting ABAP tables in XI
Interesting ABAP tables in XI Part I
Regards,
Phani
Similar Messages
-
I am unable to sync to my ipod. Error message states "unable to sync because duplicate file name exist". Any ideas on how to remedy this problem?
Were some of the songs purchased from a different itunes account?
-
Problem:obtaing file name using Dynamic configuration of file adapter
hi all
I am using Dynamic configuration for getting file name.
I am getting Dynamic configuration in SXMB_MONI containg file name, but payload is empty unlike file i am sending.Hi All,
Basically my requirement to get Filename in idoc segments in order to validate the posting at month end.
Its an File to idoc scenario- GL Posting.
Please check attached UDF and it gives error. Kindly help. Thanks -
Dynamic configuration - missing files
Hi,
during processing of message Dynamic Configuration is used.
Inside SOAP response is written file name and Directory where file should be generated.
But file is missing..
Message seems to be processed successfully.
Any idea what could happen?
M.Hi,
>>>Inside SOAP response is written file name and Directory where file should be generated.
if this is a reponse you're doing request response beans ?
>>>Message seems to be processed successfully.
have you checked for any errors in the channel too or only message monitoring ?
do you see the message in the MessagingSystem monitor ? what is the audit saying - was the file generated ?
Regards,
Michal Krawczyk -
Dynamically populate pdf File name in 'Save As' dialogue box
We have rendered a pdf using adobe webservice.
Once the pdf is generated , and we click on saveAs menu dialogue box opens and default name is populated in fileName field.
Can it be possible to populate that name dynamically ? We tried using response.addheader() but it didnt work.
Note : We are using java to create xml which we are passing to adobe webservice.Hi Jaynet,
In order to re-produce this, you need to answer "yes" to the rename file prompt and then continue with step 5 (above).
The reason for this is not an exercise in futility - I assure you. At my work and elsewhere, when web developers have created features to permit the end user to save web data in Excel format, often times the Excel files are saved locally in Excel's
html format (but with the .xls
extension).
(I actually prefer the .xls
extension, because it is easier to just double-click the file to open in Excel, rather than to select the open-with and then select Excel. a file with the .html extension will default open in your default browser. Now, I could change my default program
for the .html extension, but that would only solve a part of the problem and would not really address the bigger issue and that being that Microsoft changed a behavior in Excel and may not even be aware that it was a much used feature. )
To continue, when I go to open the resulting Excel file, I am prompted with the message that the file type does not match the extension (which is fine and not bothersome to me). It's at this point when I go to save the file that I get really annoyed.
In previous versions of Excel, the default file name would be pre-filled with the current name of the file and the default file type would state that it is a Web html file. I would just change the file type to Excel Workbook and hit enter to save.
I would be prompted with "Are you sure you want to overwrite your existing file?" message and I would click "yes" and that would be that.
However, in Excel 2010, because the default file name is blank, I then need to re-type the name into the field to save the file.
Any help is greatly appreciated.
Thanks -
Dynamic Configuration of File Adapter
Hi,
XI Version 3.0 SP13, Planning to upgrade to SP14
In my scenario I need to pick up files from 4 static locations and based on the file name and pick up type(file/ftp) I can find out the destination's connectivity information from a Cross-Referencing table(Based on MS-SQL Database table- I can get this using look API) in this table we maintaining more than 100 destinations(host/user_name/password etc).
Now I need to set the connectivity information dynamically at runtime. I know this is not possible with Standard XI but does anyone thinks this is possible by any technical way using with XI.. Adapter Modules or Java Proxies?
This is very Critical to win the war with other inhouse middleware tools. Please let me know your thoughts and comments...
thanks,
Laxman MoluguLaxman,
Go through this url's. They might be handy for you:
Dynamic filename in XI
Dynamic File Name for Receiver File Adapter
---Mohan -
Configure receiver file name as Sender file name
Hi All,
In PI7.1. We have scenario(file to file). Here the sender system send multiple files and In the receiver system we need to populate the same filenames as Sender file Names.
Could you please let me know is there a configuration to have Receiver file schem name As like sender file names.
Thanks in Advance,
Naga.Hi Naga,
This can be achieved using either variable substitution or Dynamic Configuration by enabling Adapter Specific Message Attributes in sender and receiver file channels.
If the sender file name and receiver file name needs to be exactly same then just check Adapter Specific Message Attributes in advanced tab of both sender and receiver channels. Check on File Name under that.
Lot of help over this is already available in sdn, kindly serach and you will get lot of helpful blogs and wikis
Regards,
Gautam Purohit
Edited by: Gautam Purohit on Apr 16, 2010 11:26 AM -
Dynamic directory and file name
Hi
I have requirement of dynamic file name and dynamic directory with condition based on doctype from source
I have used the following code and for file and directory with two different udfs. If I am using only file it is working but not with the directory
try
String directory = new String("");
DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","Directory");
if (var1.equals( "DOR" ))
directory = "/Inbound/DOR";
else {
directory = "/Inbound/KOR";
conf1.put(key1,directory);
return directory ;
catch(Exception e)
String Exception=e.toString();
return Exception;
in message mapping i used var1 to one of the not used field in target
similary i did for file with different udf and mapped sourcefield- to targetrootnode with same condition with different filename
But it is not working getting the following exception Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.exception.standard.SAPIllegalArgumentException: The parameter "argument" has the value "remote://*/PACK _TEST20140226-152149-483.dat", so it contains the character "remote://*/PACK _TEST20140226-152149-483.dat" which is not allowed
Thanks for your helpHi Mahesh -
The parameter "argument" has the value "remote://*/PACK _TEST20140226-152149-483.dat", so it contains the character "remote://*/PACK _TEST20140226-152149-483.dat" which is not allowed
>>> I see that paramter name as "argument" in the above error. So you mean to say when you simply use the UDF just for file name it works for the above input.
But the same udf fails if you enable another UDF for the directory? having the same payload?
Is my understanding correct.
However i would suggest you to have a one UDF for both "directory" and "Filename" and map the field to Target message type but not to any of the fields.. -
Dynamically assign the file name for "on demand read"
Hi.
A quick question.
I need to poll a directory using the on demand read function of the FB component, and change the file name in the BPEL process.
Basically I need to dynamically overwrite the destination file name at runtime.
These are the steps in my Process
1. Pick up XML file,
2. Assign a field in the xml file (fileName) to a variable (flatFileName)
3. Poll a specific directory using onDemandRead and look for the fileName specified in the variable
So obviously,
I have tried to assign the variable flatFileName to the fileName property in the FB component of the readout variable. But it doesn't seem to work.
Firstly I want to know if this is possible, and secondly, any idea on how to solve this issue.
Thanks in advanceI think it is not possible. becuase the date & time added at runtime. so if you check the table PATH you can find filename and their definitions
a® -
Give me full details of Dynamic Configuration for file
Hi all,
please provide details of Dynamic Configuraion for file.
Thanks and regards
saiHi,
Refer the below weblog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
And <b>check for the Communication channel settings how to do for Sender & Receiver File channels</b>, Dynamic configuration Code is also available in the weblog.The same code you can use in your UDF and map the output of your udf to one of u r target field.
By following this you can able to set the receiver file name as same is of your file name of Source.
Hope it will helps to solve u r problem.
Cheers
Veera -
Log4j - issue in configuring the file name for daily rolling file adapter
We have configured the log4j properties. We want to create back-up of log file each hour. The file name of the log file is MyApp.log and as per the below configuration after each hour backup file is created as
MyApp.log<<time>>
but we want that file should be created in follogin format
MyApp<<time>>.log
Below are the log4j properties configured, please let us know, what should be the correct option to create the filename in desired format.
# Set root logger level to DEBUG and its only appender to MyApp.
log4j.rootLogger=DEBUG, MyApp
log4j.appender.MyApp=org.apache.log4j.DailyRollingFileAppender
log4j.appender.MyApp.File=D:/logs/MyApp.log
log4j.appender.MyApp.DatePattern='.'yyyy-MM-dd-HH
log4j.appender.MyApp.Append=true
log4j.appender.MyApp.layout=org.apache.log4j.PatternLayout
log4j.appender.MyApp.layout.ConversionPattern=[%d{yyyy-MM-dd} %d{HH:mm:ss z}] %m%nyes you can use /SAPDMC/SAP_LSMW_IMPORT_TEXTS via LSMW
In the SAP system, there is no uniform rule for the structure of the actual text key Textname. However, in order to be able to maintain the structures and fields, you have to know what the structure of text name as well as the values for text object and text ID are.
Procedure
1. Display a text of the required text type.
2. Branch to the editor.
3. Choose Goto > Header.
The Text header dialog box appears.
Result
In the Text header dialog box, you gather the required information. -
How to configure .jdo file name
It is possiple to put all mapping information in one file and provide its
name to PMF (as MappingFactory property). Is the same possible for .jdo
information (i.e. put all .jdo information in one file and provide file
name in configuration) ?
-ZachZach,
You cannot control the .jdo file name, but you can control the mapping
file name.
For information on controlling the mapping file name, see the
description of the file mapping factory at
http://docs.solarmetric.com/ref_guide_mapping_factory.html
For information on the placement for .jdo metadata files, see
http://docs.solarmetric.com/jdo_overview_meta_placement.html
Note that since all mapping information can be kept out of the .jdo
file, you can have several independent mapping files for different
database schemas and a single JDO metadata file for JDO-related properties.
-Patrick
zach wrote:
It is possiple to put all mapping information in one file and provide its
name to PMF (as MappingFactory property). Is the same possible for .jdo
information (i.e. put all .jdo information in one file and provide file
name in configuration) ?
-Zach -
Dynamic configuration not fil in reused OM in NW BPM
Hi,
I'm having problem in operation mapping that i re-used in nw bpm.
In my scenerio in the operation mapping, a UDF writes on "TServerLocation" and in the next step of BPM, i have receiver determination rule which read from "TServerLocation" variable.
Below step calls OM which in PI.
(UDF writes on TserverLocation)
This next step, reads TserverLocation in receiver tab of Integration Conguration.
Receiver rule
So the problem is dynamic configuration doesn't write on TserverLocation or integration confiuration object removes in soap header somehow.
This was a ccBPM integration and all esr objects, mapping,udfs working fine. No problem with that.
I checked below blog but not get this work.
Dynamic Configuration not working with Integrated Configuration
Has anyone faced similar problem ?
Thank you
-TahirHI,
In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??
if so ok , no then check , and try to use the IM before calling the IP to fill the payload.
Regards
Chilla
Oh closed!!
Message was edited by:
Chandra Sekhar Chilla
Message was edited by:
Chandra Sekhar Chilla -
How to dynamically define a file name and its path in a web application
Hi, I want to create a simple web application that reads from an XML file and displays the data back to the user. The xml file is created independent of my application on the same machine that the Application Server runs. How can I define my xml file name and/or path to be independent of my code and not hard-coded in my application?
By an external configurationfile? That can be a propertiesfile, a xml file, an ini file, a plain vanilla txt file, etcetera.
-
Dynamic report output file name
Hi,
I am generating a report using web interface by sending http string with required parameters.
Each time I run this report I am appending current date & time (mmddyyhhmm) string to the output file name.
Successfully I am able to get the outputs.
For example:
If report runs at 9:30am then MyReportOutput_0205040930.html
If report runs at 12:45pm then MyReportOutput_0205041245.html
But, I am facing the problem when I schedule the report. I want to append the report run date & time to the output file for scheduled runs.
Is it possible?
Please advise.
Thank you,
Prasadhi,
for that you will have to use reports distribution. in the distribution XML file you can specify data fields from the report for various attributes, including the output file name.
you will have to create a column in your datamodel that creates this timestamp and then add it to your report name.
see the distribution/bursting example here on OTN for further information. click onthe getting started link on the reports homepage and then navigate to the INDEX. there you will find an overview of all the examples available.
thanks,
philipp
Maybe you are looking for
-
Whenever I try to transfer an ebook to my nook (via a macbook), it says adobe has quit unexpectedly and gives me an error code. Does not successfully transfer the ebook.
-
Photoshop is very slow.
hai iam using core i7 2nd gen processor,4GB Ram,Graphics Card,Windows 7 64bit....but photoshop cs2,cs3 is working very slow.... how to issu solved.....
-
My number shows "Unknown Number" where it should show my number.
I have searched for a Help topic on this and can't find anything besides in the phone app, to swipe down from the top. I have gone through my settings multiple times and can't find anything to change except for the "show my number" setting tickbox. H
-
How do I install older programs?
HP P7-1326s, Windows 8, set up was done prior to my installing my personal products. My older programs get just so far and freeze up. A friend has the same computer, OS and had no trouble with installation.
-
New vat gl added in depot stock billing
Dear Gurus, We want to configure new gl account for vat output payable in billing, i have done the settings but i am getting error like "error in account determination" so that no accounting entry is coming in new gl a/c. i have created new account k