File 2 Proxy Process in PI 7.1
working on File to Proxy Scenario and I gave the File content conversion as below. Incoming file contains 3 record structures Header, Record & Trailer File is getting processes only where there is only one record in the record structure
The error which I receive is
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'Record':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
Please suggest what needs to be done on this
Thanks
PR
Document Name : MT_TW_AK
Document NameSpace : http://aiwcd.com/Claims_Management(CM)_Rel2.0
RecordSet Name : FROISROIAcknowledgement
RecordSet Structure : Header,1,Record,*,Trailer,1
Recordset Sequence : Ascending
Recordsets Per Message : *
KeyField Name :TransactionSetID
Key Field Type : String (Case Sensitive)
IgnoreRecordsetName : true
Header.fieldNames :TransactionSetID,SenderID,ReceiverID,DateTransmissionsent,TimeTransmissionsent,OriginalTransmissionDate,OriginalTransmissionTime,TestProductionCode,InterchangeVersionID
Header.fieldFixedLengths: 3,25,25,8,6,8,6,1,5
Header.keyFieldValue : HD1
Header.lastFieldsOptional : true
Record.fieldNames :TransactionSetID,RecordSequenceNumber,DateProcessed,TimeProcessed,InsurerFEIN,ClaimAdministratorPostalCode,ClaimAdministratorFein,AcknowledgementTransactionSetID,ApplicationAcknowledgmentCode,InsuredReportNumber,ClaimAdministratorClaimNumber,JuridictionClaimNumber,MaintenanceTypeCode,MaintenanceTypeCodeDate,RequestCode,FreeFormText,NumberofErrors,MaintenanceTypeCorrectionCode,MaintenanceTypeCorrectionCodeDate,JurisdictionBranchOfficeCode,ClaimAdministratorAlternatePostalCode,NumOfErrors
Record.fieldFixedLengths: 3,9,8,6,9,9,9,3,2,25,25,25,2,8,3,60,2,2,8,2,9,19
Record.keyFieldValue : AKC
Record.lastFieldsOptional: true
Trailer.fieldNames:TransactionSetID,DetailRecordCount,TransactionCount
Trailer.fieldFixedLengths: 3,9,9
Trailer.keyFieldValue : TR2
Trailer.lastFieldsOptional : true
ignoreRecordsetName: true
Hi PR,
I see few things may need a change. First .lastFieldsOptional is obselete now and must not be used. Please see this help for this:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
> Recordsets Per Message : *
You can leave this blank
> ignoreRecordsetName: true
You have given twice. If you give once is OK.
Also the error might be saying you are missing few fields in the last. Since fixed length file if you dont have field you should have spaces in teh file. check that also. Also try to give sample file here so that somebody can help you out.
Regards,
---Satish
Similar Messages
-
OSB 10.3g file proxy and how to process files sequentially
Hi all,
I've a folder that contains some files that I need to process sequentially by a file proxy:
/tmp/osb/msg > ls -l
-rw-r--r-- 1 weblogic weblogic 904 Jul 22 12:02 yyy_C0001279792949924_20100722_120229_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 917 Jul 22 12:02 yyy_C0001279792949955_20100722_120229_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 932 Jul 22 12:02 yyy_C0001279792949986_20100722_120229_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 858 Jul 22 12:02 yyy_C0001279792950017_20100722_120230_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 890 Jul 22 12:02 yyy_C0001279792950033_20100722_120230_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 790 Jul 22 12:02 yyy_C0001279792950064_20100722_120230_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 844 Jul 22 12:02 yyy_C0001279792950096_20100722_120230_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 937 Jul 22 12:02 yyy_C0001279792950111_20100722_120230_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 813 Jul 22 12:02 yyy_C0001279792950142_20100722_120230_BU.yyy.CH_ASS_xxx.xml
-rw-r--r-- 1 weblogic weblogic 963 Jul 22 12:02 yyy_C0001279792950158_20100722_120230_BU.yyy.CH_ASS_xxx.xml
this is the list of the files sorted alphabetically but also is the list sorted by creation time (each filename (after yyy_C) contains a timestamp and also a date).
The file proxy is configured as belows:
Service Type : Any XML Service
Protocol : file
Endpoint URI : file:///tmp/osb/msg
Get All Headers : No
File Mask : yyy*.xml
Polling Interval: 30
Read Limit : 0
Sort By Arrival : true
Scan SubDirectories: false
Pass By Reference : false
Post Read Action : archive
Stage Directory : /tmp/osb/stage
Archive Directory : /tmp/osb/archive
Error Directory : /tmp/osb/error
Request encoding : utf-8
Content Streaming : Disabled
I used "Sort By Arrival : true" because from doc (http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/httppollertransport/index.html) I read:
"This parameter indicates the sequence of events raised in the order of the arrival of files. The default value for this parameter is False"
It is not clear if 'order of the arrival' means by time of the arrival or by 'alphabetical order'.
I did a test using the above settings but I see from OSB log file that the files are processed neither by time order nor by alphabetical order:
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '4' ... <BEA1-07857BB52A53B9043886> <> <1279794804450> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792949955_20100722_120229_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '0' ... <BEA1-078F7BB52A53B9043886> <> <1279794804454> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792949924_20100722_120229_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '1' ... <BEA1-07907BB52A53B9043886> <> <1279794804457> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792949986_20100722_120229_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '0' ... <BEA1-07917BB52A53B9043886> <> <1279794804462> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792950064_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '1' ... <BEA1-07927BB52A53B9043886> <> <1279794804467> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792950017_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '0' ... <BEA1-07937BB52A53B9043886> <> <1279794804607> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792950142_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '4' ... <BEA1-07947BB52A53B9043886> <> <1279794804611> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792950111_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '4' ... <BEA1-07957BB52A53B9043886> <> <1279794804615> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792950096_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '4' ... <BEA1-07967BB52A53B9043886> <> <1279794804618> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792950033_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 12:33:24 PM CEST> <... ExecuteThread: '1' ... <BEA1-07977BB52A53B9043886> <> <1279794804630> ...########## ready to process filename: .../tmp/osb/msg/yyy_C0001279792950158_20100722_120230_BU.yyy.CH_ASS_xxx.xml
How could I process files sequentially ?
I think using also Read Limit = 1 and Polling Interval = 1 sec doesn't work, because
- if the proxy instance P1 reading file A takes more than 1 sec
- after 1 sec a second proxy instance P2 starts to process file B
- but P2 can completes its processing before P1 ...
What do you suggest to do ?
Thanks in advance
ferpHi Anuj,
even trying with
- Read Limit 1
- Polling Interval 1
- Sort By Arrival true
I see from OSB log file that the files are processed neither by time order nor by alphabetical order:
####<Jul 22, 2010 2:35:56 PM CEST> ... ExecuteThread: '0' ...<BEA1-07F27BB52A53B9043886> <> <1279802156519> .../tmp/osb/msg/yyy_C0001279792949955_20100722_120229_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:35:58 PM CEST> ... ExecuteThread: '0' ...<BEA1-07F47BB52A53B9043886> <> <1279802158508> .../tmp/osb/msg/yyy_C0001279792949924_20100722_120229_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:00 PM CEST> ... ExecuteThread: '1' ...<BEA1-07F67BB52A53B9043886> <> <1279802160525> .../tmp/osb/msg/yyy_C0001279792949986_20100722_120229_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:02 PM CEST> ... ExecuteThread: '4' ...<BEA1-07F87BB52A53B9043886> <> <1279802162544> .../tmp/osb/msg/yyy_C0001279792950064_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:04 PM CEST> ... ExecuteThread: '0' ...<BEA1-07FA7BB52A53B9043886> <> <1279802164564> .../tmp/osb/msg/yyy_C0001279792950017_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:06 PM CEST> ... ExecuteThread: '1' ...<BEA1-07FC7BB52A53B9043886> <> <1279802166584> .../tmp/osb/msg/yyy_C0001279792950142_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:08 PM CEST> ... ExecuteThread: '0' ...<BEA1-07FE7BB52A53B9043886> <> <1279802168606> .../tmp/osb/msg/yyy_C0001279792950111_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:10 PM CEST> ... ExecuteThread: '4' ...<BEA1-08007BB52A53B9043886> <> <1279802170624> .../tmp/osb/msg/yyy_C0001279792950096_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:12 PM CEST> ... ExecuteThread: '0' ...<BEA1-08027BB52A53B9043886> <> <1279802172644> .../tmp/osb/msg/yyy_C0001279792950033_20100722_120230_BU.yyy.CH_ASS_xxx.xml
####<Jul 22, 2010 2:36:14 PM CEST> ... ExecuteThread: '4' ...<BEA1-08047BB52A53B9043886> <> <1279802174664> .../tmp/osb/msg/yyy_C0001279792950158_20100722_120230_BU.yyy.CH_ASS_xxx.xml
As said I think that using Read Limit = 1 and Polling Interval = 1 sec doesn't work, because
- if the proxy instance P1 reading file A takes more than 1 sec for processing the file
- after 1 sec a second proxy instance P2 starts to process file B
- but P2 can completes its processing before P1 ...
Do you know if OSB when polling a file, takes it only when OSB recognizes the file has been written completely ?
I mean what happens if OSB wakes up while the file producer is still writing the file ?
Regards
ferp -
Dynamic Archiving in File-Proxy Interface
Hi Experts,
My scenario is File -> Proxy which updates certain data in the target SAP system. The logic in the receiver side is that, if the update fails, then the input file must be placed in Folder A. Else if the update is successful, then the file must be archived to Folder B.
Has anyone done this before? I know File interface is asynchronous so I'm not sure how to handle such kind of requirement.
Appreciate any inputs. Thanks!
MarkHi Mark,
If i was you i would use a Async/Sync bridge, in other words a File - Proxy - File scenario (without ccBPM). Check a similar scenario here File-RFC-File(Without BPM) - Process Integration - SCN Wiki
Im not so sure if the proxy interface supports this bridge, also you can do two scenarios, File - Proxy and Proxy - File, then inside the ECC the ABAPers should call the second scenario after the update-
Regards.
Message was edited by: Iñaki Vila -
Hi All,
I am facing the following problem in production server when even the file got processed successfully .
Error during proxy processing An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause The system tried to insert a data record, even though a data record with the same primary key already exists
Can you please suggest how it can be handled?
Regards,
SarasYou need to debug your proxy program and check all the insert statemrnts. Looks like there is an exception being thrown in the proxy (may be after the completion logic to push the data in to db) which is not being caught.
Proxies are object oriented and it is a good practice to implement Exception Handling mechanism.
VJ -
Is CPA Cache refresh linked with ftp or file pooling process in XI?
Hi,
I have a file to file scenario using Transport protocol as FTP in XI 3.0 SP 15.
When we try to sends some file using ftp protocol where we are using
FTP connection parameters
Server = <CORRECT IP>,
Port = 21 ,
User name <CORRECT NAME>,
Password <PASSWORD> ,
Data Connection = Active
Connection Seq = None
Connection Mode = Permanently
Transfer Mode = Text
Processing Parameters
Quality of Service = Exactly Once
Pooling Interval = 1 sec
Processing Mode = delete
File Type = Text
File encoding = utf-8
The problem we are facing like some time the ftp is not working even the file is present in the location for pick up. If few files are stacked up to be collected then when we are using CPA Cache refresh in Full mode manually then it fetches all the files from the location but the problem is that ,we have a time constraint for this process to be completed in just 60 seconds if we are not able to pick up a file in 60 Secs then the file will be treated as invalid.
So I just want to know how Manual CPA CACHE refresh in full mode generally solve the problem.
Next if more files will be stacked up then cache refresh also failed to solve the problem and more cache refresh result in NOT pooling any other files in XI including the above discussed flow.
So,in anyway Cache refresh linked with ftp or file pooling process in XI?
Please assist me in correctly understating the whole problem and what solution could be put to solve this.
Thanks,
Satya
Edited by: Satya Jethy on Mar 14, 2008 12:28 PMHi Suraj,
If you see my query i have mentioned that the pooling interval is 1 Second.
If we are not able to pick the file with in 60 Secs as this is a real time scenario so the file will be treated as a invalid file.
Moreover this problem is happening some time.
I have also checked the component monitoring it is saying everything is ok as because we are receiving the file with out any error and the file transfer is also success.The only problem is that it is not collecting the files from the given location.
Hope i make you understnad the problem .If not please revert back i will try to explain once again.
Thanks,
Satya -
Flat File automation process - limitations
Hello Everyone,
I would really appreciate any insight on the process improvement suggestions.
Background:
Currently we have around 12 territories providing a new flat file with new data on a daily basis depending on the business activity. Which would also mean that, on a given day if there is no activity would mean no flat file provided to BI for loading process.
The flat files provided need to be loaded into the BI system (PSA - DSO - InfoCube).
The flat file loading process has been automated for the daily file by implementing the logical file name for each territory.
1. The process variant in the process chain is to ensure if the flat file is available on the App server (Custom ABAP program).
2. 12 InfoPackages have been created to pick the data from the flat file on the app server and load the data over into the PSA.
3. All the InfoPackages merge into an "AND" event in the process chain before the DTP load into the DSO kicks off.
4. DSO Activation
5. Recon between the flat file and the DSO to ensure all the data from flat file has been loaded into the DSO.
6. DTP loads into the InfoCube.
7. Recon between the InfoCube and the DSO itself.
8. Moving the flat file from one folder into another.
All the above processes are automatically performed without any issues if the flat file is available on the server.
Problem / Issue:
As one of the major limitations of the above design is the flat file for sure needs to be made available on the app server in order for the whole data flow in the process chain to continue without any breakpoints.
Current workaround / process improvement in place:
Based on the above limitation and upon further research, I was able to apply the OSS Note to give us the option of maintaining multiple DTPs for the same data target with different filter values.
So, even if have individual data stream for each territory with a different DTP the issue still remains where the process variant (ABAP program to check if file exists) or the InfoPackage load if the ABAP program is removed will fail.
Which means due to the above fact, the support team is alerted about the process chain failure.
Question / Suggestions required:
The main questions or any suggestions would be welcome, if one of you can let us know an approach where the flat file check program doesn't have to give a hard failure in the process chain for the rest of the process chain to continue with the loading process. (As in order for the rest of the process chain to continue the only options we have are Error, Success, Always).
I have also looked into the Decision process variant available in the process chain, but based on the options available within I cannot utilize it for the loading process.
Error can be caused by generating an error message in the ABAP program which in turn is causing the issue of alert being sent over even if the rest of the process chain finishes.
Success would mean the flat file needs to be available. Always cannot be used in this case as it will cause a failure at the InfoPackage level.
If the InfoPackage load can be avoided without a hard error to be generated, the process chain does not have to remain in the failed state which in turn will not trigger any alert to the support team.
Please do let me know if you need more details about the above process improvement question.
Thanks
Dharma.The main issue with this as you mentioned is that the file has to be available for sure.
We had a similar issue - we had a very critical data load that had to happen everyday , failure of the file getting loaded would mean that the reports for the day would be delayed.
We were running on UNIX and we implemented a simple UNIX command that would not complete till the file was available in the app server.
Something like
while ( the file does not exist )
delay of 15 seconds
you will come out of the while only after the while completes which means that the file becomes available.
You can write a similar ABAp program to check file availability if required and put it into your program.
we also had a failover process where we created a zero byte file with the same name if the file did not come beyond a certain number of tries and the PSA would load zero records and the data load will continue.
Edited by: Arun Varadarajan on Jan 26, 2009 10:18 AM -
Dynamic file names on file based processing
Hi Experts
we are doing file to file scenario using file based processing not on message based ( No Reposiitory Objects - No mapping , no interface objects ).
we need to pickup the file name from the source directory and place it in the target directory with the same file names.
the source file name is added with the time stamp and client number,
Since there no mapping , we can't use the dynamic file concepts.
Please help me with the possible solutions
thnz for the help in advance.
Cheers
FaheemHi Faheem,
You will be using the dynamic config when u want to map the input file name to a field in the target message.
As per ur requirement ASMA will do :
try this:
In both the sender and receiver file adapters , select Adapter Specific Identifiers and File Name
In the receiver file adapter give some dummy value for file name and directory.
In the runtime, the source file name and directory will be used as the target file name and directory.
You need not use any UDF or a mapping here
Hope it helps!!!!!!!! -
Could'nt delete file after processing sender file in windows environment ?
Hi,
I have problem with sender file adapter in windows 2003 server, because the file adapter cannot delete the file after processing, seems like permission problem. but then i have set full controll access to the pi7adm (sap instance admin). but the problem still persist.
Please advise, me.
Thank you and Best Regards
FernandHi,
Of course i set delete option in my CC sender, but the fail adapter couldn delete fail without any reason ?
This is the error message from RWB Could not delete file 'K:\WORKDIR\FTP\data\data1.fer1' after processing.
like i mention before i have set full access to sap admin user to the directory. but the error still persist.
any idea.
Cheers
Fernand -
File Adapter , Processing Sequence
Hi All,
Can you please help me to understand these?
1. When i configure a Sender File Adapter with file pattern *.txt, Does it handle the files one after another? Or does it span multiple threads and processes multiple files in parallel?
2. If i select processing sequence as DATE, does it consider the time stamp also?
3. If a 100 mb file with name BIG.txt created at 1.00 AM,
and a 0.1 mb file with name small created at 1.10 on the sender system. If 100MB file needs 30 min to get processed,
Then can i assume the second file get processed only after big file completely processed and reached the destination?
Regards
Ganges LeavesGanges,
During any polling interval, XI will pick all files matching your Criteria and process them parallely.
Even if the big file is being processed, the next file will be picked up by the adapter if it is available during the next polling interval.
All interfaces are executed independent of the other.
All this is if u choose the mode as <b>Best Effort</b>.
Regards,
bhavesh -
Hi All,
We have PI sync scenario,SOAP to Proxy.
We are geeting the below error in Proxy .
Error during proxy processing An exception with the type CX_SY_CONVERSION_NO_NUMBER occurred, but was neither handled locally, nor declared in a RAISING clause The argument ' 1,000.000' cannot be interpreted as a number.
But when the same data got updated in Proxy.Not sure about the root cause of the error.
Regards,
ArunHi ,
It looks like proxy is not able to convert string to number or the format of number is incorrect. This is only possible reason of this exception.
The argument ' 1,000.000' cannot be interpreted as a number.
Check out if the format is correct.. .
Regards
Aashish Sinha -
PI shouldnt pick the 2nd file unless the first file is processed completly
Hello All,
If my Polling interval for the File Adapter configured is 60 sec ....and many files would be placed in the server rapidly. My requirement is that the PI should not pick the second file unless the first file is processed completely ( when the first file takes more than 60 sec to get processed) .Is there any other option apart from increasing the Polling interval time?
Thanks and regards,
PavithraHi Pavitra,
I think requirement specified cannot be achieved. When the poll interval is specified, adapter would pick up all the files in the directory path.
I hope it is better to have the Quality of Service in Processing parameters to be as "Exactly once in order". This will process the messages, but if any of the messages get failed then the remaining messages will be in the queue.
Thanks, -
File Proxy Service Problem on errors
In continuation of this thread...
File Proxy Service Problem on errors
We are now facing two problems.
1.The proxy service is executed twice
2.File is getting moved to error directory with prefixed file names which we are not able to retrieve and use in the notification email.
Not sure how to fix :(1.The proxy service is executed twice Check if this is due to transaction timeout issue as discussed here. Re: OSB File polling working twice with the same file
2.File is getting moved to error directory with prefixed file names which we are not able to retrieve and use in the notification email.I am not sure wehther you have any option here. You can check with support. Alternatively can raise notification mail with the timestamp and some file/business identifier from the file. The support person can then open the file from error directory to verify the file/business id in the file or educate the support user that the files will have a prefix -
Failed to delete file after processing FTP
Failed to delete file after processing. The FTP server returned the following error message: 'com.sap.ai i.adapter.file.ftp.FTPEx: 550 Unexpected reply code *.txt: The process cannot access the file because it is being used by another process. '. For details, contact your FTP server vendor.
I got this error many times for the same interface. Not sure what is the reason for this.
Searched on internet go comments that this is because of FTP version!
Please helpIt is the "Msecs to Wait Before Modification Check" in the Sender Adapter that ensures this. It works like this: PI starts processing, finds a file, then waits the number of miliseconds specified and checks the file again to see if it has changed over the waiting period. If so, then it waits again to make sure the file is written completely. Only if no changes took place over the waiting period, it starts processing the file.
And the fact that your file was successfully processed at retry only confirms that it might have been still written to by the sender system. You can try comparing file's creation timestamp (in OS level) with its processing start time in PI - this could prove me right.
Edited by: Grzegorz Glowacki on Jan 13, 2012 2:15 PM -
Need to backup the file before processing in XI
Hi all
I need to backup the incoming the file and then processing it in XI.(i.e)sender adapter picks the file and then backup that file and then send it onto IE.
I am aware that there is a option in sender file CC "Run operating system Command Before Msg Proceessing".We have to set one batch file in it.
Could you please explain whats the exact commands for this case?Hi Rajesh,
>>>>backup
For you information you can archive the file details of the modes are below
Processing Mode as
A) Archive
Files that have been successfully processed are moved to an archive directory.
1) To add a time stamp to a file name, select the Add Time Stamp indicator.
The time stamp has the format yyyMMdd-hhMMss-SSS_. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.
2)Under Archive Directory, enter the name of the archive directory.
If you want to archive the files on the FTP server, set the Archive Files on FTP Server indicator. If you do not set the indicator, the files are archived in the Adapter Engine file system.
B) Delete
Successfully processed files are deleted.
C) Test
Files are not processed.
Only use this mode to test the configurations of the file/FTP adapter or the Integration Engine/PCK. It is not suitable for productive operation.
D)Set to Read-Only
Successfully processed files are given this attribute. Only writable files are processed. This selection is only available for the File System (NFS) transport protocol.
>>>>>Run Operating System Command Before/After Message Processing
Command Line
An operating system command specified here is executed before or after the message processing of a file that was found in a run. The default value is an empty character string (no command).
When the operating system command is called, the file name currently being processed can be specified with the following placeholders:
1) %f (file name)
2) %F(absolute file name including path)
3) Timeout (secs)
This specifies the maximum runtime of the executing program in seconds. When this time interval is exceeded, the adapter continues processing. The executing program continues to run in the background.
4) Terminate Program After Timeout
Set this indicator if the adapter is to terminate the executing program when the timeout is exceeded.
The adapter writes the output (STDOUT and STDERR) for the operating system command in the system trace.
Message processing is independent of any errors that occur during the execution of a configured operating system command.
for more information
http://help.sap.com/saphelp_nw04/helpdata/en/e1/a63d40c6d98437e10000000a155106/frameset.htm
****PS:reward points if useful**
Regards,
Sumit Gupta -
UTF-8 file via process chain doesn't load
Hello all!
I've a big problem. I try to load a UTF-8 file via process chain. I have a script which generate the correct name and the process chain will load the file daily. The file format is UTF-8. I've created a info package with the adapter OPEN_DS load text type file from application server and the character set is 4110 (Unicode UTF-8) but it doesn't work. I try it directly - not via routine - and it works perfect but I can't load with the adapter GUI-UPLOAD load text type file from local workstation via process chain.
I switched the code page back to 1100 sap internal ISO 8859-1 but with this settings I have a lot strange chars in my texts. Any solutions?
Regards, ThomasHi,
no solution?
Regards, Thomas -
DYNAMIC_CALL_FAILURE Error during proxy processing An exception with the ty
Hi,
SRM 7.0 contains 2 clients:
Sender: 100 for EBP, logical system is CLNT100
Receiver: 200 for SUS, logical system is CLNT200
both the clients are connected through PI 7.0, logical system of PI is CLNT001.
From SPROXY of 100EBP, i'm executing the outbound proxy, in moni sent msg success.
In PI also msg is processed.
But in SUS200, it is showing below error msg:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Inbound Proxy
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
<SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
<SAP:P2>CL_BBPX_TRADING_PARTNER_SUS_IN</SAP:P2>
<SAP:P3>EXECUTE_ASYNCHRONOUS</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error during proxy processing An exception with the type CX_BBPX1_STD_MESSAGE_FAULT occurred, but was neither handled locally, nor declared in a RAISING clause Application Error</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Pls help in resolving the same....
tnx n rgds,
baluHi,
How did you solve the issue? Can you please provide the solution.
Thanks,
-Devi Swain
Maybe you are looking for
-
Problem while reading the file from FTP server
Hi Friends, I have a problem while fetching files from FTP server. I used FTP_Connect, FTP_COMMAND function modules. I can able to put the files into FTP server. but I cant able to pick the files from FTP server. anyone have faced similar issues kind
-
How do i find out if the iphone 4 was disabled?
i am on guam, and i bought my iphone 4 used from a private seller and it was loced to AT&T. i have been using a gevey sim to use the phone but all of a sudden the phone does not pick up a signal, i have even tried replacing the antena and tried lots
-
Is there any way to get Browser Laguage in javascript or jquery
Hi , I want current Browser language in sharepoint variation page using jquery or javascript, but the problem is navigator.browserLanguage is always returning en-us, even i selected different language in browser. Issue coming only in IE. in firefox n
-
Hi I have a Lumia 822 and I dropped it once and the screen is spider web. Would dropping it cause one speaker quit working and when I have head phones in only the right haedphone would work. And also would this void warrenty on my phone since I dropp
-
In an SAP Table is to possible to perfrom lock at the record level?
Hi All, In an SAP Table/Ztable is to possible to perfrom lock at the record level? Is it possible to increease the size of the sap table or z-table to insert more records. For example I want to insert 50000 records into a z-table and the size categ