cancel
Showing results for 
Search instead for 
Did you mean: 

File to Proxy Scenario

Former Member
0 Kudos

Hi,

My scenario is File to Proxy,

From file lets say i am getting 100 records,which are to be posted in ECC System.

Suppose if 50th record fails ..Will 1-49 and 51-100 records be posted in ECC System?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Deepthi,

What is the quality of service, you are using in the sender file adapter?

Thanks,

Former Member
0 Kudos

Hi HareenKumar,

Quality of Service : EO,

What about 1-49 records? Will they be posted in ECC System.

Edited by: Deepthi.M on Aug 8, 2011 12:06 PM

Former Member
0 Kudos

if its about records under a file, then whatever be the QOs, for failure in IE or AE records may not reach ECC.

If it is file, then for EO or EOIO messages might stuck in a queue and you may cancel particular message/file from queue to allow following ones.

Also if it is JDBC, then you have option of rollback 1-49 records.

Edited by: vishal kharat on Aug 8, 2011 3:45 PM

Former Member
0 Kudos

Records will not reach to the target.

Former Member
0 Kudos

Hi vishal,

In PI, message is Success,But if in the message 50th record fails at Inbound(While posting to ECC System). The remaining 1-49 and 51-100 will be processed or not?

former_member472138
Active Contributor
0 Kudos
The remaining 1-49 and 51-100 will be processed or not?

It will not be processed. If you are using Proxy at ECC end - try to put sxmb_moni you can see the message.

Regards

Pothana

Former Member
0 Kudos

as long as 50th record is a part of a file, for whatever error in mapping, the whole message whole message will be in error.

also if you are splitting the recodrs in multiple files and sending, the only the package with error record will have error.

Edited by: vishal kharat on Aug 8, 2011 3:59 PM

Former Member
0 Kudos

Hi yadav,

This is my Server proxy code,

data: t_empl type STANDARD TABLE OF ZDT_EMP_OUTPUT11_EMPLOYEE,

w_emp type ZDT_EMP_OUTPUT11_EMPLOYEE,

t_emp type EMPHEAD.

t_empl[] = input-MT_EMP_OUTPUT11-employee[].

loop at t_empl into w_emp.

if w_emp-emp_id ne ' '.

t_emp-EMP_ID = w_emp-EMP_ID.

t_emp-EMP_FNAME = w_emp-emp_name.

t_emp-EMP_DOB = w_emp-emp_DOB.

insert EMPHEAD from t_emp.

ENDIF.

commit WORK.

ENDLOOP.

I have a small doubt, I am executing Insert command in the Loop,So For each and every record Insert command will be executed and posts the data..

Correct me if i am Wrong!

Edited by: Deepthi.M on Aug 8, 2011 12:36 PM

Edited by: Deepthi.M on Aug 8, 2011 12:36 PM

former_member472138
Active Contributor
0 Kudos

Yes right. But why don't you debug it and see.

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d490...

Regards

Pothana

Former Member
0 Kudos

Try to debug the proxy and check if the records are updated or not.

Thanks,