on 06-27-2017 2:43 PM
Hi All,
I am working on SAP PO single stack File to IDOC scenario.we are not using BPM's.
1.My requirement is that when file get rejected in SAP PO or ECC, is it possible to put the files containing only error messages(rejected files only) in a dedicated folder locally(apart from archiving all files) ?
2.Is there any way in SAP PO that we can make a new file with all error messages and error file names?
i am suggesting alerts but they are expecting all error/rejected files into a particular folder.
Can you help on this..
Thanks in Advance,
Regards,
Venkatram
Hi!
In case of any source file structure inconsistences (if you use FCC) you should follow Harish's suggestion. If you need to check source data in message mapping, you could use "Loop" approach, for example, where you send the message to abstract intermediate receiver performing message data validations in the mapping and setting some trigger showing the overall data state and that intermediate receiver in its turn sends the message to ECC or to fault files folder depending on data state.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Adding to the above answers, there is a configuration in the processing tab for files with errors (errors on adapter engine/communication channel). The Option is "Archivie Faulty Source File" and you can maintain the directory where are faulty files need to archive. You can also add the time stamp but not sure if you can rename the files.
reference - https://help.sap.com/doc/saphelp_banking70/7.0/ru-RU/44/655453b48a4ddfe10000000a1553f7/frameset.htm
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
First of all: what do you mean saying "rejected"? And especially "rejected by "ECC"? What kind of communication with ECC do you use: IDOCs, RFCs, Inbound proxies?
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Evgeniy Kolmakov,
Here we are using file to Proxy, in PO/PI we are validating file based up on length and mandatory fields if any thing is missing in file then I have to reject the file and if any validation failed in pipeline steps etc those all files has to be treated as error files, only that error files i have to maintain in a separate folder ? and need to maintain all error messages as well.
Please suggest on this
Thanks in advance
Venkatram
Hardly anything is ever impossible but what they are requesting would mean a significant development and is not something I would necessarily recommend. just some high level thoughts on how this *could* be implemented in theory:
You can retrieve the name of the file from the message logs for a particular message ID. The log can be accessed through a web service. You could thus have a regular job scan PI for failed messages, call the web service to read the log and get the file name and then perform a file move. You could also do this in response to an alert. For failed IDocs, you could retrieve the message ID from EDIDC-ARCKEY and perform the same actions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.