on 06-05-2008 3:21 PM
Hi,
My scenario is from IDOC to file.
The number of files which i need to create is dynamic, which depends on the number of plants.
I have a Z-table where i will maintin list of all plants ( non SAP plant names).
I need to fetch the data from this z-table and depending on the nunber of plants i need to create the file for each plant and fiel name should contain plant name in it. EX: abc_<plant>_datatype.txt
I want to use only receiver one CC, and files should be created in the same directory.
Can we do this without BPM?
Hi,
Variable Substitution - dynamic names in receiver file adapter
http://help.sap.com/saphelp_nw04/helpdata/en/8f/106d42ab7fd142e10000000a1550b0/content.htm
Variable Substitution
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Thanks
Vikranth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the Mapping lookup concept to fetch the plant names from Z-tables and then you can use the variable substitution technique to resolve your purpose.
Here you need to create multiple interfaces ie.e per plant to create multiple files. You can use common Communication channel for all.
Mapping Lookup
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
Mapping Lookups - RFC API
/people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
Variable Substitution
An interesting usage of Variable Substitution in XI
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can make use of Variable Substitution technique in File adapter configuration:
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
scroll down to the section: "Variable Substitution (Target Directory/File Name Scheme)"
Regards,
Ravi Kanth talagana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.