cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping error...send back the same file back to source side

Former Member
0 Kudos

Hello,

PI pick the file from source side and when it gets error out in the mapping based on some condition, the file need to be created at sender side error directory.

Please let me know how to achive this.

Thanks,

Chinna

Accepted Solutions (1)

Accepted Solutions (1)

former_member184681
Active Contributor
0 Kudos

Hi Chinna,

This can be achieved with standard File Sender Adapter option. Have a look into the Adapter's help:

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Focus on the "Archive Source Files with Errors" part. What you want to do is just as simple as checking the checkbox and specifying the target directory.

Hope this helps,

Greg

MichalKrawczyk
Active Contributor
0 Kudos

hi Greg,

>>>Focus on the "Archive Source Files with Errors" part.

this only works on resl errors and he tries to get an "error" on the basis of some condition - so you cannot use this function

for conditional errors

Regards,

Michal Krawczyk

Answers (2)

Answers (2)

former_member191435
Contributor
0 Kudos

Hi Chinna,

In Sender file adapter you can use below option

Archive Source Files with Errors so that we can achive ur target.

Hope this will helps you

Thanks,

ENivas

former_member184681
Active Contributor
0 Kudos

I have already described this solution above. But if this is true that the file is to be archived based on a condition known in advance (semantical check, not technical exception), then using the extended receiver determination described by Michal is the best option here.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>PI pick the file from source side and when it gets error out in the mapping based on some condition

maybe you can do the check for condition in the receiver determination (extended) and set a receiver on the basis of that ?

Regards,

Michal Krawczyk

Former Member
0 Kudos

Thanks for the quick response.

Could you please expalin how to do it in step by step.

or provide me some thread or blog for the same

Regards,

Chinna

Edited by: chinnasapxi on Jan 16, 2012 10:56 AM

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>http://wiki.sdn.sap.com/wiki/display/SI/StepbyStepguidetoExplainEnhancedReceiver+Determination

add a mapping to the receiver determination step and use your message

as input and specify the receiver system:

a) when everything is ok - the correct one

b) when the mapping condition is found - the sender system

Regards,

Michal Krawczyk